Commit graph

1435 commits

Author SHA1 Message Date
Sascha Hauer
a9416dd8a6 svn_rev_417
use uint32_t to compile it with linux
2007-07-05 18:01:52 +02:00
Sascha Hauer
bc22f79c1c svn_rev_416 2007-07-05 18:01:52 +02:00
Sascha Hauer
648110d271 svn_rev_415 2007-07-05 18:01:52 +02:00
Sascha Hauer
b2e140f5c8 svn_rev_411
remove now nonexisting functions from console.c
2007-07-05 18:01:51 +02:00
Sascha Hauer
5bd6b136a9 svn_rev_410 2007-07-05 18:01:51 +02:00
Sascha Hauer
09cb554859 svn_rev_409
remove extern
2007-07-05 18:01:51 +02:00
Sascha Hauer
014678f7a0 svn_rev_406
let normalise path allocate the string instead of changing the original one
2007-07-05 18:01:51 +02:00
Sascha Hauer
10ab865b23 svn_rev_401 2007-07-05 18:01:50 +02:00
Sascha Hauer
d0ba4ee48f svn_rev_399 2007-07-05 18:01:50 +02:00
Sascha Hauer
d729a09f52 svn_rev_391
remove different parameter types, all params are strings now
2007-07-05 18:01:49 +02:00
Sascha Hauer
a78b0a4321 svn_rev_390
add file functions
2007-07-05 18:01:49 +02:00
Sascha Hauer
c09f8dfa79 svn_rev_389
remove u_boot_hush_start function
2007-07-05 18:01:49 +02:00
Sascha Hauer
a571261fed svn_rev_387
add console driver type
2007-07-05 18:01:49 +02:00
Sascha Hauer
5118d04318 svn_rev_382
add console_initcall
2007-07-05 18:01:49 +02:00
Sascha Hauer
abbe1817c3 svn_rev_381
change readline prototype to be independent of global console_buffer
2007-07-05 18:01:48 +02:00
Sascha Hauer
af347d05ab svn_rev_380
add support for multipple consoles
2007-07-05 18:01:48 +02:00
Sascha Hauer
e454ad437a svn_rev_377
remove special params, all params are strings now
2007-07-05 18:01:48 +02:00
Sascha Hauer
46743ea28f svn_rev_369
include asm-generic in errno.h instead of all other files
2007-07-05 18:01:47 +02:00
Sascha Hauer
ca69a14849 svn_rev_368
let mount take the device as string
2007-07-05 18:01:47 +02:00
Sascha Hauer
e6bd6faf63 svn_rev_366
make pointer const
2007-07-05 18:01:47 +02:00
Sascha Hauer
6a27afbe2a svn_rev_360 2007-07-05 18:01:47 +02:00
Sascha Hauer
cbde3b9bbc svn_rev_358 2007-07-05 18:01:46 +02:00
Sascha Hauer
b1ccaf5b8e svn_rev_357 2007-07-05 18:01:46 +02:00
Sascha Hauer
6aa52a81fe svn_rev_355 2007-07-05 18:01:46 +02:00
Sascha Hauer
58c64290a1 svn_rev_354 2007-07-05 18:01:46 +02:00
Sascha Hauer
052c3c1ea3 svn_rev_349 2007-07-05 18:01:45 +02:00
Sascha Hauer
e5b0bbd39b svn_rev_347 2007-07-05 18:01:45 +02:00
Sascha Hauer
e0622a85d2 svn_rev_344 2007-07-05 18:01:45 +02:00
Sascha Hauer
95bc68baed svn_rev_342 2007-07-05 18:01:45 +02:00
Sascha Hauer
07dbdaef61 svn_rev_331
add rmdir and unlink
2007-07-05 18:01:44 +02:00
Sascha Hauer
89192c1292 svn_rev_327
moved print_image_hdr from common.h here
2007-07-05 18:01:43 +02:00
Sascha Hauer
353cecddb3 svn_rev_322
simplify ifdef
2007-07-05 18:01:43 +02:00
Sascha Hauer
478026955f svn_rev_321
move some functions away from common.h
2007-07-05 18:01:43 +02:00
Sascha Hauer
bcacb4e7d7 svn_rev_320
add config for arch=linux
2007-07-05 18:01:43 +02:00
Sascha Hauer
2897414d14 svn_rev_319
add some comments
2007-07-05 18:01:43 +02:00
Sascha Hauer
5b71cb53f9 svn_rev_318
remove CFG_BARGSIZE
2007-07-05 18:01:43 +02:00
Sascha Hauer
8d38bd967e svn_rev_315
add xzalloc
2007-07-05 18:01:42 +02:00
Sascha Hauer
36d28cc44d svn_rev_314
remove volatile from variables
2007-07-05 18:01:42 +02:00
Sascha Hauer
be27e7ea08 svn_rev_308
add arch/linux/
2007-07-05 18:01:42 +02:00
Sascha Hauer
4195bc3323 svn_rev_296 2007-07-05 18:01:40 +02:00
Sascha Hauer
4cfbef6dd6 svn_rev_292
remove flags we will never use, add flags for rwsize
2007-07-05 18:01:40 +02:00
Sascha Hauer
93ca1de96a svn_rev_291
add get_first_device() function
2007-07-05 18:01:40 +02:00
Sascha Hauer
27f9ff5ab4 svn_rev_290
add lseek
2007-07-05 18:01:40 +02:00
Sascha Hauer
f0c67c6581 svn_rev_283
add xfuncs
2007-07-05 18:01:39 +02:00
Sascha Hauer
488afcc90d svn_rev_282
add getopt(3) implementation
2007-07-05 18:01:39 +02:00
Sascha Hauer
0f184e3a55 svn_rev_273
split up header files, make src pointer in write functions const
2007-07-05 18:01:39 +02:00
Sascha Hauer
9b4dfd7995 svn_rev_272
more FS work
2007-07-05 18:01:38 +02:00
Sascha Hauer
189579188b svn_rev_271 2007-07-05 18:01:38 +02:00
Sascha Hauer
112ada667b svn_rev_270
WIP FS support
2007-07-05 18:01:38 +02:00
Sascha Hauer
cf7a56fc78 svn_rev_268
WIP
2007-07-05 18:01:38 +02:00
Sascha Hauer
9db8ed3312 svn_rev_261
WIP Filesystem support
2007-07-05 18:01:37 +02:00
Sascha Hauer
3f8a5b17f2 svn_rev_259
WIP
2007-07-05 18:01:37 +02:00
Sascha Hauer
36b2e9e62b svn_rev_258
remove unnecassary defines
2007-07-05 18:01:37 +02:00
Sascha Hauer
e77c27d149 svn_rev_256
WIP
2007-07-05 18:01:37 +02:00
Sascha Hauer
ff0df00906 svn_rev_254
CONFIG_USB_STORAGE -> CONFIG_DRIVER_USB_MASS_STORAGE
2007-07-05 18:01:37 +02:00
Sascha Hauer
50c605efe5 svn_rev_243
WIP
2007-07-05 18:01:36 +02:00
Sascha Hauer
cce531583c svn_rev_242
remove fec stuff
2007-07-05 18:01:36 +02:00
Sascha Hauer
7880ba6372 svn_rev_235
beginning filesystem support
2007-07-05 18:01:35 +02:00
Sascha Hauer
a089e67dce svn_rev_231
moved param related things to extra header file
2007-07-05 18:01:35 +02:00
Sascha Hauer
fae2a2bd07 svn_rev_228 2007-07-05 18:01:34 +02:00
Sascha Hauer
8dcc816ba9 svn_rev_227
fix parameter handling
2007-07-05 18:01:34 +02:00
Sascha Hauer
b596e8f6df svn_rev_220
malloc start/protect fields dynamically
2007-07-05 18:01:34 +02:00
Sascha Hauer
6a73e1ac6c svn_rev_216
CFG_LONGHELP -> CONFIG_LONGHELP
2007-07-05 18:01:33 +02:00
Sascha Hauer
f330d10133 svn_rev_215
remove a lot of defines
2007-07-05 18:01:33 +02:00
Sascha Hauer
9fe933fce2 svn_rev_208
move imx specific things to extra header file
2007-07-05 18:01:33 +02:00
Sascha Hauer
76694f989c svn_rev_204 2007-07-05 18:01:32 +02:00
Sascha Hauer
d78ca7b24d svn_rev_200
temporarily remove fields from struct bd_info to detect if somebody uses them
2007-07-05 18:01:32 +02:00
Sascha Hauer
92355b1fb1 svn_rev_198
add string_to_enet_addr()/enet_addr_to_string()
2007-07-05 18:01:32 +02:00
Sascha Hauer
2776fe7211 svn_rev_189
add typedef for gd_t to make compiler happy
2007-07-05 18:01:31 +02:00
Sascha Hauer
882be5b59b svn_rev_188
WIP
2007-07-05 18:01:31 +02:00
Sascha Hauer
f9a07ee39b svn_rev_181
add perror function (which does not do much yet)
2007-07-05 18:01:30 +02:00
Sascha Hauer
9a508d7285 svn_rev_177
move header to include
2007-07-05 18:01:30 +02:00
Sascha Hauer
0c48f25ade svn_rev_173
WIP
2007-07-05 18:01:29 +02:00
Sascha Hauer
53d3195be1 svn_rev_167
ppc startup cleaunup
2007-07-05 18:01:29 +02:00
Sascha Hauer
49ea877124 svn_rev_160 2007-07-05 18:01:28 +02:00
Sascha Hauer
75706b71fe svn_rev_159 2007-07-05 18:01:28 +02:00
Sascha Hauer
c80caaa84a svn_rev_156
add phycore mpc5200b tiny support
2007-07-05 18:01:28 +02:00
Sascha Hauer
2e8ca97d8d svn_rev_153
remove global data #2
2007-07-05 18:01:28 +02:00
Sascha Hauer
a8421600d1 svn_rev_152
remove global data gd_t and board info bd_t entirely for arm
2007-07-05 18:01:28 +02:00
Sascha Hauer
a21d0bc4c2 svn_rev_151
remove bi_env
2007-07-05 18:01:27 +02:00
Sascha Hauer
4a14f424b5 svn_rev_150
remove bi_dram from bd_t
2007-07-05 18:01:27 +02:00
Sascha Hauer
42e2dbc120 svn_rev_149
no need for bi_dram in global data (untested)
2007-07-05 18:01:27 +02:00
Sascha Hauer
b7c567e003 svn_rev_146
remove #ifdef CFG_ENV_* chaos
2007-07-05 18:01:27 +02:00
Sascha Hauer
63dbe18ffc svn_rev_141
cleanup getenv/setenv
2007-07-05 18:01:27 +02:00
Sascha Hauer
28a362c4fc svn_rev_140
cleanup getenv/setenv
2007-07-05 18:01:26 +02:00
Sascha Hauer
b81014cd80 svn_rev_138
getenv/setenv use const * as argument
2007-07-05 18:01:26 +02:00
Sascha Hauer
5fc547dc88 svn_rev_134
increase malloc pool
2007-07-05 18:01:26 +02:00
Sascha Hauer
3b8b5282c8 svn_rev_130
leave only one errno.h in asm-generic
2007-07-05 18:01:25 +02:00
Sascha Hauer
ca24324ce1 svn_rev_129
make it work again
2007-07-05 18:01:25 +02:00
Sascha Hauer
caa0e5b553 svn_rev_127
remove old timer functions
2007-07-05 18:01:25 +02:00
Sascha Hauer
a0b0cfc5ed svn_rev_121
implement device parameters
2007-07-05 18:01:25 +02:00
Sascha Hauer
55ebf67d3e svn_rev_120
implement initcalls
2007-07-05 18:01:24 +02:00
Sascha Hauer
658cc34395 svn_rev_118
thousands of things
2007-07-05 18:01:24 +02:00
Sascha Hauer
873c1d746e svn_rev_117
move cfi defines to include/cfi_flash.h
2007-07-05 18:01:24 +02:00
Sascha Hauer
7d71e05b29 svn_rev_115
make scb9328 work
2007-07-05 18:01:24 +02:00
Sascha Hauer
abfbbad1eb svn_rev_109
do not know anymore
2007-07-05 18:01:23 +02:00
Sascha Hauer
f6508e1c4b svn_rev_095
Currently U-Boot uses globally defined eth_* functions. This is
horribly unflexible. This patch replaces the global functions
with pointers from structs. We could also use CONFIG_NET_MULTI,
but this has other implications, though we should merge this
some day.
Also, U-Boot has no unique way to handle MAC addresses. Each and
every board and network driver uses it's own mechanism to set the
MAC address. There are several problems which I've for too often.
For example everything goes well if we boot from network, but when
we boot from flash U-Boot forgets to set the MAC address and the
linux network driver has none.
This patch adds [gs]et_mac_address to the eth_device struct and
handles it as follows:
- First try to get a valid MAC address from the EEPROM and set
  'ethaddr' accordingly.
- If no valid MAC address is found in the EEPROM (or no EEPROM is
  connected), we set the devices MAC address from 'ethaddr'
This is done in eth_initialize which is called on startup for
every board.
2007-07-05 18:01:22 +02:00
Sascha Hauer
2718e79db9 svn_rev_089
generic/u-boot-cmd-splash.diff
2007-07-05 18:01:22 +02:00
Sascha Hauer
e07edcb107 svn_rev_088
generic/u-boot-cmd-splash.diff
2007-07-05 18:01:21 +02:00
Sascha Hauer
21a279e260 svn_rev_084
new one
2007-07-05 18:01:21 +02:00
Sascha Hauer
dd243ada8a svn_rev_083
mx31/move_include_asm-arm_arch-arm1136_to_arch-omap24xx.diff
2007-07-05 18:01:21 +02:00
Sascha Hauer
7259ab1f66 svn_rev_082
consolidate sizes.h
2007-07-05 18:01:21 +02:00
Sascha Hauer
f07a526123 svn_rev_080
pxa/u-boot-pxa27x-reg2fix.diff
2007-07-05 18:01:20 +02:00
Sascha Hauer
87c8aafa9c svn_rev_054
remove all boards except the ones I am working on
2007-07-05 18:01:18 +02:00
Sascha Hauer
b8ae2bfea4 svn_rev_053 2007-07-05 18:01:18 +02:00
Sascha Hauer
5db03a4962 svn_rev_052 2007-07-05 18:01:17 +02:00
Sascha Hauer
780e62b28f svn_rev_050 2007-07-05 18:01:17 +02:00
Sascha Hauer
f581c39e1a svn_rev_045
add eco920 board support
2007-07-05 18:01:16 +02:00
Sascha Hauer
0c70637626 svn_rev_038
move helper function cmd_get_data_size to generic, add header for it
2007-07-05 18:01:16 +02:00
Sascha Hauer
363266d818 svn_rev_033
change to clocksource api
2007-07-05 18:01:15 +02:00
Sascha Hauer
390c9283ab svn_rev_031
add clocksource stuff from kernel and first implementation (imx) (WIP)
2007-07-05 18:01:15 +02:00
Sascha Hauer
bfa43fe81a svn_rev_030
moved to asm-generic
2007-07-05 18:01:15 +02:00
Sascha Hauer
0dbd0401e4 svn_rev_028 2007-07-05 18:01:15 +02:00
Sascha Hauer
8df97fc2db svn_rev_026
remove udelay_masked and all udelay implementations
2007-07-05 18:01:15 +02:00
Sascha Hauer
d2bf9bf488 svn_rev_025
remove get_tbclk from architectures other than powerpc
2007-07-05 18:01:15 +02:00
Sascha Hauer
dcc0d7ebda svn_rev_017
hardcode version for now
2007-07-05 18:01:14 +02:00
Sascha Hauer
2622af9cdf svn_rev_013
unifdef HAVE_USR_INCLUDE_MALLOC_H
2007-07-05 18:01:14 +02:00
Sascha Hauer
4c8097935c svn_rev_011 2007-07-05 18:01:13 +02:00
Sascha Hauer
865719ab6d svn_rev_010
unifdef HAVE_MMAP
2007-07-05 18:01:13 +02:00
Sascha Hauer
56e32343eb svn_rev_009
add autogenerated links
2007-07-05 18:01:13 +02:00
Sascha Hauer
22a5d8af2a svn_rev_004
remove dataflash support
2007-07-05 18:01:13 +02:00
Sascha Hauer
162484b83c svn_rev_003
remove all #if 0 and #if 1
2007-07-05 18:01:13 +02:00
Sascha Hauer
13a0908f07 svn_rev_002
Consider all boards containing it's own flash.c as unmaintained
and remove them.
2007-07-05 18:01:12 +02:00
Stefan Roese
f16c1da957 [PATCH] Update ALPR board files
This update brings the ALPR board support to the newest version.
It also fixes a problem with the NAND driver.

Signed-off-by: Stefan Roese <sr@denx.de>
2007-01-06 15:56:13 +01:00
Stefan Roese
c04a1a7287 Merge with /home/stefan/git/u-boot/denx-merge-sr 2007-01-05 10:40:50 +01:00
Stefan Roese
a78bc443ae [PATCH] Clear PLB4A0_ACR[WRP] on Sequoia (440EPx)
This fix will make the MAL burst disabling patch for the Linux
EMAC driver obsolete.

Signed-off-by: Stefan Roese <sr@denx.de>
2007-01-05 10:40:36 +01:00
Stefan Roese
0238898382 [PATCH] Add DDR2 optimization code for Sequoia (440EPx) board
This code will optimize the DDR2 controller setup on a board specific
basis.

Note: This code doesn't work right now on the NAND booting image for the
Sequoia board, since it doesn't fit into the 4kBytes for the SPL image.

Signed-off-by: Stefan Roese <sr@denx.de>
2007-01-05 10:38:05 +01:00
Wolfgang Denk
574ca77c41 Merge with /home/tur/proj/v38b/u-boot 2007-01-04 02:05:51 +01:00
Bartlomiej Sieka
cce4acbb68 Few V38B changes:
- fix a typo in V38B config file
  - move watchdog initialisation earlier in the boot process
  - add "wdt=off" to default kernel command line (disables kernel watchdog)
2006-12-28 19:08:21 +01:00
Wolfgang Denk
9c0f42ecfe Minor code cleanup. 2006-12-24 01:42:57 +01:00
Wolfgang Denk
de8404441b Merge with /home/wd/git/u-boot/master 2006-12-24 01:33:32 +01:00
Wolfgang Denk
bc5556d62b Merge with /home/hs/TQ/u-boot-dev 2006-12-24 01:30:04 +01:00
Stefano Babic
d784fdb059 Fix cfi failure with Spansion Flash (Spansion Flash Devices have a different offset to go into CFI mode) 2006-12-24 01:27:41 +01:00
Heiko Schocher
fa23044564 Added support for the TQM8272 board from TQ
Signed-off-by: Heiko Schocher <hs@denx.de>
2006-12-21 17:17:02 +01:00
Bartlomiej Sieka
daa6e418bc Preliminary support for the iDMR board (ColdFire). 2006-12-20 00:27:32 +01:00
Andrei Safronov
cdb97a6678 automatic update mechanism 2006-12-08 16:23:08 +01:00
Wolfgang Denk
dd520bf314 Code cleanup. 2006-11-30 18:02:20 +01:00
Wolfgang Denk
ab07b6c221 Merge with http://opensource.freescale.com/pub/scm/u-boot-83xx.git 2006-11-30 02:01:32 +01:00
Stefan Roese
1eac2a7141 [PATCH] Add support for Prodrive P3M750 & P3M7448 (P3Mx) boards
This patch adds support for the Prodrive P3M750 (PPC750 & MV64460)
and the P3M7448 (MPC7448 & MV64460) PMC modules. Both modules are
quite similar and share the same board directory "prodrive/p3mx"
and the same config file "p3mx.h".

Signed-off-by: Stefan Roese <sr@denx.de>
2006-11-29 16:14:05 +01:00
Stefan Roese
4e26f1074c [PATCH] include/ppc440.h minor error affecting interrupts
Fixed include/ppc440.c for UIC address Bug

Corrects bug affecting the addresses for the universal interrupt
controller UIC2 and UIC3 on the PPC440 Epx, GRx, and SPE chips.

Signed-off-by: Jeff Mann <mannj@embeddedplanet.com>
Signed-off-by: Stefan Roese <sr@denx.de>
2006-11-29 12:03:57 +01:00
Joakim Tjernlund
1939d96944 Make fsl-i2c not conflict with SOFT I2C
Signed-off-by: Timur Tabi <timur@freescale.com>
2006-11-29 00:25:26 -06:00
Kim Phillips
32081125a0 Merge http://www.denx.de/git/u-boot 2006-11-28 23:35:49 -06:00
Stefan Roese
e59581c56a [PATCH] Enable the IceCube/lite5200 variants to pass a device tree to Linux.
This patch adds the code and configuration necessary to boot with an
arch/powerpc Linux kernel.

Signed-off-by: Grant Likely <grant.likely@gmail.com>
Acked-by: Jon Loeliger <jdl@freescale.com>
2006-11-28 17:55:49 +01:00
Stefan Roese
e732faec95 [PATCH] PPC4xx: 440SP Rev. C detection added
Signed-off-by: Stefan Roese <sr@denx.de>
2006-11-28 16:09:24 +01:00
Wolfgang Denk
d2c83f5493 Merge with /home/sr/git/u-boot/denx-alpr-merge-test 2006-11-27 23:11:18 +01:00
Stefan Roese
d1a7254529 [PATCH] Select NAND embedded environment from board configuration
The current NAND Bootloader setup forces the environment
variables to be in line with the bootloader. This change
enables the configuration to be made in the board include
file instead so that it can be individually enabled.

Signed-off-by: Nick Spence <nick.spence@freescale.com>
Signed-off-by: Stefan Roese <sr@denx.de>
2006-11-27 17:34:10 +01:00
Stefan Roese
ec0c2ec725 [PATCH] Remove testing 4xx enet PHY setup
Signed-off-by: Stefan Roese <sr@denx.de>
2006-11-27 14:46:06 +01:00
Stefan Roese
1c2ce22620 [PATCH] Update Prodrive ALPR board support (440GX)
Signed-off-by: Stefan Roese <sr@denx.de>
2006-11-27 14:12:17 +01:00
Stefan Roese
48c7d6dba9 Merge with /home/stefan/git/u-boot/denx 2006-11-27 14:11:22 +01:00
Wolfgang Denk
78d620ebb5 Updates for TQM5200 modules:
- fix off-by-one error in board/tqm5200/cam5200_flash.c error message
- simplify "udate" definitions
2006-11-23 22:58:58 +01:00
Stefan Roese
4ef6251403 [PATCH] Update AMCC Sequoia config file to support 64MByte NOR FLASH
Signed-off-by: Stefan Roese <sr@denx.de>
2006-11-20 20:39:52 +01:00
Wolfgang Denk
fb934873d6 Merge with /home/sr/git/u-boot/cfi-update 2006-11-20 10:27:39 +01:00
Stefan Roese
260421a21e [PATCH] CFI driver AMD Command Set Top boot geometry reversal, etc. [Updated]
* Adds support for AMD command set Top Boot flash geometry reversal
   * Adds support for reading JEDEC Manufacturer ID and Device ID
   * Adds support for displaying command set, manufacturer id and
     device ids (flinfo)
   * Makes flinfo output to be consistent when CFG_FLASH_EMPTY_INFO defined
   * Removes outdated change history (refer to git log instead)

Signed-off-by: Tolunay Orkun <listmember@orkun.us>
Signed-off-by: Stefan Roese <sr@denx.de>
2006-11-13 13:58:55 +01:00
Wolfgang Denk
cb2eb17b2f Merge with /home/tur/proj/v38b/u-boot 2006-11-12 21:12:52 +01:00
Bartlomiej Sieka
ce3f1a40c5 Disable the watchdog in the default config for the V38B board. 2006-11-11 22:48:22 +01:00
Bartlomiej Sieka
44a47e6db2 Change the GPIO pin multiplexing configuration for V38B. The USB GPIO pin
group is enabled for USB earlier (in cpu_init_f() instead of
usb_lowlevel_init()).
2006-11-11 22:43:00 +01:00
Stefan Roese
dfc8a9ee00 Merge with /home/stefan/git/u-boot/denx 2006-11-10 07:48:47 +01:00
Wolfgang Denk
91650b3e4d Sequential accesses to non-existent memory must be synchronized,
at least on G2 cores.

This fixes get_ram_size() problems on MPC5200 Rev. B boards.
2006-11-06 17:06:36 +01:00
Timur Tabi
be5e61815d mpc83xx: Update 83xx to use fsl_i2c.c
Update the 83xx tree to use I2C support in drivers/fsl_i2c.c.  Delete
cpu/mpc83xx/i2c.c, include/asm-ppc/i2c.h, and all references to those files.
Added multiple I2C bus support to fsl_i2c.c.

Signed-off-by: Timur Tabi <timur@freescale.com>
2006-11-03 19:42:23 -06:00
Timur Tabi
d239d74b1c mpc83xx: Replace CFG_IMMRBAR with CFG_IMMR
Replace all instances of CFG_IMMRBAR with CFG_IMMR, so that the 83xx
tree matches the other 8xxx trees.

Signed-off-by: Timur Tabi <timur@freescale.com>
2006-11-03 19:42:23 -06:00
Dave Liu
90f30a710a mpc83xx: Fix the incorrect dcbz operation
The 834x rev1.x silicon has one CPU5 errata.

The issue is when the data cache locked with
HID0[DLOCK], the dcbz instruction looks like no-op inst.

The right behavior of the data cache is when the data cache
Locked with HID0[DLOCK], the dcbz instruction allocates
new tags in cache.

The 834x rev3.0 and later and 8360 have not this bug inside.

So, when 834x rev3.0/8360 are working with ECC, the dcbz
instruction will corrupt the stack in cache, the processor will
checkstop reset.

However, the 834x rev1.x can work with ECC with these code,
because the sillicon has this cache bug. The dcbz will not
corrupt the stack in cache.
Really, it is the fault code running on fault sillicon.

This patch fix the incorrect dcbz operation. Instead of
CPU FP writing to initialise the ECC.

CHANGELOG:
* Fix the incorrect dcbz operation instead of CPU FP
writing to initialise the ECC memory. Otherwise, it
will corrupt the stack in cache, The processor will checkstop
reset.

Signed-off-by: Dave Liu <daveliu@freescale.com>
2006-11-03 19:42:22 -06:00
Kim Phillips
bf0b542d67 mpc83xx: add OF_FLAT_TREE bits to 83xx boards
add ft_pci_setup, OF_CPU, OF_SOC, OF_TBCLK, and
STDOUT_PATH configuration bits to mpc8349emds,
mpc8349itx, and mpc8360emds board code.

redo environment to use bootm with the fdtaddr
for booting ARCH=powerpc kernels by default,
and provide default fdtaddr values.
2006-11-03 19:42:22 -06:00
Timur Tabi
9ca880a250 mpc83xx: Fix dual I2C support for the MPC8349ITX, MPC8349EMDS, TQM834x, and MPC8360EMDS
This patch also adds an improved I2C set_speed(), which handles all clock
frequencies.

Signed-off-by: Timur Tabi <timur@freescale.com>
2006-11-03 19:42:22 -06:00
Dave Liu
7737d5c658 mpc83xx: add QE ethernet support
this patch adds support for the QUICC Engine based UCC gigabit ethernet device.
2006-11-03 19:42:21 -06:00
Dave Liu
5f8204394e mpc83xx: Add MPC8360EMDS basic board support
Add support for the Freescale MPC8360EMDS board.
Includes DDR, DUART, Local Bus, PCI.
2006-11-03 19:42:21 -06:00
Dave Liu
23892e4935 mpc83xx: add the QUICC Engine (QE) immap file
common QE immap file.  Also required for 8360.
2006-11-03 19:42:20 -06:00
Dave Liu
b701652a49 mpc83xx: Add 8360 specifics to 83xx immap
Mainly add QE device dependencies, with appropriate 8360 protection.
Lindent also run.
2006-11-03 19:42:20 -06:00
Timur Tabi
988833324a mpc83xx: Fix PCI, USB, bootargs for MPC8349E-mITX
PREREQUISITE PATCHES:

* This patch can only be applied after the following patches have been applied:

  1) DNX#2006092142000015 "Add support for the MPC8349E-mITX  1/2"
  2) DNX#2006092142000024 "Add support for the MPC8349E-mITX  2/2"

CHANGELOG:

* For the 8349E-mITX, fix some size values in pci_init_board(), enable
  the clock for the 2nd USB board (Linux kernel will hang otherwise),
  and fix the CONFIG_BOOTARGS macro.

Signed-off-by: Timur Tabi <timur@freescale.com>
2006-11-03 19:42:20 -06:00
Timur Tabi
2ad6b513b3 mpc83xx: Add support for the MPC8349E-mITX
PREREQUISITE PATCHES:

* This patch can only be applied after the following patches have been applied:

  1) DNX#2006090742000024 "Add support for multiple I2C buses"
  2) DNX#2006090742000033 "Multi-bus I2C implementation of MPC834x"
  3) DNX#2006091242000041 "Additional MPC8349 support for multibus i2c"
  4) DNX#2006091242000078 "Add support for variable flash memory sizes on 83xx systems"
  5) DNX#2006091242000069 "Add support for Errata DDR6 on MPC 834x systems"

CHANGELOG:

* Add support for the Freescale MPC8349E-mITX reference design platform.
  The second TSEC (Vitesse 7385 switch) is not supported at this time.

Signed-off-by: Timur Tabi <timur@freescale.com>
2006-11-03 19:42:20 -06:00
Ben Warren
b24f119d67 Multi-bus I2C implementation of MPC834x
Hello,

Attached is a patch implementing multiple I2C buses on the MPC834x CPU
family and the MPC8349EMDS board in particular.
This patch requires Patch 1 (Add support for multiple I2C buses).
Testing was performed on a 533MHz board.

/*** Note: This patch replaces ticket DNX#2006083042000027 ***/

Signed-off-by: Ben Warren <bwarren@qstreams.com>

CHANGELOG:
        Implemented driver-level code to support two I2C buses on the
MPC834x CPU family and the MPC8349EMDS board.  Available I2C bus speeds
are 50kHz, 100kHz and 400kHz on each bus.

regards,
Ben
2006-11-03 19:42:19 -06:00
Ben Warren
bb99ad6d82 Add support for multiple I2C buses
Hello,

Attached is a patch providing support for multiple I2C buses at the
command level.  The second part of the patch includes an implementation
for the MPC834x CPU and MPC8349EMDS board.

/*** Note: This patch replaces ticket DNX#2006083042000018 ***/

Signed-off-by: Ben Warren <bwarren@qstreams.com>

Overview:

1. Include new 'i2c' command (based on USB implementation) using
CONFIG_I2C_CMD_TREE.

2. Allow multiple buses by defining CONFIG_I2C_MULTI_BUS.  Note that
the commands to change bus number and speed are only available under the
new 'i2c' command mentioned in the first bullet.

3. The option CFG_I2C_NOPROBES has been expanded to work in multi-bus
systems.  When CONFIG_I2C_MULTI_BUS is used, this option takes the form
of an array of bus-device pairs.  Otherwise, it is an array of uchar.

CHANGELOG:
        Added new 'i2c' master command for all I2C interaction.  This is
conditionally compiled with CONFIG_I2C_CMD_TREE.  New commands added for
setting I2C bus speed as well as changing the active bus if the board
has more than one (conditionally compiled with
CONFIG_I2C_MULTI_BUS).  Updated NOPROBE logic to handle multiple buses.
Updated README.

regards,
Ben
2006-11-03 19:42:19 -06:00
Timur Tabi
afd6e470f6 mpc83xx: fix TQM build by defining a CFG_FLASH_SIZE for it 2006-11-03 19:42:19 -06:00
Tanya Jiang
2fc34ae66e mpc83xx: Unified TQM834x variable names with 83xx and consolidated macros
Unified TQM834x variable names with 83xx and consolidated macro
in preparation for the 8360 and other upcoming 83xx devices.

Signed-off-by: Tanya Jiang <tanya.jiang@freescale.com>
2006-11-03 19:42:18 -06:00
Dave Liu
f6eda7f80c mpc83xx: Changed to unified mpx83xx names and added common 83xx changes
Incorporated the common unified variable names and the changes in preparation
for releasing mpc8360 patches.

Signed-off-by: Dave Liu <daveliu@freescale.com>
2006-11-03 19:42:18 -06:00
Bartlomiej Sieka
dae80f3caf - Add MPC5XXX register definition MPC5XXX_WU_GPIO_DATA_I and change the
MPC5XXX_WU_GPIO_DATA macro to MPC5XXX_WU_GPIO_DATA_O (per MPC5200 User's
  Manual). Replace the uses of MPC5XXX_WU_GPIO_DATA with
  MPC5XXX_WU_GPIO_DATA_O for affected boards.

- Add defintions for some MPC5XXX GPIO pins.
2006-11-01 01:38:16 +01:00
Bartlomiej Sieka
82d9c9ec29 Changed MarelV38B board make target to lowercase. Config file cleanup. 2006-11-01 01:34:29 +01:00
Stefan Roese
fae684e898 [PATCH] omap925.c: Remove unused functions
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Stefan Roese <sr@denx.de>
2006-10-28 17:13:12 +02:00
Wolfgang Denk
2751a95abd Enable commandline editing and hush shell on all TQM boards. 2006-10-28 02:29:14 +02:00
Wolfgang Denk
8078f1a5f6 README says CFG_AUTO_COMPLETE, but ocde uses CONFIG_AUTO_COMPLETE 2006-10-28 02:28:02 +02:00
Wolfgang Denk
d97370feca Merge with /home/wd/git/u-boot/master
(Conflicts between Jon Loeliger's and Matthew McClintock's tree
 were resolved by in favour of Jon's version.)
2006-10-24 17:08:31 +02:00
Wolfgang Denk
034df411c1 Merge with http://www.jdl.com/software/u-boot-86xx.git 2006-10-24 15:18:23 +02:00
Wolfgang Denk
0ab292cbc1 Merge with /home/wd/git/u-boot/master 2006-10-24 15:17:59 +02:00
Wolfgang Denk
6ccec4492e Add ATSTK1000 and ATSTK1002 board support
Patch by Haavard Skinnemoen, 06 Sep 2006

This patch adds support for the ATSTK1000 with the ATSTK1002 CPU
daughterboard.

ATSTK1000 is a full-featured development board for AT32AP CPUs. It
has two ethernet ports, a high quality QVGA LCD panel, a loudspeaker,
and connectors for USART, PS/2, VGA, USB, MMC/SD cards and
CompactFlash cards. For more information, please see this page:

http://www.atmel.com/dyn/products/tools.asp?family_id=682

The ATSTK1002 is a daughterboard for the ATSTK1000 supporting the
AT32AP7000 chip.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2006-10-24 14:42:37 +02:00
Wolfgang Denk
72a087e047 Add AT32AP CPU and AT32AP7000 SoC support
Patch by Haavard Skinnemoen, 06 Sep 2006

This patch adds support for the AT32AP CPU family and the AT32AP7000
chip, which is the first chip implementing the AVR32 architecture.

The AT32AP CPU core is a high-performance implementation featuring a
7-stage pipeline, separate instruction- and data caches, and a MMU.
For more information, please see the "AVR32 AP Technical Reference":

http://www.atmel.com/dyn/resources/prod_documents/doc32001.pdf

In addition to this, the AT32AP7000 chip comes with a large set of
integrated peripherals, many of which are shared with the AT91 series
of ARM-based microcontrollers from Atmel. Full data sheet is
available here:

http://www.atmel.com/dyn/resources/prod_documents/doc32003.pdf

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2006-10-24 14:27:35 +02:00
Wolfgang Denk
7b64fef33c Add AVR32 architecture support
Patch by Haavard Skinnemoen, 6 Sep 2006 16:23:02 +0200

This patch adds common infrastructure code for the Atmel AVR32
architecture. See doc/README.AVR32 for details.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2006-10-24 14:21:16 +02:00
Jon Loeliger
2ba20ec65a Merge branch 'i2c' 2006-10-20 17:16:50 -05:00
Jon Loeliger
3dfa9cfdce Use generic I2C register block on 85xx and 86xx.
Replace private IMMAP I2C structures with generic reg block
and allow 86xx to have multiple I2C device busses.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
2006-10-20 17:16:35 -05:00
Wolfgang Denk
d67c14c0f4 Merge with http://www.jdl.com/software/u-boot-86xx.git 2006-10-20 23:52:58 +02:00
Wolfgang Denk
9fa48022e5 Merge with /home/wd/git/u-boot/master 2006-10-20 23:04:42 +02:00
Jon Loeliger
3acb7727ce Merge branch 'i2c' 2006-10-20 15:54:48 -05:00
Jon Loeliger
2047672684 Converted all 85xx boards to use a common FSL I2C driver.
Introduced COFIG_FSL_I2C to select the common FSL I2C driver.
And removed hard i2c path from a few u-boot.lds scipts too.
Minor whitespace cleanups along the way.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
2006-10-20 15:50:15 -05:00
Wolfgang Denk
f836e41460 Fix compile problem in include/configs/ep82xxm.h
(must have never been tested before!)
2006-10-20 16:12:14 +02:00
Stefan Roese
43a2b0e76a Add board/cpu specific NAND chip select function to 440 NDFC
Based on idea and implementation from Jeff Mann
Patch by Stefan Roese, 20 Oct 2006
2006-10-20 15:17:55 +02:00
Jon Loeliger
d22200f020 Merge branch 'master' of http://www.denx.de/git/u-boot 2006-10-19 12:03:44 -05:00
Jon Loeliger
7237c033b0 Moved i2c driver out of cpu/mpc86xx/i2c.c into drivers/fsl_i2c.c
in an effort to begin to unify the umpteen FSL I2C drivers that
are all otherwise very similar.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
2006-10-19 11:34:11 -05:00
Jon Loeliger
13a7fcdf37 * Fix a bunch of compiler warnings for gcc 4.0
Signed-off-by: Matthew McClintock <msm@freescale.com>
2006-10-19 11:33:52 -05:00
Wolfgang Denk
fcfed4f2f2 Coding Style cleanup. 2006-10-18 22:44:38 +02:00
Wolfgang Denk
82165a334b Merge with /home/tur/proj/051_uboot_linux_v38b/u-boot 2006-10-18 22:27:57 +02:00
Jon Loeliger
5f3249a0a1 Fixed leading whitespace issues.
Removed spurious LAWAR thing.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
2006-10-13 16:47:53 -05:00
Bartlomiej Sieka
4707fb50cc Preliminary patch adding support for the MarelV38B board. 2006-10-13 21:09:09 +02:00
Wolfgang Denk
7e2a24dca9 Merge with http://opensource.freescale.com/pub/scm/u-boot-85xx.git#for_wd 2006-10-11 23:54:37 +02:00
Matthew McClintock
7376eb87aa * Fix a bunch of compiler warnings for gcc 4.0
Signed-off-by: Matthew McClintock <msm@freescale.com>
2006-10-11 15:13:01 -05:00
Jon Loeliger
c3c3b089ad Merge branch 'master' of http://www.denx.de/git/u-boot 2006-10-11 10:16:01 -05:00
Wolfgang Denk
fb883a521e Merge with /home/wd/git/u-boot/master 2006-10-11 14:15:21 +02:00
Jon Loeliger
daaba9859b Merge branch 'master' of http://www.denx.de/git/u-boot 2006-10-10 17:21:42 -05:00
Jon Loeliger
8b283dbb3a Fix whitespace issues. 2006-10-10 17:16:04 -05:00
Stefan Roese
2255b2d204 * Several improvements to the new NAND subsystem:
- JFFS2 related commands implemented in mtd-utils style
  - Support for bad blocks
  - Bad block testing commands
  - NAND lock commands
  Please take a look at doc/README.nand for more details
  Patch by Guido Classen, 10 Oct 2006
2006-10-10 12:38:50 +02:00
Stefan Roese
1a1b7374b8 Define IH_CPU_AVR32
Make it possible to generate AVR32 uImage files with mkimage and
make cmd_bootm recognize them.
Patch by Haavard Skinnemoen, 22 Sep 2006
2006-10-09 13:02:00 +02:00
Wolfgang Denk
7ce343e499 Add missing files for EP82xxM boards
Patch by Aaron Sells, 20 Jun 2006
2006-10-09 00:48:57 +02:00
Wolfgang Denk
511d0c72b8 Coding style cleanup 2006-10-09 00:42:01 +02:00
Wolfgang Denk
9444b8818f Merge with git+ssh://fifi/home/wd/git/u-boot/master 2006-10-08 22:19:41 +02:00
Stefan Roese
5bc528fa4d Update ALPR code (NAND support working now)
Patch by Stefan Roese, 07 Oct 2006
2006-10-07 11:35:25 +02:00
Stefan Roese
f3443867e9 Add CONFIG_BOARD_RESET to configure board specific reset function
Patch by Stefan Roese, 07 Oct 2006
2006-10-07 11:30:52 +02:00
Wolfgang Denk
eac5ba3e59 Merge with /home/m8/git/u-boot 2006-10-05 11:10:17 +02:00
Marian Balakowicz
7299712c86 Update for CAM5200 board:
- Map in a additional chip selects CS4 and CS5.
  - Modify the port configration, configure six UARTs and no PCI,
    ATA and USB.
  - Add custom flash driver to handle specific byte swapping
2006-10-03 20:28:38 +02:00
Wolfgang Denk
ac611700e5 Fix comments in include/ppc440.h
Patch by Martin Hicks, 16 Jun 2006
2006-09-20 23:47:49 +02:00
Jon Loeliger
504b5cd0e2 Merge branch 'mpc85xx'
Conflicts:

	drivers/tsec.c
2006-09-19 10:02:20 -05:00
Andy Fleming
8272dc2f58 Updated config headers to add default FDT-based booting 2006-09-19 09:42:18 -05:00
Andy Fleming
09f3e09e9e Add support for eTSEC 3 & 4 on 8548 CDS
* Added support for using eTSEC 3 and eTSEC 4 on the 8548 CDS.
  This will only work on rev 1.3 boards (but doesn't break older boards)
* Cleaned up some comments to reflect the expanded role of tsec
  in other systems
2006-09-19 09:41:48 -05:00
Jon Loeliger
afa98843e4 Merge branch 'master' of http://www.denx.de/git/u-boot
Conflicts:

	board/stxxtc/Makefile
2006-09-19 08:51:24 -05:00
Stefan Roese
64cd52efd1 Merge with /home/stefan/git/u-boot/denx 2006-09-18 10:48:03 +02:00
Jon Loeliger
b440d0ef72 Merge branch 'mpc86xx' 2006-09-14 08:41:07 -05:00
Jon Loeliger
d14ba6a798 Handle 86xx SVR values according to the new Reference Manual.
Both 8641 and 8641D have SVR == 0x8090, and are distinguished
by the byte in bits 16-23 instead.
Thanks to Jason Jin for noticing.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
2006-09-14 08:40:36 -05:00
Stefan Roese
854bc8da75 Add support for AMCC Rainier PPX440GRx eval board
Patch by Stefan Roese, 13 Sep 2006
2006-09-13 13:56:49 +02:00
Stefan Roese
d12ae80889 Add NAND environment support for PPC440EPx Sequoia NAND boot config
Patch by Stefan Roese, 12 Sep 2006
2006-09-12 20:19:10 +02:00
Stefan Roese
efa20585b3 Fix build problem with CPCI440
Patch by Stefan Roese, 07 Sep 2006
2006-09-07 12:48:49 +02:00
Stefan Roese
8cacfb85a8 Change Yellowstone to use CFI write buffer
Patch by Stefan Roese, 07 Aug 2006
2006-09-07 12:23:02 +02:00
Stefan Roese
887e2ec9ec Add support for AMCC Sequoia PPC440EPx eval board
- Add support for PPC440EPx & PPC440GRx
- Add support for PPC440EP(x)/GR(x) NAND controller
  in cpu/ppc4xx directory
- Add NAND boot functionality for Sequoia board,
  please see doc/README.nand-boot-ppc440 for details
- This Sequoia NAND image doesn't support environment
  in NAND for now. This will be added in a short while.
Patch by Stefan Roese, 07 Sep 2006
2006-09-07 11:51:23 +02:00
Wolfgang Denk
f60ba0d35e Fix build problems on sorcery board. 2006-09-04 02:01:27 +02:00
Wolfgang Denk
360b410367 Fixed problems on PRS200 board caused by adding splash screen on MCC200 2006-09-03 18:17:46 +02:00
Detlev Zundel
d7c2a02dea Added simple_strtoul(), getenv() and setenv() to the exported functions.
Also bumped up ABI version to reflect this change.
2006-09-01 15:00:02 +02:00
Detlev Zundel
43835aac48 Added interrupt handling capabilities for mpc5xxx processors.
Also added Linux like BUG() macros.
2006-09-01 11:59:23 +02:00
Wolfgang Denk
e8143e72e1 Add splashscreen support for MCC200 board. 2006-08-30 23:09:00 +02:00
Wolfgang Denk
0fd30252c8 Make the serial driver framework work with CONFIG_SERIAL_MULTI enabled 2006-08-30 23:02:10 +02:00
Wolfgang Denk
21a9cc028d Fix typo. 2006-08-29 10:49:11 +02:00
Wolfgang Denk
16850919ff Code cleanup 2006-08-27 18:10:01 +02:00
Jon Loeliger
3a25220822 Merge branch 'mpc86xx' 2006-08-25 17:30:24 -05:00
Haiying Wang
5567806b67 Change ramdiskaddr and dtbaddr
Remove PEX fluff commands.

Signed-off-by: Haiying Wang <haiying.wang@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
2006-08-25 17:28:20 -05:00
Wolfgang Denk
3b0ff842bf Fix typo in MCC200/PRS200 configuration 2006-08-25 11:47:06 +02:00
Wolfgang Denk
113f64e09a Update for MCC200 / PRS200 boards:
- auto-adjust console device for Linux.
- fix typos.
2006-08-25 01:38:04 +02:00
Wolfgang Denk
15f29f06ed Merge with /home/tur/proj/fo300/u-boot 2006-08-25 00:13:37 +02:00
Wolfgang Denk
ed1cf8456f Updates for MCC200 / PRS200 boards:
- support for configurations with SDRAM or DDR memory,
- support for highboot and lowboot
- adjusting environment definitions
2006-08-24 00:26:42 +02:00
Jon Loeliger
5e4c24bcb3 Merge branch 'mpc86xx' 2006-08-23 10:40:37 -05:00
Jin Zhengxiong
dabf9ef8c1 Add AHCI define and sata support for MPC8641HPCN board.
Signed-off-by:Jason Jin<jason.jin@freescale.com>
2006-08-23 10:40:10 -05:00
Jin Zhengxiong
4782ac80b0 Add AHCI support to u-boot
Add AHCI support in u-boot, enable the sata disk controllers which
following the AHCI protocol.

Signed-off-by:Jason Jin<jason.jin@freescale.com>
2006-08-23 10:39:01 -05:00
Zhang Wei
d8ea2acf5f Add dtb boot-up parameter to default boot commands.
Signed-off-by: Zhang Wei <wei.zhang@freescale.com>
2006-08-23 10:32:08 -05:00
Jon Loeliger
ad09083c37 Merge branch 'mpc86xx' 2006-08-22 18:26:28 -05:00
Jon Loeliger
b93775c203 Cleanup even more poorly introduced whitespace. 2006-08-22 18:26:08 -05:00
Jon Loeliger
e80e82cbb9 Merge branch 'mpc86xx' 2006-08-22 18:07:57 -05:00
Jon Loeliger
ae6241685c Cleanup more poorly introduced whitespace. 2006-08-22 18:07:00 -05:00