Wolfgang Denk
19973b6ad9
Minor code cleanup.
2006-10-28 00:38:39 +02:00
Wolfgang Denk
2b2a40bebb
Code cleanup.
2006-10-26 16:24:31 +02:00
Wolfgang Denk
b9e9adce0b
Merge with git://git.kernel.org/pub/scm/boot/u-boot/galak/u-boot.git#device_tree
2006-10-26 16:18:49 +02:00
Kumar Gala
c76f951a74
Added support for Multi-Image files that contain a device tree
...
If a Multi-Image file contains a third image we try to use it as a
device tree. The device tree image is assumed to be uncompressed in the
image file. We automatically allocate space for the device tree in memory
and provide an 8k pad to allow more than a reasonable amount of growth.
Additionally, a device tree that was contained in flash will now automatically
get copied to system memory as part of boot. Previously an error was
reported if one tried to boot a device tree that was in flash.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2006-10-24 23:47:37 -05:00
Wolfgang Denk
4e53a25855
Fix Makefile for "CHANGELOG" target
...
Merge with /home/sr/git/u-boot/4xx-idcr
2006-10-25 00:43:17 +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
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
Wolfgang Denk
ba999c531e
Cleanup compile warnings. Prepare for release 1.1.5
2006-10-20 17:54:33 +02:00
Wolfgang Denk
f641471498
MCC200: Fix uninitialized variable problem in LCD driver
2006-10-20 15:51:21 +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
Wolfgang Denk
73652699dd
Coding style cleanup
2006-10-20 12:02:59 +02: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
Stefan Roese
af9e1f5b9e
Add monitor functions for indirect access to PPC440 DCR's
...
Patch by Leonid Baryudin, 12 Oct 2006
2006-10-17 06:21:55 +02:00
Jon Loeliger
f7b190d312
Merge branch 'master' of http://www.denx.de/git/u-boot
2006-10-12 11:29:33 -05:00
Grant Likely
1eaf3a5ff4
Fix possible uninitialized variable compiler warning.
...
When CONFIG_OF_FLAG_TREE is set, the compiler complains that 'len' in
do_bootm_linux() may be uninitialized. There is no possibility in the
current code that len will get used uninitialized, but this fix follows
the existing convention of setting both len and data to zero at the same
time.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2006-10-12 08:42:03 -05:00
Wolfgang Denk
87621bc247
Fix spelling; minor code cleanup.
2006-10-12 11:43:47 +02:00
Wolfgang Denk
34a7ceeff4
Merge with /home/wd/git/u-boot/master
2006-10-12 01:26:20 +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
Stefan Roese
752d6837c3
Cleanup of NAND update patch (remove changelog from cmd_nand.c)
...
Patch by Guido Classen, 10 Oct 2006
2006-10-11 17:04:11 +02: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
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
Wolfgang Denk
a3bb7bfc06
Merge with /home/sr/git/u-boot/avr32
2006-10-09 13:32:53 +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
d262a92f0f
Fix buffer overflow problem in ft_build.c
...
Patch by Fredrik Roubert, 09 Oct 2006
2006-10-09 12:50:41 +02:00
Wolfgang Denk
2b208f5308
Move "ar" flags to config.mk to allow for silent "make -s"
...
Based on patch by Mike Frysinger, 20 Jun 2006
2006-10-09 01:02:05 +02:00
Wolfgang Denk
511d0c72b8
Coding style cleanup
2006-10-09 00:42:01 +02:00
Stefan Roese
77d5034847
Remove compile warnings in fpga code
...
Patch by Stefan Roese, 07 Oct 2006
2006-10-07 11:33:03 +02: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
Wolfgang Denk
5d5269f87f
Merge with /home/sr/git/u-boot/denx
2006-09-13 10:25:40 +02:00
Wolfgang Denk
a87d46f732
Fix alignment problem in "mtdparts" command
2006-09-13 10:23:06 +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
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
6741ae92f3
Merge with /home/m8/git/u-boot
2006-09-04 01:03:57 +02:00
Wolfgang Denk
fc43de0d4a
Merge with /home/wd/git/u-boot/master
2006-09-03 18:13:21 +02:00
Marian Balakowicz
f93286397e
Add support for a saving build objects in a separate directory.
...
Modifications are based on the linux kernel approach and
support two use cases:
1) Add O= to the make command line
'make O=/tmp/build all'
2) Set environement variable BUILD_DIR to point to the desired location
'export BUILD_DIR=/tmp/build'
'make'
The second approach can also be used with a MAKEALL script
'export BUILD_DIR=/tmp/build'
'./MAKEALL'
Command line 'O=' setting overrides BUILD_DIR environent variable.
When none of the above methods is used the local build is performed and
the object files are placed in the source directory.
2006-09-01 19:49:50 +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
Wolfgang Denk
7d0432c9e4
Coding Style cleanup.
...
Patch by Stefano Babic, 31 Aug 2006
2006-08-31 16:46:53 +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
Zhang Wei
88c8f4921f
Fixed an OF-tree off-by-one bug when adding a new property name.
...
This bug will cause the kernel booting to pause a long time.
Signed-off-by: Zhang Wei <wei.zhang@freescale.com>
(cherry picked from 2f15776ccc
commit)
2006-08-30 14:33:50 -05:00
Jon Loeliger
b5338b23a1
Merge branch 'mpc85xx'
2006-08-29 08:47:20 -05:00
Zhang Wei
2f15776ccc
Fixed an OF-tree off-by-one bug when adding a new property name.
...
This bug will cause the kernel booting to pause a long time.
Signed-off-by: Zhang Wei <wei.zhang@freescale.com>
2006-08-29 08:11:34 -05:00
Matthew McClintock
b2b78421d9
* Another small fix for booting with disable_of
...
Signed-off-by: Matthew McClintock <msm@freescale.com>
2006-08-23 13:32:45 -05:00
Jon Loeliger
5e4c24bcb3
Merge branch 'mpc86xx'
2006-08-23 10:40:37 -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
Jon Loeliger
4b7576fb80
Merge branch 'master' of http://www.denx.de/git/u-boot
2006-08-22 10:17:59 -05:00
Matthew McClintock
5de62c47a8
Fix disable_of booting
...
Signed-off-by: Matthew McClintock <msm@freescale.com>
2006-08-22 09:31:59 -05:00
Matthew McClintock
87a449c8ac
Support for FDT in uImage format, error when using FDT from flash
...
Signed-off-by: Matthew McClintock <msm@freescale.com>
2006-08-22 09:23:55 -05:00
Bartlomiej Sieka
ddde6b7cf8
Add a fix for a buggy USB device on the FO300 board.
2006-08-22 10:38:18 +02:00
Wolfgang Denk
4a39616da4
Merge with http://opensource.freescale.com/pub/scm/u-boot-85xx.git#for_wd
2006-08-19 02:04:56 +02:00
Haiying Wang
75c299c383
Unlock cache before kernel starts up for MPC86xx
2006-08-17 11:02:12 -05:00
Haiying Wang
1c8f6d8fb0
Unlock cache before kernel starts up for MPC86xx
2006-08-17 11:00:27 -05:00
Matthew McClintock
86c8e17f25
* Fix disable_of booting
...
Signed-off-by: Matthew McClintock <msm@freescale.com>
2006-08-16 13:59:47 -05:00
Matthew McClintock
25c751e9ad
* Support for FDT in uImage format, error when using FDT from flash
...
Signed-off-by: Matthew McClintock <msm@freescale.com>
2006-08-16 10:54:09 -05:00
Stefan Roese
f0ff4692ff
Add FPGA Altera Cyclone 2 support
...
Patch by Heiko Schocher, 15 Aug 2006
2006-08-15 14:15:51 +02:00
Wolfgang Denk
c72d9c5285
Merge with /home/sr/git/u-boot/denx
2006-08-13 02:25:32 +02:00
Jon Loeliger
92c427b189
Merge branch 'mpc85xx'
...
Conflicts:
include/ft_build.h
include/pci.h
Resolved, though.
2006-08-09 14:41:17 -05:00
Matthew McClintock
5498d90312
* Patch to modify ft_build.c to update flat device trees in place Patch by Matthew McClintock 26-June-2006
2006-08-09 13:50:18 -05:00
Matthew McClintock
0267768edd
* Modify bootm command to support booting with flat device trees Patch by Matthew McClintock 26-June-2006
2006-08-09 13:50:11 -05:00
Jon Loeliger
281f69ede2
Merge branch 'wd'
2006-08-09 13:36:54 -05:00
Wolfgang Denk
6587f7e1e9
Merge with /home/tur/proj/usb_sticks/u-boot
2006-08-07 20:28:05 +02:00
Stefan Roese
d8f961bbda
Fix control-c handing in CONFIG_CMDLINE_EDITING
...
Properly pass break code back from readline.
Patch by Roger Blofeld, 31 Jul 2006
2006-08-07 15:08:44 +02:00
Stefan Roese
e335496a32
Change "mii info" to not print an error upon missing PHY at address
...
Patch by Stefan Roese, 07 Aug 2006
2006-08-07 14:29:04 +02:00
Bartlomiej Sieka
e51aae3829
Prevent USB commands from working when USB is stopped.
2006-08-03 23:20:13 +02:00
Bartlomiej Sieka
7455af41d1
Add rudimentary handling of alternate settings of USB interfaces - to fix
...
problems with some USB storage devices. Some code readability improvements.
2006-08-02 00:54:18 +02:00
Stefan Roese
3ca9122fec
Fix CONFIG_CMDLINE_EDITING implementation
...
Patch by Stefan Roese, 27 Jul 2006
2006-07-27 16:11:19 +02:00
Wolfgang Denk
966083e95f
More code cleanup
2006-07-21 15:24:56 +02:00
Wolfgang Denk
b9365a26a1
Code cleanup
2006-07-21 11:56:05 +02:00
Wolfgang Denk
029b6dc77c
Make code better readable.
...
Patch by Ladislav Michl, 14 Sep 2005
2006-07-21 11:37:40 +02:00
Wolfgang Denk
dd9f06f0d5
Minor code cleanup.
2006-07-21 11:34:34 +02:00
Wolfgang Denk
501090aaa6
Add readline cmdline-editing extension
...
Patch by JinHua Luo, 01 Sep 2005
2006-07-21 11:33:45 +02:00
Wolfgang Denk
311d802790
Check argument count in "mii" command.
...
Problem pointed out by Andrew Dyer, 13 Jun 2005
2006-07-21 11:20:46 +02:00
Wolfgang Denk
45a212c4d7
Add support for new TQM5200 revisions
...
- Support for TQM5200S (short version without graphic controller)
- Support for modules with 'N' type S29GL128N Spansion flashes
(requires changes to flash layout)
- Support for MPC5200B cpu (mostly support for second SDRAM bank)
2006-07-19 17:52:30 +02:00
Jon Loeliger
0f2859689a
Merge branch 'mpc86xx'
2006-07-13 10:58:28 -05:00
Haiying Wang
bea3f28d28
Add support for reading and writing mac addresses to or from ID EEPROM.
...
Added code for reading and writing Mac addresses to/from ID EEPROM(0x57).
With attached patch, we can use command "mac/mac read/mac save/"
to read and write EEPROM under u-boot prompt.
U-boot will calculate the checksum of EEPROM while bootup,
if it is right, then u-boot will check whether the mac address
of eTSEC0/1/2/3 is availalbe (non-zero).
If there is mac address availabe in EEPROM, u-boot will use it,
otherewise, u-boot will use the mac address defined in
MPC8641HPCN.h. This matches the requirement to set unique mac address
for each TSEC port.
Signed-off-by: Haiying Wang <haiying.wang@freescale.com>
Signed-off-by: York Sun <yorksun@freescale.com>
2006-07-13 10:57:37 -05:00
Jin Zhengxiong
fcb28e7634
Fixed initrd issue by define big RAM
...
Signed-off-by:Jason Jin <Jason.jin@freescale.com>
2006-07-13 10:35:10 -05:00
Bartlomiej Sieka
f88a0ae6d7
Fix problems with SanDisk Corporation Cruzer Micro USB memory stick.
2006-07-13 15:32:16 +02:00
Wolfgang Denk
9d40799551
Major PCMCIA Cleanup to make code better readable and maintainable.
...
Notes:
- Board-dependend code for RPXLITE and RPXCLASSIC-based boards
placed to the drivers/rpx_pmcia.c file to avoid duplication.
Same for TQM8xx-based boards (drivers/tqm8xx_pmcia.c).
- drivers/i82365.c has been split into two parts located at
board/atc/ti113x.c and board/cpc45/pd67290.c (ATC and CPC45 are
the only boards using CONFIG_82365).
- Changes were tested for clean build and *very* *few* boards.
2006-07-10 23:07:28 +02:00
Jon Loeliger
de07a6a59c
Merge branch 'mpc86xx'
2006-07-07 10:03:07 -05:00
Jason Jin
e6cd2a1785
We made a u-boot patch to fix the hang up issue
...
when booting filesystem from ramdisk.
Signed-off-by:Jason Jin <Jason.jin@freescale.com>
2006-07-07 10:02:15 -05:00
Marian Balakowicz
f6e5739a68
Merge: Add support for AMCC 440SPe CPU based eval board (Yucca).
2006-06-30 18:19:42 +02:00
Marian Balakowicz
6c5879f380
Add support for AMCC 440SPe CPU based eval board (Yucca).
2006-06-30 16:30:46 +02:00
Matthew McClintock
1b380ec225
* Patch to modify ft_build.c to update flat device trees in place
...
Patch by Matthew McClintock 26-June-2006
2006-06-28 10:42:24 -05:00
Matthew McClintock
98a9c4d468
* Modify bootm command to support booting with flat device trees
...
Patch by Matthew McClintock 26-June-2006
2006-06-28 10:41:37 -05:00
Wolfgang Denk
0c32d96ddd
Add support for gth2 board
...
Patch by Thomas Lange, Aug 11 2005
2006-06-16 17:32:31 +02:00
Wolfgang Denk
c12cffc543
Add support for CONFIG_SERIAL_MULTI on MPC5xxx
...
Patch by Martin Krause, 8 Jun 2006
This patch supports two serial consoles on boards with
a MPC5xxx CPU. The console can be switched at runtime
by setting stdin, stdout and stderr to the desired serial
interface (serial0 or serial1). The PSCs to be used as
console port are definded by CONFIG_PSC_CONSOLE
and CONFIG_PSC_CONSOLE2.
See README.serial_multi for details.
2006-06-16 17:04:45 +02:00
Jon Loeliger
a941b83241
Merge branch 'mpc86xx'
2006-06-07 08:49:46 -05:00
Jon Loeliger
72ed528a94
Merge branch 'master' of http://www.denx.de/git/u-boot
2006-06-07 08:49:38 -05:00
Wolfgang Denk
ba94a1bba3
* Update Intel IXP4xx support
...
- Add IXP4xx NPE ethernet MAC support
- Add support for Intel IXDPG425 board
- Add support for Prodrive PDNB3 board
- Add IRQ support
Patch by Stefan Roese, 23 May 2006
[This patch does not include cpu/ixp/npe/IxNpeMicrocode.c which still
sufferes from licensing issues. Blame Intel.]
2006-05-30 15:56:48 +02:00
Haiying Wang
3033ebb20f
Allow args on reset command.
...
Signed-off-by: Jon Loeliger <jdl@jdl.com>
2006-05-26 10:01:16 -05:00
Wolfgang Denk
6516525083
Fix PCMCIA support on virtlab2
2006-05-15 13:52:51 +02:00
Wolfgang Denk
319b9a5467
Cleanup compile warning.
2006-05-12 16:32:32 +02:00
Wolfgang Denk
8cba090c58
Add support for VirtLab2 board
...
(needed because of differences in the PCMCIA hardware).
2006-05-12 16:15:46 +02:00
Jon Loeliger
846c2d4a0e
Merge branch 'mpc86xx'
2006-05-10 09:43:21 -05:00
Haiying Wang
6cfea33477
Remove unneeded INIT_RAM_LOCK cache twiddling.
...
Correctly tracks r29 as global data pointer now.
Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
2006-05-10 09:38:06 -05:00