aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)AuthorFilesLines
2007-08-10Replace fdt_node_offset() with fdt_find_node_by_path().Gerald Van Baren2-6/+6
The new name matches more closely the kernel's name, which is also a much better description. Signed-off-by: Wolfgang Grandegger <wg@grandegger.com> Acked-by: Gerald Van Baren <vanbaren@cideas.com>
2007-08-10Fix cmd_fdt line lengths, refactor code.Gerald Van Baren1-187/+239
Break lines that were greater than 80 characters in length. Move the fdt print and property parsing code to separate static functions to reduce coding clutter in the fdt_cmd handling body. Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
2007-08-10FDT command improvements.Gerald Van Baren1-128/+143
Fix "fdt set" so that it will create a non-existing property. Add "fdt mknode" to create nodes. Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
2007-08-10Reorganize and fix problems (returns) in the bootm command.Gerald Van Baren1-66/+64
Do *NOT* return after the "point of no return" has been passed. If something goes wrong, the board must be reset after that point. Move the "Transferring control to Linux" debug message back to where it belongs: just before transferring control to linux. Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
2007-08-10Fix bugs in the CONFIG_OF_LIBFDTGerald Van Baren1-2/+2
Stupid coding mistakes (identified by Timur Tabi, thanks). Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
2007-08-10Improve fdt move length handling.Gerald Van Baren1-6/+15
Make the length parameter optional: if not specified, do the move using the current size unchanged. Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
2007-08-10Minor code clean up.Gerald Van Baren1-0/+5
Declare the variable fdt properly as extern. Call the "set_fn" function pointer the "short way" without the full dereferencing syntax. Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
2007-08-10Improve error messages, more informative.Gerald Van Baren1-13/+14
Print more than the raw libfdt error message strings. This is especially useful for cluing in the user when the bootm command aborts due to blob problems. Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
2007-08-10[ARM] TI DaVinci support, hopefully finalSergey Kubushyn1-1/+14
Add support for the following DaVinci boards: - DV_EVM - SCHMOOGIE - SONATA Changes: - Split into separate board directories - Removed changes to MTD_DEBUG (or whatever it's called) - New CONFIG_CMD party line followed - Some cosmetic fixes, cleanup etc. - Patches against the latest U-Boot tree as of now. - Fixed CONFIG_CMD_NET in net files. - Fixed CONFIG_CMD_EEPROM for schmoogie. - Made sure it compiles and works (forceenv() link problem) on SCHMOOGIE and DV_EVM. Can't check if it works on SONATA, don't have a board any more, but it at least compiles. Here is an excerpt from session log on SCHMOOGIE... U-Boot 1.2.0-g6c33c785-dirty (Aug 7 2007 - 13:07:17) DRAM: 128 MB NAND: 128 MiB In: serial Out: serial Err: serial ARM Clock : 297MHz DDR Clock : 162MHz ETH PHY : DP83848 @ 0x01 U-Boot > iprobe Valid chip addresses: 1B 38 3A 3D 3F 50 5D 6F U-Boot > ping 192.168.253.10 host 192.168.253.10 is alive U-Boot > Signed-off-by: Sergey Kubushyn <ksi@koi8.net> Acked-by: Dirk Behme <dirk.behme@gmail.com> Acked-by: Zach Sadecki <Zach.Sadecki@ripcode.com> Acked-by: Stefan Roese <sr@denx.de>
2007-08-07Merge with git://www.denx.de/git/u-boot.gitMarkus Klotzbuecher64-417/+1197
2007-08-06Merge with /home/wd/git/u-boot/custodian/u-boot-testingWolfgang Denk59-246/+250
2007-08-06Merge with /home/wd/git/u-boot/custodian/u-boot-mpc85xxWolfgang Denk6-38/+113
2007-08-06Add functions to list of exported functionsMartin Krause1-0/+2
Additionally export the following fuctions (to make trab_config build again): - simple_strtol() - strcmp() Also bump the ABI version to reflect this change Signed-off-by: Martin Krause <martin.krause@tqs.de>
2007-08-03Merge branch 'testing' into workingAndy Fleming59-246/+248
Conflicts: CHANGELOG fs/fat/fat.c include/configs/MPC8560ADS.h include/configs/pcs440ep.h net/eth.c
2007-07-13make show_boot_progress () weak.Heiko Schocher7-150/+110
Signed-off-by: Heiko Schocher <hs@denx.de>
2007-07-11Fix some compile problems introduced by the latest CFG_CMD_xxx cleanupStefan Roese2-4/+3
Signed-off-by: Stefan Roese <sr@denx.de>
2007-07-10common/: Remove lingering references to CFG_CMD_* symbols.Jon Loeliger35-67/+69
Fixed some broken instances of "#ifdef CMD_CFG_IDE" too. Those always evaluated TRUE, and thus were always compiled even when IDE really wasn't defined/wanted. Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-07-09Finally retire cmd_confdefs.h and CONFIG_BOOTP_MASK!Jon Loeliger1-3/+3
All of the choices for CONFIG_BOOTP_ are now documented in the README file. You must now individually select exactly the set that you want using a series of #define CONFIG_BOOTP_<x> statements in the board port config files now. Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-07-09Merge with /home/hs/Atronic/u-bootWolfgang Denk6-38/+113
2007-07-08common/* non-cmd*: Remove obsolete references to CONFIG_COMMANDSJon Loeliger12-19/+19
Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-07-08common/cmd_[p-x]*: Remove obsolete references to CONFIG_COMMANDS.Jon Loeliger11-23/+22
Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-07-08common/cmd_[i-n]*: Remove obsolete references to CONFIG_COMMANDS.Jon Loeliger14-78/+60
Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-07-08common/cmd_[af]*: Remove obsolete references to CONFIG_COMMANDS.Jon Loeliger22-63/+61
Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-07-04common/ non-cmd: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).Jon Loeliger13-15/+15
This is a compatibility step that allows both the older form and the new form to co-exist for a while until the older can be removed entirely. All transformations are of the form: Before: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) After: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT) Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-07-04common/cmd_[i-z]* : Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).Jon Loeliger25-71/+92
This is a compatibility step that allows both the older form and the new form to co-exist for a while until the older can be removed entirely. All transformations are of the form: Before: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) After: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT) Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-07-04common/cmd_[a-f]* : Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).Jon Loeliger21-50/+51
This is a compatibility step that allows both the older form and the new form to co-exist for a while until the older can be removed entirely. All transformations are of the form: Before: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) After: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT) Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-07-03Merge with /home/wd/git/u-boot/custodian/u-boot-testingWolfgang Denk3-7/+719
2007-06-30Fix S-ATA support.Mushtaq Khan1-4/+4
Signed-off-by: mushtaq khan <mushtaqk_921@yahoo.co.in>
2007-06-22Coding stylke cleanup; rebuild CHANGELOGWolfgang Denk2-3/+3
2007-06-22Adapt log buffer code to support Linux 2.6Igor Lisitsin1-45/+71
A new environment variable, "logversion", selects the log buffer behaviour. If it is not set or set to a value other than 2, then the old, Linux 2.4.4, behaviour is selected. Signed-off-by: Igor Lisitsin <igor@emcraft.com> --
2007-06-22[PCS440EP] upgrade the PCS440EP board:Heiko Schocher6-38/+113
- Show on the Status LEDs, some States of the board. - Get the MAC addresses from the EEProm - use PREBOOT - use the CF on the board. - check the U-Boot image in the Flash with a SHA1 checksum. - use dynamic TLB entries generation for the SDRAM Signed-off-by: Heiko Schocher <hs@denx.de>
2007-06-12Change 'repeatable' attribute of some commands to sensible values.Detlev Zundel3-4/+4
Most prominently this changes 'erase' to be non-repeatable. Signed-off-by: Detlev Zundel <dzu@denx.de>
2007-06-12Fix 'run' not to continue after interrupted commandDetlev Zundel1-1/+1
Signed-off-by: Detlev Zundel <dzu@denx.de>
2007-06-08Fix config problems on SC3 board; make ide_reset_timeout work.Wolfgang Denk1-2/+2
2007-06-06Merge with /home/wd/git/u-boot/custodian/u-boot-armWolfgang Denk1-0/+3
2007-06-06USB event poll supportZhang Wei1-1/+5
This patch adds USB event poll support, which could be used in usbkbd and other usb devices driver when the asynchronous interrupt processing is supported. Signed-off-by: Zhang Wei <wei.zhang@freescale.com
2007-05-28Merge with /home/tur/git/u-boot#motionproWolfgang Denk1-0/+2
2007-05-27Fix: Add missing NULL termination in strings expanded by macros parser.Bartlomiej Sieka1-0/+2
Signed-off-by: Piotr Kruszynski <ppk@semihalf.com> Acked-by: Bartlomiej Sieka <tur@semihalf.com>
2007-05-18Merge with git://www.denx.de/git/u-boot.gitPeter Pearse2-1/+418
2007-05-17Merge with /home/git/u-bootWolfgang Denk2-1/+418
2007-05-16Fix compile problem cause my Microblaze mergeStefano Babic1-1/+1
Signed-off-by: Stefano Babic <sbabic@denx.de>
2007-05-15Minor coding style cleanup.Wolfgang Denk1-25/+27
2007-05-15Add driver for S-ATA-controller on Intel processors with Southmushtaq khan2-2/+712
Bridge, ICH-5, ICH-6 and ICH-7. Implementation: 1. Code is divided in to two files. All functions, which are controller specific are kept in "drivers/ata_piix.c" file and functions, which are not controller specific, are kept in "common/cmd_sata.c" file. 2. Reading and Writing from the S-ATA drive is done using PIO method. 3. Driver can be configured for 48-bit addressing by defining macro CONFIG_LBA48, if this macro is not defined driver uses the 28-bit addressing. 4. S-ATA read function is hooked to the File system, commands like ext2ls and ext2load file can be used. This has been tested. 5. U-Boot command "SATA_init" is added, which initializes the S-ATA controller and identifies the S-ATA drives connected to it. 6. U-Boot command "sata" is added, which is used to read/write, print partition table and get info about the drives present. This I have implemented in same way as "ide" command is implemented in U-Boot. 7. This driver is for S-ATA in native mode. 8. This driver does not support the Native command queuing and Hot-plugging. Signed-off-by: Mushtaq Khan <mushtaq_k@procsys.com>
2007-05-09New board SMN42 branchPeter Pearse1-0/+3
2007-05-08add: reading special purpose registersMichal Simek1-10/+33
2007-05-08add: FSL control read and writeMichal Simek1-72/+195
2007-05-08Merge git://www.denx.de/git/u-bootMichal Simek11-106/+1144
Conflicts: include/asm-microblaze/microblaze_intc.h include/linux/stat.h
2007-05-07fix: read and write MSR - repair number of parametersMichal Simek1-1/+1
2007-05-07new: add writing to msr registerMichal Simek1-4/+10
2007-05-05Merge with /home/git/u-bootWolfgang Denk1-1/+1