summaryrefslogtreecommitdiffstats
path: root/common
Commit message (Collapse)AuthorAgeFilesLines
* Fix of_data copying for CONFIG_OF_FLAT_TREE-using boardsAndy Fleming2007-08-161-0/+9
| | | | | | | | The fix, "Fix where the #ifdef CFG_BOOTMAPSZ is placed" neglected to *also* put the code inside the similar #ifdef for CONFIG_OF_FLAT_TREE. Signed-off-by: Andy Fleming <afleming@freescale.com>
* Merge with git://www.denx.de/git/u-boot.gitStefan Roese2007-08-151-166/+163
|\
| * Fix where the #ifdef CFG_BOOTMAPSZ is placed.Jerry Van Baren2007-08-151-2/+3
| | | | | | | | | | | | | | | | | | | | | | Commit 073e1b509980cefe6f53c2d7fbbcd135df1e3924 "Fix initrd/dtb interaction" put the new code outside of the #if defined(CONFIG_OF_LIBFDT) when it should have gone inside of the conditional. As a result, it broke non-LIBFDT board builds. Also added a missing "not." to the comment. Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
* | Merge with git://www.denx.de/git/u-boot.gitStefan Roese2007-08-1565-635/+766
|\ \ | |/
| * Merge with /home/wd/git/u-boot/custodian/u-boot-ppc4xxWolfgang Denk2007-08-142-5/+7
| |\
| | * Merge with git://www.denx.de/git/u-boot.gitStefan Roese2007-08-1462-680/+765
| | |\
| | * \ Merge with /home/stefan/git/u-boot/zeusStefan Roese2007-08-141-0/+2
| | |\ \
| | | * | ppc4xx: Add support for AMCC 405EP Taihu boardJohn Otken2007-07-261-0/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: John Otken <john@softadvances.com>
| | * | | ppc4xx: Update AMCC Bamboo 440EP supportEugene OBrien2007-07-311-5/+5
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed storage type of cfg_simulate_spd_eeprom to const Changed storage type of gpio_tab to stack storage (Cannot access global data declarations in .bss until afer code relocation) Improved SDRAM tests to catch problems where data is not uniquely addressable (e.g. incorrectly programmed SDRAM row or columns) Added CONFIG_PROG_SDRAM_TLB to support Bamboo SIMM/DIMM modules Fixed AM29LV320DT (OpCode Flash) sector map Signed-off-by: Eugene OBrien <eugene.obrien@advantechamt.com> Signed-off-by: Stefan Roese <sr@denx.de>
| * | | Merge with /home/wd/git/u-boot/custodian/u-boot-armWolfgang Denk2007-08-141-1/+1
| |\ \ \
| | * | | Add MACH_TYPE records for several AT91 boards.Peter Pearse2007-08-141-1/+1
| | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge to two at45.c files into a common file, split to at45.c and spi.c Fix spelling error in DM9161 PHY Support. Initialize at91rm9200 board (and set LED). Add PIO control for at91rm9200dk LEDs and Mux. Change dataflash partition boundaries to be compatible with Linux 2.6. Signed-off-by: Peter Pearse <peter.pearse@arm.com> Signed-off-by: Ulf Samuelsson <ulf@atmel.com>
| * | | Fix initrd/dtb interactionAndy Fleming2007-08-141-9/+14
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The original code would wrongly relocate the blob to be right before the initrd if it existed. The blob *must* be within CFG_BOOTMAPSZ, if it is defined. So we make two changes: 1) flag the blob for relocation whenever its address is above BOOTMAPSZ 2) If the blob is being relocated, relocate it before kbd, not initrd Signed-off-by: Andy Fleming <afleming@freescale.com>
| * | Improve error print messages.Gerald Van Baren2007-08-101-31/+21
| | | | | | | | | | | | Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
| * | fdt: allow for builds that don't want env and bd_t nodesKim Phillips2007-08-101-23/+15
| | | | | | | | | | | | | | | | | | | | | protect fdt_env and fdt_bd_t invocations, fix codingstyle while in the area. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| * | fdt: do board setup based on fdt address specified on bootm lineKim Phillips2007-08-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The last fdt patch to bootm did board setup based on the address specified by a prior fdt address command invocation. The bootm code, as its call to fdt_chosen does, should use the fdt specified by the user on the bootm command. Note this restores full functionality for the 8360's existing default boot environment values, e.g. 'run nfsboot' (i.e. no having to 'fdt addr $fdtaddr' before booting a kernel). Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| * | Call ft_board_setup() from the bootm command.Gerald Van Baren2007-08-102-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the patch titled "Create new fdt boardsetup command..." I removed the call to ft_board_setup() from the routine fdt_chosen(), but I forgot to add a direct call back into cmd_bootm.c This fixes the oversight by adding the direct call to the bootm command. Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
| * | Create new fdt boardsetup command, fix bug parsing [] form of set values.Gerald Van Baren2007-08-102-25/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously ft_board_setup() was called by fdt_chosen() which was not really correctly structured. This splits ft_board_setup() out by creating a new fdt boardsetup command. Fix a bug when parsing fdt set command values which have the square bracket form [00 11 22 33] - the length was updated incorrectly in when parsing that form. Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
| * | Tighten up the error messages.Gerald Van Baren2007-08-101-22/+11
| | | | | | | | | | | | Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
| * | Asthetic improvements: error messages and line lengths.Gerald Van Baren2007-08-101-65/+61
| | | | | | | | | | | | | | | | | | Tighten up the error messages, split overlength lines. Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
| * | Fix fdt_chosen() to call ft_board_setup(), clean up long lines.Gerald Van Baren2007-08-101-39/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | The fdt_chosen() function was adding/seting some properties ad-hoc improperly and duplicated (poorly) what was done in ft_board_setup() Clean up long lines (setting properties, printing errors). Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
| * | For fdt_find_node_by_path(), handle the root path properly.Gerald Van Baren2007-08-101-23/+12
| | | | | | | | | | | | | | | | | | | | | Also removes the special case root path detection in cmd_fdt.c since it is no longer necessary. Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
| * | Replace fdt_node_offset() with fdt_find_node_by_path().Gerald Van Baren2007-08-102-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>
| * | Fix cmd_fdt line lengths, refactor code.Gerald Van Baren2007-08-101-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>
| * | FDT command improvements.Gerald Van Baren2007-08-101-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>
| * | Reorganize and fix problems (returns) in the bootm command.Gerald Van Baren2007-08-101-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>
| * | Fix bugs in the CONFIG_OF_LIBFDTGerald Van Baren2007-08-101-2/+2
| | | | | | | | | | | | | | | | | | Stupid coding mistakes (identified by Timur Tabi, thanks). Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
| * | Improve fdt move length handling.Gerald Van Baren2007-08-101-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>
| * | Minor code clean up.Gerald Van Baren2007-08-101-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>
| * | Improve error messages, more informative.Gerald Van Baren2007-08-101-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>
| * | [ARM] TI DaVinci support, hopefully finalSergey Kubushyn2007-08-101-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>
| * | Merge with git://www.denx.de/git/u-boot.gitMarkus Klotzbuecher2007-08-0764-417/+1197
| |\ \
| | * \ Merge with /home/wd/git/u-boot/custodian/u-boot-testingWolfgang Denk2007-08-0659-246/+250
| | |\ \ | | | |/ | | |/|
| | | * Merge with /home/wd/git/u-boot/custodian/u-boot-mpc85xxWolfgang Denk2007-08-066-38/+113
| | | |\
| | | | * Merge branch 'testing' into workingAndy Fleming2007-08-0359-246/+248
| | | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: CHANGELOG fs/fat/fat.c include/configs/MPC8560ADS.h include/configs/pcs440ep.h net/eth.c
| | | * | | Add functions to list of exported functionsMartin Krause2007-08-061-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>
| | | * | Fix some compile problems introduced by the latest CFG_CMD_xxx cleanupStefan Roese2007-07-112-4/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Stefan Roese <sr@denx.de>
| | | * | common/: Remove lingering references to CFG_CMD_* symbols.Jon Loeliger2007-07-1035-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>
| | | * | Finally retire cmd_confdefs.h and CONFIG_BOOTP_MASK!Jon Loeliger2007-07-091-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>
| | | * | common/* non-cmd*: Remove obsolete references to CONFIG_COMMANDSJon Loeliger2007-07-0812-19/+19
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Jon Loeliger <jdl@freescale.com>
| | | * | common/cmd_[p-x]*: Remove obsolete references to CONFIG_COMMANDS.Jon Loeliger2007-07-0811-23/+22
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Jon Loeliger <jdl@freescale.com>
| | | * | common/cmd_[i-n]*: Remove obsolete references to CONFIG_COMMANDS.Jon Loeliger2007-07-0814-78/+60
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Jon Loeliger <jdl@freescale.com>
| | | * | common/cmd_[af]*: Remove obsolete references to CONFIG_COMMANDS.Jon Loeliger2007-07-0822-63/+61
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Jon Loeliger <jdl@freescale.com>
| | | * | common/ non-cmd: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).Jon Loeliger2007-07-0413-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>
| | | * | common/cmd_[i-z]* : Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).Jon Loeliger2007-07-0425-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>
| | | * | common/cmd_[a-f]* : Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).Jon Loeliger2007-07-0421-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>
| | * | | make show_boot_progress () weak.Heiko Schocher2007-07-137-150/+110
| | | |/ | | |/| | | | | | | | | Signed-off-by: Heiko Schocher <hs@denx.de>
| | * | Merge with /home/hs/Atronic/u-bootWolfgang Denk2007-07-096-38/+113
| | |\ \ | | | |/ | | |/|
| | | * [PCS440EP] upgrade the PCS440EP board:Heiko Schocher2007-06-226-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>
| * | | USB event poll supportZhang Wei2007-06-061-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
* | | | [NAND] Bad block skipping for command nbootThomas Knobloch2007-07-061-5/+32
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old implementation of command nboot does not support reading the image from NAND flash with skipping of bad blocks. The patch implements a new version of the nboot command: by calling nboot.jffs2 from the u-boot command line the command will load the image from NAND flash with respect to bad blocks (by using nand_read_opts()). This is similar to e.g. the NAND read command: "nand read.jffs2 ...". Signed-off-by: Thomas Knobloch <knobloch@siemens.com> Signed-off-by: Stefan Roese <sr@denx.de>
OpenPOWER on IntegriCloud