summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
* Fix cmd_fdt line lengths, refactor code.Gerald Van Baren2007-08-10-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-10-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-10-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-10-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-10-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-10-1/+6
| | | | | | | | 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-10-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>
* libfdt: Conditionally compile based on CONFIG_OF_LIBFDTGerald Van Baren2007-08-10-0/+31
| | | | | | | This is the way u-boot reduces configured-out code. At Wolfgang Grandegger and Wolfgang Denk's request, make libfdt conform. Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
* Merge git://www.denx.de/git/u-bootGerald Van Baren2007-08-10-1639/+12826
|\
| * make MAKEALL more immune to merge conflictsKim Phillips2007-08-10-148/+439
| | | | | | | | | | | | ..by placing board entries one per line, as suggested by jdl. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| * README: Remove outdated cpu type, board type, and NAME_config listsKim Phillips2007-08-10-136/+4
| | | | | | | | Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| * mpc83xx: Suppress the warning 'burstlen'Dave Liu2007-08-10-1/+1
| | | | | | | | | | | | suppress the warning 'burstlen' of spd_sdram. Signed-off-by: Dave Liu <daveliu@freescale.com>
| * Merge with git+ssh://sr@pollux.denx.org/home/wd/git/u-boot/from_stefanStefan Roese2007-08-10-15/+12
| |\
| | * Merge with git+ssh://atlas/home/wd/git/u-boot/masterWolfgang Denk2007-08-10-15/+12
| | |\
| | | * Merge with /home/wd/git/u-boot/workWolfgang Denk2007-08-10-15/+12
| | | |\
| | | | * Make use of generic 64bit division in nand_util.cDirk Behme2007-08-10-11/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use generic 64bit division in nand_util.c. This makes nand_util.c independent of any toolchain 64bit division. Signed-off-by: Dirk Behme <dirk.behme@gmail.com>
| | | | * Move 64bit division from avr32 to generic libDirk Behme2007-08-10-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the 64bit division from lib_avr32 to lib_generic. With this, all boards can do_div/__div64_32 if needed, not only avr one. Code is put to lib_generic, so no larger memory footprint if not used. No code modifications. Thanks for proposal by HÃ¥vard Skinnemoen. Signed-off-by: Dirk Behme <dirk.behme@gmail.com>
| * | | | Conding style cleanupStefan Roese2007-08-10-3/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Stefan Roese <sr@denx.de>
| * | | | Merge with git://www.denx.de/git/u-boot.gitStefan Roese2007-08-10-832/+1594
| |\ \ \ \ | | |/ / /
| | * | | mpc83xx: fix ITX[GP] O=builddir buildsKim Phillips2007-08-10-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | make: *** No rule to make target `/work/wd/tmp/board/mpc8349itx/u-boot.lds', needed by `/work/wd/tmp/u-boot'. Stop. Both the ITX and ITX-GP fail when you use "make O=<some dir> ..." or "BUILD_DIR=<some dir> ./MAKEALL ..." Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| | * | | mpc83xx: Correct the README for DDR ECCDave Liu2007-08-10-30/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the README for DDR ECC, change the name to README.mpc83xx.ddrecc. Signed-off-by: Dave Liu <daveliu@freescale.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| | * | | mpc83xx: Consolidate the ECC support of 83xxDave Liu2007-08-10-706/+391
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the duplicated source code of ecc command on the <board>.c, for reused, move these code to cpu/mpc83xx directory. Signed-off-by: Dave Liu <daveliu@freescale.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| | * | | mpc83xx: Correct the burst length for DDR2 with 32 bitsDave Liu2007-08-10-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The burst length should be 4 for DDR2 with 32 bits bus Signed-off-by: Dave Liu <daveliu@freescale.com>
| | * | | mpc83xx: add support for the MPC8323E RDBKim Phillips2007-08-10-0/+952
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MPC8323E based board with 64MB fixed SDRAM, 16MB flash, five 10/100 ethernet ports connected via an ICPlus IP175C switch, one PCI slot, and serial. Features not supported in this patch are SD card interface, 2 USB ports, and the two phone ports. Signed-off-by: Michael Barkowski <michael.barkowski@freescale.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| | * | | mpc83xx: fixup generic pci for libfdtKim Phillips2007-08-10-1/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add libfdt support to the generic 83xx pci code Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| | * | | mpc83xx: fix 8360 and cpu functions to update fdt being passedKim Phillips2007-08-10-22/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ..and not the global fdt. Rename local fdt vars to blob so as not to be confused with the global var with the same three-letter name. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| | * | | mpc83xx: Fix errors when CONFIG_OF_LIBFDT is enabledJerry Van Baren2007-08-10-28/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Several node strings were not correct (trailing slashes and properties in the strings) Added setting of the timebase-frequency. Improved error messages and use debug() instead of printf(). Signed-off-by: Gerald Van Baren <vanbaren@cideas.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| | * | | mpc83xx: Replace fdt_node_offset() with fdt_find_node_by_path().Jerry Van Baren2007-08-10-20/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new name matches more closely the kernel's name, which is also a much better description. These are the mpc83xx changes made necessary by the function name change. Signed-off-by: Wolfgang Grandegger <wg@grandegger.com> Acked-by: Gerald Van Baren <vanbaren@cideas.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| | * | | mpc83xx: Add support for the display of reset statusDave Liu2007-08-10-2/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 83xx processor family has many reset sources, such as power on reset, software hard reset, software soft reset, JTAG, bus monitor, software watchdog, check stop reset, external hard reset, external software reset. sometimes, to figure out the fault of system, we need to know the cause of reset early before the prompt of u-boot present. Signed-off-by: Dave Liu <daveliu@freescale.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| | * | | mpc83xx: Fix the align bug of SDMA bufferDave Liu2007-08-10-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to the latest user manual, the SDMA temporary buffer base address must be 4KB aligned. Signed-off-by: Dave Liu <daveliu@freescale.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| | * | | mpc83xx: Revise the MPC8360EMDS readme docDave Liu2007-08-10-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the rev2.x silicon mount on the MPC8360EMDS baord, and if you are using the u-boot version after the commit 3fc0bd159103b536e1c54c6f4457a09b3aba66ca. to make the ethernet interface usable, we have to setup the jumpers correctly. Signed-off-by: Dave Liu <daveliu@freescale.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| | * | | FSL I2C driver programs the two I2C busses differentlyTimur Tabi2007-08-10-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The i2c_init() function in fsl_i2c.c programs the two I2C busses differently. The second I2C bus has its slave address programmed incorrectly and is missing a 5-us delay. Signed-off-by: Timur Tabi <timur@freescale.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| | * | | Update SCCR programming in cpu_init_f() to support all 83xx processorsTimur Tabi2007-08-10-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the cpu_init_f() function in cpu/mpc83xx/cpu_init.c to program the bitfields for all 83xx processors. The code to update some bitfields was compiled only on some processors. Now, the bitfields are programmed as long as the corresponding CFG_SCCR option is defined in the board header file. This means that the board header file should not define any CFG_SCCR macros for bitfields that don't exist on that processor, otherwise the SCCR will be programmed incorrectly. Signed-off-by: Timur Tabi <timur@freescale.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| | * | | TQM834x: cleanup configuratonMartin Krause2007-08-10-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove irritating #undef DEBUG Signed-off-by: Martin Krause <martin.krause@tqs.de> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| | * | | MPC83xx: Fix makefile to generate config.h file in the build directorydavid.saada2007-08-10-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MPC83xx: Fix the Makefile config sections to generate the include/config.h file in the build directory instead of the source directory. Signed-off-by: David Saada <david.saada@ecitele.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| | * | | mpc83xx: Add support for 8360 silicon revision 2.1Lee Nipper2007-08-10-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds 8360 silicon revision 2.1 support to u-boot. Signed-off-by: Lee Nipper <lee.nipper@freescale.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| * | | | [ARM] TI DaVinci support, hopefully finalSergey Kubushyn2007-08-10-2/+5464
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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+ssh://atlas/home/wd/git/u-boot/masterWolfgang Denk2007-08-09-4/+41
| |\ \ \ | | |/ /
| | * | Merge with /home/wd/git/u-boot/workWolfgang Denk2007-08-09-1/+36
| | |\ \ | | | |/
| | | * Treat ppc64 host as ppcKumar Gala2007-08-09-0/+1
| | | | | | | | | | | | | | | | Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
| | | * Minor fix for bios emulator makefileJason Jin2007-08-09-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Add $(obj) to LIB avoiding objects be built in the source dir Signed-off-by: Jason Jin <Jason.jin@freescale.com>
| | | * Add CONFIG_BIOSEMU define to guard all the bios emulator codeJason Jin2007-08-09-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jason Jin <Jason.jin@freescale.com> This patch fix the compile issue on the board that did not enable the bios emulator
| | | * tsec: fix multiple PHY supportZach Sadecki2007-08-09-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The change entitled "Reduce CONFIG_MPC8YXX_TSECx to CONFIG_TSECx" broke multiple PHY support in tsec.c. This fixes it. Signed-off-by: Zach Sadecki <Zach.Sadecki@ripcode.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| | * | Merge with /home/wd/git/u-boot/workWolfgang Denk2007-08-09-3/+5
| | |\ \ | | | |/
| | | * tsec: Allow Ten Bit Interface address to be configurableJoe Hamman2007-08-09-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow the address of the Ten Bit Interface (TBI) to be changed in the event of a conflict with another device. Signed-off by: Joe Hamman <joe.hamman@embeddedspecialties.com>
| * | | Merge with /home/wd/git/u-boot/custodian/u-boot-usbWolfgang Denk2007-08-09-502/+5305
| |\ \ \
| | * \ \ Merge with git://www.denx.de/git/u-boot.gitMarkus Klotzbuecher2007-08-07-121209/+48312
| | |\ \ \ | | | |/ /
| | * | | USB: This patch fix readl in ohci swap reg access.Jason Jin2007-06-11-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Jason Jin <Jason.jin@freescale.com>
| | * | | Merge with git://www.denx.de/git/u-boot.gitMarkus Klotzbuecher2007-06-06-667/+1285
| | |\ \ \
| | * | | | TRAB, USB: update trab board configuration for use of generic ohci driverMarkus Klotzbuecher2007-06-06-1/+2
| | | | | |