commit c7da8c19b5f7fd58b5b4b1d247648851af56e1f0 Author: Andreas Biessmann Date: Sat May 22 13:17:21 2010 +0200 config.mk: use different host compiler for OS X 10.6 Compiling tools subdirectory on Mac OS X 10.6 (Snow Leopard) complains about wrong syntax in system includes. In file included from /usr/include/stdio.h:444, from ../source/u-boot/include/compiler.h:26, from ../source/u-boot/lib/crc32.c:15: /usr/include/secure/_stdio.h:46: error: syntax error in macro parameter list This can be fixed by reverting the workaround for prior OS X releases in config.mk conditionally for OS X 10.6+. Signed-off-by: Andreas Bießmann Acked-by: Mike Frysinger commit 6ece2550d1c0c5c811b302b1639ea35c2e485203 Author: Kumar Gala Date: Fri May 21 04:17:48 2010 -0500 Convert Makefiles from COBJS-${} to COBJS-$() Match style we use almost everywhere else Signed-off-by: Kumar Gala commit 59dde44acb82e571808190ccd3cd6b82dc9d7001 Author: Michael Weiss Date: Thu May 20 16:09:35 2010 +0200 powerpc/bootcount: Fix endianness problem For CONFIG_SYS_BOOTCOUNT_SINGLEWORD the code had an endianness problem. Signed-off-by: Michael Weiss Signed-off-by: Detlev Zundel commit d74dda09f0178079705ee1d641444bac44d3ecd9 Author: Wolfgang Denk Date: Wed May 26 22:19:35 2010 +0200 dm9000x.c: fix compile problems Use readX() / writeX() accessors instead of inX() / outX(). Suggested-by: Mike Frysinger Signed-off-by: Wolfgang Denk commit 40792d675a609c83621d098e48a89de07463b3cd Author: Wolfgang Denk Date: Fri May 21 23:14:53 2010 +0200 a320evb: fix udelay / __udelay confusion Fix the following compiler problems: arch/arm/cpu/arm920t/a320/liba320.a(timer.o): In function `udelay': /home/wd/git/u-boot/work/arch/arm/cpu/arm920t/a320/timer.c:160: multiple definition of `udelay' lib/libgeneric.a(time.o):/home/wd/git/u-boot/work/lib/time.c:34: first defined here lib/libgeneric.a(time.o): In function `udelay': time.c:(.text+0x1c): undefined reference to `__udelay' Signed-off-by: Wolfgang Denk commit 92381c41c718d260476d5c636c473f50e3b5a79c Author: Wolfgang Denk Date: Fri May 21 23:13:18 2010 +0200 ARM: */timer.c: fix spelling and vertical alignment Signed-off-by: Wolfgang Denk commit 3f786bb8542ee85ea898152b40b1f0d98f0801df Author: Mahavir Jain <[mjain@marvell.com]> Date: Fri May 21 14:37:48 2010 +0530 bugfix: Guruplug: Use standard miiphy call to reset PHY chip. Current PHY Software Reset operation in guruplug does not poll reset bit in control register to go to 0(auto clearing) for making sure reset was successful.This patch uses standard miiphy call miiphy_reset to make sure proper PHY reset operation. Signed-off-by: Mahavir Jain commit 71bd860cce4493c5def07804723661e75271052b Author: Kim Phillips Date: Wed May 19 17:06:46 2010 -0500 mpc83xx: don't shift pre-shifted ACR, SPCR, SCCR bitfield masks in cpu_init.c commit c7190f028fa950d4d36b6d0b4bb3fc72602ec54c "mpc83xx: retain POR values of non-configured ACR, SPCR, SCCR, and LCRR bitfields" incorrectly shifted _ (e.g. ACR_PIPE_DEP) values that were preshifted by their definition in mpc83xx.h. this patch removes the unnecessary shifting for the newly utilized mask values in cpu_init.c, and prevents seemingly unrelated symptoms such as an mpc8379erdb board from locking up whilst performing a networking operation, e.g. a tftp. Signed-off-by: Kim Phillips commit f6970d0c545b9134af3b347c75ee3d13545b36d8 Author: Horst Kronstorfer Date: Tue May 18 10:37:05 2010 +0200 Fixed two typos in arch/powerpc/cpu/mpc83xx/start.S. Signed-off-by: Horst Kronstorfer Signed-off-by: Kim Phillips commit 445093d175b06226549680b6894923bb0f5e50fa Author: Wolfgang Denk Date: Tue Nov 17 21:27:39 2009 +0100 Fix "par[t]ition" typo. Signed-off-by: Wolfgang Denk commit bdc5f06789c5a0c3a9a2c0eb33ec4d177dbdaa22 Author: Stefan Roese Date: Mon May 17 10:01:05 2010 +0200 UBI: Fix problem in UBI/Linux "compatibility layer" "down_write_trylock" needs to return 1 instead of 0 for success. Otherwise copying a block with a read error (e.g. bit-flip on read) won't work correctly. Signed-off-by: Stefan Roese commit 1b1f9a9d00447d9eab32ae5633f60a106196b75f Author: Stefan Roese Date: Mon May 17 10:00:51 2010 +0200 UBI: Ensure that "background thread" operations are really executed The current U-Boot UBI implementation is copied from Linux. In this porting the UBI background thread was not handled correctly. Upon write operations ubi_wl_flush() makes sure, that all queued operations, like page-erase, are completed. But this is missing for read operations. This patch now makes sure that such operations (like scrubbing upon bit-flip errors) are not queued, but executed directly. Signed-off-by: Stefan Roese commit 03af5abd85637d27e96fb999ce6e3992293570b0 Author: Stefano Babic Date: Thu May 13 10:26:40 2010 +0200 MX31: Added support for the Casio COM57H5M10XRC to QONG The patch adds setup to connect a CASIO COM57H5M10XRC (640x480 TFT display) to the QONG module. Signed-off-by: Stefano Babic commit 2f05e394fccf62a4693c6b8323de725f90d1f003 Author: Wolfgang Denk Date: Mon May 17 23:34:18 2010 +0200 fsl_diu_fb.c: fix build warnings Commit 15351855 "fsl-diu: Using I/O accessor to CCSR space" caused a number of "passing argument 2 of 'out_be32' makes integer from pointer without a cast" warnings; fix these. Signed-off-by: Wolfgang Denk Cc: Dave Liu Cc: Jerry Huang Cc: Kumar Gala commit f2d76ae4fdde180e120ea2d29d6ef881360b3cba Author: Nick Thompson Date: Tue May 11 11:29:52 2010 +0100 Avoid use of divides in print_size Modification of print_size to avoid use of divides and especially long long divides. Keep the binary scale factor in terms of bit shifts instead. This should be faster, since the previous code gave the compiler no clues that the divides where always powers of two, preventing optimisation. Signed-off-by: Nick Thompson Acked-by: Timur Tabi commit a599cde7698acc5ae3d0f731b4a7d63a931aae63 Author: Serge Ziryukin Date: Mon May 10 17:40:49 2010 +0300 lan91c96, smc911x: remove useless free(ptr) calls on NULL ptr Signed-off-by: Serge Ziryukin commit b1e1a42bb1ea2f0ddaaea7f4c9d67c98ab38709e Author: Ron Madrid Date: Fri May 14 16:27:48 2010 -0700 Fix SICRL setting in SIMPC8313 This patch sets the SICRL_LBC bits in SICRL to change the function of the associated pins to GPIO functionality. Signed-off-by: Ron Madrid commit a4bfc4cc466473b97c7fe84bdf261b2935887e3f Author: Kim Phillips Date: Fri May 14 13:18:54 2010 -0500 mpc83xx: fix NAND bootstrap too big error commit 167cdad1372917bc11c636c359aad02625291fa9 "SERIAL: Enable port-mapped access" inadvertently broke 83xx nand boards by converting NS16550_init to use io accessors, which expanded the size of the generated code. this patch fixes the problem by removing icache functions from the nand builds, which somewhat follows commit 1a2e203b31d33fb720f2cf1033b241ad36ab405a "mpc83xx: turn on icache in core initialization to improve u-boot boot time" Signed-off-by: Kim Phillips commit e74244c5a1c8bcea9b047217277dcd3235a285f4 Author: Ron Madrid Date: Mon May 10 15:23:20 2010 -0700 Removal of checkboard from spl bootstrap build for SIMPC8313 This patch removes the checkboard function from the build of the 4k bootstrap section for the SIMPC8313 as it is not needed in the spl build. This will allow > 100 bytes of extra room for other uses. Signed-off-by: Ron Madrid Signed-off-by: Kim Phillips commit 9c3f2d6670e6151f4f6329f572a62b0d2d6768ce Author: Matthias Fuchs Date: Tue May 11 09:54:00 2010 +0200 ppc4xx: Fix building PLU405 board Due to some overlapping sections it's time to update TEXT_BASE for this board. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit a2a0a7171303de5d8ce099344efde2e29ee36eb0 Author: Wolfgang Denk Date: Sat May 15 21:23:51 2010 +0200 Makefile: fix out-of-tree building of "u-boot.img" target Signed-off-by: Wolfgang Denk commit 2e4f35dbd8e11c3121af99ea8e04ce4fb39e9a4e Author: Wolfgang Denk Date: Sat May 15 20:22:21 2010 +0200 MVBLM7, MVSMR: fix Makefile (cleanup bootscript.img) Fix MVBLM7 and MVSMR Makefiles for correct out-of-tree building (create "bootscript.img" in build directory instead of source directory) and cleanup (remove "bootscript.img" when cleaning up). Signed-off-by: Wolfgang Denk Cc: Andre Schwarz commit cd4b02be1bb732f3990801ff81b57bd597b1d5b6 Author: Wolfgang Denk Date: Mon May 10 23:08:02 2010 +0200 ARM: add __aeabi_unwind_cpp_pr0() function to avoid linker complaints Signed-off-by: Wolfgang Denk Tested-by: Thomas Weber commit 7b43db92110ec2f15c5f7187a165f2928464966b Author: Wolfgang Denk Date: Sun May 9 23:52:59 2010 +0200 drivers/mmc/fsl_esdhc.c: fix compiler warnings Commit 77c1458d caused the following compiler warnings: fsl_esdhc.c: In function 'esdhc_pio_read_write': fsl_esdhc.c:142: warning: assignment discards qualifiers from pointer target type fsl_esdhc.c: In function 'esdhc_setup_data': fsl_esdhc.c:169: warning: unused variable 'wml_value' fsl_esdhc.c: In function 'esdhc_pio_read_write': fsl_esdhc.c:164: warning: control reaches end of non-void function Fix these. Signed-off-by: Wolfgang Denk Cc: Dipen Dudhat Cc: Andy Fleming commit bcb6c2bb84705bfd73eed5c9a31e9ff24833ee8c Author: York Sun Date: Fri May 7 09:12:01 2010 -0500 Enabled support for Rev 1.3 SPD for DDR2 DIMMs SPD has minor change from Rev 1.2 to 1.3. This patch enables Rev 1.3. The difference has ben examined and the code is compatible. Speed bins is not verified on hardware for CL7 at this moment. This patch also enables SPD Rev 1.x where x is up to "F". According to SPD spec, the lower nibble is optionally used to determine which additinal bytes or attribute bits have been defined. Software can safely use defaults. However, the upper nibble should always be checked. Signed-off-by: York Sun Signed-off-by: Kumar Gala commit f54fe87acedbbad7d29ad18cab31d2b323717514 Author: Kumar Gala Date: Tue Apr 20 10:21:25 2010 -0500 85xx/fsl-sata: Use is_serdes_configured() to determine if SATA is enabled On the MPC85xx platform if we have SATA its connected on SERDES. Determing if SATA is enabled via sata_initialize should not be board specific and thus we move it out of the MPC8536DS board code. Additionally, now that we have is_serdes_configured() we can determine if the given SATA port is enabled and error out if its not in the driver. Signed-off-by: Kumar Gala commit 54648985e2a64e29784e3ed37cd45b637305cd65 Author: Kumar Gala Date: Tue Apr 20 10:21:12 2010 -0500 85xx/mpc8536ds: Use is_serdes_configured() to determine of PCIe enabled The new is_serdes_configured covers a broader range of devices than the PCI specific code. Use it instead as we convert away from the is_fsl_pci_cfg() code. Additionally move to setting LAWs for PCI based on if its configured. Also updated PCI FDT fixup code to remove PCI controllers from dtb if they are configured. Signed-off-by: Kumar Gala commit 6ab4011b796e0af130ca160ea3c674d462f3bec4 Author: Kumar Gala Date: Tue Apr 20 10:20:33 2010 -0500 85xx: Add is_serdes_configured() support to MPC8536 SERDES Add the ability to determine if a given IP block connected on SERDES is configured. This is useful for things like PCIe and SRIO since they are only ever connected on SERDES. Signed-off-by: Kumar Gala commit 15351855776f32d40d9c336c0dc6d22a7bcf40c2 Author: Jerry Huang Date: Thu Apr 8 15:56:07 2010 +0800 fsl-diu: Using I/O accessor to CCSR space Using PPC I/O accessor to DIU I/O space instead of directly read/write. It will prevent the dozen of compiler order issue and PPC hardware order issue for accessing I/O space. Using the toolchain(tc-fsl-x86lnx-e500-dp-4.3.74-2.i386.rpm) can show up the order issue of DIU driver. Signed-off-by: Dave Liu Signed-off-by: Jerry Huang Signed-off-by: Kumar Gala commit fd194f82d1c30802f0597a3e359fdc03ed397367 Author: Andre Schwarz Date: Mon May 3 13:22:31 2010 +0200 mpc83xx/mvBLM7: add usb commands and cleanup. Add USB commands. Rename autoscript to bootscript. Add automatic bootscript image generation to makefile. Signed-off-by: Andre Schwarz Signed-off-by: Kim Phillips commit 3b439792b0781921c599d8af9bed6a771d295b53 Author: Ron Madrid Date: Wed Apr 28 16:04:43 2010 -0700 mpc83xx: Add UPMA configuration to SIMPC8313 Added UPM array table, upmconfig, and Local Bus configuration support for SIMPC8313 Signed-off-by: Ron Madrid Signed-off-by: Kim Phillips commit 5794619e29c5e22280b0b09b2ea6bc3d2e00da3f Author: Mike Frysinger Date: Wed May 5 04:32:43 2010 -0400 serial: punt unused serial_addr() Only one file apparently defines this function, and it merely stubs it out. So if no one is defining/calling it, punt it. Signed-off-by: Mike Frysinger commit f745817e741e4251afbd9d5d7f04b2419f4aa9d9 Author: Mike Frysinger Date: Tue Apr 27 14:15:34 2010 -0400 update include/asm/ gitignore after move With the cpu include paths moved, the gitignore paths need updating. Signed-off-by: Mike Frysinger Tested-by: Tom Rix commit d0179083a9c9e12c8c5400b107156c14c7da1222 Author: Kumar Gala Date: Wed Apr 28 02:52:02 2010 -0500 Fixup native builds on powerpc When we changed ARCH from ppc to powerpc we need to treat HOSTARCH the same way. We use HOSTARCH == ARCH to determine if a build is native. Signed-off-by: Kumar Gala commit 65d342541e78ab9a22bf480cc4fe2f659f94bad4 Author: Serge Ziryukin Date: Sun Apr 25 21:32:36 2010 +0300 cmd_usb.c: show cmd usage if no args given Signed-off-by: Serge Ziryukin commit e4a95d112e5ea8368bfbdac6ff963d1b8dc63cf0 Author: Stefan Roese Date: Wed Apr 28 10:47:36 2010 +0200 powerpc: Consolidate bootcount_{store|load} for PowerPC This patch consolidates bootcount_{store|load} for PowerPC by implementing a common version in arch/powerpc/lib/bootcount.c. This code is now used by all PowerPC variants that currently have these functions implemented. The functions now use the proper IO-accessor functions to read/write the values. This code also supports two different bootcount versions: a) Use 2 separate words (2 * 32bit) to store the bootcounter b) Use only 1 word (2 * 16bit) to store the bootcounter Version b) was already used by MPC5xxx. Signed-off-by: Stefan Roese Acked-by: Detlev Zundel Acked-by: Kim Phillips for 83xx parts Cc: Michael Zaidman Cc: Wolfgang Denk Cc: Kim Phillips Cc: Anatolij Gustschin commit 767fdc4af684770f5e97a6c5e19a8ac2616b8329 Author: Ender.Dai Date: Thu Apr 22 15:24:25 2010 +0800 drivers/*/Makefile: fix conditional compile rule. Fix conditional compile rule for twl4030.c and videomodes.c. Signed-off-by: Ender.Dai commit 54fa2c5b51c564cce716942d26492437457980a4 Author: Larry Johnson Date: Tue Apr 20 08:09:43 2010 -0400 Move test for unnecessary memmove to memmove_wd() Signed-off-by: Larry Johnson commit b050c72d52c4e30d5b978ab6758f8dcdbe5c690c Author: Mike Frysinger Date: Tue Apr 20 05:49:30 2010 -0400 compiler.h: add uint typedef Recent crc changes started using the "uint" type in headers that are used on the build system. This subsequently broke mingw targets as they do not provide such a type. So add this basic typedef to compiler.h so that we do not have to worry about this breaking again in the future. Signed-off-by: Mike Frysinger commit 39f7aacf3fd285b42b92c2c2d66d95339a3569cc Author: Trübenbach, Ralf Date: Wed Apr 14 11:15:16 2010 +0200 command.c: Enable auto tab for the editenv command Enable the auto completion (with TAB) of the environment variable name after the editenv command. Signed-off-by: Ralf Trübenbach commit 0738e24e2c1d95bb94455d44485dc5d7b9c9d707 Author: Reinhard Arlt Date: Tue Apr 13 09:59:09 2010 +0200 74xx_7xx: CPCI750: Add ECC support on esd CPCI-CPU/750 board Add ECC support for DDR RAM for MV64360 on esd CPCI-CPU/750 board. This patch also adds the "pldver" command to display the CPLD revision. Signed-off-by: Reinhard Arlt Signed-off-by: Stefan Roese commit 1f9f3cf6ccbccae1c1edff01ec20fe2a586b9701 Author: Graeme Russ Date: Sat Apr 24 00:06:00 2010 +1000 sc520: Fix minor DRAM Controller Setup bug Signed-off-by: Graeme Russ commit d20053efdf328d97a018536689fc55df4faf1094 Author: Graeme Russ Date: Sat Apr 24 00:05:59 2010 +1000 sc520: Update to new AMD Copyright AMD recently changed the licensing of the RAM sizing code to the GPLv2 (or at your option any later version) Signed-off-by: Graeme Russ commit 880c59e5add3681bd4dca14d2fd20152bee7ad14 Author: Graeme Russ Date: Sat Apr 24 00:05:58 2010 +1000 eNET: Implement eNET Watchdog Signed-off-by: Graeme Russ commit f2a55055e9b19f3eba9de97ff454cf8bfef25468 Author: Graeme Russ Date: Sat Apr 24 00:05:57 2010 +1000 eNET: Use SC520 MMCR to reset eNET board Signed-off-by: Graeme Russ commit 4a4c31ae08d4dcabe348013e135de28b01c29bf0 Author: Graeme Russ Date: Sat Apr 24 00:05:56 2010 +1000 eNET: Add PC/AT compatibility setup function The eNET uses the sc520 software timers rather than the PC/AT clones Set all interrupts and timers up to be PC/AT compatible Signed-off-by: Graeme Russ commit 8fd805632f95e5e834f312a51aa969bf1d99c41b Author: Graeme Russ Date: Sat Apr 24 00:05:55 2010 +1000 eNET: Add support for onboard RTL8100B (RTL8139) chips Signed-off-by: Graeme Russ commit 21e67e796bb1d59a484dce2b4203d61bf1fd5be8 Author: Graeme Russ Date: Sat Apr 24 00:05:54 2010 +1000 sc520: Board Specific PCI Init Signed-off-by: Graeme Russ commit 0278216b76fc1e5dbf4cbd10d5d734323039c36f Author: Graeme Russ Date: Sat Apr 24 00:05:53 2010 +1000 sc520: Move PCI defines to PCI include file Signed-off-by: Graeme Russ commit 4f197c30e5cb3005909402b7fc630cb092eef02f Author: Graeme Russ Date: Sat Apr 24 00:05:52 2010 +1000 eNET: Fix CONFIG_SYS_HZ to be 1000 The clock interupt has always been 1kHz as per timer_init() in /arch/i386/cpu/sc520/sc520_timer.c Signed-off-by: Graeme Russ commit 6fd445c32860bb06e9a68b516845a1bbf7c37889 Author: Graeme Russ Date: Sat Apr 24 00:05:51 2010 +1000 eNET: Fix Flash Write Onboard AMD Flash chip does not support buffered writes Signed-off-by: Graeme Russ commit 5204566e53a3c519e8795480d056635bc64b11cd Author: Graeme Russ Date: Sat Apr 24 00:05:50 2010 +1000 sc520: Allow boards to override udelay If the board has a high precision mico-second timer, it maked sense to use it instead of the on-chip one Signed-off-by: Graeme Russ commit 95ffaba39042064c5eb68404894fd6b0f1d6a3e3 Author: Graeme Russ Date: Sat Apr 24 00:05:49 2010 +1000 x86: Fix support for booting bzImage Add support for newer (up to 2.6.33) kernels Add zboot command which takes the address of a bzImage as its first argument and (optionally) the size of the bzImage as the second argument (the second argument is needed for older kernels which do not include the bzImage size in the header) Signed-off-by: Graeme Russ commit 79ea6b87011c0524ced31359e2be7aac97c29d0a Author: Graeme Russ Date: Sat Apr 24 00:05:48 2010 +1000 x86: Provide weak PC/AT compatibility setup function It is possibly to setup x86 boards to use non-PC/AT configurations. For example, the sc520 is an x86 CPU with PC/AT and non-PC/AT peripherals. This function allows the board to set itself up for maximum PC/AT compatibility just before booting the Linux kernel (the Linux kernel 'just works' if everything is PC/AT compliant) Signed-off-by: Graeme Russ commit bf16500f79fdf2653a286b40bb601cb185ac4675 Author: Graeme Russ Date: Sat Apr 24 00:05:47 2010 +1000 x86: Use CONFIG_SERIAL_MULTI Signed-off-by: Graeme Russ commit 167cdad1372917bc11c636c359aad02625291fa9 Author: Graeme Russ Date: Sat Apr 24 00:05:46 2010 +1000 SERIAL: Enable port-mapped access The x86 architecture exclusively uses Port-Mapped I/O (inb/outb) to access the 16550 UARTs. This patch mimics how Linux selects between Memory-Mapped and Port-Mapped I/O. This allows x86 boards to use CONFIG_SERIAL_MUTLI and drop the custom serial port driver Signed-off-by: Graeme Russ commit 153c2d9f2397e8b6ca03cfebb4e9666ea0b0637c Author: Graeme Russ Date: Sat Apr 24 00:05:45 2010 +1000 x86: Fix copying of Real-Mode code into RAM Signed-off-by: Graeme Russ commit 2fb1bc4f53618743b92a48763d7aaa0ece9ad98f Author: Graeme Russ Date: Sat Apr 24 00:05:44 2010 +1000 x86: Pass relocation offset into Global Data In order to locate the 16-bit BIOS code, we need to know the reloaction offset. Signed-off-by: Graeme Russ commit c14a3669b22d3e430b416cdee92b751f13697a1f Author: Graeme Russ Date: Sat Apr 24 00:05:43 2010 +1000 x86: Move GDT to a safe location in RAM Currently, the GDT is either located in FLASH or in the non-relocated U-Boot image in RAM. Both of these locations are unsafe as those locations can be erased during a U-Boot update. Move the GDT into the highest available memory location and relocate U-Boot to just below it Signed-off-by: Graeme Russ commit 077e1958ca4afe12d88043b123ded058c51b89f7 Author: Graeme Russ Date: Sat Apr 24 00:05:42 2010 +1000 x86: Add RAM bootstrap functionality Add a parameter to the 32-bit entry to indicate if entry is from Real Mode or not. If entry is from Real Mode, execute the destructive 'sizer' routine to determine memory size as we are booting cold and running in Flash. If not entering from Real Mode, we are executing a U-Boot image from RAM and therefore the memory size is already known (and running 'sizer' will destroy the running image) There are now two 32-bit entry points. The first is the 'in RAM' entry point which exists at the start of the U-Boot binary image. As such, you can load u-boot.bin in RAM and jump directly to the load address without needing to calculate any offsets. The second entry point is used by the real-to-protected mode switch This patch also changes TEXT_BASE to 0x6000000 (in RAM). You can load the resulting image at 0x6000000 and simple go 0x6000000 from the u-boot prompt Hopefully a later patch will completely elliminate any dependency on TEXT_BASE like a relocatable linux kernel (perfect world) Signed-off-by: Graeme Russ commit 759598f82f02cc84614450807cb5de43ca18a339 Author: Graeme Russ Date: Sat Apr 24 00:05:41 2010 +1000 x86: Split sc520 memory sizing versus reporting This patch allows the low-level assembler boot-strap to obtain the RAM size without calling the destructive 'sizer' routine. This allows boot-strapping from a U-Boot image loaded in RAM Signed-off-by: Graeme Russ commit 4dba333b3c7b34073b0439cc942877f98403632c Author: Graeme Russ Date: Sat Apr 24 00:05:40 2010 +1000 x86: Fix sc520 memory size reporting There is an error in how the assembler version of the sc520 memory size reporting code works. As a result, it will only ever report at most the size of one bank of RAM Signed-off-by: Graeme Russ commit 9e08efcfee22570bb3a9ea384bf4d60b378f6092 Author: Graeme Russ Date: Sat Apr 24 00:05:39 2010 +1000 x86: Fix do_go_exec() This was broken a long time ago by a49864593e083a5d0779fb9ca98e5a0f2053183d which munged the NIOS and x86 do_go_exec() Signed-off-by: Graeme Russ commit 433ff2bdbccc5190189528305e4ed6f7205dbafd Author: Graeme Russ Date: Sat Apr 24 00:05:38 2010 +1000 x86: Add register dump to crash handlers Shamelessly steal the Linux x86 crash handling code and shove it into U-Boot (cool - it fits). Be sure to include suitable attribution to Linus Signed-off-by: Graeme Russ commit 64a0a4995e79ef9813bb51d5f1ff35ae5dabfc7e Author: Graeme Russ Date: Sat Apr 24 00:05:37 2010 +1000 x86: Fix MMCR Access Change sc520 MMCR Access to use memory accessor functions Signed-off-by: Graeme Russ commit 535ad2db069aae6d1d36fc05c31cbd8a2b3d8831 Author: Graeme Russ Date: Sat Apr 24 00:05:36 2010 +1000 x86: #ifdef out getenv_IPaddr() Signed-off-by: Graeme Russ commit 721c36705a9efc7b67f78d0c3e8485e4f1b8bcc9 Author: Graeme Russ Date: Sat Apr 24 00:05:35 2010 +1000 x86: Add unaligned.h Signed-off-by: Graeme Russ commit 93c7e70f648fb817e519f6e163b7ef9befc27349 Author: Michael Zaidman Date: Wed Apr 7 18:30:08 2010 +0300 POST: Added ECC memory test for mpc83xx. Signed-off-by: Michael Zaidman Fixed minor coding style issue. Signed-off-by: Wolfgang Denk commit 8cd852824d91e232f1f820a0772c3c1d8af84b05 Author: Frans Meulenbroeks Date: Sat Mar 27 17:14:36 2010 +0100 cmd_onenand.c: moved to standard subcommand handling On the fly also fixed the following things: - write help talked about a parameter oob, but that one was not used, so removed it from the help message. - the test command also allowed a force subcommand but didn't use it. eliminated the code. - do_onenand made static - do_onenand contained int blocksize; ... mtd = &onenand_mtd; this = mtd->priv; blocksize = (1 << this->erase_shift); As blocksize was not used the last two statements were unneeded so removed them. The first statement (mtd = ....) assigns to a global. Not sure if it is needed, and since I could not test this, left the line for now Signed-off-by: Frans Meulenbroeks commit 3882d7a5a57eb8d1f41570522445bab61c628e6f Author: Norbert van Bolhuis Date: Fri Mar 19 15:34:25 2010 +0100 ppc: unused memory region too close to current stack pointer This avoids a possible overwrite of the (end of) ramdisk by u-boot. The unused memory region for ppc boot currently starts 1k below the do_bootm->bootm_start->arch_lmb_reserve stack ptr. This isn't enough since do_bootm->do_bootm_linux->boot_relocate_fdt calls printf which may very well use more than 1k stack space. Signed-off-by: Norbert van Bolhuis commit 4b42c9059e165500353174601a8e97b2cf81d3f4 Author: Timur Tabi Date: Tue Apr 13 13:16:03 2010 -0500 allow print_size to print large numbers on 32-bit systems Modify print_size() so that it can accept numbers larger than 4GB on 32-bit systems. Add support for display terabyte, petabyte, and exabyte sizes. Change the output to use International Electrotechnical Commission binary prefix standard. Signed-off-by: Timur Tabi commit 52dbac69c27dee67a4c051b1055d93b0ac4e2062 Author: Timur Tabi Date: Tue Apr 13 13:16:02 2010 -0500 fix print_size printing fractional gigabyte numbers on 32-bit platforms In print_size(), the math that calculates the fractional remainder of a number used the same integer size as a physical address. However, the "10 *" factor of the algorithm means that a large number (e.g. 1.5GB) can overflow the integer if we're running on a 32-bit system. Therefore, we need to disassociate this function from the size of a physical address. Signed-off-by: Timur Tabi commit b5cebb4fd60fefc7700a486bb74fecc66c07acff Author: Mike Frysinger Date: Wed May 5 03:20:30 2010 -0400 Blackfin: TWI/I2C: implement multibus support In order to do this cleanly, the register accesses have to be converted to a C struct (base pointer), so do that in the process. Signed-off-by: Mike Frysinger commit b4377e12e9aa0b3bf2dcae0a0f02ec9086338506 Author: Stefano Babic Date: Tue Mar 16 17:22:21 2010 +0100 Add SPI support to mx51evk board The patch adds SPI devices to the mx51evk board. The MC13892 chip (PMIC) is supported. Signed-off-by: Stefano Babic commit d3588a55d4a041f2208290b8b6f9cecbdad179ac Author: Stefano Babic Date: Sun Apr 18 19:27:44 2010 +0200 MX: Added definition file for MC13892 The MC13892 is a Power Controller used with processors of the family MX.51. The file adds definitions to be used to setup the internal registers via SPI. Signed-off-by: Stefano Babic commit d205ddcfc5b905eff023d5acac395721d80a92c7 Author: Stefano Babic Date: Sun Apr 4 22:43:38 2010 +0200 SPI: added support for MX51 to mxc_spi This patch add SPI support for the MX51 processor. Signed-off-by: Stefano Babic commit e98ecd71102de9d97bd82be247ed909260fb671b Author: Stefano Babic Date: Fri Apr 16 17:13:54 2010 +0200 MX31: Add support for PMIC to the QONG module Add support for the PMIC (MC13783) controller and enables charging of the RTC battery. Signed-off-by: Stefano Babic commit dfe5e14fa263eb8f1a9f087f0284788e7559821d Author: Stefano Babic Date: Fri Apr 16 17:11:19 2010 +0200 MX: RTC13783 uses general function to access PMIC The RTC is part of the Freescale's PMIC controller. Use general function to access to PMIC internal registers. Signed-off-by: Stefano Babic Tested-by: Magnus Lilja commit 28bb6d34d3f431b7b00444e2f829b2c04f5daf4d Author: Stefano Babic Date: Sun Apr 4 23:08:03 2010 +0200 MX: Added Freescale Power Management Driver The patch add supports for the Freescale's Power Management Controller (known as Atlas) used together with i.MX31/51 processors. It was tested with a MC13783 (MX31) and MC13892 (MX51). Signed-off-by: Stefano Babic commit ba6adeb48e71f7f1b791b6e98999a5680d919b26 Author: Magnus Lilja Date: Fri Apr 23 20:30:49 2010 +0200 i.MX31: Activate NAND support for i.MX31 Litekit board. Signed-off-by: Magnus Lilja commit 60381d687885c0e2100657ca73e97e38c4604f5e Author: Fabio Estevam Date: Fri Apr 23 06:32:01 2010 -0700 MX51: Fix MX51 CPU detect message Fix MX51 CPU detect message. Original string was: CPU: Freescale i.MX51 family 3.0V at 800 MHz which can be misinterpreted as 3.0 Volts instead of the silicon revision. ,change it to: CPU: Freescale i.MX51 family rev3.0 at 800 MHz Signed-off-by: Fabio Estevam commit 68c07a0c215a64826ed13c2f9b00a6d3b298822e Author: Stefano Babic Date: Sun Apr 18 20:01:01 2010 +0200 MX51evk: Removed warnings Changes reflect modifications in the fsl_esdhc driver (the clk_enable field war removed in the configuration structure). Signed-off-by: Stefano Babic commit 87db58dca47f93f9fb3b4ed0196dd7a3f5df1cb9 Author: Anatolij Gustschin Date: Wed Apr 21 13:52:38 2010 +0200 tx25: fix crash while booting Linux Currently booting Linux on TX25 board doesn't work since there is no correct mach-id and boot parameters setup for tx25 board. Fix it now. Signed-off-by: Anatolij Gustschin Cc: John Rigby Cc: Stefano Babic commit b88c5988db176a0f9de5598d5167ee2498637d40 Author: Kim Phillips Date: Tue Apr 13 21:11:53 2010 -0500 configs: remove unused CONFIG_COMMAND_HISTORY $ git grep CONFIG_COMMAND_HISTORY CHANGELOG: CONFIG_COMMAND_HISTORY include/configs/AP1000.h:#define CONFIG_COMMAND_HISTORY 1 include/configs/keymile-common.h:#define CONFIG_COMMAND_HISTORY 1 include/configs/manroland/common.h:#define CONFIG_COMMAND_HISTORY 1 $ Signed-off-by: Kim Phillips Acked-by: Heiko Schocher commit 7769c5bc06615293870d00fc81366cd43ba0623a Author: Anatolij Gustschin Date: Tue Apr 13 14:47:32 2010 +0200 mvsmr: fix link error MVSMR board support doesn't link since recent rework of U-Boot directory structure. Fix it now. Signed-off-by: Anatolij Gustschin Cc: Andre Schwarz Acked-by: Andre Schwarz Fixed merge conflict Signed-off-by: Wolfgang Denk commit 4324dc72df5879e5b614c4a3f326884723ede9b7 Author: Mike Frysinger Date: Tue Apr 27 14:15:28 2010 -0400 Blackfin: bfin_mac: hook up new write_hwaddr function Signed-off-by: Mike Frysinger Signed-off-by: Ben Warren commit 3ac9d6c650d94c51645efa446c1d914c5440990d Author: Thomas Chou Date: Tue Apr 27 20:20:27 2010 +0800 net: ethoc: add write_hwaddr support Signed-off-by: Thomas Chou Signed-off-by: Ben Warren commit 6c7c444786fc4022999362fce119c8b731eedcb4 Author: Thomas Chou Date: Tue Apr 27 20:15:10 2010 +0800 net: altera_tse: add write_hwaddr support Signed-off-by: Thomas Chou Signed-off-by: Ben Warren commit fb57ec97b90291c589087167f100483a089837bf Author: Heiko Schocher Date: Tue Apr 27 07:43:52 2010 +0200 net: fec_mxc: add write_hwaddr support tested on the magnesium board. Signed-off-by: Heiko Schocher Signed-off-by: Ben Warren commit b5ce63ed12b4cd81d211621aca0c222b20d2a691 Author: Prafulla Wadaskar Date: Tue Apr 6 22:21:33 2010 +0530 net:kirkwood_egiga.c: MAC addresses programming using write_hwaddr Added a new function kwgbe_write_hwaddr for programming egiga controller's hardware address. This function will be called for each egiga port being used Signed-off-by: Prafulla Wadaskar Signed-off-by: Ben Warren commit ecee9324d73555e744593f3e0d387bec4c566f55 Author: Ben Warren Date: Mon Apr 26 11:11:46 2010 -0700 Program net device MAC addresses after initializing Add a new function to the eth_device struct for programming a network controller's hardware address. After all network devices have been initialized and the proper MAC address for each has been determined, make a device driver call to program the address into the device. Only device instances with valid unicast addresses will be programmed. Signed-off-by: Ben Warren Acked-by: Detlev Zundel Tested-by: Prafulla Wadaskar Tested-by: Heiko Schocher Tested-by: Thomas Chou commit c960b13ed22d9ea570957379f9f7f2f37d87ef08 Author: Thomas Chou Date: Tue Apr 20 12:49:52 2010 +0800 net: add altera triple speeds ethernet mac driver This driver supports the Altera triple speeds 10/100/1000 ethernet mac. Signed-off-by: Thomas Chou Signed-off-by: Ben Warren commit f6569884b45e480e2c575d85ce86a2636a41c66b Author: Thomas Chou Date: Thu Apr 15 22:32:38 2010 +0800 net: add opencore 10/100 ethernet mac driver This patch ports the opencore 10/100 ethernet mac driver ethoc.c from linux kernel to u-boot. Signed-off-by: Thomas Chou Signed-off-by: Ben Warren commit bd75db3feb9a8e4123b76006dbe582b71adbf22f Author: Valentin Yakovenkov Date: Fri Apr 23 09:40:23 2010 +0400 smc911x driver frame alignment patch SMSC911x chips have alignment function to allow frame payload data (which comes after 14-bytes ethernet header) to be aligned at some boundary when reading it from fifo (usually - 4 bytes boundary). This is done by inserting fake zeros bytes BEFORE actual frame data when reading from SMSC's fifo. This function controlled by RX_CFG register. There are bits that represents amount of fake bytes to be inserted. Linux uses alignment of 4 bytes. Ethernet frame header is 14 bytes long, so we need to add 2 fake bytes to get payload data aligned at 4-bytes boundary. Linux driver does this by adding IP_ALIGNMENT constant (defined at skb.h) when calculating fifo data length. All network subsystem of Linux uses this constant too when calculating different offsets. But u-boot does not use any packet data alignment, so we don't need to add anything when calculating fifo data length. Moreover, driver zeros the RX_CFG register just one line up, so chip does not insert any fake data at the beginig. So calculated data length is always bigger by 1 word. It seems that at almost every packet read we get an underflow condition at fifo and possible corruption of data. Especially at continuous transfers, such as tftp. Just after removing this magic addition, I've got tftp transfer speed as it aught to be at 100Mbps. It was really slow before. It seems that fifo underflow occurs only when using byte packing on 32-bit blackfin bus (may be because of very small delay between reads). Signed-off-by: Valentin Yakovenkov Signed-off-by: Ben Warren commit f0588fdf921c63f84051923bb29eb4255d62a6e7 Author: Prafulla Wadaskar Date: Tue Apr 6 21:33:08 2010 +0530 net: Kirkwood_egiga.c bugfixes for rx path Cosmetic changes: Few comments updated Functionality: Rx packet frame size is programming should be done when port is in disabled state. this is corrected Signed-off-by: Prafulla Wadaskar Signed-off-by: Ben Warren commit 2e236bf28e729aca28e60c153dd8f913d1b3d058 Author: Eric Jarrige Date: Fri Apr 16 00:03:19 2010 +0200 fec_mxc.c: Fix MX27 FEC MAC validity check Fix MX27 FEC logic to check validity of the MAC address in fuse. Only null (empty fuse) or invalid MAC address was retrieved from mx27 fuses before this change. Signed-off-by: Eric Jarrige Signed-off-by: Ben Warren commit 538be58568542aac2ed4bdf4c05398cfa67e98f0 Author: Andy Fleming Date: Mon Apr 19 14:54:49 2010 -0500 tsec: Wait for both RX and TX to stop When gracefully stopping the controller, the driver was continuing if *either* RX or TX had stopped. We need to wait for both, or the controller could get into an invalid state. Signed-off-by: Andy Fleming Signed-off-by: Ben Warren commit a45dde2293c816138e53c26eca6fd0322583f9a6 Author: Mike Frysinger Date: Wed Apr 14 16:29:06 2010 -0400 net: dm9000x: use standard I/O accessors The current dm9000x driver accesses its memory mapped registers directly instead of using the standard I/O accessors. This can cause problems on Blackfin systems as the accesses can get out of order. So convert the direct volatile dereferences to use the normal in/out macros. Signed-off-by: Mike Frysinger Signed-off-by: Ben Warren commit 5525856d59910c72687ab6201f39cdf1c04cfc15 Author: Detlev Zundel Date: Thu Apr 8 11:49:59 2010 +0200 mpc512x_fec: Move PHY initialization from probe into init routine. This saves the autonegotation delay when not using ethernet in U-Boot Signed-off-by: Detlev Zundel Signed-off-by: Ben Warren commit 910119b3c462fd6367536899ee43de1eb7d22d8e Author: John Rigby Date: Wed Apr 7 23:29:40 2010 -0600 fec_mxc don't use internal eeprom on MX25 Avoid using the internal eeprom on MX25 like MX51 already does. Signed-off-by: John Rigby Signed-off-by: Ben Warren commit 33f684d6d512992ed1ae37ec46e76bdeb0773bac Author: Wolfgang Wegner Date: Tue Apr 6 11:13:02 2010 +0200 fix lockup in mcfmii/mii_discover_phy() in case communication fails Signed-off-by: Wolfgang Wegner Signed-off-by: Ben Warren commit 23c34af48ff0dbff3bbaa8e94df3bf40350a709f Author: Richard Retanubun Date: Wed Jun 17 16:00:41 2009 -0400 83xx: UEC: Added support for bitBang MII driver access to PHYs This patch enabled support for having PHYs on bitBang MII and uec MII operating at the same time. Modeled after the MPC8360ADS implementation. Added the ability to specify which ethernet interfaces have bitbang SMI on the board header file. Signed-off-by: Richard Retanubun Signed-off-by: Ben Warren commit 9739946cc5b616c026d433bd07d193cf452ddea0 Author: Robin Getz Date: Mon Mar 8 14:07:00 2010 -0500 ./net/net.c - make Microsoft dns servers happy with random_port() numbers For some reason, (which I can't find any documentation on), if U-Boot gives a port number higher than 17500 to a Microsoft DNS server, the server will reply to port 17500, and U-Boot will ignore things (since that isn't the port it asked the DNS server to reply to). This fixes that by ensuring the random port number is less than 17500. Signed-off-by: Robin Getz Signed-off-by: Ben Warren commit 6f5f89f01195e2d009b317df27197a38fcab3553 Author: Detlev Zundel Date: Thu Apr 1 14:16:41 2010 +0200 Remove unused "local_crc32" function. For code archeologists, this is a nice example of copy and paste history. Signed-off-by: Detlev Zundel Signed-off-by: Ben Warren commit aba4b69d01457ab2988e91c8592e5d2ffb10f569 Author: Detlev Zundel Date: Wed Mar 31 17:56:08 2010 +0200 net: Trivial coding style issue with empty for statement Signed-off-by: Detlev Zundel Signed-off-by: Ben Warren commit e3f2a93362c823fc1feb5e8a40ff3c120716a05b Author: Prafulla Wadaskar Date: Wed Mar 3 15:27:21 2010 +0530 net: Kirkwood_egiga.c: fixed build warnings This patch fixes following build warnings for kirkwood_egiga.c kirkwood_egiga.c: In function "kwgbe_init": kirkwood_egiga.c:448: warning: dereferencing type-punned pointer will break strict-aliasing rules kirkwood_egiga.c: In function "kwgbe_recv": kirkwood_egiga.c:609: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Prafulla Wadaskar Signed-off-by: Ben Warren commit 20d98c2cea3398ad93beccd4727a371f41514086 Author: Asen Dimov Date: Mon Apr 19 14:18:43 2010 +0300 pm9263 converted to at91 soc access Signed-off-by: Asen Dimov commit d6b91e30d32871eb20b6227519fd2f3a6ea073fd Author: Asen Dimov Date: Mon Apr 19 14:17:22 2010 +0300 at91: define matrix registers bit fields Signed-off-by: Asen Dimov commit eeb50ce193453951529015f50e5c1ccd7b55aad2 Author: Stefano Babic Date: Tue Apr 13 12:19:06 2010 +0200 MX31: Removed erroneous board name from QONG QONG is a module that can be installed on several boards, not only on the QONG-EVB manufactured by Dave srl. Signed-off-by: Stefano Babic commit c9d944d35e7904229c5333e761bce9d4324971f8 Author: Stefano Babic Date: Thu Apr 8 17:23:52 2010 +0200 MX31: Add UBI support to QONG module The UBI/UBIFS support is added to the QONG module. Signed-off-by: Stefano Babic commit eab40f819ddd50eef465619db1386c053b59a95b Author: Stefano Babic Date: Wed Mar 31 10:27:47 2010 +0200 MX31: Support 128MB RAM on QONG module The QONG module can be downsized and delivered with 128MB instead of 256MB. The patch adds run time support for the two different memory configurations. Signed-off-by: Stefano Babic commit 45997e0a86ee8d8abec6d791a241cb20011fe0e3 Author: Stefano Babic Date: Mon Mar 29 16:43:39 2010 +0200 MX31: Add support for NAND to QONG board The NAND device is connected to the FPGA of the QONG board and not to the NFC controller. For this reason, the FPGA must be set and initialized before accessing to the NAND itself. Signed-off-by: Stefano Babic commit efb9591069ee276f7fa27a821240c7511f72fe65 Author: Stefano Babic Date: Mon Mar 29 15:56:10 2010 +0200 MX31: add pin definitions for NAND controller Add pin definitions ralted to the NAND controller to be used to set up the pin multiplexer. Signed-off-by: Stefano Babic commit 7d27cd08b4c1adfd58c54aaa8b8c8f4eeb3c7021 Author: Stefano Babic Date: Tue Apr 13 12:07:00 2010 +0200 MX31: add accessor function to get a gpio The patch adds an accessor function to get the value of a gpio. Signed-off-by: Stefano Babic commit dfe83352cb58c55dfdbd5b535cb335526cb1c581 Author: Stefano Babic Date: Tue Apr 13 12:38:43 2010 +0200 mx51evk: correct list of possible BOOT_FROM values Signed-off-by: Stefano Babic commit f581e3a2157fbd736e7dd2378465ae242fba545c Author: Stefano Babic Date: Tue Apr 13 12:38:22 2010 +0200 mkimage: correct spelling error in imximage Signed-off-by: Stefano Babic commit 34196b0a8bd7ab6d472e2e6f6c90b73e915a1fae Author: John Rigby Date: Wed Apr 7 23:30:09 2010 -0600 MX25 print arm clock instead of mpllclk on boot Replace call to imx_get_mpllclk with imx_get_armclk to show frequency of ARM core instead of mpll internal bus in print_cpuinfo. Signed-off-by: John Rigby CC: Stefano Babic commit 1c9d91aca649f17762bae2c0e38f5101d62ed0b5 Author: Frans Meulenbroeks <[fransmeulenbroeks@gmail.com]> Date: Tue Apr 6 19:06:11 2010 +0530 configs/openrd_base.h: reordered macros moved CONFIG_CMD_FAT to filesystem section swapped CONFIG_CMD_NAND and CONFIG_CMD_MII so they are alpha correct Signed-off-by: Frans Meulenbroeks commit 5414fec85ff558af8823d4391f03977288871fe4 Author: Frans Meulenbroeks <[fransmeulenbroeks@gmail.com]> Date: Tue Apr 6 18:26:19 2010 +0530 configs/sheevaplug: added a few additional commands This patch includes a few additional commands in the sheevaplug version of u-boot: - support for LONGHELP so you can get help messages - auto completion and command editing - ubi and mii support - ext2 filesystem (convenient if you have an ext2 from which you want to boot) - jffs2 and ubifs filesystems (if you want to use these in NAND) This also makes it more similar to openrd client. Side effect of this patch is that the code now needs 3 sectors i.s.o. 2 so an existing env is overwritten Signed-off-by: Frans Meulenbroeks commit 16b76705d36ac137fa9231cedfe1355561639e47 Author: Siddarth Gore <[gores@marvell.com]> Date: Thu Mar 18 20:25:40 2010 +0530 Marvell GuruPlug Board Support GuruPlug Standard: 1 Gb Ethernet, 2 USB 2.0 GuruPlug Plus: 2 Gb Ethernet, 2 USB 2.0, 1 eSATA, 1 uSD slot References: http://www.globalscaletechnologies.com/t-guruplugdetails.aspx http://plugcomputer.org This patch is for GuruPlug Plus, but it supports Standard version as well. Signed-off-by: Siddarth Gore commit 5e1fe88fe3df2555a8a0cba7d2ffaf2b03041dfb Author: Stefano Babic Date: Sun Mar 28 13:43:26 2010 +0200 Moved board specific values in config file The lowlevel_init file contained some hard-coded values to setup the RAM. These board related values are moved into the board configuration file. Signed-off-by: Stefano Babic commit 272017853339f5b9685f9488bdaf5405812d12a4 Author: Fabio Estevam Date: Wed Mar 31 06:32:56 2010 -0700 MX51EVK: Remove CPLD related code There is no CPLD on MX51EVK board, so remove CPLD related function. Signed-off-by: Fabio Estevam commit bbe310922f4d0b12c8aba97b45ed979db9c0ec9a Author: Heiko Schocher Date: Fri Mar 5 07:36:33 2010 +0100 arm, i.mx27: add support for magnesium board from projectiondesign This patch adds support for the magnesium board from projectiondesign. This board uses i.MX27 SoC and has 8MB NOR flash, 128MB NAND flash, FEC ethernet controller integrated into i.MX27. As this port is based on the imx27lite port, common config options are collected in include/configs/imx27lite-common.h Signed-off-by: Heiko Schocher commit 1e65c2beb5805f975cd5d0ab7d853040a716d51b Author: Heiko Schocher Date: Thu Mar 4 08:12:05 2010 +0100 arm, mx27: add support for SDHC1 pin init Signed-off-by: Heiko Schocher commit 3bb6b037e8557fd3c0f3b3d9840c8b5996651dcb Author: Minkyu Kang Date: Wed Mar 24 15:31:06 2010 +0900 SAMSUNG: make s5p common gpio functions Because of s5pc1xx gpio is same as s5p seires SoC, move gpio functions to drvier/gpio/ and modify structure's name from s5pc1xx_ to s5p_. Signed-off-by: Minkyu Kang commit 46a3b5c8df939f5547bcd3684030072c94d06bd8 Author: Minkyu Kang Date: Wed Mar 24 16:59:30 2010 +0900 SAMSUNG: serial: modify name from s5pc1xx to s5p Because of other s5p series SoC will use these serial functions, modify function's name and structure's name. Signed-off-by: Minkyu Kang commit da0f2af279563ddc75eff304ad5389f7f0e79381 Author: Asen Dimov Date: Wed Apr 7 12:33:11 2010 +0300 pm9263: remove CONFIG_CMD_AUTOSCRIPT Signed-off-by: Asen Dimov commit 47eb08a97eb166e93d0495848b0c7582a0639fbc Author: Alexander Holler Date: Mon Mar 29 21:39:43 2010 +0200 at91: add defines for RTT and GPBR Signed-off-by: Alexander Holler commit dc8cab87459d682fc272444044592d20243da2f0 Author: Asen Dimov Date: Tue Apr 6 16:17:34 2010 +0300 pm9261: remove CONFIG_CMD_AUTOSCRIPT Signed-off-by: Asen Dimov commit e3150c77617c7d452420e6c87769b79b6671b12d Author: Asen Dimov Date: Tue Apr 6 16:18:04 2010 +0300 pm9261 converted to at91 soc access Signed-off-by: Asen Dimov commit 7bc8768039948e50cc149bea2ec214bde3245c4a Author: trix Date: Sat Apr 10 12:46:49 2010 -0500 ARM Update mach-types Fetched from http://www.arm.linux.org.uk/developer/machines/download.php And built with repo http://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur/linux-2.6-arm commit 85b3cce880a19e78286570d5fd004cc3cac06f57 Signed-off-by: Tom Rix commit d3061c692155412aa87e7f4f66b4a2c7b77ee417 Author: Stefan Roese Date: Wed Apr 28 11:09:59 2010 +0200 ppc4xx: Fix APC405 build breakage This patch fixes APC405 build, by defining CONFIG_PPC4XX_I2C. This is needed since the move of the PPC4xx I2C driver into the drivers/i2c directory. Signed-off-by: Stefan Roese Cc: Matthias Fuchs commit 029faf3e85e9406f32f133e6f2a114ed26b02fb4 Author: Stefan Roese Date: Tue Apr 27 11:37:28 2010 +0200 ppc4xx: Add support for ICON board (PPC440SPe) This patch adds support for the Mosaix Technologies, Inc. ICON board, based on the AppliedMicro (AMCC) PPC440SPe. It's equipped with an SODIMM (512MB standard) and 64MByte of NOR FLASH. Support for the onboard SM502 will be added later. Signed-off-by: Stefan Roese commit 96a0d6235db4c93c03d41c492f5960b18547b7a7 Author: Stefan Roese Date: Mon Apr 26 13:31:08 2010 +0200 ppc4xx: Add missing APC405 to MAKEALL Signed-off-by: Stefan Roese Cc: Matthias Fuchs commit 64123e3f06f74dd09b86e2a41d77d31044f495fb Author: Larry Johnson Date: Tue Apr 20 08:11:40 2010 -0400 Fix typos in Korat board console output Signed-off-by: Larry Johnson Signed-off-by: Stefan Roese commit 8a1cdaa9d54c93db300e8565191d60712aa481dc Author: Wolfgang Denk Date: Wed Apr 28 12:54:43 2010 +0200 QONG: Adapt flash addresses and mtdparts to grown image size Also enable HUSH shell. Signed-off-by: Wolfgang Denk commit e1d2950d0f5aaa7ab6609ffa96dde2e163fc2902 Author: Wolfgang Denk Date: Wed Apr 28 10:58:10 2010 +0200 mtdparts: get rid of custom DEBUG macro, use debug() Signed-off-by: Wolfgang Denk commit 2697eff1af136c6424c065cba994aa9aceadbcd1 Author: Wolfgang Denk Date: Wed Apr 28 10:53:47 2010 +0200 mtdparts: fix write through NULL pointer The "mtdparts add" command wrote through a NULL pointer - on many systems this went unnoticed (PowerPC has writable RAM there, some ARM systems have ROM where a write has no effect), but on arm1136 (i.MX31) it crashed the system. Add appropriate checks. Signed-off-by: Wolfgang Denk commit 68651683593958cedcdfb9d06a5fe0a524f8dd6e Author: Stefano Babic Date: Wed Apr 21 09:47:19 2010 +0200 ubifsmount fails due to not initialized list ubifsmount is not working and causes an access with a pointer set to zero because the ubifs_fs_type is not initialized correctly. Signed-off-by: Stefano Babic Signed-off-by: Stefan Roese commit 7c8cf0d0c7b12c7c63765e936cf760dc2c7d7306 Author: Stefano Babic Date: Wed Apr 21 09:56:31 2010 +0200 MX31: Added LCD support for QONG module Added support for LCD and splash image to the QONG module. The supported display is VBEST-VGG322403. Signed-off-by: Stefano Babic commit 7e1afb62a7e68843248b9a76a265c9193e716768 Author: Kumar Gala Date: Tue Apr 20 10:02:24 2010 -0500 ppc: Split MPC83xx SERDES code from MPC85xx/MPC86xx/QorIQ The MPC83xx SERDES control is different from the other FSL PPC chips. For now lets split it out so we can standardize on interfaces for determining of a device on SERDES is configured. Signed-off-by: Kumar Gala Acked-by: Kim Phillips commit 3f0202ed13add5fd6e2ed66fcb3f5e1228cdf766 Author: Lan Chunhe Date: Wed Apr 21 07:40:50 2010 -0500 mpc85xx: Add the ability to set LCRR[CLKDIV] to improve R/W speed of flash Signed-off-by: Lan Chunhe Signed-off-by: Roy Zang Signed-off-by: Kumar Gala commit 0c955dafab495fef5a76f5383387281d0408056c Author: Dave Liu Date: Wed Apr 14 19:05:06 2010 +0800 85xx: clean up the io_sel for PCI express of P1022 clean up the wrong io_sel for PCI express according to latest manual. Signed-off-by: Dave Liu Signed-off-by: Kumar Gala commit 47106ce168890d637fd849682ba88ecfdb9c35de Author: Detlev Zundel Date: Wed Apr 14 11:32:20 2010 +0200 85xx/socrates: Remove NFS support to fit image size. This fixes an overflow during the link phase. Signed-off-by: Detlev Zundel Signed-off-by: Kumar Gala commit 9ce3c228276b0f85105da8c39b164f2b6c84ea34 Author: Kumar Gala Date: Tue Apr 13 11:07:57 2010 -0500 85xx: Fix compile warning cpu.c: In function 'checkcpu': cpu.c:47: warning: unused variable 'gur' Signed-off-by: Kumar Gala commit 4db9708b94b6745f5c1eaa699d4d76477de8588a Author: Kumar Gala Date: Tue Apr 13 23:56:23 2010 -0500 85xx: Convert cpu_init_f code to use out_be32 for LBC registers Signed-off-by: Kumar Gala commit cd3abcfa2d4dc8df09f6d01e735e4dc2f6c87ebc Author: Dave Liu Date: Mon Apr 12 14:23:35 2010 +0800 fsl_sata: Move the snoop bit to another place For P1022 SATA host controller, the data snoop bit of DW3 in PRDT is moved to bit28. Signed-off-by: Dave Liu Signed-off-by: Kumar Gala commit e4773debb735323a9eedf353239e8e88e03d7c58 Author: Dave Liu Date: Mon Apr 12 14:23:25 2010 +0800 fsl_sata: Add the workaround for errata SATA-A001 After power on, the SATA host controller of P1022 Rev1 is configured in legacy mode instead of the expected enterprise mode. Software needs to clear bit[28] of HControl register to change to enterprise mode after bringing the host offline. Signed-off-by: Dave Liu Signed-off-by: Kumar Gala commit 99bac479dd183529f4e259a0de8d31644219d487 Author: Dave Liu Date: Tue Dec 8 11:56:48 2009 +0800 fsl-ddr: Add extra cycle to turnaround times Add an extra cycle turnaround time to read->write to ensure stability at high DDR frequencies. Signed-off-by: Dave Liu Signed-off-by: Kumar Gala commit f8d05e5e5888d88ab42524d699924936e8e77970 Author: Dave Liu Date: Fri Mar 5 12:23:00 2010 +0800 fsl-ddr: add the macro for Rtt_Nom definition add the macro definition for Rtt_Nom termination value for DDR3 Signed-off-by: Dave Liu Signed-off-by: Kumar Gala commit 1231c498e016b5bfe85f1eb87c2e044d3389d7da Author: Kumar Gala Date: Wed Apr 7 10:39:46 2010 -0500 ppc/p4080: Add p4080 DEVDISR2 & SRDS_PLLCR0 defines Added some needed fines and some misc additional defines used by p4080 initialization. Signed-off-by: Kumar Gala commit 17d90f31a810a19ade1a1c534fde9f65d4d66390 Author: Dave Liu Date: Fri Mar 5 12:23:00 2010 +0800 ppc/p4080: Extend the GUTS memory map Extend pin control and clock control to GUTS memory map Signed-off-by: Dave Liu Signed-off-by: Kumar Gala commit ab48ca1a661b9ab8e3fee9fe2df65432b09ed073 Author: Srikanth Srinivasan Date: Wed Feb 10 17:32:43 2010 +0800 ppc/p4080: Fix synchronous frequency calculations When DDR is in synchronous mode, the existing code assigns sysclk frequency to DDR frequency. It should be synchronous with the platform frequency. CPU frequency is based on platform frequency in synchronous mode. Also fix: * Fixes the bit mask for DDR_SYNC (RCWSR5[184]) * Corrects the detection of synchronous mode. Signed-off-by: Srikanth Srinivasan Signed-off-by: Dave Liu Signed-off-by: Ed Swarthout Signed-off-by: Kumar Gala commit 1749c3da8d8445cdf78d70120a803e3e9553113c Author: Kumar Gala Date: Wed Apr 7 02:49:12 2010 -0500 ppc/85xx: Fixup PCI nodes for P1_P2_RDB While we had ft_pci_board_setup it wasn't being called by ft_board_setup. Fix that so we actually update the device tree PCI nodes on P1_P2_RDB boards. Signed-off-by: Kumar Gala commit 8cbb0ddd7e696c6a4be1ae3ab3c95d3c8f6a7031 Author: Thomas Chou Date: Wed Apr 21 08:40:59 2010 +0800 nios2: add nios2-generic board This is a generic approach to port u-boot for nios2 boards. You may find the usage of this approach on the nioswiki, http://nioswiki.com/DasUBoot A fpga parameter file, which contains base address information and drivers declaration, is generated from Altera's hardware system description sopc file using tools. The example fpga parameter file is compatible with EP1C20, EP1S10 and EP1S40 boards. So these boards can be removed after this commit. Though epcs controller is removed to cut the dependency of altera_spi driver. Signed-off-by: Thomas Chou Signed-off-by: Scott McNutt commit 441cac10d8a9438b144ab0ad46280780b58f638b Author: Thomas Chou Date: Thu Apr 22 17:27:16 2010 +0800 nios2: fix no flash, add nand and mmc init in board.c This patch fixes error when CONFIG_SYS_NO_FLASH. And adds nand flash and mmc initialization, which should go before env initialization. Signed-off-by: Thomas Chou Signed-off-by: Scott McNutt commit fd2712d0b1d4c1624bef35b784ee64451ee5a017 Author: Thomas Chou Date: Tue Apr 20 11:01:11 2010 +0800 nios2: consolidate reset initialization Global interrupt should be disabled from the beginning. Signed-off-by: Thomas Chou Signed-off-by: Scott McNutt commit 994852966d2e6cf98c1dbeea8ee62c233b305ffb Author: Thomas Chou Date: Wed Mar 31 08:30:08 2010 +0800 altera_jtag_uart: bypass when no jtag connection This patch adds an option to bypass output waiting when there is no jtag connection. This allows the jtag uart work similar to a serial uart, ie, boot even without connection. This option is enabled with CONFIG_ALTERA_JTAG_UART_BYPASS Signed-off-by: Thomas Chou Signed-off-by: Scott McNutt commit 7e812f2e9cdac80f6287d4aee5deb434597c4f8b Author: Thomas Chou Date: Sat Apr 17 23:34:40 2010 +0800 nios2: add dma_alloc_coherent This function return cache-line aligned allocation which is mapped to uncached io region. Signed-off-by: Thomas Chou Signed-off-by: Scott McNutt commit 0dc1c7f692c15fe1745e3eeab918e98ee6126677 Author: Thomas Chou Date: Sat Apr 17 23:10:09 2010 +0800 nios2: add 64 bits swab support This patch adds 64 bits swab support. Most 32 bits processors use this. We need 64 bits swab for UBI. Signed-off-by: Thomas Chou Signed-off-by: Scott McNutt commit e4bf588609d8d9cefbc312a6c6b8bb309b194fd5 Author: Thomas Chou Date: Wed Mar 31 08:36:24 2010 +0800 nios2: add altera cf reset This patch toggles power to reset the cf card. Signed-off-by: Thomas Chou Signed-off-by: Scott McNutt commit dd168ef5b82255401e46a27faae09e39c66967fe Author: Thomas Chou Date: Sat Apr 17 17:39:12 2010 +0800 nios2: allow link script overriding from boards This patch allow boards to override the default link script. Signed-off-by: Thomas Chou Signed-off-by: Scott McNutt commit 29fd7ceb3c1cb7ffaffce1047e806d1e85e3ab4b Author: Anatolij Gustschin Date: Sat Apr 24 19:27:11 2010 +0200 mpc5121: pdm360ng: add coprocessor POST Adds coprocessor communication POST code Signed-off-by: Anatolij Gustschin commit 2ebdb9a9d7abcb17fdbfdc4bbb71b4ef538fc713 Author: Anatolij Gustschin Date: Sat Apr 24 19:27:10 2010 +0200 mpc5121: add common post_word_load/store code Add common post_word_load/post_word_store routines for all mpc5121 boards. pdm360ng board POST support added by subsequent patch needs them. Signed-off-by: Anatolij Gustschin commit a3921eefa1440d23f22751704cd7df999769f169 Author: Anatolij Gustschin Date: Sat Apr 24 19:27:09 2010 +0200 mpc5121: add support for PDM360NG board PDM360NG is a MPC5121E based board by ifm ecomatic gmbh. Signed-off-by: Michael Weiss Signed-off-by: Detlev Zundel Signed-off-by: Anatolij Gustschin commit b9947bbb08d0483be03004bdbce283b644471cb7 Author: Anatolij Gustschin Date: Sat Apr 24 19:27:08 2010 +0200 mpc5121: determine RAM size using get_ram_size() Configure CONFIG_SYS_MAX_RAM_SIZE address range in DDR Local Access Window and determine the RAM size. Fix DDR LAW afterwards using detected RAM size. Signed-off-by: Anatolij Gustschin commit 5d937e8b59f27d8c300a2e78c168a4c22ec6922a Author: Anatolij Gustschin Date: Sat Apr 24 19:27:07 2010 +0200 mpc512x: make MEM IO Control configuration a board config option Signed-off-by: Anatolij Gustschin commit 8e234e33bf60a850685c7e81ea92d383c643486b Author: Anatolij Gustschin Date: Sat Apr 24 19:27:06 2010 +0200 mpc5121: add PSC serial communication routines Signed-off-by: Anatolij Gustschin commit e3b28e67329de99a315d509920760dcbc565f8c6 Author: Anatolij Gustschin Date: Sat Apr 24 19:27:05 2010 +0200 mpc512x: add multi serial PSC support Extend mpc512x serial driver to support multiple PSC ports. Subsequent patches for PDM360NG board support make use of this functionality by defining CONFIG_SERIAL_MULTI in the board config file. Additionally the used PSC devices are specified by defining e.g. CONFIG_SYS_PSC1, CONFIG_SYS_PSC4 and CONFIG_SYS_PSC6. Support for PSC devices other than 1, 3, 4 and 6 is not added by this patch because these aren't used currently. In the future it can be easily added using DECLARE_PSC_SERIAL_FUNCTIONS(N) and INIT_PSC_SERIAL_STRUCTURE(N) macros in cpu/mpc512x/serial.c. Additionally you have to add code for registering added devices in serial_initialize() in common/serial.c. Signed-off-by: Anatolij Gustschin commit fbb0030e3894119c089256f16626edd166c7629c Author: Anatolij Gustschin Date: Sat Apr 24 19:27:04 2010 +0200 serial: struct serial_device: add uninit() entry for drivers Subsequent patch extends mpc512x serial driver to support multiple PSC ports. The driver will provide an uninit() function to stop the serial controller and to disable the controller's clock. Adding uninit() entry to struct serial_device allows disabling the serial controller after usage of a stdio serial device. This patch adds uninit() entry to the struct serial_device and fixes initialization of this structure in the code accordingly. Signed-off-by: Anatolij Gustschin commit 77c1458d130d33704472db9c88d2310c8fc90f4c Author: Dipen Dudhat Date: Mon Oct 5 15:41:58 2009 +0530 ppc/85xx: PIO Support for FSL eSDHC Controller Driver On some Freescale SoC Internal DMA of eSDHC controller has bug. So PIO Mode has been introduced to do data transfer using CPU. Signed-off-by: Dipen Dudhat commit 1a2e203b31d33fb720f2cf1033b241ad36ab405a Author: Kim Phillips Date: Tue Apr 20 19:37:54 2010 -0500 mpc83xx: turn on icache in core initialization to improve u-boot boot time before, MPC8349ITX boots u-boot in 4.3sec: column1 is elapsed time since first message column2 is elapsed time since previous message column3 is the message 0.000 0.000: U-Boot 2010.03-00126-gfd4e49c (Apr 11 2010 - 17:25:29) MPC83XX 0.000 0.000: 0.000 0.000: Reset Status: 0.000 0.000: 0.032 0.032: CPU: e300c1, MPC8349E, Rev: 1.1 at 533.333 MHz, CSB: 266.667 MHz 0.032 0.000: Board: Freescale MPC8349E-mITX 0.032 0.000: UPMA: Configured for compact flash 0.032 0.000: I2C: ready 0.061 0.028: DRAM: 256 MB (DDR1, 64-bit, ECC off, 266.667 MHz) 1.516 1.456: FLASH: 16 MB 2.641 1.125: PCI: Bus Dev VenId DevId Class Int 2.652 0.011: 00 10 1095 3114 0180 00 2.652 0.000: PCI: Bus Dev VenId DevId Class Int 2.652 0.000: In: serial 2.652 0.000: Out: serial 2.652 0.000: Err: serial 2.682 0.030: Board revision: 1.0 (PCF8475A) 3.080 0.398: Net: TSEC1: No support for PHY id ffffffff; assuming generic 3.080 0.000: TSEC0, TSEC1 4.300 1.219: IDE: Bus 0: .** Timeout ** after, MPC8349ITX boots u-boot in 3.0sec: 0.010 0.010: U-Boot 2010.03-00127-g4b468cc-dirty (Apr 11 2010 - 17:47:29) MPC83XX 0.010 0.000: 0.010 0.000: Reset Status: 0.010 0.000: 0.017 0.007: CPU: e300c1, MPC8349E, Rev: 1.1 at 533.333 MHz, CSB: 266.667 MHz 0.017 0.000: Board: Freescale MPC8349E-mITX 0.038 0.020: UPMA: Configured for compact flash 0.038 0.000: I2C: ready 0.038 0.000: DRAM: 256 MB (DDR1, 64-bit, ECC off, 266.667 MHz) 0.260 0.222: FLASH: 16 MB 1.390 1.130: PCI: Bus Dev VenId DevId Class Int 1.390 0.000: 00 10 1095 3114 0180 00 1.390 0.000: PCI: Bus Dev VenId DevId Class Int 1.400 0.010: In: serial 1.400 0.000: Out: serial 1.400 0.000: Err: serial 1.400 0.000: Board revision: 1.0 (PCF8475A) 1.832 0.432: Net: TSEC1: No support for PHY id ffffffff; assuming generic 1.832 0.000: TSEC0, TSEC1 3.038 1.205: IDE: Bus 0: .** Timeout ** also tested on these boards (albeit with a less accurate boottime measurement method): seconds: before after 8349MDS ~2.6 ~2.2 8360MDS ~2.8 ~2.6 8313RDB ~2.5 ~2.3 #nand boot 837xRDB ~3.1 ~2.3 also tested on an 8323ERDB. v2: also remove the delayed icache enablement assumption in arch ppc's board.c, and add a CONFIG_MPC83xx define in the ITX config file for consistency (even though it was already being defined in 83xx' config.mk). Signed-off-by: Kim Phillips commit a059e90e16e126e25da33ce23a37e2acce84284c Author: Kim Phillips Date: Thu Apr 15 17:36:05 2010 -0500 mpc83xx: enable command line autocompletion because it's convenient. Signed-off-by: Kim Phillips commit dfe812c744ee6dacae3b4d553694642668d9ac9d Author: Kim Phillips Date: Thu Apr 15 17:36:02 2010 -0500 mpc83xx: use "A" nomenclature only on mpc834x and mpc836x families marketing didn't extend their postpend-with-an-A naming strategy on rev.2's and higher beyond the first two 83xx families. This patch stops us from misreporting we're running e.g., on an MPC8313EA, when such a name doesn't exist. Signed-off-by: Kim Phillips commit 27ef578df7b9c7862c36a31b819c652f8b0aeea0 Author: Rini van Zetten Date: Thu Apr 15 16:03:05 2010 +0200 mpc83xx: Use CONFIG_FSL_ESDHC to enable sdhc clk Enable eSDHC Clock based on generic CONFIG_FSL_ESDHC define instead of a platform define. This will enable all the 83xx platforms to use sdhc_clk based on CONFIG_FSL_ESDHC. It's the same patch as commit 6b9ea08c5010eab5ad1056bc9bf033afb672d9cc for the ppc/85xx. Signed-off-by: Rini Signed-off-by: Kim Phillips commit a47a12becf66f02a56da91c161e2edb625e9f20c Author: Stefan Roese Date: Thu Apr 15 16:07:28 2010 +0200 Move arch/ppc to arch/powerpc As discussed on the list, move "arch/ppc" to "arch/powerpc" to better match the Linux directory structure. Please note that this patch also changes the "ppc" target in MAKEALL to "powerpc" to match this new infrastructure. But "ppc" is kept as an alias for now, to not break compatibility with scripts using this name. Signed-off-by: Stefan Roese Acked-by: Wolfgang Denk Acked-by: Detlev Zundel Acked-by: Kim Phillips Cc: Peter Tyser Cc: Anatolij Gustschin commit cf6eb6da433179674571f9370566b1ec8989a41a Author: Stefan Roese Date: Wed Apr 14 13:57:18 2010 +0200 ppc4xx: TLB init file cleanup This patch adds new macros, with frequently used combinations of the 4xx TLB access control and storage attibutes. Additionally the 4xx init.S files are updated to make use of these new macros. Resulting in easier to read TLB definitions. Additionally some init.S files are updated to use the mmu header for the TLB defines, instead of defining their own macros. Signed-off-by: Stefan Roese commit 26a33504a55e4882520f2e9da96ba6c22badb353 Author: Richard Retanubun Date: Mon Apr 12 15:08:17 2010 -0400 fsl_i2c: Added a callpoint for i2c_board_late_init This patch adds a callpoint in i2c_init that allows board specific i2c board initialization (typically for i2c bus reset) that is called after i2c_init operations, allowing the i2c_board_late_init function to use the pre-configured i2c bus speed and slave address. commit 254ab7bd464657600aba69d840406f9358f3e116 Author: Scott McNutt Date: Fri Apr 16 16:12:39 2010 -0400 nios2: Move individual board linker scripts to common script in cpu tree. Signed-off-by: Scott McNutt commit 8ff972c6e99938f1a033e5500dccc9a37ce3406f Author: Michal Simek Date: Fri Apr 16 12:56:33 2010 +0200 microblaze: Consolidate cache code Merge cpu and lib cache code. Flush cache before disabling. Signed-off-by: Michal Simek commit 9b4d90569028604bc491ea419187c31e4467bdca Author: Michal Simek Date: Fri Apr 16 12:01:32 2010 +0200 microblaze: Flush cache before jumping to kernel There is used max cache size on system which doesn't define cache size. Signed-off-by: Michal Simek commit 70524883b0424277e5b3ff3768c0c5628b5fce44 Author: Michal Simek Date: Fri Apr 16 11:59:29 2010 +0200 microblaze: Support system with WB cache WB cache use different instruction that WT cache but the major code is that same. That means that wdc.flush on system with WT cache do the same thing as before. You need newer toolchain with wdc.flush support. Signed-off-by: Michal Simek commit 9769b73f60fc0fb8de7ab16ff6300eae56505020 Author: Michal Simek Date: Fri Apr 16 11:57:35 2010 +0200 microblaze: Change initialization sequence env_relocation should be called first. Added stdio_init too. Signed-off-by: Michal Simek commit e6177b36b87d0ce627651e407b91245f16e5382e Author: Michal Simek Date: Fri Apr 16 11:55:01 2010 +0200 microblaze: Change cache report messages It is more accurate to show that caches are OFF instead of FAIL. Signed-off-by: Michal Simek commit 8125c980cc282000cbddb415f8ddbebf96e4edb4 Author: Michal Simek Date: Fri Apr 16 11:51:59 2010 +0200 microblaze: Fix interrupt handler code It is better to read ivr and react on it than do long parsing from two regs. Interrupt controller returs actual irq number. Signed-off-by: Michal Simek commit b26640971a7ba8800f0eb32af145ff0727fe21fe Author: Michal Simek Date: Fri Apr 16 11:43:43 2010 +0200 microblaze: Move FSL initialization to board.c Move FSL out of interrupt controller. Signed-off-by: Michal Simek commit 5bbcb6cf22b1121d8c3e56b0e1fb84366e903ac7 Author: Michal Simek Date: Fri Apr 16 11:37:41 2010 +0200 microblaze: Move timer initialization to board.c I would like to handle case where system doesn't contain intc that's why I need timer initialization out of intc code. Signed-off-by: Michal Simek commit cc53690e05f47b4c25e0a528de50e024fc0164ad Author: Michal Simek Date: Fri Apr 16 11:30:16 2010 +0200 microblaze: Fix irq.S code It is ancient code. There is possible to save several instructions just if we use offset instead of addik Signed-off-by: Michal Simek commit 398b1d57a6a56aada1f77198746a7dd1b038cd5d Author: Arun Bhanu Date: Thu Apr 15 18:27:17 2010 +0800 microblaze: Add FDT support This patch adds FDT (flattened device tree) support to microblaze arch. Tested with Linux arch/microblaze kernels with and without compiled in FDT on Xilinx ML506 board. Signed-off-by: Arun Bhanu Signed-off-by: Michal Simek commit 2a72e9ed18d2164eb7fe569119342eb631b568da Author: Stefan Roese Date: Fri Apr 9 14:03:59 2010 +0200 ppc4xx: Add option for PPC440SPe ports without old Rev. A support The 440SPe Rev. A is quite old and newer 440SPe boards don't need support for this CPU revision. Since removing support for this older version simplifies the creation for newer U-Boot ports, this patch now enables 440SPe > Rev. A support by creating the CONFIG_440SPE_REVA define. By defining this in the board config header, Rev. A will still be supported. Otherwise (default for newer board ports), Rev. A will not be supported. Signed-off-by: Stefan Roese commit 288991c93fdd150ef3817e676c657cb487468d38 Author: Stefan Roese Date: Thu Apr 8 09:33:13 2010 +0200 ppc4xx: alpr: Remove some not needed commands to make image fit again The latest changes increased the size of the alpr image a bit more. Now it doesn't fit into the 256k reserved for it. This patch now removes the commands "loads" and "loadb" which are not needed in the production systems. Signed-off-by: Stefan Roese Cc: Pieter Voorthuijsen commit 8d321b81c5441db93425ee37cb79cc51d9ce2fb0 Author: Peter Tyser Date: Mon Apr 12 22:28:21 2010 -0500 Update README to reflect new directory structure Also fix up some whitespace issues that were introduced when moving directory locations. Signed-off-by: Peter Tyser commit 37e4dafaae96ccc970a896f90186fadcf858aad0 Author: Peter Tyser Date: Mon Apr 12 22:28:20 2010 -0500 nios2: Move cpu/nios2/* to arch/nios2/cpu/* Signed-off-by: Peter Tyser commit 6a8a2b7058a398fe207021259cb2c529fb225eff Author: Peter Tyser Date: Mon Apr 12 22:28:19 2010 -0500 nios: Move cpu/nios/* to arch/nios/cpu/* Signed-off-by: Peter Tyser commit 1e9c26578ebbeecbaf3d8fb574957405eff17c86 Author: Peter Tyser Date: Mon Apr 12 22:28:18 2010 -0500 sparc: Move cpu/leon[23] to arch/sparc/cpu/leon[23] Signed-off-by: Peter Tyser commit e9a882803eb59f482ca4aa6ffd6fa21e4c53d618 Author: Peter Tyser Date: Mon Apr 12 22:28:17 2010 -0500 i386: Move cpu/i386/* to arch/i386/cpu/* Signed-off-by: Peter Tyser commit 6260fb0458d94c83aa5b180745b1946c0c94d364 Author: Peter Tyser Date: Mon Apr 12 22:28:16 2010 -0500 microblaze: Move cpu/microblaze/* to arch/microblaze/cpu/* Signed-off-by: Peter Tyser commit 8a15c2d10b0b784f0cfba1240f06a4d933b975fa Author: Peter Tyser Date: Mon Apr 12 22:28:15 2010 -0500 avr32: Move cpu/at32ap/* to arch/avr32/cpu/* Signed-off-by: Peter Tyser commit 1e3827d9cf9442e188604fd1099ac38375135125 Author: Peter Tyser Date: Mon Apr 12 22:28:14 2010 -0500 mips: Move cpu/mips/* to arch/mips/cpu/* Signed-off-by: Peter Tyser commit c6fb83d21729321426308c3acff2a3dfb20d250b Author: Peter Tyser Date: Mon Apr 12 22:28:13 2010 -0500 blackfin: Move cpu/blackfin/* to arch/blackfin/cpu/* Signed-off-by: Peter Tyser commit a4145534851bf74619cb373a942613a74547bb82 Author: Peter Tyser Date: Mon Apr 12 22:28:12 2010 -0500 m68k: Move cpu/$CPU to arch/m68k/cpu/$CPU Signed-off-by: Peter Tyser commit 84ad688473bec2875e171b71040eb9e033c6c206 Author: Peter Tyser Date: Mon Apr 12 22:28:11 2010 -0500 arm: Move cpu/$CPU to arch/arm/cpu/$CPU Signed-off-by: Peter Tyser commit 8f0fec74ac6d0f3a7134ccebafa1ed9bd8c712ba Author: Peter Tyser Date: Mon Apr 12 22:28:10 2010 -0500 sh: Move cpu/$CPU to arch/sh/cpu/$CPU Signed-off-by: Peter Tyser commit 8d1f268204b07e172f3cb5cee0a3974d605b0b98 Author: Peter Tyser Date: Mon Apr 12 22:28:09 2010 -0500 ppc: Move cpu/$CPU to arch/ppc/cpu/$CPU Signed-off-by: Peter Tyser commit 819833af39a91fa1c1e8252862bbda6f5a602f7b Author: Peter Tyser Date: Mon Apr 12 22:28:08 2010 -0500 Move architecture-specific includes to arch/$ARCH/include/asm This helps to clean up the include/ directory so that it only contains non-architecture-specific headers and also matches Linux's directory layout which many U-Boot developers are already familiar with. Signed-off-by: Peter Tyser commit 61f2b38a17f5b21c59f2afe6cf1cbb5f28638cf9 Author: Peter Tyser Date: Mon Apr 12 22:28:07 2010 -0500 Replace "#include " with "#include " The appropriate include/asm-$ARCH directory should already by symlinked to include/asm so using the whole "asm-$ARCH" path is unnecessary. This change should also allow us to move the include/asm-$ARCH directories into their appropriate lib/$ARCH/ directories. Signed-off-by: Peter Tyser commit 0de71d507157c4bd4fddcd3a419140d2b986eed2 Author: Peter Tyser Date: Mon Apr 12 22:28:06 2010 -0500 Move libfdt/ into lib/ Move the libfdt directory into the common lib/ directory to clean up the top-level directory. Signed-off-by: Peter Tyser commit 78acc472d9719316f22e002a009a998d9ceec29d Author: Peter Tyser Date: Mon Apr 12 22:28:05 2010 -0500 Rename lib_generic/ to lib/ Now that the other architecture-specific lib directories have been moved out of the top-level directory there's not much reason to have the '_generic' suffix on the common lib directory. Signed-off-by: Peter Tyser commit ea0364f1bbfed1e3ea711147420875cf338fe77a Author: Peter Tyser Date: Mon Apr 12 22:28:04 2010 -0500 Move lib_$ARCH directories to arch/$ARCH/lib Also move lib_$ARCH/config.mk to arch/$ARCH/config.mk This change is intended to clean up the top-level directory structure and more closely mimic Linux's directory organization. Signed-off-by: Peter Tyser commit 89f39e177e7b0152aa1d3152baa25d986e36cdcf Author: Peter Tyser Date: Mon Apr 12 22:28:03 2010 -0500 Change directory-specific CFLAGS to use full path Previously, a specific file or directory could be compiled with custom CFLAGS by adding a Makefile variable such as: CFLAGS_dlmalloc.o = or CFLAGS_lib = This method breaks down once multiple files or directories share the same path. Eg FLAGS_fileA = would incorrectly result in both dir1/fileA.c and dir2/fileA.c being compiled with . This change allows finer grained control which we need once we move lib_$ARCH to arch/$ARCH/lib/ and lib_generic/ to lib/. Without this change all lib/ directories would share the same custom CFLAGS. Signed-off-by: Peter Tyser commit 03b7004ddafc70d83904d790abaa50843868130e Author: Peter Tyser Date: Mon Apr 12 22:28:02 2010 -0500 Create CPUDIR variable The CPUDIR variable points to the location of a target's CPU directory. Currently, it is set to cpu/$CPU. However, using $CPUDIR will allow for more flexibility in the future. It lays the groundwork for reorganizing U-Boot's directory structure to support a layout such as: arch/$ARCH/cpu/$CPU/* (architecture with multiple CPU types) arch/$ARCH/cpu/* (architecture with one CPU type) Signed-off-by: Peter Tyser commit 30dc165a76b5165af77219189bc05d0fa4229d8b Author: Jens Scharsig Date: Fri Apr 9 19:02:38 2010 +0200 FIX: watchdog timeout, while waiting for input * add WATCHDOG_RESET to !tstc() loops * prevents watchdog timeout, while waiting for input, if CONFIG_BOOT_RETRY_TIME or CONFIG_SHOW_ACTIVITY defined Signed-off-by: Jens Scharsig commit 8178110bc28249f3ff1c22b15d7dcdee50be69eb Author: Detlev Zundel Date: Thu Apr 8 17:55:48 2010 +0200 config_cmd_all.h: Sort entries alphabetically Signed-off-by: Detlev Zundel commit 9157e9c40ab3a942bdd0679bb433cd9ed485f434 Author: Frans Meulenbroeks Date: Thu Apr 8 17:55:47 2010 +0200 config_cmd_all.h: added missing CONFIG_CMD_UBI and CONFIG_CMD_UBIFS Signed-off-by: Frans Meulenbroeks commit ae30b8c200dc071d719ad649d0bf5635d61754f3 Author: karl.beldan@gmail.com Date: Tue Apr 6 22:18:08 2010 +0200 malloc: sbrk() should return MORECORE_FAILURE instead of NULL on failure Signed-off-by: Karl Beldan commit a2513e27e8df2b7bf481d03e7719f91ce19e89d5 Author: Peter Tyser Date: Sun Apr 4 22:36:03 2010 -0500 mkimage: Fix strict-aliasing compiler warning Version 4.2.4 of gcc produces the following warnings without this change: mkimage.c: In function ‘main’: mkimage.c:204: warning: dereferencing type-punned pointer will break strict-aliasing rules mkimage.c:222: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Peter Tyser commit 1f2463d7642c582339c9f9d96471d5d2a169b9bb Author: Andre Schwarz Date: Thu Apr 1 21:26:55 2010 +0200 Add initial support for Matrix Vision mvSMR board based on MPC5200B. Signed-off-by: Andre Schwarz commit 9acd4f0e914913796e4e56f550726d216f7b16e5 Author: Frans Meulenbroeks Date: Sat Mar 27 11:16:10 2010 +0100 cmd_bmp.c: add standard subcommand handling Signed-off-by: Frans Meulenbroeks Acked-by: Detlev Zundel commit f852a0c3bfe0b30b4816135b9a0d2aaae7e5de6a Author: Albin Tonnerre Date: Sun Mar 14 18:47:23 2010 +0100 drivers/mtd/spi/eeprom_m95xxx.c: add missing error checking Signed-off-by: Albin Tonnerre commit 3b653fdb322028b27c5ae3d60ecb0eea2d58837f Author: Peter Tyser Date: Sun Apr 4 22:40:50 2010 -0500 cmd_ubi: Fix uninitialized variable warning gcc 3.4.6 previously reported the following error on many MIPS boards which utilize UBI: cmd_ubi.c:193: warning: 'vol' might be used uninitialized in this function The current code is structured such that 'vol' will never be used when it is NULL anyway, but gcc isn't smart enough to figure this out. Signed-off-by: Peter Tyser Signed-off-by: Stefan Roese commit fac71cc49f93db7d460dbc957dfbbadefa2ca0e9 Author: Kim B. Heino Date: Fri Mar 12 10:07:00 2010 +0200 USB storage probe While debugging one ill behaving USB device I found two bugs in USB storage probe. usb_stor_get_info() returns -1 (error), 0 (skip) or 1 (ok). First part of this patch fixes error case. Second part fixes usb_inquiry()'s retry counter handling. Original code had retry = -1 on error case, not retry = 0 as checked in the next line. Signed-off-by: Kim B. Heino commit aaad108b889c6980a2d05262a2f7febb14f94d68 Author: Kim B. Heino Date: Fri Mar 12 15:46:56 2010 +0200 USB storage count Here's another USB storage patch. Currently U-Boot handles storage devices #0 - #4 as valid devices, even if there is none connected. This patch fixes usb_stor_get_dev() to check detected device count instead of MAX-define. This is very important for ill behaving devices. usb_dev_desc[] can be partially initialized if device probe fails. After fixing get_dev() it was easy to fix "usb part" etc commands. Previously it outputed "Unknown partition table" five times, now it's "no USB devices available". Signed-off-by: Kim B. Heino commit d7a22a364ceea97133c1fb7aff073953c7a61228 Author: Sergei Shtylyov Date: Sat Feb 27 21:34:41 2010 +0300 EHCI: add NEC PCI ID Add NEC EHCI controller to the list of the supported devices. Signed-off-by: Sergei Shtylyov drivers/usb/host/ehci-pci.c | 1 + 1 file changed, 1 insertion(+) commit c8b2d1dc0f1667029f42c3fa21f70906414af325 Author: Sergei Shtylyov Date: Sat Feb 27 21:33:21 2010 +0300 EHCI: fix port reset reporting Commit b416191a14770c6bcc6fd67be7decf8159b2baee (Fix EHCI port reset.) didn't move the code that checked for successful clearing of the port reset bit from ehci_submit_root(), relying on wait_ms() call instead. The mentioned code also erroneously reported port reset state when the reset was already completed. Signed-off-by: Sergei Shtylyov commit e06a055bcd966adf62a5653c84db781915392e41 Author: Sergei Shtylyov Date: Sat Feb 27 21:32:17 2010 +0300 EHCI: fix off-by-one error in ehci_submit_root() USB devices on the 2nd port are not detected and I get the following message: The request port(1) is not configured That's with default CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS value of 2. 'req->index' is 1-based, so the comparison in ehci_submit_root() can't be correct. Signed-off-by: Sergei Shtylyov commit 6d313c84ded168427240e62d108b6ba9afdcf535 Author: Sergei Shtylyov Date: Sat Feb 27 21:29:42 2010 +0300 EHCI: fix root hub device descriptor On little endian machines, EHCI root hub's USB revision is reported as 0.2 -- cpu_to_le16() was missed in the initializer for the 'bcdUSB' descriptor field. The same should be done for the 'bcdDevice' field. Signed-off-by: Sergei Shtylyov commit 760bce07f182f678d42f2a85a0e47b59e831ba25 Author: Anatolij Gustschin Date: Thu Apr 8 15:50:55 2010 +0200 video: ati_radeon_fb.c: fix warning while compiling with DEBUG Fixes this warning: ati_radeon_fb.c: In function 'radeon_probe': ati_radeon_fb.c:598: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'void *' Signed-off-by: Anatolij Gustschin commit f6a7a2e88854666e6a9ede50891fe415e803ace2 Author: Ed Swarthout Date: Wed Mar 31 15:52:40 2010 -0500 ati_radeon: Support PCI virtual not eq bus mapping. Use pci_bus_to_virt() to convert the bus address from the BARs to virtual address' to eliminate the direct mapping requirement. Rename variables to better match usage (_phys -> _bus or no-suffix) This fixes the mpc8572ds CONFIG_PHYS_64BIT mode failure: "videoboot: Video ROM failed to map!" Tested on mpc8572ds with and without CONFIG_PHYS_64BIT. Signed-off-by: Ed Swarthout commit 9624f6d9eb4b7223e97a27844ec4489ab953a2e2 Author: Ed Swarthout Date: Wed Mar 31 09:54:28 2010 -0500 ati_radeon: return with error when emulator fails Console was being switched to video even if emulator fails and causing this hang: Scanning PCI bus 04 04 00 1095 3132 0104 00 PCIE3 on bus 03 - 04 Video: ATI Radeon video card (1002, 5b60) found @(2:0:0) videoboot: Booting PCI video card bus 2, function 0, device 0 videoboot: Video ROM failed to map! 640x480x8 31kHz 59Hz radeonfb: FIFO Timeout ! Signed-off-by: Ed Swarthout Tested-by: Anatolij Gustschin commit d5011762f53ada9cc7cdf1f89f3a722f887af577 Author: Anatolij Gustschin Date: Mon Mar 15 14:50:25 2010 +0100 video: cfb_console.c: add support for RLE8 bitmaps Allow displaying 8-bit RLE BMP images. Signed-off-by: Anatolij Gustschin commit 22d6c8faac4e9fa43232b0cf4da427ec14d72ad3 Author: Thomas Chou Date: Thu Apr 1 11:15:05 2010 +0800 cfi_flash: reset timer in flash status check This patch adds reset_timer() before the flash status check waiting loop. Since the timer is basically running asynchronous to the cfi code, it is possible to call get_timer(0), then only a few _SYSCLK_ cycles later an interrupt is generated. This causes timeout even though much less time has elapsed. So the timer period registers should be reset before get_timer(0) is called. There is similar usage in nand_base.c. Signed-off-by: Thomas Chou Signed-off-by: Stefan Roese commit 933419096e857275b8b01f1ae577162231b143ff Author: Kumar Gala Date: Wed Apr 7 01:34:11 2010 -0500 ppc/85xx: Use CONFIG_NS16550_MIN_FUNCTIONS to reduce NAND_SPL size The MPC8536DS_NAND SPL build was failing due to code size increase introduced by commit: commit 33f57bd553edf29dffef5a6c7d76e169c79a6049 Author: Kumar Gala Date: Fri Mar 26 15:14:43 2010 -0500 85xx: Fix enabling of L1 cache parity on secondary cores We built in some NS16550 functions that we dont need and can get rid of them via CONFIG_NS16550_MIN_FUNCTIONS. Signed-off-by: Kumar Gala commit 5a4696088376fff82629e7e4a2444294dc589c96 Author: Timur Tabi Date: Thu Apr 1 10:49:42 2010 -0500 p2020ds: add alternate boot bank support using the ngPIXIS FPGA The Freescale P2020DS board uses a new type of PIXIS FPGA, called the ngPIXIS. The ngPIXIS has one distinct new feature: the values of the on-board switches can be selectively overridden with shadow registers. This feature is used to boot from a different NOR flash bank, instead of having a register dedicated for this purpose. Because the ngPIXIS is so different from the previous PIXIS, a new file is introduced: ngpixis.c. Also update the P2020DS checkboard() function to use the new macros defined in the header file. Signed-off-by: Timur Tabi Signed-off-by: Kumar Gala commit 2feb4af001a0be5ccad6e6a6eb072207cbef6e3f Author: Timur Tabi Date: Wed Mar 31 17:44:13 2010 -0500 fsl: improve the PIXIS code and fix a few bugs Refactor and document the Freescale PIXIS code, used on most 85xx and 86xx boards. This makes the code easier to read and more flexible. Delete pixis.h, because none of the exported functions were actually being used by any other file. Make all of the functions in pixis.c 'static'. Remove "#include pixis.h" from every file that has it. Remove some unnecessary #includes. Make 'pixis_base' into a macro, so that we don't need to define it in every function. Add "while(1);" loops at the end of functions that reset the board, so that execution doesn't continue while the reset is in progress. Replace in_8/out_8 calls with clrbits_8, setbits_8, or clrsetbits_8, where appropriate. Replace ulong/uint with their spelled-out equivalents. Remove unnecessary typecasts, changing the types of some variables if necessary. Add CONFIG_SYS_PIXIS_VCFGEN0_ENABLE and CONFIG_SYS_PIXIS_VBOOT_ENABLE to make it easier for specific boards to support variations in the PIXIS registers sets. No current boards appears to need this feature. Fix the definition of CONFIG_SYS_PIXIS_VBOOT_MASK for the MPC8610 HPCD. Apparently, "pixis_reset altbank" has never worked on this board. Signed-off-by: Timur Tabi Signed-off-by: Kumar Gala commit ff8473e90a018c2bb19a196176c1f2e9602d6354 Author: Sandeep Gopalpet Date: Fri Mar 12 10:45:02 2010 +0530 85xx: Set HID1[mbdd] on e500v2 rev5.0 or greater The HID1[MBDD] bit is new on rev5.0 or greater cores and will optimize the performance of mbar/eieio instructions. Signed-off-by: Sandeep Gopalpet commit 216082754f6da5359ea0db9b0cc03ad531ac6e45 Author: Kumar Gala Date: Tue Mar 30 23:06:53 2010 -0500 85xx: Added various P1012/P1013/P1021/P1022 defines There are various locations that we have chip specific info: * Makefile for which ddr code to build * Added P1012/P1013/P1021/P1022 to cpu_type_list and SVR list * Added number of LAWs for P1012/P1013/P1021/P1022 * Set CONFIG_MAX_CPUS to 2 for P1021/P1022 * PCI port config Signed-off-by: Haiying Wang Signed-off-by: Srikanth Srinivasan Signed-off-by: Kumar Gala commit 5a85a3096940b0a0cd016c8acf4944421c64f8c7 Author: Kumar Gala Date: Tue Mar 30 10:07:12 2010 -0500 ppc/8xxx: Delete PCI nodes from device tree if not configured If the PCI controller wasn't configured or enabled delete from the device tree (include its alias). For the case that we didn't even configure u-boot with knowledge of the controller we can use the fact that the pci_controller pointer is NULL to delete the node in the device tree. We determine that a controller was not setup (because of HW config) based on the fact that cfg_addr wasn't setup. Signed-off-by: Kumar Gala commit 3f1a5c1655d32b7ab8ae74c79934ce100ebcd2bf Author: Brent Kandetzki Date: Wed Mar 24 17:41:33 2010 -0400 Blackfin: IP04: new board port A low cost 4 port IP-PBX board. Signed-off-by: Brent Kandetzki Signed-off-by: Mike Frysinger commit a3c08363b927b84dee911bfcb29ab45d53c98f62 Author: Mike Frysinger Date: Tue Mar 23 16:23:39 2010 -0400 Blackfin: drop bfin #undef in linker script Now that the linker script is preprocessed with -ansi, there is no need to manually undef the bfin define. Signed-off-by: Mike Frysinger commit 0c080aa753eb92e1c0033d3fd33033b2b4813884 Author: Mike Frysinger Date: Thu Feb 11 20:19:10 2010 -0500 Blackfin: call watchdog_init() for external watchdogs Signed-off-by: Mike Frysinger commit b874ed17472de492cfbf58c8e362364bc80e3dcd Author: Mike Frysinger Date: Wed Feb 10 01:20:44 2010 -0500 Blackfin: link with normal ABI target If someone uses the FDPIC toolchain to compile U-Boot, make sure the linker knows to use the normal ABI target rather than the FDPIC one. This wasn't needed with older toolchains, but when we fixed the linker such that the default target changed based on tuple, this broke. Signed-off-by: Mike Frysinger commit dd97022cbeaae5fd4bce25cf7e86019101a040ef Author: Mike Frysinger Date: Fri Jan 29 15:48:28 2010 -0500 Blackfin: sync ptrace headers with linux Scrub a lot of dead cruft in the process. Signed-off-by: Mike Frysinger commit 6a0be8f8fe6d72a30e69d08decb72dc3bec5484c Author: Harald Krapfenbauer Date: Fri Jan 22 17:15:55 2010 -0500 Blackfin: cm-bf561: update network/env settings Switch to the SMC911X driver by default now, and fix LDR env settings. Signed-off-by: Harald Krapfenbauer Signed-off-by: Mike Frysinger commit 216818c1a2d03b1c0994f00993c99af38c5b1e83 Author: Mike Frysinger Date: Thu Jan 21 23:29:18 2010 -0500 Blackfin: bf537-stamp: add board test defines We tweak the configs a little when doing automated hardware tests. Signed-off-by: Mike Frysinger commit 38b9b7446ecd3a728bad3e1913a984628a7363fb Author: Mike Frysinger Date: Tue Jan 19 21:02:00 2010 -0500 Blackfin: relax .data alignment The strictest alignment on Blackfin systems is 32bits (since that is the largest load instruction), so don't force 256byte alignment here. Signed-off-by: Mike Frysinger commit 03f7053f70bc55b50c9d23e54f90d772419300a6 Author: Mike Frysinger Date: Tue Jan 19 15:39:07 2010 -0500 Blackfin: drop reference to gd->reloc_off The reloc_off member no longer exists, so drop it. Also change this function so that it is always compiled and prevents latent issues like this in the future. Reported-by: Peter Meerwald Signed-off-by: Mike Frysinger commit 49b97d9c8ea7b11c4fc9e457cc2cd9fd6ebf0c21 Author: Kumar Gala Date: Tue Mar 30 10:19:26 2010 -0500 fdt: Add fdt_del_node_and_alias helper Add a helper function that given an alias will delete both the node the alias points to and the alias itself Signed-off-by: Kumar Gala Acked-by: Gerald Van Baren commit 459c41a8e1be96edeba1c0afeccacafd93b2c4e6 Author: Mike Frysinger Date: Tue Nov 3 15:53:12 2009 -0500 Blackfin: disable NetBSD bootm support by default There is no Blackfin/NetBSD port, so enabling support for it by default doesn't make any sense. Signed-off-by: Mike Frysinger commit 69bcf5bc80a47acbd62b8cfff932cb12d47997d7 Author: Kumar Gala Date: Mon Mar 29 13:50:31 2010 -0500 85xx: Add defines for BUCSR bits to make code more readable Signed-off-by: Kumar Gala commit 22c9de064a218ae617bfeea35d2164532df91597 Author: Dave Liu Date: Fri Mar 5 12:22:00 2010 +0800 fsl-ddr: change the default burst mode for DDR3 For 64B cacheline SoC, set the fixed 8-beat burst len, for 32B cacheline SoC, set the On-The-Fly as default. Signed-off-by: Dave Liu commit ec145e87b80f6764d17a6b0aebf521fe758c3fdc Author: Dave Liu Date: Fri Mar 5 12:22:00 2010 +0800 fsl-ddr: Fix the turnaround timing for TIMING_CFG_4 Read-to-read/Write-to-write turnaround for same chip select of DDR3 memory, BL/2+2 cycles is enough for them at BC4 and OTF case, BL/2 cycles is enough for fixed BL8. Cutting down the turnaround from BL/2+4 to BL/2+2 or BL/2 will improve the memory performance. Signed-off-by: Dave Liu commit ab467c512e79dbd14f02352655f054a4304c457e Author: Roy Zang Date: Tue Feb 9 18:23:33 2010 +0800 fsl_esdhc: Only modify the field we are changing in WML When we set the read or write watermark in WML we should maintain the rest of the register as is, rather than using some hard coded value. Signed-off-by: Roy Zang Acked-by: Stefano Babic Signed-off-by: Kumar Gala commit 48bb3bb5ac4dd21e931ae157caad6449bcb2d0d4 Author: Jerry Huang Date: Thu Mar 18 15:57:06 2010 -0500 fsl_esdhc: Add function to reset the eSDHC controller To support multiple block read command we must set abort or use auto CMD12. If we booted from eSDHC controller neither of these are used and thus we need to reset the controller to allow multiple block read to function. Signed-off-by: Jerry Huang Signed-off-by: Roy Zang Acked-by: Stefano Babic Signed-off-by: Kumar Gala commit cc4d1226585fa2544b5116702b02eacbb7aa48a1 Author: Kumar Gala Date: Thu Mar 18 15:51:05 2010 -0500 fsl_esdhc: Always stop clock before changing frequency We need to stop the clocks on 83xx/85xx as well as imx. No need to make this code conditional to just imx. Signed-off-by: Kumar Gala Acked-by: Stefano Babic commit d0b0dcaa220549999d6ea74cf87487846c186a0f Author: Stefan Roese Date: Thu Apr 1 14:37:24 2010 +0200 i2c: Move PPC4xx I2C driver into drivers/i2c directory This patch moves the PPC4xx specific I2C device driver into the I2C drivers directory. All 4xx config headers are updated to include this driver. Signed-off-by: Stefan Roese commit b5045cdda556c73e2697cd1d3ea6563315cbf490 Author: Detlev Zundel Date: Wed Mar 31 15:38:55 2010 +0200 arm/integrator: Remove unneccessary CONFIG_PCI check. pci_eth_init() is already conditional to CONFIG_PCI so not every caller needs to have conditionals. This is the only place in the current code base where such a check is still at the calling site. Signed-off-by: Detlev Zundel CC: Ben Warren CC: Peter Pearse commit 0701f730cebc8dd065b70812ca0332055dcf10f8 Author: Matthias Fuchs Date: Thu Mar 25 14:30:13 2010 +0100 at91: use C structs for AT91 OHCI code This patch is part of migrating the AT91 support towards using C struct for all SOC access. It removes one more CONFIG_AT91_LEGACY warning. at91_pmc.h needs cleanup after migration of the drivers has been done. Signed-off-by: Matthias Fuchs commit e99056e3877d1f04a36991aa48f1c690547f5ab9 Author: Asen Dimov Date: Thu Mar 18 13:46:45 2010 +0200 using AT91_PMC_MCKR_MDIV_ instead of LEGACY one in at91/clock.c Signed-off-by: Asen Dimov commit 4b894a97d307c3207af40031d9e820e2960de57f Author: Alessandro Rubini Date: Wed Nov 25 23:41:51 2009 +0100 Nomadik: fix reset_timer() Previous code was failing when reading back the timer less than 400us after resetting it. This lead nand operations to incorrectly timeout any now and then. Moreover, writing the load register isn't immediately reflected in the value register. We must wait for a clock edge, so read_timer now waits for the value to change at least once, otherwise nand operation would timeout anyways (though less frequently). Signed-off-by: Alessandro Rubini Acked-by: Andrea Gallo commit f936aa0528fe4f5d86168575528e0c52b485c642 Author: Achim Ehrlich Date: Wed Mar 17 14:50:29 2010 +0100 Convert at91 watchdog driver to new SoC access This converts the at91 watchdog driver to new c structure type to access registers of the SoC Signed-off-by: Achim Ehrlich commit c9f72b3da8855c3c9679c821127cccd91e0380ed Author: Daniel Gorsulowski Date: Wed Mar 17 08:21:11 2010 +0100 at91: boards cleanup for deprecated CONFIG_CMD_AUTOSCRIPT CONFIG_CMD_AUTOSCRIPT support is deprecated and non-existing This clean up patch removes the references for esd boards Signed-off-by: Daniel Gorsulowski commit b032698ff687034286c98c09fd4830d804cd1786 Author: Matthias Kaehlcke Date: Tue Mar 9 22:13:56 2010 +0100 ep93xx timer: refactoring ep93xx timer: Simplified the timer code by eliminating clk_to_systicks() and performing (almost) all manipulation of the timer structure in read_timer() Signed-off-by: Matthias Kaehlcke commit 33eef04bf8541f7b15d4f694ad10f9b912b9caa6 Author: Matthias Kaehlcke Date: Tue Mar 9 22:13:47 2010 +0100 ep93xx timer: Rename struct timer_reg pointers ep93xx timer: Renamed pointers to struct timer_regs from name 'timer' to 'timer_regs' in order to avoid confusion with the global variable 'timer' Signed-off-by: Matthias Kaehlcke commit 2528dc52361bea49e6bd4a95ce2374d0004ca56f Author: Naveen Krishna CH Date: Fri Mar 5 17:16:05 2010 +0900 SAMSUNG: SMDKC100: Adds ethernet support. Add setup for ethernet on SMDKC100, allowing kernel/ramdisk to be loaded over tftp. The preinit function will configure GPIO (GPK0CON) & SROMC to look for environment in SROM Bank 3. Signed-off-by: Naveen Krishna Ch Signed-off-by: Minkyu Kang commit 01802e0d22a4bb3903b342ff2357ea3bbcccd289 Author: Naveen Krishna CH Date: Fri Mar 5 17:15:38 2010 +0900 S5PC100: Function to configure the SROMC registers. Nand Flash, Ethernet, other features might need to configure the SROMC registers accordingly. The config_sromc() functions helps with this. Signed-off-by: Naveen Krishna Ch Signed-off-by: Minkyu Kang commit a28bec89ccc17b56a50d841c8f0778e927434d1c Author: Naveen Krishna CH Date: Fri Mar 5 17:15:13 2010 +0900 S5PC100: Memory SubSystem Header file, register description(SROMC). Memory subsystem of S5PC100 handles SROM, SRAM, OneDRAM, OneNand, NAND Flash, DDRs. smc.h is a common place for the register description of Memory subsystem of S5PC100. Note: Only SROM related registers are descibed now. Signed-off-by: Naveen Krishna Ch Signed-off-by: Minkyu Kang commit abbe18c353c297a40c428ba92f3e1a85e8e694fc Author: Minkyu Kang Date: Fri Feb 12 18:21:17 2010 +0900 s5pc1xx: update the README file Because adds support the GPIO Interface, README file is updated. Signed-off-by: Minkyu Kang commit ab693e9c4c06b42d1746a0d7a03541968fb55bb9 Author: Minkyu Kang Date: Fri Feb 12 18:17:52 2010 +0900 s5pc1xx: support the GPIO interface This patch adds support the GPIO interface Signed-off-by: Minkyu Kang commit 7b92159bd9fc0acaddd65b314da252b715d1b44e Author: Joonyoung Shim Date: Mon Feb 8 22:00:52 2010 +0900 s3c64xx: Add ifdef at the S3C64XX only codes The s3c6400.h file is only for S3C64XX cpu and the pheripheral port address(0x70000000 - 0x7fffffff) exists at only S3C64XX cpu, so they should be included by only S3C64XX cpu. Signed-off-by: Joonyoung Shim Signed-off-by: Minkyu Kang commit 6c71a8fec95a9e0f90fbc47469c389c6f35d96bc Author: Naveen Krishna CH Date: Thu Feb 4 14:17:38 2010 +0900 S5PC100: Moves the Macros to a common header file The get_pll_clk(int) API returns the PLL frequency based on the (int) argument which is defined locally in clock.c Moving that #define to common header file (clk.h) would be helpful when using the API from other files. Signed-off-by: Naveen Krishna Ch Signed-off-by: Minkyu Kang commit 2ca551dd7ad6ec11418f113b1b50c96fdd15a370 Author: Minkyu Kang Date: Mon Mar 8 16:22:33 2010 +0900 MAINTAINERS: sort the list of ARM Maintainers by last name Signed-off-by: Minkyu Kang commit c937c42431923c96a617e9462e2c0ecbaf2ad72d Author: Vipin KUMAR Date: Mon Mar 8 10:46:07 2010 +0530 SPEAr : Adding maintainer name for spear SoCs Signed-off-by: Vipin Kumar commit d8bc0a2889700ba063598de6d4e7d135360b537e Author: Scott McNutt Date: Thu Apr 1 00:00:56 2010 -0400 nios2: Reload timer count in reset_timer() When the timestamp is incremented via interrupt and the interrupt period is greater than 1 msec, successive calls to get_timer() can produce inaccurate timing since the interrupts are asynchronous to the timing loop. For example, with an interrupt period of 10 msec two successive calls to get_timer() could indicate an elapsed time of 10 msec after only several hundred usecs -- depending on when the next interrupt actually occurs. This behavior can cause reliability issues with components such as CFI and NAND. This can be remedied by calling reset_timer() prior to establishing the base timestamp with get_timer(0), provided reset_timer() resets the hardware timer (rather than simply resetting only the timestamp). This has the effect of synchronizing the interrupts (and the advance of the timestamp) with the timing loop. Signed-off-by: Scott McNutt commit ed2941578480d30b413e081b6f1a5675d4afd9e2 Author: Thomas Chou Date: Wed Mar 24 11:41:46 2010 +0800 nios2: pass command line and initrd to linux in bootm.c This patch adds bootargs passing to nios2 linux. The args passing is enabled with, r4 : 'NIOS' magic r5 : pointer to initrd start r6 : pointer to initrd end r7 : pointer to command line Signed-off-by: Thomas Chou Signed-off-by: Scott McNutt commit 9e486ab1c98ea7ab357520307fe5d5a0847cd1bb Author: Scott McNutt Date: Tue Mar 30 20:26:15 2010 -0400 nios2: Fix AMDLV065D flash write bug in altera board common tree. Signed-off-by: Scott McNutt commit 3a89a91a10fed545af458418e63d911953a9849c Author: Scott McNutt Date: Tue Mar 30 20:23:04 2010 -0400 nios2: Set CONFIG_SYS_HZ to 1000 all nios2 boards. CONFIG_SYS_HZ was being calculated (incorrectly) in nios2 configuration headers. Updated comments to accurately describe timebase macros. Signed-off-by: Scott McNutt commit 3ea0037f2337de692b5fd2b6a4449db1de3067a2 Author: Scott McNutt Date: Sun Mar 21 21:24:43 2010 -0400 nios2: Fix outx/writex parameter order in io.h The outx/writex macros were using writex(addr, val) rather than the standard writex(val, addr), resulting in incompatibilty with architecture independent components. This change set uses standard parameter order. Signed-off-by: Scott McNutt commit 64da04d24ea685483f9afa07088f76931b6c0e01 Author: Scott McNutt Date: Sun Mar 21 15:36:44 2010 -0400 nios2: Add support for EPCS16 and EPCS64 configuration devices. Signed-off-by: Scott McNutt commit 3fd2a1f3eb83a0bbb84a1397ff9c2af7e6f5d069 Author: Scott McNutt Date: Sun Mar 21 13:26:33 2010 -0400 nios2: Add missing Ethernet initialization to board_init(). Signed-off-by: Scott McNutt commit c72bfafbc94e61ea3ff3915c84aa7f9d91a045a0 Author: Thomas Chou Date: Sat Mar 20 07:05:47 2010 +0800 nios2: add struct stat support in linux/stat.h This is needed for jffs2 support. Signed-off-by: Thomas Chou Signed-off-by: Scott McNutt commit 3bef253f0802c6292b8e2acc0089894019e99e62 Author: Thomas Chou Date: Sat Mar 20 07:05:46 2010 +0800 nios2: use bitops from linux-2.6 asm-generic These are needed to use ubi/ubifs. Signed-off-by: Thomas Chou Signed-off-by: Scott McNutt commit d8b73dffa9866d6de3c05c8a2d07ecd4bc0d5d7e Author: Thomas Chou Date: Sat Mar 20 07:05:45 2010 +0800 nios2: add local_irq_enable/disable to asm-nios2/system.h Copy from linux header. This is needed for generic bitops. Signed-off-by: Thomas Chou Signed-off-by: Scott McNutt commit 54d809e7553939629e8941ab9eef1f762463a2b3 Author: Thomas Chou Date: Sat Mar 20 07:05:44 2010 +0800 nios2: add asm-nios2/errno.h Just pull in asm-generic. Signed-off-by: Thomas Chou Signed-off-by: Scott McNutt commit c9d4f46b5d639a45747d5eaabd31d35856cb918f Author: Scott McNutt Date: Fri Mar 19 19:03:28 2010 -0400 nios2: Move serial drivers to individual files in drivers/serial The standard Altera UART & JTAG UART as well as the OpenCores YANU driver are now in individual files in drivers/serial rather than a single file uner cpu/nios2. Signed-off-by: Scott McNutt commit ca6e1c136ddb720c3bb2cc043b99f7f06bc46c55 Author: Wolfgang Denk Date: Wed Mar 31 23:54:39 2010 +0200 Prepare v2010.03 Signed-off-by: Wolfgang Denk commit 8e64d6efd8d778a5f83d8bff9cd273a86dcc182f Author: Heiko Schocher Date: Wed Mar 31 08:34:51 2010 +0200 net, doc: How to setup MAC address correctly As this seems unclear, document how the flow of setting up the MAC address is correct. Signed-off-by: Heiko Schocher Text changed slightly, adding input from Mike Frysinger. Signed-off-by: Wolfgang Denk commit b78b48c6a0c34b2991e31fc4548aaf773d34f2b3 Author: Heiko Schocher Date: Wed Mar 31 08:34:46 2010 +0200 net, fec_mxc: only setup the device enetaddr with eeprom value Only fill the device enetaddr with the contents of the eeprom, do not program it in MAC address registers Signed-off-by: Heiko Schocher Acked-by: Ben Warren commit d5a64237d58ded31c2eed455c7a346e1c85f5565 Author: Felix Radensky Date: Tue Mar 30 15:02:13 2010 +0300 doc: Fix ramdisk examples in doc/uImage.FIT/multi.its The ramdisk sections in doc/uImage.FIT/multi.its lack load address and entry point properties. Using examples from this file will result in unbootable image, u-boot will issue the following error messages: Can't get ramdisk subimage load address! Ramdisk image is corrupt or invalid This patch adds missing properties to ramdisk sections. Signed-off-by: Felix Radensky commit 2d2018f3db5ed834bc1ee208a2c6212fdf00bca1 Author: Heiko Schocher Date: Wed Mar 24 13:22:50 2010 +0100 jffs2, suen3: Fix compiler warning $ ./MAKEALL suen3 jffs2_1pass.c: In function 'get_fl_mem': jffs2_1pass.c:399: warning: unused variable 'id' jffs2_1pass.c: In function 'get_node_mem': jffs2_1pass.c:423: warning: unused variable 'id' Signed-off-by: Heiko Schocher Tested-by: Tom commit 9ff32d8ccf0e23b5577c25610f001af8d761b4a2 Author: Timur Tabi Date: Mon Mar 29 12:51:07 2010 -0500 mpc86xx: set the DDR BATs after calculating true DDR size After determining how much DDR is actually in the system, set DBAT0 and IBAT0 accordingly. This ensures that the CPU won't attempt to access (via speculation) addresses outside of actual memory. On 86xx systems, DBAT0 and IBAT0 (the BATs for DDR) are initialized to 2GB and kept that way. If the system has less than 2GB of memory (typical for an MPC8610 HPCD), the CPU may attempt to access this memory during speculation. The zlib code is notorious for generating such memory reads, and indeed on the MPC8610, uncompressing the Linux kernel causes a machine check (without this patch). Currently we are limited to power of two sized DDR since we only use a single bat. If a non-power of two size is used that is less than CONFIG_MAX_MEM_MAPPED u-boot will crash. Signed-off-by: Timur Tabi Signed-off-by: Kumar Gala commit 33f57bd553edf29dffef5a6c7d76e169c79a6049 Author: Kumar Gala Date: Fri Mar 26 15:14:43 2010 -0500 85xx: Fix enabling of L1 cache parity on secondary cores Use the same code between primary and secondary cores to init the L1 cache. We were not enabling cache parity on the secondary cores. Also, reworked the L1 cache init code to match the e500mc L2 init code that first invalidates the cache and locks. Than enables the cache and makes sure its enabled before continuing. Signed-off-by: Kumar Gala commit 1a332da61df9c38b567359af114daeaaaefaead8 Author: Stefan Roese Date: Mon Mar 29 15:30:46 2010 +0200 ppc4xx: Fix problem with I2C bus >= 1 initialization This patch fixes a problem introduced with patch eb5eb2b0 [ppc4xx: Cleanup PPC4xx I2C infrastructure]. We need to assign the I2C base address to the "i2c" pointer inside of the controller loop. Otherwise controller 0 is initialized multiple times instead of initializing each I2C controller sequentially. Tested on Katmai. Signed-off-by: Stefan Roese Acked-by: Heiko Schocher commit 24de2f4be00f81c58270d0df47296bf3a3601cef Author: Heiko Schocher Date: Mon Mar 29 13:15:48 2010 +0200 bootm, linux: fix booting Multi-File Image with "kernel+ramdisk+fdt" Booting a "Multi-File Image" including a linux kernel, ramdisk and fdt, generated with mkimage -A ppc \ -O linux \ -T multi \ -C gzip \ -a 00000000 \ -e 00000000 \ -n "kernel-2.6+initrd+dtb" \ -d "vmlinux.bin.gz:ramdisk_image.gz:board.dtb" \ multi.bin actually fails, because ramdisk start and end addresses didn;t get initialized. This patch fixes this issue. Tested on the KUP4K board. Signed-off-by: Heiko Schocher commit fd03ea89641d6f6ade6d1a8580c1bb9f52b8542c Author: Frans Meulenbroeks Date: Fri Mar 26 09:46:42 2010 +0100 i2c: made unused function i2c_mux_add_device static and removed it from the .h file Signed-off-by: Frans Meulenbroeks commit 2c0dc990202c69a6231122ec2463c4e3076a16f3 Author: Frans Meulenbroeks Date: Fri Mar 26 09:46:41 2010 +0100 cmd_i2c: introduced get_alen helper function The code to parse alen appeared 6 times in the function. Factored this out in a small helper function Signed-off-by: Frans Meulenbroeks commit a266fe955a55bb7a03a67f3c91033068f317b337 Author: Frans Meulenbroeks Date: Fri Mar 26 09:46:40 2010 +0100 cmd_i2c: moved a define to before the functions Signed-off-by: Frans Meulenbroeks commit 4a8cf3382a6fea5cccc1e2ae61a4601bf26490c3 Author: Frans Meulenbroeks Date: Fri Mar 26 09:46:39 2010 +0100 cmd_i2c: moved mispositioned comment for i2c md Signed-off-by: Frans Meulenbroeks commit 3a6dcb988eee3fd3cd9c5ef96855a8da729a290e Author: Frans Meulenbroeks Date: Fri Mar 26 09:46:38 2010 +0100 cmd_i2c.c: declared local functions as static Declared all functions that were not called outside the file as static Signed-off-by: Frans Meulenbroeks commit 2883cc2d48e99fd1873ef8af03fee7966611b735 Author: Wolfgang Denk Date: Sun Mar 28 00:25:14 2010 +0100 Prepare 2010.03-rc3 Update CHANGELOG Signed-off-by: Wolfgang Denk commit 060f28532b09dd3d2c78423bdd809ac768a27629 Author: Wolfgang Denk Date: Thu Mar 25 14:07:23 2010 +0100 cmd_usb.c: print debug messages only when DEBUG is defined Signed-off-by: Wolfgang Denk commit a574cff121b1479c8e962b7a2a29310020387260 Author: Wolfgang Denk Date: Wed Mar 24 12:19:19 2010 +0100 ml300: remove support for broken, orphaned board The ml300 board has a number of issues, but nobody cares about this long-orphaned board any more. Remove it. Signed-off-by: Wolfgang Denk Acked-by: Michal Simek commit 04387d24a17b1ee13024dd4779da4b84d47c65cc Author: Wolfgang Denk Date: Sat Mar 27 23:37:46 2010 +0100 mkimage: fix Segmentation Fault when run without "-n name" option The restructuring of the mkimage command in commit 89a4d6b1 ("tools: mkimage: split code into core, default and FIT image specific") introduced a bug that caused mkimage to segfault when run without "-n name" option. Initialize the imagename entry to prevent that. Signed-off-by: Wolfgang Denk commit e5720823f6f81a0f3a9e3404dbc37059bf6644f1 Author: Thomas Chou Date: Fri Mar 26 08:17:00 2010 +0800 cfi flash: add status polling method for amd flash This patch adds status polling method to offer an alternative to data toggle method for amd flash chips. This patch is needed for nios2 cfi flash interface, where the bus controller performs 4 bytes read cycles for a single byte read instruction. The data toggle method can not detect chip busy status correctly. So we have to poll DQ7, which will be inverted when the chip is busy. This feature is enabled with the config def, CONFIG_SYS_CFI_FLASH_STATUS_POLL Signed-off-by: Thomas Chou Signed-off-by: Stefan Roese commit c40c94a3d20a8616264c2dfcda85279185d69aeb Author: Renato Andreola Date: Wed Mar 24 23:00:47 2010 +0800 cfi_flash: precision and underflow problem in tout calculation With old configuration it could happen tout=0 if CONFIG_SYS_HZ<1000. Signed-off-by: Renato Andreola Signed-off-by: Alessandro Rubini Signed-off-by: Thomas Chou Signed-off-by: Stefan Roese commit 9d3a86aec52cb3c0e9badd12167d9292184ce4dd Author: TsiChung Liew Date: Tue Mar 16 12:39:36 2010 -0500 ColdFire: Fix m54455EVB save environment bug The ATMEL flash does not have buffer write feature. Assgined buffer_size = 1, so that when there is a write to the flash will not use buffer write function. Signed-off-by: TsiChung Liew commit f26a247308568e32857a5cc054f7219510a7d44e Author: TsiChung Liew Date: Mon Mar 15 19:39:21 2010 -0500 ColdFire: Fix incorrect M5253DEMO default environment The flash location is at 0xff800000, not 0 Signed-off-by: TsiChung Liew commit dd9f054ede433de73b137987fb3dc066e8d24ebb Author: TsiChung Liew Date: Thu Mar 11 22:12:53 2010 -0600 ColdFire: Cache update for all platforms The CF will call cache functions in lib_m68/cache.c and the cache settings are defined in platform configuration file. Signed-off-by: TsiChung Liew commit f628e2f72daee810aa568619b6629da68ad042d6 Author: TsiChung Liew Date: Wed Mar 10 18:50:22 2010 -0600 ColdFire: Fix SDRAM size on M5208evb rev E The proper SDRAM size is 32MB not 64MB Signed-off-by: Jingchang Lu commit 9e8e927023582231b034e199568e49f84ac032a9 Author: TsiChung Liew Date: Wed Mar 10 18:24:07 2010 -0600 ColdFire: Misc update for M53017 Reside Ethernet buffer descriptors in SRAM instead of DRAM. Add CONFIG_SYS_TX_ETH_BUFFER in platform configuration file. Update DRAM control and SRAM control register setting. Update cache setting where size does not write to proper region. Signed-off-by: TsiChung Liew Signed-off-by: Jason Jin commit f9d877a6479878ca96688671f37d87b620c3e77c Author: TsiChung Liew Date: Wed Mar 10 17:32:13 2010 -0600 ColdFire: Add CPU compile flag for mcf5301x and mcf532x Add CPU compile flag -mcpu=53015 in cpu/config.mk Signed-off-by: TsiChung Liew commit 0e8a75550695aba9d8cfe9c7f7713da42c1f3e89 Author: TsiChung Liew Date: Wed Mar 10 16:33:03 2010 -0600 ColdFire: Update Extra environment Data for M5275EVB Provide extra environment Data. Remove default network address and MAC address. Signed-off-by: TsiChung Liew commit 53e4290f20b5f73c95717f47f4c04ed6932ff931 Author: TsiChung Liew Date: Wed Mar 10 16:14:01 2010 -0600 ColdFire: M5271EVB DRAM Bring up issue Fix proper portsize: The register for portsize is either 00b, 01b, or 1xb. The value that previous assigned is 32d. Fix DRAM bring up: insert asm("nop") for every DRAM register setup Signed-off-by: TsiChung Liew commit ac265f7fcab1a09b9a837a34ef8b10acc101695e Author: TsiChung Liew Date: Wed Mar 10 11:56:36 2010 -0600 ColdFire: Update M5253DEMO configuration file Fix incorrect default environment for flash erase or protect range. Change offset from 0 to 0xff80nnnn. Remove default ethernet setup and MAC address. Signed-off-by: TsiChung Liew commit 68e4e76af55746a4330865f56476e58ce4140ca8 Author: TsiChung Liew Date: Thu Mar 11 15:04:21 2010 -0600 ColdFire: Relocate vector table - mcf5445x Newer ColdFire processors family boot from address 0 instead of 0xFFnn_nnnn. When the boot flash base chip select is set at new location instead of 0, an un-predictable error will occur if there is an vector being trigger and refer it to an invalid address or the vector table handler is not existed at address 0. Signed-off-by: TsiChung Liew commit fa9da596212d7f28eb26a3257d79d9515f9838cd Author: TsiChung Liew Date: Tue Mar 9 19:24:43 2010 -0600 ColdFire: Update uart_port_conf in serial driver Provide proper port passing from serial_init to uart_part_conf. Signed-off-by: TsiChung Liew commit 52affe04fa5493597d8a5f6202507190950a32e6 Author: TsiChung Liew Date: Tue Mar 9 19:17:52 2010 -0600 ColdFire: Update processors' serial port configuration Provide parameter passing to uart_port_config(). Update port configuration - un-mask it before enable the bits. Signed-off-by: TsiChung Liew commit d04c1efae3d834db6e21e9976e338bf1e588e987 Author: TsiChung Liew Date: Tue Mar 9 18:32:16 2010 -0600 ColdFire: Correct bit definition Use correct definition for _MASK and _UNMASK. It was combined in the previous used and causes confusion. Signed-off-by: TsiChung Liew commit 116095eb1f0f7017ea8062aa8a8ba8ceecb430b5 Author: Philippe De Muyter Date: Mon Sep 21 22:20:29 2009 -0600 fix cmd_bdinfo.c:354: warning: 'print_eth' defined but not used This fixes the following warnings when running MAKEALL for coldfire : cmd_bdinfo.c:354: warning: 'print_eth' defined but not used Signed-off-by: Philippe De Muyter commit dfc2b7697dc07862da804c1be084f96301884bc7 Author: Michael Durrant Date: Wed Jan 20 19:33:02 2010 -0600 Adding EP2500 MCF5282 board [PATCH] Mercury-EP2500.patch - added Mercury's EP2500 board uses the mcf5282 processor CREDITS.patch Signed-off-by: David Wu Signed-off-by: Michael Durrant commit 89083346d0627a5e6e271e61bd34ab5121f9462b Author: Wolfgang Wegner Date: Fri Oct 30 16:55:02 2009 +0100 add block write function to spartan3 slave serial load Using seperate function calls for each bit-bang of slave serial load can be painfully slow. This patch adds the possibility to supply a block write function that loads the complete block of data in one call (like it can already be done with Altera FPGAs). On an MCF5373L (240 MHz) loading an XC3S4000 this reduces the load time from around 15 seconds to around 3 seconds Signed-off-by: Wolfgang Wegner commit 9d79e5758c3a6776be9a86856823d28e7154a481 Author: Wolfgang Wegner Date: Mon Jan 25 11:27:44 2010 +0100 add ASTRO MCF5373L board This patch adds support for ASTRO board(s) based on MCF5373L. Signed-off-by: Wolfgang Wegner commit c550afada5fcad426aa6a219a329feb9eedae8b2 Author: Rupjyoti Sarmah Date: Wed Mar 24 16:52:02 2010 +0530 ppc4xx fix unstable 440EPx bootstrap options 440EPx fixed bootstrap options A, B, D, and E sets PLL FWDVA to a value = 1. This results in the PLLOUTB being greater than the CPU clock frequency resulting unstable 440EPx operation resulting in various software hang conditions. This patch reprograms the FWDVA satisfying the requirement of setting FWDVB to a value greater than 1 while using one of the four deafult bootstrap options. Signed-off-by: Rupjyoti Sarmah Acked-by : Victor Gallardo Signed-off-by: Stefan Roese commit fb508b8b39a52a4063d098f5a9b4355bc5b30c14 Author: Matthias Fuchs Date: Wed Mar 24 10:16:20 2010 +0100 at91: Get rid of some warnings when building for otc570 The soft-i2c code for AT91 defines I2C_SOFT_DECLARATIONS for direct access by dereferencing a pio pointer. The OTC570 platform uses the AT91 gpio API so it does not need the pio variable. Signed-off-by: Matthias Fuchs commit acb13868936a28502782a16e1edaec378e494a29 Author: Alessandro Rubini Date: Sat Mar 13 17:44:08 2010 +0100 lcd: make 16bpp work Support for 16bpp was supposed to be in the code but was not working. This makes it work and has been tested in the nhk8815 board. Signed-off-by: Alessandro Rubini Acked-by: Andrea Gallo Signed-off-by: Anatolij Gustschin commit 6b94b4962211c16ee2197048faa887e1f92f3757 Author: Florian Fainelli Date: Sat Mar 20 19:02:58 2010 +0100 cmd_nand: show nand scrub confirmation character When issuing a nand scrub command, the entered character is not displayed this may be confusing. This patch makes the input character being displayed if it is a 'y' so that an user knows he is about to scrub his nand. Signed-off-by: Florian Fainelli commit 7c27b7b1eac43cdcda735bad6231cdfc1f602284 Author: Nikolay Petukhov Date: Fri Mar 19 10:49:27 2010 +0500 at91: add hwecc method for nand This is a patch to use the hardware ECC controller of the AT91SAM9260 for the AT91 nand. Taken from the kernel 2.6.33. Signed-off-by: Nikolay Petukhov commit cc41a59a74ca9095d518d6d69655c6735dd00809 Author: Cyril Chemparathy Date: Wed Mar 17 10:03:10 2010 -0400 TI: Davinci: NAND Driver Cleanup Modified to use IO accessor routines consistently. Eliminated volatile usage to keep checkpatch.pl happy. Signed-off-by: Cyril Chemparathy commit 152dda3d94e97ede7af3f9560a59a659384d4585 Author: Wolfgang Denk Date: Mon Mar 22 23:25:00 2010 +0100 Prepare v2010.03-rc2 Update CHANGELOG Signed-off-by: Wolfgang Denk commit d650da2dd4af99967aabc43cccbd8f160eb4cea6 Author: Matthias Kaehlcke Date: Tue Mar 9 22:13:33 2010 +0100 ep93xx timer: Fix resolution of get_ticks() ep93xx timer: Make get_ticks() return a value in CONFIG_SYS_HZ resolution, as announced by get_tbclk() Signed-off-by: Matthias Kaehlcke commit 7e67fb5bf27a07d3b8d6b97c76f7195f7d68af58 Author: Matthias Kaehlcke Date: Tue Mar 9 22:13:20 2010 +0100 ep93xx timer: Fix possible overflow in usecs_to_ticks() ep93xx timer: Use 64-bit values in usecs_to_ticks() in order to avoid overflows in intermediate values Signed-off-by: Matthias Kaehlcke commit 3c950e2ebfde083084cc926b020e3a22a536bf85 Author: Anatolij Gustschin Date: Tue Mar 16 17:10:05 2010 +0100 fdt_support: add partitions fixup in mtd node Allow overwriting defined partitions in the device tree blob using partition info defined in the 'mtdparts' environment variable. Signed-off-by: Anatolij Gustschin Cc: Gerald Van Baren commit d611295032c30e6c533cb356005fa82ab7992824 Author: John Schmoller Date: Fri Mar 12 09:49:24 2010 -0600 cmd history: Match history buffer size to console buffer Match history buffer size to console buffer size. History buffer size was hard coded to 256, artificially limiting the command buffer size. The history buffer now tracks CONFIG_SYS_CBSIZE. Signed-off-by: John Schmoller commit 6475b9f91bd33bfd38418469cabdcfc0fefbd848 Author: John Schmoller Date: Fri Mar 12 09:49:23 2010 -0600 console: Fix console buffer overrun When CONFIG_SYS_CBSIZE equals MAX_CMDBUF_SIZE, a command string of maximum length will overwrite part of the history buffer, causing the board to die. Expand the console_buffer and hist_lines buffer by one character each to hold the missing NULL char. Signed-off-by: John Schmoller commit e070a56c777f1fd05950e1bc63483c19decd6f78 Author: Michael Zaidman Date: Mon Mar 1 11:47:36 2010 +0200 POST: add progress API Add POST progress API implemented as weak calls before and after each call to the POST test callback in the post_run_single routine of the post.c file. Signed-off-by: Michael Zaidman Acked-by: Detlev Zundel commit 47ab5ad14575531798431f0d1e8f83ee9bb0a87e Author: Frans Meulenbroeks Date: Fri Feb 26 14:00:19 2010 +0100 cmd_setexpr: allow memory addresses in expressions This patch add functionality to use memory addresses in expressions. This increases the power of expressions substantially It adheres to the standard convemtions: memory addresses can be given in the format *address (e.g. *1000) Rationale for this change is that it allows masking off bits from a byte that is obtained by reading data from e.g. i2c. Signed-off-by: Frans Meulenbroeks Fix warning: control reaches end of non-void function Signed-off-by: Wolfgang Denk commit 652e53546b23c25f80756287eaf607b713afdc87 Author: Frans Meulenbroeks Date: Thu Feb 25 10:12:16 2010 +0100 cmd_i2c.c: added i2c read to memory function Signed-off-by: Frans Meulenbroeks commit fb0070e9101a1f288d7054f7e80b3d808fd7ead2 Author: Frans Meulenbroeks Date: Thu Feb 25 10:12:15 2010 +0100 cmd_i2c.c: sorted commands alphabetically Signed-off-by: Frans Meulenbroeks commit bfc3b77ebe68435b46e988e3a440bc4857bc7cf4 Author: Frans Meulenbroeks Date: Thu Feb 25 10:12:14 2010 +0100 cmd_i2c.c: reworked subcommand handling Signed-off-by: Frans Meulenbroeks commit f74d9bd2a248efa229f0f3478fe331e2a319588c Author: Frans Meulenbroeks Date: Thu Feb 25 10:12:13 2010 +0100 cmd_bootm.c: made subcommand array static Signed-off-by: Frans Meulenbroeks commit faffe14f016db10f33836b018c4b304d939cf586 Author: Frans Meulenbroeks Date: Thu Feb 25 10:12:12 2010 +0100 cmd_i2c.c: reduced subaddress length to 3 bytes according to some of the comments the subaddress length is 1 or 2, but we are being prepared for the case it becomes 3. However the code also accepted 4. This repairs this by changing the constand 4 to 3. Signed-off-by: Frans Meulenbroeks commit a6a04967bc2957d20799f4bb2a6b3dd0353c1cfd Author: Renato Andreola Date: Tue Mar 16 16:01:29 2010 -0400 nios2: Added support to YANU UART Signed-off-by: Scott McNutt commit 352745ad487f72e839986ddbb020e1fe86c1d482 Author: Thomas Chou Date: Tue Mar 16 12:12:48 2010 -0400 nios2: use generic unaligned.h Signed-off-by: Scott McNutt commit fd428c05c863aefb575b12b2a1916b02d5bfa759 Author: Detlev Zundel Date: Fri Mar 12 10:01:12 2010 +0100 mpc5xxx: Remove all references to MGT5100 We do not support a processor that never reached a real customer. Signed-off-by: Detlev Zundel commit c0c316569f70055eb7c70864aaa6d48666782600 Author: Matthias Weisser Date: Tue Jan 12 12:06:31 2010 +0100 video: Fix console display when splashscreen is used If a splashscreen is used the console scrolling used the scroll size as needed when a logo was displayed. This patch sets the scroll size to the whole screen if a splashscreen is shown. Signed-off-by: Matthias Weisser commit daa989b47297c9f73426783599c286ef3a1f3f49 Author: Asen Dimov Date: Thu Mar 18 13:41:47 2010 +0200 correct a syntax typo in at91_matrix.h Signed-off-by: Asen Dimov commit 322ff395c9aec7b87a2211fe4333fdf44377c564 Author: Jeff Angielski Date: Wed Mar 17 15:09:26 2010 -0400 env: fix endian ordering in crc table The crc table was being built as little endian for big endian targets. This would cause fw_printenv to always fail with "Warning: Bad CRC, using default environment" messages. Signed-off-by: Jeff Angielski Acked-by: Joakim Tjernlund commit 51c2ac9bb574c1420b993615268392b0c1f829f6 Author: Anatolij Gustschin Date: Tue Mar 16 17:10:08 2010 +0100 mpc5121: cpu/mpc512x/diu.c: fix warnings Fix warnings while compiling with CONFIG_VIDEO enabled: diu.c: In function 'video_hw_init': diu.c:158: warning: 'return' with no value, in function returning non-void diu.c:162: warning: format '%ld' expects type 'long int', but argument 6 has type 'int' diu.c:162: warning: format '%ld' expects type 'long int', but argument 7 has type 'int' Signed-off-by: Anatolij Gustschin commit a74908161a1b37d780d3a826a86807bbc50a3857 Author: Anatolij Gustschin Date: Tue Mar 16 15:29:33 2010 +0100 console.c: fix problem with splashimage If a board uses cfb_console driver and splash image and also defines CONFIG_SILENT_CONSOLE, the user is locked out even if "silent" is not set. It is not possible to get any output, neither on vga console device nor on serial console after redirecting the output to the serial console, since the GD_FLG_SILENT flag remains set. Fix the problem by redirecting the output from frame buffer to serial console if splashimage is used. Only suppress the output if "silent" environment variable was set and don't set the GD_FLG_SILENT flag arbitrarily. Signed-off-by: Anatolij Gustschin commit 5647f78d04174b0b99857d2a7cbf25141bd14a45 Author: Thomas Weber Date: Sat Mar 13 23:14:45 2010 +0100 mod change 755 => 644 for multiple files I executed 'find . -name "*.[chS]" -perm 755 -exec chmod 644 {} \;' Signed-off-by: Thomas Weber Add some more: neither Makefile nor config.mk need execute permissions. Signed-off-by: Wolfgang Denk commit 99c006a320ceb9ea19135ac1512e4a81e8bebb72 Author: Stefano Babic Date: Sat Mar 13 21:09:00 2010 +0100 mxcmmc: fix warnings due to access 32 bit registers with 16 bit accessors Some registers of the mxcmmc driver were accessed using 16 bit accessor functions, because only the LSB is significant. This is not needed and generates warnings. Signed-off-by: Stefano Babic commit c96f86eefc215b67dd222694ce2b6f60e6a42b0b Author: Wolfgang Denk Date: Sun Jan 17 23:55:53 2010 +0100 TFTP: allow for adjustable retransmission timout So far, TFTP negotiated a fixed retransmission timeout of 5 seconds. In some cases (busy networks, slow TFTP servers) this caused very slow transfers. A new environment variable "tftptimeout" allows to set this timeout. Lowering this value may make downloads succeed faster in networks with high packet loss rates or with unreliable TFTP servers. Signed-off-by: Wolfgang Denk Cc: Ben Warren Signed-off-by: Ben Warren commit 252b404d954f91499a4477a3e1064eb237ce5a1c Author: Wolfgang Denk Date: Tue Mar 9 14:27:25 2010 +0100 Fix PCI_BASE_ADDRESS_5 handling in pci_hose_config_device() Signed-off-by: FUJITA Kazutoshi Signed-off-by: Acked-by: Stefan Roese commit 9d90a93d367272ee65550c0c9f82615cec967c70 Author: Frans Meulenbroeks Date: Thu Feb 25 14:03:08 2010 +0100 cmd_mmc remove \n This patch removes the \n after the help message for mmcinfo. This resulted in an empty line being displayed after the mmcinfo line when the help command was given. Signed-off-by: Frans Meulenbroeks commit 67c7189dd35cb368ef665126fd17816581bd2e92 Author: Renato Andreola Date: Tue Mar 16 16:01:29 2010 -0400 nios2: Added support to YANU UART Signed-off-by: Scott McNutt commit 1e67fb32fbdae7949bb423c9e20b3f77c0a61663 Author: Thomas Chou Date: Tue Mar 16 12:12:48 2010 -0400 nios2: use generic unaligned.h Signed-off-by: Scott McNutt commit 05022629a2ca6c385dc390d32c20aa27cf5d915a Author: Mike Frysinger Date: Thu Jan 21 05:01:15 2010 -0500 asm-blackfin/unaligned.h: add for zlib code The new zlib code wants asm/unaligned.h, so have the Blackfin version pull in the asm-generic/unaligned.h. Signed-off-by: Mike Frysinger commit 3adc1fda38a6aacd4aaf3c2c9cc62a1e69e6de17 Author: Mike Frysinger Date: Thu Jan 21 05:01:14 2010 -0500 asm-generic/unaligned.h: dynamic default unaligned accesses This is based on the asm-arm/unaligned.h, but made generic so all arches that cannot do unaligned accesses can utilize it. Signed-off-by: Mike Frysinger commit be129aa71882421ad0b50cd3762915d10ace27ad Author: Matthias Weisser Date: Tue Jan 12 12:06:31 2010 +0100 video: Fix console display when splashscreen is used If a splashscreen is used the console scrolling used the scroll size as needed when a logo was displayed. This patch sets the scroll size to the whole screen if a splashscreen is shown. Signed-off-by: Matthias Weisser commit 93910edb595a88d394da3eb2cf5148096155dfe9 Author: Wolfgang Denk Date: Fri Mar 12 23:06:04 2010 +0100 Prepare v2010.03-rc1 Coding style cleanup, update CHANGELOG. Signed-off-by: Wolfgang Denk commit 4e72fb15c9073129e05820cc9c54f54bc4985835 Author: Wolfgang Denk Date: Fri Mar 12 22:11:00 2010 +0100 standalone eepro100_eeprom: fix build error Building examples/standalone/eepro100_eeprom triggers this error: In file included from include/common.h:629, from eepro100_eeprom.c:24: include/net.h: In function 'NetReadIP': include/net.h:430: warning: implicit declaration of function 'memcpy' eepro100_eeprom.c: At top level: eepro100_eeprom.c:81: error: conflicting types for 'memcpy' include/net.h:430: error: previous implicit declaration of 'memcpy' was here Fix this. Signed-off-by: Wolfgang Denk commit 1bb1809558e11eb089fba32caed9fc99d21477c1 Author: Wolfgang Denk Date: Fri Mar 12 22:10:31 2010 +0100 Update .gitignore's: add some generated files Signed-off-by: Wolfgang Denk commit 9c9cbe78dcb0afad081670cb1bdc82d227095cae Author: Detlev Zundel Date: Mon Mar 8 14:02:57 2010 +0100 mpc82xx: Remove SL8245 board and the now orpahned sk98lin network driver. This code has compile problems and the company does not even exist any more. So we take the liberty to drop support for it. Signed-off-by: Detlev Zundel CC: Wolfgang Denk CC: Ben Warren commit ca02f6f8dc4966b2a019b15e01b5070189327df2 Author: Kumar Gala Date: Wed Mar 10 17:16:48 2010 -0600 85xx: Drop FIT support to allow u-boot image to fit in 512k The 36-bit build exceeds the 512k size we have. Removing FIT type image support allows us to fit and we dont really use it. Signed-off-by: Kumar Gala commit 5f8419597f427aaf9bb501460735d703d10db5ee Author: Michael Zaidman Date: Sun Feb 28 16:28:25 2010 +0200 Cosmetic change - indentation correction. Signed-off-by: Michael Zaidman commit a693447ceadff49155e260cbbaef4e09c926cab5 Author: Anatolij Gustschin Date: Wed Feb 24 00:29:44 2010 +0100 cmd_mtdparts.c: prevent printbuffer overflows The length of configured MTDPARTS_DEFAULT string could be greater than console printbuffer size. Replace printf() by puts() to avoid potential buffer overflows. Signed-off-by: Anatolij Gustschin commit 3920bbedcf74a073bc72950a51de75af6faa2f06 Author: Frans Meulenbroeks Date: Fri Feb 19 11:59:04 2010 +0100 Fix MPC8536DS documentation This patch corrects small mistake in the register list in doc/README.mpc8536ds. These registers are 32 bits and this one starts at ....c not ....e When using the ...c address I can boot from sd, when using the ...e address I cannot. Signed-off-by: Frans Meulenbroeks Acked-by: Hu Mingkai commit ab68f4dd193053c0ba395af15b154caca35e99f3 Author: Heiko Schocher Date: Wed Feb 10 08:03:21 2010 +0100 doc: add README for CONFIG_HWCONFIG option Signed-off-by: Heiko Schocher commit 7026ead0d3ece5e43d6b39f62fb5c4306f691224 Author: Heiko Schocher Date: Tue Feb 9 15:50:27 2010 +0100 TQM8xx: enable device tree support on all TQM8xx based boards. Also enable support for CONFIG_HWCONFIG because we use this for configuring if this hardware has a FEC or not. syntax: hwconfig=fec:on if hardware has an fec hwconfig=fec:off if hardware has no fec Signed-off-by: Heiko Schocher Signed-off-by: Wolfgang Denk commit 6ed3b9d44c359bc829e9acd0a55fcd1c3e82b6ae Author: Heiko Schocher Date: Tue Feb 9 15:50:21 2010 +0100 TQM8xx: add device tree support for TQM8xx based boards. Also use hwconfig to configure whether the board has a FEC or not. We then can adjust the DTS to tell Linux if there is a FEC present. syntax: hwconfig=fec:on if hardware has a FEC hwconfig=fec:off if hardware has no FEC Signed-off-by: Heiko Schocher Signed-off-by: Wolfgang Denk commit 143cd21fe22e69bf0cdaefd57be98f07ed8f04fa Author: Wolfgang Denk Date: Thu Mar 11 23:56:03 2010 +0100 Move CONFIG_UPDATE_TFTP code after CONFIG_PREBOOT The auto-update feature (CONFIG_UPDATE_TFTP) requires that the env variable serverip be set for the TFTP access. If DHCP is to be used to get the serverip env variable, this doesn't work as DHCP happens after the auto-update attempt has run. A solution is to run DHCP in PREBOOT, but even this is too late. To solve this, we move update_tftp() below the PREBOOT stuff. Signed-off-by: Wolfgang Denk commit 1b691bb0c2fa18c9b68f15398ef6c8b9e0c0f3e3 Author: Mike Frysinger Date: Mon Jan 25 18:50:11 2010 -0500 mkimage: dont force entry point with xip Some people boot images with the entry point in the middle of the blob (like Linux with the head code in discardable .init.text), and there is no no real requirement that the entry point be right after the mkimage header when doing XIP, so let people specify whatever they want. If they do need an entry right after the header, then they still can do that with normal -e behavior. Signed-off-by: Mike Frysinger commit 4b99327a4121a28d2bdb2c2b841f5d97931ae905 Author: Richard Retanubun Date: Fri Jan 15 10:06:06 2010 -0500 PPC: Record U-Boot's relocated address in RAM and show in bdinfo. This patch uses gd->relocaddr variable to store uboot's relocated address in RAM and shows it in bdinfo command. This patch moves CONFIG_AMIGAONEG3SE style copying of the address in board_init_f to just before relocation is actually done. Signed-off-by: Richard Retanubun Tested-by: Detlev Zundel commit 8c4444ff5e1d8e9fd1a847a2fb096aa9aff66f85 Author: Wolfgang Denk Date: Thu Mar 11 23:35:43 2010 +0100 Fix memory leak in mmc_read() There is be a path through mmc_read in drivers/mmc/mmc.c where malloc'd memory is not freed before exiting mmc_read: it occurs if mmc_set_blocklen() returns a non-zero value. Reported-by: Quentin Armitage Signed-off-by: Wolfgang Denk commit 6258b04e9a41ee60f21547358a58fbcb9087735d Author: Daniel Gorsulowski Date: Thu Feb 11 14:57:04 2010 +0100 AT91: Update otc570 board to new SoC access * convert otc570 board to use c stucture SoC access * change gpio access to at91_gpio syntax Signed-off-by: Daniel Gorsulowski commit 7cedb29872069e782f9f97cef4ab1232736e4c85 Author: Jens Scharsig Date: Sun Feb 14 12:20:43 2010 +0100 updates the at91 main_clock calculation * updates the conditional main_clock calculation (if AT91_MAIN_CLOCK defined) to c structure SoC access * add need register flags Signed-off-by: Jens Scharsig commit 637833c2d669f9a370706e275e7103454c3c83ec Author: Prafulla Wadaskar Date: Wed Mar 3 15:27:37 2010 +0530 arm: kirkwood: suen3: fixed build warning This patch fixes following build warning Invalid Kwbimage command Type - valid names are: BOOT_FROM, NAND_ECC_MODE, NAND_PAGE_SIZE, SATA_PIO_MODE, DDR_INIT_DELAY, DATA, , spi, nand, sata, pex, uart Signed-off-by: Prafulla Wadaskar commit e4d34492017c95e4041ea0c581e1ab8d1d49381b Author: Stefano Babic Date: Fri Mar 5 17:54:37 2010 +0100 MX51: removed warnings for the mx51evk The patch removes warnings at compile time and provides some cleanup code: - Removed comment on NAND (not yet supported) from lowlevel_init.S - Removed NFMS bit definition from imx-regs.h The bit is only related to MX.25/35 and can lead to confusion - Moved is_soc_rev() to soc specific code (removed from mx51evk.c) Signed-off-by: Stefano Babic commit 9d69e33d8d0f112fe3a089101d023e87431684d1 Author: Vipin Kumar Date: Tue Mar 2 10:46:52 2010 +0530 SPEAr : Supporting new mach ids for spear310 and spear320 Supporting new machine ids for SoCs spear310 and spear320 include/asm-arm/mach-types.h has to be updated before applying this patch for build to work Signed-off-by: Vipin Kumar commit cc0b53c8d5d6a3f14f36982552bc3feb8ecb1db5 Author: Heiko Schocher Date: Mon Mar 1 15:58:18 2010 +0100 arm, suen3: fix compile error, if doing not a local build Signed-off-by: Heiko Schocher commit 67fa8c25f5c2d23932c0f31b035281d6abbb0965 Author: Heiko Schocher <[hs@denx.de]> Date: Mon Feb 22 16:43:02 2010 +0530 arm: add support for the suen3 board from keymile Add support for the ARM part of the mgcoge2, named suen3. This board is based on the Marvell Kirkwood (88F6281) SoC. As there come more board variants, common config options are collected in include/configs/km_arm.h. Also, this board use common code for all keymile boards, which is stored in board/keymile/common/common.c Signed-off-by: Holger Brunck Signed-off-by: Stefan Roese Signed-off-by: Heiko Schocher commit 6895d4510a7758595b85b48a7f449bd61dfc812f Author: John Rigby Date: Mon Jan 25 23:12:58 2010 -0700 Add support for KARO TX25 board This is an i.MX25 base board with only NAND so it uses nand_spl to boot. Signed-off-by: John Rigby Tune configuration, add support for (redundant) environment in NAND. Signed-off-by: Wolfgang Denk Acked-by: Wolfgang Denk CC: Fred Fan CC: Tom commit 740d6ae5b982496fcea0666b2207cb34cc0e6015 Author: John Rigby Date: Mon Jan 25 23:12:57 2010 -0700 fec_mxc: add MX25 support Use RMII for MX25 Add code to init gasket that enables RMII Signed-off-by: John Rigby CC: Ben Warren commit cb17b92de03416cf4d5db5bd27ef4ae17f95e707 Author: John Rigby Date: Mon Jan 25 23:12:55 2010 -0700 fec_mxc: cleanup and factor out MX27 dependencies general cleanup move clock init to cpu_eth_init in cpu/arm926ejs/mx27/generic.c make MX27 specific phy init conditional on CONFIG_MX27 replace call to imx_get_ahbclk with one to imx_get_fecclk and define imx_get_fecclk in include/asm-arm/arch-mx27/clock.h Signed-off-by: John Rigby CC: Ben Warren CC: Fred Fan CC: Tom commit 552ff8f1d9fccf57243a01afe6dbebb982867e20 Author: John Rigby Date: Mon Jan 25 23:12:56 2010 -0700 Add support for Freescale MX25 SOC ARM926EJS core with MX31 peripherals. Signed-off-by: John Rigby Earlier Version Signed-off-by: Wolfgang Denk CC: Fred Fan CC: Tom commit e911c983f4a8d588f831806af37eb56c95512d5d Author: John Rigby Date: Mon Jan 25 23:12:51 2010 -0700 mxc_serial replace platform specific clock remove ifdef'd clock selection code from serial_mxc.c and replace with call to imx_get_uartclk Add definitions for imx_get_uartclk to imx31 and imx27 include files. This makes it easier to add new imx platforms. Signed-off-by: John Rigby commit c5fb70c9114bd0a8289444d3d5c7e360eda08232 Author: Stefano Babic Date: Fri Feb 5 15:13:58 2010 +0100 Add initial support for Freescale mx51evk board The patch adds initial support for the Freescale mx51evk board. Network (FEC) and SD controller (fsl_esdhc) are supported. Signed-off-by: Stefano Babic Signed-off-by: Fred Fan commit c67bee1460a0da89ef08cbc28375171acc9a4227 Author: Stefano Babic Date: Fri Feb 5 15:11:27 2010 +0100 fsl_esdhc: add support for mx51 processor The esdhc controller in the mx51 processor is quite the same as the one in some powerpc processors (MPC83xx, MPC85xx). This patches adapts the driver to support the arm mx51. Signed-off-by: Stefano Babic commit 69df00f9d9c2f45b4576d1eae79bfac8bebb8821 Author: Stefano Babic Date: Fri Feb 5 15:07:33 2010 +0100 ARM: add accessors functions Some Freescale's processors of different architecture have the same peripheral (eSDHC controller in PowerPC and i.MX51). This patch adds accessors for the internal registers of the SOCs, as already implemented in the PowerPC architecture. Signed-off-by: Stefano Babic commit 11fdade294b4d60c19ae861515aabddca1278deb Author: Stefano Babic Date: Fri Feb 5 15:04:43 2010 +0100 MMC: add weak function to detect MMC/SD card Most controllers can check if there is a card in the slot. However, they require pins that could be not available because required by other functions and the detection of a card must be performed in another way. This patch adds a weak function that a board can implement to add its internal custom way to check the presence of a MMC/SD card. Signed-off-by: Stefano Babic commit 250de12bc2f7842807d25e16971c5bea59c3a4b1 Author: Stefano Babic Date: Wed Jan 20 18:20:39 2010 +0100 mmc: check correctness of the voltage mask in ocr Most cards do not answer if some reserved bits in the ocr are set. However, some controllers can set bit 7 (reserved for low voltages), but how to manage low voltages SD card is not yet specified. Signed-off-by: Stefano Babic commit 71d64c0e4fa5910c15eca175a8f3b0e1c1d6711c Author: Stefano Babic Date: Wed Jan 20 18:20:19 2010 +0100 serial_mxc: add support for MX51 processor The patch adds support for the Freescale mx51 processor. Signed-off-by: Stefano Babic Signed-off-by: Fred Fan commit 67adcee0e091f0935e7dd722404d2a864cdecbe7 Author: Stefano Babic Date: Wed Jan 20 18:20:04 2010 +0100 MX51: Add pin and multiplexer definitions. The patch add header files to support the pin multiplexer of the the Freescale i.MX51 processor. Signed-off-by: Stefano Babic Signed-off-by: Fred Fan commit fb87a1ed9205bf5f843e1f264198ce946602deda Author: Stefano Babic Date: Wed Jan 20 18:19:51 2010 +0100 MX51: Add register definitions The patch add header files to support the Freescale i.MX51 processor, setting definitions for internal registers. Signed-off-by: Stefano Babic Signed-off-by: Fred Fan commit 64fdf452a85718935d82416d141be144b262c542 Author: Stefano Babic Date: Wed Jan 20 18:19:32 2010 +0100 MX51: Add initial support for the Freescale MX51 The patch add initial support for the Freescale i.MX51 processor (family arm cortex_a8). Signed-off-by: Stefano Babic Signed-off-by: Fred Fan commit 18ba012b9b919a7c264dc6299f954d7f53d06605 Author: Matthias Kaehlcke Date: Wed Feb 24 19:45:39 2010 +0100 edb93xx: Fix SDRAM initialization edb93xx: Fix SDRAM initialization by issuing a precharge all command before forcing the precharge and select mode register update mode before programming the mode registers. Write to the SDRAM banks in order to force a precharge, reading causes the edb93xx boards to hang Signed-off-by: Matthias Kaehlcke commit cade7d9577d4d17f55404b5e60cd5e5b0b605c31 Author: Anders Darander Date: Thu Feb 25 15:57:03 2010 +0100 Add bootcount to AT91 Use AT91_GPBR 3 as a bootcount register. The bootmagic and the bootcount shares AT91_GPBR 3. Signed-off-by: Anders Darander commit 5f353484093876d7021f20fa4bd63f82d32941b9 Author: Tom Rix Date: Thu Feb 25 12:05:32 2010 -0600 ARM Update mach-types Fetched from http://www.arm.linux.org.uk/developer/machines/download.php And built with repo http://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur/linux-2.6-arm commit aea187c46f7d03ce985e55eb1398d0776a15b928 Signed-off-by: Tom Rix commit c7ad13a24295ded880d7bcd17181df4a5f3bac58 Author: Matthias Kaehlcke Date: Wed Feb 24 00:22:09 2010 +0100 ep93xx: Refactoring of timer code ep93xx: Refactoring of the timer code, including the following changes * use a free running timer instead of a periodical one * use unsigned long long for total number of ticks * hold the timer state in a structure instead of separate variables * increment the timer counter instead of decrementing it * remove unused function udelay_masked() * remove unused function set_timer() Signed-off-by: Matthias Kaehlcke commit d9f505e3cddbb7afce26dcfe0fd19b207ee57c09 Author: Matthias Kaehlcke Date: Wed Feb 24 00:22:00 2010 +0100 ep93xx: Fix calculation of sys ticks in clk_to_systicks() ep93xx: Use unsigned long long for calculation of sys ticks in clk_to_systicks() for proper handling of large intermediate values Signed-off-by: Matthias Kaehlcke commit 041d42e789aba20296ffcde92173f100a9592880 Author: Siarhei Siamashka Date: Tue Feb 23 23:56:36 2010 -0500 OMAP3: workaround for ARM Cortex-A8 erratum 725233 725233: PLD instructions executed with PLD data forwarding enabled can result in a processor deadlock This deadlock can happen when NEON load instructions are used together with cache preload instructions (PLD). The problematic conditions can be triggered in-the-wild by NEON optimized functions from pixman library (http://cgit.freedesktop.org/pixman), which perform dynamic adjustment of prefetch distance. The workaround disables PLD data forwarding by setting PLD_FWD bit in L2 Cache Auxiliary Control Register as recommended in ARM Cortex-A8 errata list. The deadlock can only happen on r1pX revisions of Cortex-A8 (used in OMAP34xx/OMAP35xx). Performance impact of the workaround is practically non-existant. Signed-off-by: Siarhei Siamashka Signed-off-by: Sandeep Paulraj commit 7c966a8bdfdab80cafbfed035d7ae6ea6f58f756 Author: Achim Ehrlich Date: Wed Feb 24 10:29:16 2010 +0100 ARM change name of defines for AT91 arm926ejs Configuration defines should be preceeded with CONFIG_SYS_. Renamed some at91 specific defines to conform to this naming convention: AT91_CPU_NAME to CONFIG_SYS_AT91_CPU_NAME AT91_MAIN_CLOCK to CONFIG_SYS_AT91_MAIN_CLOCK Signed-off-by: Achim Ehrlich commit 5c97a1de196fdcbe9d098948ecf4fccfbea23b78 Author: Ladislav Michl Date: Wed Feb 17 21:29:45 2010 -0500 VoiceBlue: fix linker errors linking eeprom with libgeneric.a is not really needed and causes following error: ../../lib_generic/libgeneric.a(string.o): In function `strcmp': /home/ladis/src/u-boot-ti/lib_generic/string.c:152: multiple definition of `strcmp' ../../examples/standalone/libstubs.a(stubs.o):include/_exports.h:24: first defined here make[1]: *** [eeprom.srec] Error 1 Fix undefined reference to memset generated by some versions of gcc to zero out initialized structure on the stack: eeprom.o: In function `eeprom': board/voiceblue/eeprom.c:152: undefined reference to `memset' make[1]: *** [eeprom] Error 1 Signed-off-by: Ladislav Michl Signed-off-by: Sandeep Paulraj commit a32c1e0ecd563c65c617b0eb9080a10d286bb0b4 Author: Ladislav Michl Date: Wed Feb 17 21:29:39 2010 -0500 VoiceBlue: limit line lenght to 80 characters Reindent configuration header to limit line lenght to 80 characters by removing obvious and sometimes misleading comments. Signed-off-by: Ladislav Michl Signed-off-by: Sandeep Paulraj commit 779b534385adf0a1efdd8b40dbacae11598575b8 Author: Ladislav Michl Date: Wed Feb 17 21:13:53 2010 -0500 netstar.h: do not exceed 80 columns Limit line length to 80 characters mostly by removing obvious and sometimes misleading comments. Fix indentation, too. Signed-off-by: Ladislav Michl Signed-off-by: Sandeep Paulraj commit 3fca29294abd73915de2bd0fcf2650e03cc9becc Author: Sandeep Paulraj Date: Wed Feb 17 21:09:21 2010 -0500 DaVinci: Adding entry to MAKEALL for DM365 EVM The patch adds an entry for the DM365 EVM to MAKEALL Signed-off-by: Sandeep Paulraj commit 37cffdad06af5a4538dd090794f213292135adbc Author: Nick Thompson Date: Wed Feb 17 20:37:24 2010 -0500 da830evm: Add support for TI EMAC Adds support for ethernet networking on the da830evm platform. This platform uses an SoC EMAC interface and a 3 port ethernet switch as a PHY with an RMII interface. The PHY also has a i2c interface for configuring the switch functions. Signed-off-by: Nick Thompson Signed-off-by: Sandeep Paulraj commit d8775d03f3f0116241cfb45c7ef27fd080904c4a Author: Ladislav Michl Date: Mon Feb 8 14:19:06 2010 -0500 NetStar: make mtdparts default ready for recent kernels Recent kernels are using generic NAND and NOR drivers. Change default mtdparts to reflect it. Signed-off-by: Ladislav Michl Signed-off-by: Sandeep Paulraj commit de9a1e0d08301ea4925ee137af240424b107a608 Author: Ladislav Michl Date: Mon Feb 8 14:17:45 2010 -0500 NetStar: fix default environment Correct switching partitions after upgrade and make it more readable. Signed-off-by: Ladislav Michl Signed-off-by: Sandeep Paulraj commit 3a67566c1def7d2eb935b31b3b282ba893c3f330 Author: Ladislav Michl Date: Mon Feb 8 14:15:47 2010 -0500 NetStar: eeprom - fix linker error linking eeprom with libgeneric.a is not really needed and causes following error: ../../lib_generic/libgeneric.a(string.o): In function `strcmp': lib_generic/string.c:152: multiple definition of `strcmp' ../../examples/standalone/libstubs.a(stubs.o):include/_exports.h:24: first defined here Remove eeprom linker script as well and generate entry point object (to start application by jumping on its beginning) on the fly. Out-of-tree build tested as well. Signed-off-by: Ladislav Michl Signed-off-by: Sandeep Paulraj commit 308d463eaf6f4ada00193306a6e643298d1990d8 Author: Ladislav Michl Date: Mon Feb 8 14:15:43 2010 -0500 NetStar: eeprom - be less verbose Use shorter yet descriptive messages, replace printf() with puts() where appropriate. This saves few bytes. Signed-off-by: Ladislav Michl Signed-off-by: Sandeep Paulraj commit b29ff6277239f5c8bc9366e74afac5a36ab3b23e Author: Ladislav Michl Date: Mon Feb 8 14:15:15 2010 -0500 NetStar: eeprom - undefined reference to `memset' Defining partially initialized struct eth_device on stack means gcc has to zero out it, and some gcc versions optimize this with an implicit call to memset. Move definition to data section to avoid that (it has also nice side effect that we need not to pass it to helper functions anymore) Signed-off-by: Ladislav Michl Signed-off-by: Sandeep Paulraj commit 8f9a221045a4ace14fe006e1353c593619d1001a Author: Wolfgang Wegner Date: Tue Mar 2 10:59:19 2010 +0100 ] fix monitor protection for CONFIG_MONITOR_IS_IN_RAM For platforms with flash below ram addresses, the current check to activate monitor protection is wrong/insufficient. This patch fixes CONFIG_MONITOR_IS_IN_RAM for these systems by adding a check for this configuration. Signed-off-by: Wolfgang Wegner Signed-off-by: Stefan Roese commit c7de810c79a00aa6fc08900ee0bb57bd295db733 Author: Wolfgang Wegner Date: Tue Mar 2 10:59:20 2010 +0100 allow MCF532x to use CONFIG_MONITOR_IS_IN_RAM CONFIG_MONITOR_IS_IN_RAM is broken for MCF532x. This patch fixes this by conditionally - removing the vector table at the beginning of code - not overwriting the vector base register - removing the code to re-set the PLL, which effectively disables SDRAM access Signed-off-by: Wolfgang Wegner commit bb907ab51fd04255923b7ecf9dab352078808351 Author: Richard Retanubun Date: Mon Oct 26 14:19:17 2009 -0400 MCF5271-only: Added a weak board_reset function to allow custom reset This patch adds a board_reset function to allow boards to specify their own custom reset sequence (e.g. resetting by timing out watchdog). Tested only on MCF5271, can be expanded if needed. Based on Mike Frysinger's suggestion on: http://article.gmane.org/gmane.comp.boot-loaders.u-boot/70304 Signed-off-by: Richard Retanubun commit 992d7129500d239d684c15fa2d61e0a8f2e64457 Author: Wolfgang Wegner Date: Wed Oct 28 15:11:00 2009 -0500 MCF532x: make icache_enable use CONFIG_SYS_SDRAM_SIZE in cpu/mcf532x/start.S, the function icache_enable enables the cache for a fixed 32MB region starting at the SDRAM start address; this patch changes the function to cover the region defined by CONFIG_SYS_SDRAM_SIZE Signed-off-by: Wolfgang Wegner commit 870bf3ee60320b58f8970ffe3ddebda0e8ac62f7 Author: Wolfgang Wegner Date: Wed Dec 9 17:32:12 2009 -0500 add include/asm-m68k/unaligned.h lib_generic/zlib.c needs include/asm/unaligned.h since commit cd514aeb996e2f7aefbe1f78481965d9d074aed4, which broke compilation for Coldfire/M68K. This patch adds the missing header for these architectures. Signed-off-by: Wolfgang Wegner commit da5e083590bb62ca6d7f08d3714d07ba736da863 Author: Nobuhiro Iwamatsu Date: Mon Feb 8 11:50:16 2010 +0900 sh: Add asm/unaligned.h and asm/unaligned-sh4a.h from Linux kernel zlib.c demands asm/unaligned.h. But, SH does not have these. This commit add asm/unaligned.h and asm/unaligned-sh4a.h from Linux kernel and modifyf for u-boot. Signed-off-by: Nobuhiro Iwamatsu commit fe389da6ae739816879606ecde4ab25f4292377d Author: Kim Phillips Date: Mon Mar 1 11:10:17 2010 -0600 mpc83xx: fix out-of-tree mpc8315 nand build commit 2e95004deb6e33e33bf1b8a92a38cd2115bac4c2 "mpc83xx: Add NAND boot support for MPC8315E-RDB boards" symlinked nand_spl/board/freescale/mpc8315erdb to mpc8313erdb in order to not duplicate code. Since the main makefile builds nand_spl/board/$(BOARDDIR) (which makes sense), and the board Makefile and linker script are the only two necessary files to enable out-of-tree building, and other boards have duplicated nand makefiles (e.g. 8536ds & 8569mds), it only seems prudent to copy these two files in the name of the 8315 too. Signed-off-by: Kim Phillips Cc: Anton Vorontsov Cc: Wolfgang Denk commit 4e7e12dfa103cb8ec6dc7547dd1c9976337dc1fd Author: Kim Phillips Date: Mon Feb 22 19:39:16 2010 -0600 mpc83xx: vme8349: fix incorrect BR0_PRELIM port size comment commit 98d92d8c9f4021629a45261ad5ec3f3595f3a27a "sbc8349: fix incorrect comment" missed this one. Signed-off-by: Kim Phillips commit 87800f72414b830756aefc757dd191688febacf9 Author: Eugene O'Brien Date: Wed Feb 24 14:10:24 2010 -0500 ppc4xx: Corrected EBC register bit definitions Corrected the bit field positions of the external master priority low and the external master priority high values in the EBC configuration register. These bit field positions differ between PPC405 and PPC440 processors Signed-off-by: Eugene O'Brien Signed-off-by: Stefan Roese commit f3651764e57e353251695691677bd95ba5a420bc Author: Frans Meulenbroeks Date: Mon Feb 22 22:49:06 2010 +0100 cmd_itest.c: fix pointer dereferencing fix pointer dereferencing if the size is .b and .w an 8 or 16 bit access is done. Signed-off-by: Frans Meulenbroeks Acked-by: Detlev Zundel commit 0ad22703f06af5fe100cfe6f08b1f32ea89cd5b1 Author: Kim Phillips Date: Mon Feb 22 19:37:56 2010 -0600 tools: fix imximage warning Fix build warning: Configuring for MPC837XEMDS board... imximage.c: In function `imximage_parse_cfg_file': imximage.c:146: warning: passing argument 2 of `getline' from incompatible pointer type /usr/include/bits/stdio.h:116: note: expected `size_t *' but argument is of type `uint32_t *' Signed-off-by: Kim Phillips commit 5b28e913f4519870ad2ca06cd7845b053f78bf0f Author: Stefano Babic Date: Fri Feb 5 15:16:02 2010 +0100 mkimage: SEGFAULT with imximage on 64 bit systems Running mkimage to generate an imximage produces a SEGFAULT on 64 bit machines due to pointer arithmetic limited to 32 bit. Signed-off-by: Stefano Babic Acked-by: Kim Phillips commit ecd1a09b81f2ed6e6ba7bd1d0bfb0cc3d0ea2ad0 Author: Kim Phillips Date: Thu Feb 18 19:28:12 2010 -0600 mpc83xx: remove hardcoded network addresses from config files and avoid e.g., two identical boards from causing random networking conflicts when hooked up to the same network. Signed-off-by: Kim Phillips commit 4c006dd1501283eecaea813a0e5e225e9ee6fdeb Author: Michael Zaidman Date: Mon Feb 15 10:02:32 2010 +0200 Bug: do_reset issued via netconsole does not reset mpc83xx cpu. The do_reset routine in the cpu/mpc83xx/cpu.c file does not reset the mpc83xx cpu when issued via netconsole. Moving the console output "resetting the board." to the beginning of the routine before disabling interrupts solved the problem. Signed-off-by: Michael Zaidman Acked-by: Detlev Zundel Signed-off-by: Kim Phillips commit 77e7273c40315abd2f3c17ad8d46a78950e3e65f Author: Jens Scharsig Date: Wed Feb 3 22:48:09 2010 +0100 new board (eb_cpux9k2) * new board (eb_cpux9k2) * support for EB+CPUx9K2 board by BuS Elektronik GmbH & Co. KG * select via make eb_cpux9k2_config * this also demonstrates, how to use boards with AT91RM9200 cpu in at91 arch tree Signed-off-by: Jens Scharsig commit 6799a80f7644d78988187390dfd37352f20ad710 Author: Jens Scharsig Date: Wed Feb 3 22:47:57 2010 +0100 new at91_emac network driver (NET_MULTI api) * add's at91_emac (AT91RM9200) network driver (NET_MULTI api) * enable driver with CONFIG_DRIVER_AT91EMAC * generic PHY initialization * modify AT91RM9200 boards to use NET_MULTI driver * the drivers has been tested with LXT971 Phy and DM9161 Phy at MII and RMII interface Signed-off-by: Jens Scharsig commit 98250e8e17fc76b3981708c6e63d41f875bf0359 Author: Jens Scharsig Date: Wed Feb 3 22:47:35 2010 +0100 prepare joining at91rm9200 into at91 * prepare joining at91 and at91rm9200 * add modified copy of soc files to cpu/arm920t/at91 to make possible to compile at91rm9200 boards in at91 tree instead of at91rm9200 * add header files with c structure defs for AT91 MC, ST and TC * the new cpu files are using at91 c structure soc access * please read README.soc-at91 for details Signed-off-by: Jens Scharsig commit 1b34f00c28a3023693d9b31e7bd1a9212af8352f Author: Jens Scharsig Date: Wed Feb 3 22:47:18 2010 +0100 update at91sam9263ek board to new SoC access * convert at91sam9263ek board to use c stucture SoC access * change gpio access to at91_gpio syntax Signed-off-by: Jens Scharsig commit 0cf0b93161beb3f3ed5e37e6112aedf15da17e8a Author: Jens Scharsig Date: Wed Feb 3 22:46:58 2010 +0100 convert common files to new SoC access * add's a warning to all files, which need update to new SoC access * convert common files in cpu/../at91 and a lot of drivers to use c stucture SoC access Signed-off-by: Jens Scharsig commit 7f9e8633ac9c846e7e4f867507cbd5de1bd99e0c Author: Jens Scharsig Date: Wed Feb 3 22:46:46 2010 +0100 convert all at91 files to use at91_gpio driver syntax * convert all files cpu/../at91 to use at91_gpio driver syntax * change AT91_PINP([A-F])(\d+) to AT91_PIO_PORT\1, \2 this makes all 160 AT91_PINPxxx defines obsolete * AT91_PINPxxx defines and gpio.h can be remove, if all boards converted to new SoC access Signed-off-by: Jens Scharsig commit ea8fbba73184a40437bdeccd888cf448d5f1105e Author: Jens Scharsig Date: Wed Feb 3 22:46:16 2010 +0100 add a new AT91 GPIO driver * add a real AT91 GPIO driver instead of header inline code * resolve the mixing of port and pins * change board config files to use new driver * add macros to gpio to realize backward compatibility Signed-off-by: Jens Scharsig commit 5d8e359c38d3ab80015e47d0cab792efe75cacf9 Author: Jens Scharsig Date: Wed Feb 3 22:46:01 2010 +0100 add c structures for SoC access * add's c structures for SoC access to pheriperials head files Signed-off-by: Jens Scharsig commit 425de62d40f84524b90e776b141b060cd438a9fe Author: Jens Scharsig Date: Wed Feb 3 22:45:42 2010 +0100 add new CONFIG_AT91_LEGACY * add's the new temporary CONFIG_AT91_LEGACY to all board configs This will need for backward compatiblity, while change the SoC access to c structures. If CONFIG_AT91_LEGACY is defined, the deprecated SoC is used. Signed-off-by: Jens Scharsig commit 3a4e43921d2599453ea87c623099e5f347c9e54a Author: Nick Thompson Date: Mon Feb 8 11:36:16 2010 -0500 DA830 EVM: Enable NAND support on Spectrum Digital EVM The EVM UI extender card has a NAND device. This change will enable saveenv to work with NAND and Linux to be booted using: mtdparts default nboot kernel bootm Signed-off-by: Nick Thompson Signed-off-by: Sandeep Paulraj commit 6228e6389e5ef472d5f43cc5ec4f309323305638 Author: Nick Thompson Date: Mon Feb 8 11:34:58 2010 -0500 Davinci: Add EMIF-A macros for setting chip select parameters The patch adds EMIF-A macros for setting chip select parameters Signed-off-by: Nick Thompson Signed-off-by: Sandeep Paulraj commit b74064a0e2984a166e3575852f3697ef5595a97b Author: Sanjeev Premi Date: Mon Feb 8 11:33:25 2010 -0500 OMAP3: Avoid re-write to PRM_CLKSRC_CTRL In function get_osc_clk_speed(), do not change/ update the divider for SYS_CLK as it can has cascading effect on the other derived clocks. Sudden change in divider value can lead to inconsistent behavior in the system - often leading to crashes. The problem was found when working with OMAP3EVM using DM3730 processor card. The patch has been tested with OMAP3530 on OMAP3EVM as well Signed-off-by: Sanjeev Premi Signed-off-by: Hiremath Vaibhav Signed-off-by: Sandeep Paulraj commit eff536befd3efab538bba10bad07ecff63c9f470 Author: Magnus Lilja Date: Tue Feb 9 22:05:39 2010 +0100 SPI: Fix 32 bit transfers in mxc_spi.c Commit f9b6a1575d9f1ca192e4cb60e547aa66f08baa3f, "i.MX31: fix SPI driver for shorter than 32 bit" broke 32 bit transfers. This patch makes single 32 bit transfer work again. Transfer lengths that are known not to work will abort and print an error message. Tested on i.MX31 Litekit and i.MX31 PDK using 32 bit transfers to the MC13783/ATLAS chip (using the 'date' command). Signed-off-by: Magnus Lilja commit 39a9142203e610bf2b1a216085e374277fd28f9f Author: Alessandro Rubini Date: Sat Feb 6 20:54:05 2010 +0100 edb93xx: enable the uart in devicecfg register printf goes to uart1, but it will block forever waiting for busy to go off unless the uart is enabled first. Signed-off-by: Alessandro Rubini commit 822bd70db49773b4d57eaa484dca83386a6b3479 Author: Alessandro Rubini Date: Sat Feb 6 20:53:54 2010 +0100 edb93xx: change calculation un early_udelay.h Previous code compiled with gcc-4.2.2 makes a call to __aeabi_uidiv to divide by 20. As a side effect it was not inline any more, and so sdram_cfg used the stack as well, but this is early code that has no stack yet. The patch explicitly removes the division, so no stack is used. The calculation of the counter calls a division by 20 Signed-off-by: Alessandro Rubini commit c50a0f503967d435150bbb9f2f816ce33afdf231 Author: Alessandro Rubini Date: Sat Feb 6 20:53:43 2010 +0100 EP93xx: fix syscon_regs definition The structure was missing a reserved entry (not listed in the manual, actually), so the last registers had a wrong offset. This prevented all swlocked registers to be modified as swlock is last in the structure. Signed-off-by: Alessandro Rubini commit fcfb632bd1e9de645b015cf73a78183c299743d8 Author: Matthias Kaehlcke Date: Mon Feb 1 21:29:39 2010 +0100 ARM: Add support for EP93xx SoCs Add support for the Cirrus EP93xx platform Signed-off-by: Matthias Kaehlcke Acked-by: Tom commit cf3c142ee4be0f077f8b84593f1b24b35d14039e Author: Matthias Kaehlcke Date: Mon Feb 1 21:29:48 2010 +0100 Add support for EDB93xx boards Added support for the following EDB93xx boards: EDB9301 EDB9302 EDB9302A EDB9307 EDB9307A EDB93012 EDB9315 EDB9315A Signed-off-by: Matthias Kaehlcke commit d798e27b14543762f9f5d0561a3430c7f9e2153b Author: Ladislav Michl Date: Wed Jan 27 11:12:28 2010 -0500 NetStar: Remove debug junk leaked into eeprom utility This patch removes debug junk leaked into eeprom utility. Signed-off-by: Ladislav Michl Signed-off-by: Sandeep Paulraj commit 89e94d81eda9af2e1c35e97125b0c049335c70fc Author: Ladislav Michl Date: Wed Jan 27 11:12:23 2010 -0500 NetStar: make crcit utility more readable This patch makes the crcit utility more readable Signed-off-by: Ladislav Michl Signed-off-by: Sandeep Paulraj commit 3843e7dc934d8ef7c592f5a2106885efe32eac7f Author: Ladislav Michl Date: Wed Jan 27 11:12:08 2010 -0500 NetStar: Disable CONFIG_CMD_JFFS2 This patch removes "CONFIG_CMD_JFFS" from the board config Signed-off-by: Ladislav Michl Signed-off-by: Sandeep Paulraj commit 632e1d9014848ec8d983a629c2e35b4423816336 Author: Tom Rix Date: Wed Jan 27 11:11:55 2010 -0500 OMAP3 Move declaration of gpmc_cfg. Every omap3 board config file declared the global variable gpmc_cfg. This changes moves the declaration to a better location in the arch dependent header file cpu.h. Signed-off-by: Tom Rix Signed-off-by: Sandeep Paulraj commit 093d6018cf0a8dae614c2924c0013d97e2a48662 Author: Scott Ellis Date: Wed Jan 27 11:11:46 2010 -0500 Overo GPMC registers Use appropriate GPMC timings for the LAN9221 controller on the Gumstix Overo expansion boards not the values in arch-omap3/mem.h which are for a different ethernet controller. Signed-off-by: Scott Ellis Signed-off-by: Sandeep Paulraj commit 63a47dfd07536e399665ca7504bac512bf21491e Author: Nick Thompson Date: Wed Jan 27 11:11:28 2010 -0500 da830evm: Use table driven pin mux configuration Tidyup the pin muxer configuration using the Davinci table driven pinmux configuration function and data tables. Signed-off-by: Nick Thompson Signed-off-by: Sandeep Paulraj commit 8ed5885693b39c5c2cca5574dd98d6ad8a982702 Author: Sekhar Nori Date: Wed Jan 27 11:10:40 2010 -0500 TI DaVinci: Driver for the davinci SPI controller This adds a driver for the SPI controller found on davinci based SoCs from Texas Instruments. Signed-off-by: Sekhar Nori Signed-off-by: Sudhakar Rajashekhara Signed-off-by: Sandeep Paulraj commit 44d80256229d05862622f4dd886466fd70fe04ae Author: Daniel Gorsulowski Date: Mon Jan 25 10:50:41 2010 +0100 at91: Add esd gmbh OTC570 board support This patch adds support for esd gmbh OTC570 board. The OTC570 is based on an Atmel AT91SAM9263 SoC. Signed-off-by: Daniel Gorsulowski commit e39bf1e2a9e437174687de687c127ec980a93eeb Author: Mike Frysinger Date: Mon Feb 8 15:30:16 2010 -0500 kgdb: cpu/mpc* cpu/74xx: include kgdb.h when needed Commit cbb0cab1d929839d broke some platforms which used kgdb code but didn't actually include kgdb.h. So include kgdb.h in all the relevant traps code. Signed-off-by: Mike Frysinger commit ab5a0dcb9c8f19e351fc33c5db91469bfb1d9438 Author: Stefan Roese Date: Tue Feb 2 13:43:48 2010 +0100 net: Use 0.5 sec timeout in miiphy_reset() instead of counting loop This patch fixes a problem I've notived on a buggy PPC4xx system. This system has problems with the PHY MDIO communication and seemed to be stuck/crashed in miiphy_reset(). But degugging revealed, that the CPU didn't crash, but "only" hung in this counting loop for about 2 minutes. This patch now uses a real timeout of 0.5 seconds (as mentioned in the comment in miiphy_reset). Signed-off-by: Stefan Roese Signed-off-by: Ben Warren commit 4294b2485bf0e8d68c893190a96bb0e7856b12c4 Author: Stefano Babic Date: Mon Feb 1 14:51:30 2010 +0100 fec_mxc: add support for MX51 processor The patch add support for the Freescale mx51 processor to the FEC ethernet driver. Signed-off-by: Stefano Babic Signed-off-by: Ben Warren commit e66b19ce6dbe6f91b18ba47273cbe89eb5a80e78 Author: Siddarth Gore Date: Tue Jan 19 11:09:07 2010 +0530 NET: kirkwood-egiga smi access fix Although the datasheet mentions seperate smi registers for each port, using Port 1 smi register to access ethernet phys does not work. Hence only Port 0 smi register should be used to access all devices connected to the smi bus. This behavior is consistant with the mv643xx driver in the linux kernel. Signed-off-by: Siddarth Gore Acked-by: Prafulla Wadaskar Signed-off-by: Ben Warren commit a1b322a98319de568b3bc38029ef7e123643c1e8 Author: Ladislav Michl Date: Mon Feb 1 23:34:25 2010 +0100 ns16550: kick watchdog while waiting for a character ns16550 busyloops waiting for incoming byte causing watchdog to reboot while waiting for a key press. A call to WATCHDOG_RESET in NS16550_getc loop fixes it. Signed-off-by: Ladislav Michl commit 84d36b30181acfb72f22d1105c15574b30ea2fa1 Author: Remy Bohmer Date: Mon Feb 1 19:40:47 2010 +0100 USB: usb_control_msg wait for driver ISR to set status. This patch changes usb_control_msg back to the state prior to commit 48867208444cb2a82e2af9c3249e90b7ed4a1751. The USB driver ISR routine may update the status. Signed-off-by: Daniel Hellstrom commit 6e20e64f5c6deb5b48e40a0cba4877f9170545e0 Author: Prathap Srinivas Date: Mon Jan 11 15:36:46 2010 +0530 musb: Add host support for DM365 EVM Add support for musb host on DM365 EVM. Signed-off-by: Prathap Srinivas commit ec2aadb40855cecb088b68c062e3534d6ce39128 Author: Cliff Cai Date: Tue Jan 19 00:10:42 2010 -0500 usb: musb: fix Blackfin DMA register padding The conversion from offsets to C structs lost a little padding in the DMA register map. Accessing endpoints other than ep0 with DMA would fail as the addresses wouldn't be adjusted correctly. Signed-off-by: Cliff Cai Signed-off-by: Mike Frysinger commit d0750bc9e5932baf4c90eda2456106f21a26bdc1 Author: Wolfgang Denk Date: Mon Feb 1 11:36:29 2010 +0100 EXBITGEN: drop support for unmaintained board The EXBITGEN board has not been maintained for a long time; it has build problems, but no hardware is available any more for testing. Drop support for this board. Signed-off-by: Wolfgang Denk Acked-by: Stefan Roese commit 9461a939cabd606d7f0e9b8490b40841af104ff5 Author: Wolfgang Denk Date: Sun Jan 31 22:03:15 2010 +0100 mpc5xxx/cpu_init.c: fix warning: unused variable 'cdm' Signed-off-by: Wolfgang Denk Acked-by: Detlev Zundel commit 13d8bfe26c0dd2c08b76c5f077e800a718859bbc Author: Wolfgang Denk Date: Sun Jan 31 21:58:48 2010 +0100 mpc5xxx/cpu_init.c: fix warning: unused variable 'gpt0' Signed-off-by: Wolfgang Denk Acked-by: Detlev Zundel commit 4710cee1b5292fe077a67cc23193cc43060fbe3d Author: Matthias Fuchs Date: Mon Feb 1 13:54:09 2010 +0100 ppc4xx: Remove unused feature from AR405 board This patch fixes building for AR405 boards by remove an unused feature. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit 976c21ad8e136df0ec361aca0c4bc287c5637c01 Author: Matthias Fuchs Date: Mon Feb 1 13:53:59 2010 +0100 ppc4xx: Fix building for PLU405 boards The init_coupler() function from board/esd/plu405/plu405.c got lost somehow! This patch readds it. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit 59c1db6dab52b981e6ea25a203d0a919ede61ed2 Author: Matthias Fuchs Date: Mon Feb 1 13:53:47 2010 +0100 ppc4xx: Fix building of PMC440 board Remove some unused features and default environment variable to shrink the PMC440 u-boot. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit 6f6c26e430ffae87b6b3d74ba7cbf9439703feea Author: Stefan Roese Date: Tue Jan 26 13:33:29 2010 +0100 ppc4xx: Fix compilation error on ML2 board Recently this compilation error occurs: Configuring for ML2 board... traps.c: In function 'MachineCheckException': traps.c:159: error: 'debugger_exception_handler' undeclared (first use in this function) traps.c:159: error: (Each undeclared identifier is reported only once traps.c:159: error: for each function it appears in.) This patch now fixes it by including kgdb.h Signed-off-by: Stefan Roese commit f3dec798d9ebf7f17c11ec7671b979ce3d251955 Author: Ladislav Michl Date: Thu Jan 28 12:27:14 2010 +0100 CFI: fix eraseregions numblocks eraseregions numblocks was sometimes one less than actual, possibly producing erase regions with zero blocks. As MTD code touches eraseregions only if numeraseregions is greater that zero, allocate eraseregions only for non uniform erase size flash. Signed-off-by: Ladislav Michl Signed-off-by: Stefan Roese commit c041e9d212162f6c85cd3b6a40ad6ba9d9292451 Author: Jens Scharsig Date: Sat Jan 23 12:03:45 2010 +0100 new at91_emac network driver (NET_MULTI api) * add's at91_emac (AT91RM9200) network driver (NET_MULTI api) * enable driver with CONFIG_DRIVER_AT91EMAC * generic PHY initialization * modify AT91RM9200 boards to use NET_MULTI driver * the drivers has been tested with LXT971 Phy and DM9161 Phy at MII and RMII interface Signed-off-by: Jens Scharsig Signed-off-by: Ben Warren commit 594d57d0ccce649d6ccd881b8d9c5ea8d0c307ef Author: Matthias Kaehlcke Date: Sun Jan 31 17:39:49 2010 +0100 Add EP93xx ethernet driver Added ethernet driver for EP93xx SoCs Signed-off-by: Matthias Kaehlcke Signed-off-by: Ben Warren commit 582c55a0274f38e6e7e35b95e7ab81d3e912f700 Author: Heiko Schocher Date: Wed Jan 20 09:04:28 2010 +0100 83xx, uec: split enet_interface in two variables There's no sensible reason to unite speed and interface type into one variable. So split this variable enet_interface into two vars: enet_interface_type, which hold the interface type and speed. Also: add the possibility for switching between 10 and 100 MBit interfaces on the fly, when running in FAST_ETH mode. Signed-off-by: Heiko Schocher Signed-off-by: Ben Warren commit d7e354374c8eb0a5d8b8226b881c5ee276c77a60 Author: Nick Thompson Date: Fri Dec 18 13:33:07 2009 +0000 TI: DaVinci: Updating EMAC driver for DM365, DM646x and DA8XX The EMAC IP on DM365, DM646x and DA830 is slightly different from that on DM644x. This change updates the DaVinci EMAC driver so that EMAC becomes operational on SOCs with EMAC v2. Signed-off-by: Nick Thompson Signed-off-by: Ben Warren commit 0f751d6ef3e6fb1d28ac272c39c34831d629a59e Author: Semih Hazar Date: Thu Dec 17 15:07:15 2009 +0200 macb: Fix mii_phy_read and mii_phy_write functions Enabling CONFIG_CMD_MII in AVR32 boards was not possible due to compile errors. This patch fixes miiphy_read and miiphy_write functions and registers them properly. Signed-off-by: Semih Hazar Signed-off-by: Ben Warren commit 5f6b1442218fcb6a3ef0d2be05d84119cebfe0ae Author: Peter Tyser Date: Mon Nov 9 13:09:48 2009 -0600 tsec: Add TSEC_FIBER flag The TSEC_FIBER flag should be set when a PHY is operating with an external fiber interface. Currently it is only used to notify a user that the PHY is operating in fiber mode. A short description was also added to the other TSEC flag defines so that it is clear how they differ from one another. Signed-off-by: Peter Tyser Signed-off-by: Ben Warren commit 8abb8dcc8d6f2a9e31551a6fa41de97bd1f15350 Author: Peter Tyser Date: Mon Nov 9 13:09:47 2009 -0600 tsec: Add support for using the BCM5482 PHY in fiber mode The BCM5482 PHY supports both copper and fiber as an ethernet medium. By enabling its copper/fiber mode auto-detection feature it can dynamically determine if it should be configured for copper or fiber. Signed-off-by: Peter Tyser Signed-off-by: Ben Warren commit c6dbdfda5393c155bb13a90d9d6be4fe75ec3498 Author: Peter Tyser Date: Mon Nov 9 13:09:46 2009 -0600 tsec: General cleanup - Cleanup formatting of phy_info structures - Fix lines > 80 chars - Fix some random indentation inconsistencies Signed-off-by: Peter Tyser Signed-off-by: Ben Warren commit e1957ef02c0d949c27f7386e5fa509a57e033d5a Author: Peter Tyser Date: Mon Nov 9 13:09:45 2009 -0600 tsec: Make functions/data static when possible This is generally good practice and saves ~150 bytes. Signed-off-by: Peter Tyser Signed-off-by: Ben Warren commit 27165b5c328464b706601b1cd586e359a3dc2f6d Author: Peter Tyser Date: Mon Nov 9 13:09:44 2009 -0600 tsec: Clean up Broadcom PHY status parsing - Remove unnecessary printing "Enet starting in /" This same information is already printed during normal ethernet operation in the form "Speed: 1000, full duplex". - Add a check for link before determining link speed and duplex If there is no link, speed/duplex don't matter. This also removes the annoying and unneeded "Auto-neg error, defaulting to 10BT/HD" message that occurs when no link is detected. - Whitespace and line > 80 characters cleanup Signed-off-by: Peter Tyser Signed-off-by: Ben Warren commit 46e91674fb4b6d06c6a4984c0b5ac7d9a16923f4 Author: Peter Tyser Date: Tue Nov 3 17:52:07 2009 -0600 tsec: Force TBI PHY to 1000Mbps full duplex in SGMII mode In SGMII mode the link between a processor's internal TBI PHY and an external PHY should always be 1000Mbps, full duplex. Also, the SGMII interface between an internal TBI PHY and external PHY does not support in-band auto-negotation. Previously, when configured for SGMII mode a TBI PHY would attempt to restart auto-negotation during initializtion. This auto-negotation between a TBI PHY and external PHY would fail and result in unusable ethernet operation. Forcing the TBI PHY and and external PHY to link at 1000Mbps full duplex in SGMII mode resolves this issue of auto-negotation failing. Note that 10Mbps and 100Mbps operation is still possible on the external side of the external PHY even when SGMII is operating at 1000Mbps. The SGMII interface still operates at 1000Mbps, but each byte of data is repeated 100 or 10 times for 10/100Mbps and the external PHY handles converting this data stream into proper 10/100Mbps signalling. Signed-off-by: Peter Tyser Signed-off-by: Ben Warren commit 76771e595aa2640da8c7b5ea81bd9583ccdab8a1 Author: Seunghyeon Rhee Date: Mon Nov 2 00:00:00 2009 -0800 NET: Fix MAC addr handling for smc911x This patch turns off MAC address mismatch warning when optional eeprom programmed with MAC address is not available. In that case, smc911x's MAC address register has its default value ff:ff:ff:ff:ff:ff and it's not a valid address. This makes eth_initialize() show the warning which has no meaningful information while environment variable ethaddr overrides the address read from the register. If there's no eeprom and the value of MAC address register is not valid after initialization, dev->enetaddr had better not be updated and maintain its initial value 00:00:00:00:00:00, which I think is what eth_initialize() expects. This is not a bug fix. Even without this patch, the driver works fine. It's just for enhancing the way of displaying messages. Signed-off-by: Seunghyeon Rhee Signed-off-by: Ben Warren commit 07c966066b977b24f4b08b1684eed130f463b4c6 Author: Matthias Kaehlcke Date: Thu Jan 21 22:16:34 2010 +0100 cs8900_initialize() cleanup cs8900_initialize(): remove unecessary calls to free() and fix memory leak Signed-off-by: Matthias Kaehlcke Signed-off-by: Ben Warren commit c4168af3ba03c17a73751b98c124bbd2e3e1f5b0 Author: Mike Frysinger Date: Thu Jan 21 05:04:59 2010 -0500 smc91111_eeprom: fix linking error Building for a bf533-stamp ends up with this error: smc91111_eeprom.o: In function `smc91111_eeprom': examples/standalone/smc91111_eeprom.c:58: undefined reference to `memset' make[2]: *** [smc91111_eeprom] Error 1 The new eth_struct definition means gcc has to zero out the structure on the stack, and some gcc versions optimize this with an implicit call to memset. So tweak the structure style to avoid that gcc feature. Signed-off-by: Mike Frysinger Signed-off-by: Ben Warren commit 5f566f454750be4f2f83288ef382afcb9c4aa8a4 Author: Wolfgang Denk Date: Sun Jan 31 21:51:43 2010 +0100 cmd_ximg.c: fix error: 'i' undeclared Fix compile error: cmd_ximg.c: In function 'do_imgextract': cmd_ximg.c:234: error: 'i' undeclared (first use in this function) cmd_ximg.c:234: error: (Each undeclared identifier is reported only once cmd_ximg.c:234: error: for each function it appears in.) Signed-off-by: Wolfgang Denk commit a6e42ed097220a82870a32f4e60ac8863a8b05ab Author: Anatolij Gustschin Date: Sat Dec 12 21:20:57 2009 +0100 lcd: remove CONFIG_ATMEL_LCD ifdefs from lcd_setfgcolor Not all boards defining LCD_COLOR16 are able to set lcd_color_fg/lcd_color_bg correctly. The issue seems to be caused by CONFIG_ATMEL_LCD ifdefs in lcd_setfgcolor() and lcd_setbgcolor(). Actually, the color values passed to these functions are already correct, we don't need to fix them. So remove ifdefs here. Reported-by: Alessandro Rubini Signed-off-by: Anatolij Gustschin commit d841978ea616e661e48f8da4045a71d6217823bd Author: Alessandro Rubini Date: Sat Dec 5 13:39:41 2009 +0100 include/nomadik.h: add physical address for cldc Signed-off-by: Alessandro Rubini Acked-by: Andrea Gallo commit 3e446cbdf30221b9ca3a89b0f5abbfc691ce7755 Author: Alessandro Rubini Date: Sat Dec 5 13:39:31 2009 +0100 video: add amba-clcd prime-cell This adds support for the CLCD logic cell. It accepts precompiled register values for specific configuration through a board-supplied data structure. It is used by the Nomadik nhk8815, added by a later patch in this series. Signed-off-by: Alessandro Rubini Acked-by: Andrea Gallo commit b081c2e9b9329d7dadc8d13fc9a2bae5c90a1204 Author: John Rigby Date: Tue Jan 26 19:24:18 2010 -0700 Nand mxc_nand add v1.1 controller support Add support for version 1.1 of the nfc nand flash controller which is on the i.mx25 soc. Signed-off-by: John Rigby CC: Scott Wood commit f3bb63a304c4e76010a2a4e99da61f7b6ffffc77 Author: John Rigby Date: Tue Jan 26 19:24:17 2010 -0700 Add MX25 support to nand_spl fsl nfc driver MX25 has a different version of the fsl_nfc flash controller known as version 1.1. Add support to the nand_spl fsl_nfc driver Versioning differs from mainline mxc kernel driver no consensus yet on if the naming here and in Redboot or the kernel is "correct". Signed-off-by: John Rigby Signed-off-by: Wolfgang Denk CC: Scott Wood commit ef22b50370f7b6d8deba9e9e64d2cb13c542b647 Author: John Rigby Date: Mon Jan 25 23:12:52 2010 -0700 arm926ejs: add nand_spl boot support Add CONFIG_PRELOADER/CONFIG_NAND_SPL support for nand booting to arm926ejs/start.S This is derived from CONFIG_PRELOADER support in arm1136/start.S Signed-off-by: John Rigby CC: Scott Wood commit 15b86c3d6c9a5a2e917b73d758a556568430021a Author: Wolfgang Denk Date: Sat Jan 16 21:50:26 2010 -0700 env_nand.c: print error message and fail gracefully env_nand.c would crash silently if a malloc() for the environment buffers failed; make it print an error message and fail gracefully, i. e. use the default environment then. Signed-off-by: Wolfgang Denk Acked-by: John Rigby commit 674ef7bd02de948b6d8757f6a43a6f2fa4d88769 Author: Liu Yu Date: Mon Jan 18 19:03:28 2010 +0800 Nand boot: Add nand boot support for MPC8569mds board This patch add nand boot support for MPC8569mds board. Signed-off-by: Liu Yu commit 249d4dec69e8d41ca58fe6cb3c56ea6f0480ef16 Author: Kumar Gala Date: Wed Jan 27 10:16:56 2010 -0600 Fix compiler warning in imximage.c due to getline prototype imximage.c: In function 'imximage_parse_cfg_file': imximage.c:142: warning: implicit declaration of function 'getline' Signed-off-by: Kumar Gala commit a9c3ac78d81d7ff4fe239e292e11e0f78ac5d461 Author: Kumar Gala Date: Tue Jan 12 12:56:05 2010 -0600 85xx: Add support for 'cpu disable' command Support disabling of a core via user command 'cpu disable'. Signed-off-by: Kumar Gala commit c894852b7aa2ac5f04ca70a073f803aa665c3ec1 Author: Kumar Gala Date: Tue Jan 12 11:51:52 2010 -0600 86xx: Add support for 'cpu disable' command Support disabling of a core via user command 'cpu disable'. Signed-off-by: Kumar Gala commit 4194b3668a93eee18dd1f7eb1309ca7b05003aa7 Author: Kumar Gala Date: Tue Jan 12 11:42:43 2010 -0600 Add support to disable cpu's in multicore processors Add a disable sub-command to the cpu command that allows for disabling cores in multicore processors. This can be useful for systems that are using multicore chips but aren't utilizing all the cores as a way to reduce power and possibly improve performance. Also updated an added missing copyright. Signed-off-by: Kumar Gala commit 8b1760ed9a35a5fd71d1f64981068ca2979f1e3d Author: Heiko Schocher Date: Wed Jan 20 09:05:32 2010 +0100 83xx, kmeter1: fix compile error - delete double MTDIDS_DEFAULT and MTDPARTS_DEFAULT defines in board config file. - add mising CONFIG_KM_UBI_PARTITION_NAME define Signed-off-by: Heiko Schocher Signed-off-by: Kim Phillips commit 5912d3650740468329a0df014109132431d2140d Author: Wolfgang Wegner Date: Thu Dec 10 10:11:21 2009 +0100 add ability to handle compressed images to imxtract imxtract currently can not handle compressed images. This patch adds handling for bzip2 and zip compression. In both cases, a destination address has to be specified for extraction. Signed-off-by: Wolfgang Wegner commit a16e9a5b5f23106665dde15d974db17e8aeb83f1 Author: Joakim Tjernlund Date: Tue Jan 19 14:41:57 2010 +0100 ppc: remove -ffixed-r14 gcc option. This is no loger needed, free up r14 for general usage. Signed-off-by: Joakim Tjernlund commit e6bee80814c3a0d7eab89d28142fe68c4a670f31 Author: Joakim Tjernlund Date: Tue Jan 19 14:41:58 2010 +0100 ppc: Update README about the new GOT ptr. r14 is no longer used as non volatile GOT ptr. Instead the volatile r12 is used so be sure to do GET_GOT in asm code when you need to access global data. Signed-off-by: Joakim Tjernlund commit 0f8aa159175385ddd77bc91d11b9568583fbbd0c Author: Joakim Tjernlund Date: Tue Jan 19 14:41:56 2010 +0100 ppc: Use r12 instead of r14 as GOT pointer. r14 is not supposed to be clobbered by functions. Switch to r12 and call GET_GOT when needed. This will allow u-boot to loose the -ffixed-r14 gcc option. Signed-off-by: Joakim Tjernlund commit fc4e188789b01dc9f18c80869c43fdd7d1a51378 Author: Joakim Tjernlund Date: Tue Jan 19 14:41:55 2010 +0100 ppc: Loose GOT access in IRQ Using the GOT in IRQ handlers requires r14 to be -ffixed-r14. Avoid this by relocatate transfer_to_handler too. This will allow to free up r14 later on. Signed-off-by: Joakim Tjernlund commit 66e821ebe96123b3a81ec9ca25cec9c0560fe232 Author: Vivek Mahajan Date: Thu Jan 7 14:27:14 2010 +0530 85xx/p1_p2_rdb: enable hwconfig Signed-off-by: Vivek Mahajan Signed-off-by: Kumar Gala commit 46df64f22c471b010161aa68bfdbfe94ea46e7bd Author: Liu Yu Date: Fri Jan 15 14:58:40 2010 +0800 qe: fixup the snum for MPC8569 Rev2.0 Since 1.0 and 2.0 use different snum table, we fixup the snum value according to SPRN_SVR. Signed-off-by: Liu Yu Signed-off-by: Kumar Gala commit 0fd2fa6cce6eb91271ebf9733878d0f1fcbc9b32 Author: Dave Liu Date: Tue Nov 17 20:49:05 2009 +0800 Fix the local bus divider mapping The real clock divider is 4 times of the bits LCRR[CLKDIV], according the latest RevF RM. Signed-off-by: Dave Liu Signed-off-by: Kumar Gala commit c95d541e4b46cb3ba19bf35e34b1dc3ca32f7b4b Author: Liu Yu Date: Fri Nov 27 15:31:52 2009 +0800 ppc/85xx: Add ATM config for MPC8569MDS Signed-off-by: Liu Yu Signed-off-by: Kumar Gala commit d91803826985bfdf151eed66543ce3b1a301682f Author: Liu Yu Date: Fri Nov 27 15:31:51 2009 +0800 ppc/85xx: Add PIB/ATM support for MPC8569mds Signed-off-by: Liu Yu Signed-off-by: Kumar Gala commit 1118cdbfeb8fc3acfe542d08703153ac188f9dbd Author: Li Yang Date: Thu Jan 7 16:00:13 2010 +0800 fsl_esdhc: fix wrong clock mask Fix typo in SYSCTL_CLOCK_MASK, which caused residual in high bits of SDCLKFS. Signed-off-by: Jin Qing Signed-off-by: Li Yang Signed-off-by: Kumar Gala commit 693416fe01d324472d270ac28389022eb82c7217 Author: Kumar Gala Date: Mon Jan 25 11:01:51 2010 -0600 Revert "ppc/p4080: Fix reporting of PME & FM clock frequencies" This reverts commit bc20f9a9527afe8ae406a74f74765d4323f04922. The original code was correct. I clearly need glasses or a brown paper bag. Signed-off-by: Kumar Gala commit 93cedc71647b4b72ac9b48e11997eb2f91645001 Author: James Yang Date: Tue Jan 12 15:50:18 2010 -0600 ppc/p4080: Fix mask width of RCW fields MEM_PLL_RAT, SYS_PLL_RAT The masks for MEM_PLL_RAT and SYS_PLL_RAT should have been 5-bits instead of 4. Signed-off-by: James Yang Signed-off-by: Kumar Gala commit 2903ad33a71251a3a87485b5b185852c8998f209 Author: Mike Frysinger Date: Fri Jan 8 08:03:06 2010 -0500 jffs2: fix hangs/crashs when not using CONFIG_JFFS2_PART_SIZE Commit b5b004ad8a0ac6f98bd5708ec8b22fbddd1c1042 caused the sector_size to be calculated incorrectly when the part size was not hardcoded. This is because the new code relied on part->size but tried to do the calculation before it was initialized properly, and it did not take into consideration the magic SIZE_REMAINING define. Signed-off-by: Mike Frysinger commit 64b150213365db6be97a98d25884f87d83caacaf Author: Mike Frysinger Date: Fri Jan 8 02:48:03 2010 -0500 getline: split out for darwin systems At least on OS X 10.5 and older, getline does not exist. So split out the function from the mingw code so that we can pull it in for Darwin systems. Signed-off-by: Mike Frysinger commit e852d36a1e12864ab0656729c45c846e65efa4ee Author: Mike Frysinger Date: Thu Jan 21 19:59:04 2010 -0500 tools: give explicit libfdt paths The current libfdt object rules hard depend implicitly on the .depend file being correct. If it isn't, then it is unable to properly compile the objects. Give it a full path like all the other implicit rules here so it will always work in face of .depend issues. Signed-off-by: Mike Frysinger commit 44431cabbb66e81a2d77642b6f7d39c6230ea4ba Author: Mike Frysinger Date: Thu Jan 21 19:30:36 2010 -0500 gzip/zlib: make features optional If you really want to slim down U-Boot and you would rather use a higher compression scheme (like LZMA), it'd be nice to disable gzip/zlib since these code bases take up a significant amount of space. Signed-off-by: Mike Frysinger commit 8edcde5e4e2e7f6bc7e277011fed71e64fd9d294 Author: Stefano Babic Date: Wed Jan 20 18:19:10 2010 +0100 mkimage: Add Freescale imx Boot Image support (imximage) This patch adds support for "imximage" (MX Boot Image) to the mkimage utility. The imximage is used on the Freescales's MX.25, MX.35 and MX.51 processors. Further details under doc/README.imximage. This patch was tested on a Freescale mx51evk board. Signed-off-by: Stefano Babic commit a21fb981d533ac6d323a01c7fa2cda20f2d36de5 Author: Detlev Zundel Date: Wed Jan 20 14:28:48 2010 +0100 mpc5xxx: Support CPU internal watchdog. Signed-off-by: Detlev Zundel commit 82826d5422331e9c99e5408dcf0348c8e0c257a6 Author: Detlev Zundel Date: Fri Jan 22 14:47:59 2010 +0100 mpc512x: Add display of reset status register Content of the RSR is put into gd early so we can output it together with the CPU info. The clearing of gd in board_init_f is redundant for this architecture as it is done in cpu_init_f so we remove it. Signed-off-by: Detlev Zundel commit a3f3897bfda9b4729785bdd328b3b7f30417a67f Author: Daniel Gorsulowski Date: Wed Jan 20 08:00:11 2010 +0100 at91: Enable slow master clock on meesc board Normally the processor clock has a divisor of 2. In some cases this this needs to be set to 4. Check the user has set environment mdiv to 4 to change the divisor. Signed-off-by: Daniel Gorsulowski commit 7da692360414d07027c6cf564a15d79cd9dcf488 Author: Vipin KUMAR Date: Fri Jan 15 19:15:53 2010 +0530 SPEAr : Support added for SPEAr320 board SPEAr320 SoC support contains basic spear320 support along with the usage of following drivers - serial driver(UART) - i2c driver - smi driver - nand driver(FSMC) - usbd driver - emi driver(cfi support) Signed-off-by: Vipin commit 080cfee71459588fd6312e475bb5115bdbda1cb3 Author: Vipin KUMAR Date: Fri Jan 15 19:15:52 2010 +0530 SPEAr : Support added for SPEAr310 board SPEAr310 SoC support contains basic spear310 support along with the usage of following drivers - serial driver(UART) - i2c driver - smi driver - nand driver(FSMC) - usbd driver - emi driver(cfi support) Signed-off-by: Vipin commit 4bfacad4e796f2e121ee7432705ecc9c61e7b6ca Author: Vipin KUMAR Date: Fri Jan 15 19:15:51 2010 +0530 SPEAr : emi controller initialization for CFI driver support SPEAr310 and SPEAr320 SoCs contain an EMI controller to interface Paraller NOR flashes. This patch adds the support for this IP The standard CFI driver is used to interface with NOR flashes Signed-off-by: Vipin commit 7e074158ce239380259c5fc97e87be2896169973 Author: Vipin KUMAR Date: Fri Jan 15 19:15:50 2010 +0530 SPEAr : Support added for SPEAr300 board SPEAr300 SoC support contains basic spear300 support along with the usage of following drivers - serial driver(UART) - i2c driver - smi driver - nand driver(FSMC) - usbd driver Signed-off-by: Vipin commit f92994f0f7403b84366ce04e554e461f624e6868 Author: Vipin KUMAR Date: Fri Jan 15 19:15:49 2010 +0530 SPEAr : Support for HW mac id read/write from i2c mem This patch adds the support to read and write mac id from i2c memory. For reading: if (env contains ethaddr) pick env ethaddr else pick ethaddr from i2c memory For writing: chip_config ethaddr XX:XX:XX:XX:XX:XX writes the mac id in i2c memory Signed-off-by: Vipin commit 566c9c16fe4e501c3193ae6605bc9c663c6ea706 Author: Vipin KUMAR Date: Fri Jan 15 19:15:48 2010 +0530 SPEAr : Support added for SPEAr600 board SPEAr600 SoC support contains basic spear600 support along with the usage of following drivers - serial driver(UART) - i2c driver - smi driver - nand driver(FSMC) - usbd driver Signed-off-by: Vipin commit 62db1c0d79f1fd75961eec81edc8c0a1bc1f09a6 Author: Vipin KUMAR Date: Fri Jan 15 19:15:47 2010 +0530 SPEAr : usbd driver support for SPEAr SoCs SPEAr SoCs contain a synopsys usb device controller. USB Device IP can work in 2 modes - DMA mode - Slave mode The driver adds support only for slave mode operation of usb device IP. This driver is used along with standard USBTTY driver to obtain a tty interface over USB on the host Signed-off-by: Vipin commit 165fa406ad8c39c0c32a31476a8a9bda3db72851 Author: Vipin KUMAR Date: Fri Jan 15 19:15:46 2010 +0530 SPEAr : nand driver support for SPEAr SoCs SPEAr SoCs contain an FSMC controller which can be used to interface with a range of memories eg. NAND, SRAM, NOR. Currently, this driver supports interfacing FSMC with NAND memories Signed-off-by: Vipin commit a6e34f76c51c8514f1b691fc60394f09ae4fb2ff Author: Vipin KUMAR Date: Fri Jan 15 19:15:45 2010 +0530 SPEAr : smi driver support for SPEAr SoCs SPEAr SoCs contain a serial memory interface controller. This controller is used to interface with spi based memories. This patch adds the driver for this IP. Signed-off-by: Vipin commit 2403f8f417b1b94701bb5949903d701f1f414a42 Author: Vipin KUMAR Date: Fri Jan 15 19:15:44 2010 +0530 SPEAr : i2c driver support added for SPEAr SoCs SPEAr SoCs contain a synopsys i2c controller. This patch adds the driver for this IP. Signed-off-by: Vipin commit 81c0ebf623ddbb6a4da8e051441c83e99a01b00b Author: Vipin KUMAR Date: Fri Jan 15 19:15:43 2010 +0530 SPEAr : Adding basic SPEAr architecture support. SPEAr Architecture support added. It contains the support for following SPEAr blocks - Timer - System controller - Misc registers Signed-off-by: Vipin commit 6fffcdf8c869a3d8436be8eff6428d8121aa76e6 Author: Vipin KUMAR Date: Fri Jan 15 19:15:42 2010 +0530 SPEAr : Adding README.spear in doc README.spear contains information about SPEAr architecture and build options etc Signed-off-by: Vipin commit e4c43c20b87d5c9a7ac3b5250ca009311c62945c Author: Tom Rix Date: Wed Jan 20 18:00:28 2010 -0600 ARM Update mach-types Fetched from http://www.arm.linux.org.uk/developer/machines/download.php And built with repo http://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur/linux-2.6-arm commit 2045124ffd1a5e46d157349016a2c50f19c8c91d Signed-off-by: Tom Rix commit bfb6d510e9acbec97e4e1cc855ec1269538689f8 Author: Prafulla Wadaskar Date: Mon Nov 16 18:29:25 2009 +0530 Kirkwood: Makefile cleanup- fixed ordering (cosmetic change) As per coding guidlines, it is good to maintain proper ordering in the makefiles. This was missed during initial coding, corrected here. This was discovered during orion5x code review Thanks to Albert Aribaud for this. Signed-off-by: Prafulla Wadaskar commit beca04dd2446fc9ec46ca17163dadb7f82420e7c Author: Prafulla Wadaskar Date: Thu Dec 24 02:55:23 2009 +0530 Kirkwood: Upgated licencing for files imported from linux source to GPLv2 or later These are few files directly imported from Linux kernel source. Those are not modifyed at all ar per strategy. These files contains source with GPLv2 only whereas u-boot expects GPLv2 or latter These files are updated for the same from prior permission from original writes Acked-by: Nicolas Pitre Signed-off-by: Prafulla Wadaskar commit d8e5f55475e621e793a15d93e2dd2549c5138735 Author: Minkyu Kang Date: Fri Dec 18 15:03:51 2009 +0900 s5pc1xx: update cache routines Because of v7_flush_dcache_all is moved to omap3/cache.S and s5pc110 needs cache routines, update s5pc1xx cache routines. l2_cache_enable and l2_caceh_disable are moved from cache.c to cache.S and invalidate_dcache is modified for SoC specific. Signed-off-by: Minkyu Kang commit 17ef9104ae11220979e1870f22dcaf535d9baacf Author: Seunghyeon Rhee Date: Thu Dec 3 09:41:49 2009 +0900 samsung: fix DMC1_MEM_CFG for s3c64xx The MSB of DMC1_MEM_CFG can be set to '1' for separate CKE control for S3C6400. In the configuration of SMDK6400, however, two 16-bit mDDR (SAMSUNG K4X51163) chips are used in parallel to form 32-bit memory bus and there is no need to control CKE for each chip separately. AFAIK, CKE1 is not at all connected. Only CKE0 is used. Futhermore, it should be '0' always for S3C6410. When tested with a board which has a S3C6410 and the same memory configuration, a side effect is observed that u-boot command "reset" doesn't work leading to system hang. Leaving the bit clear is safe in most cases. Signed-off-by: Seunghyeon Rhee Signed-off-by: Minkyu Kang commit 9998b1366e7e42089c3f579b4d1d790d3c295387 Author: Stefan Roese Date: Thu Jan 21 11:37:31 2010 +0100 ppc4xx: Kilauea: Add CPLD version detection and EBC reconfiguration A newer CPLD version on the 405EX evaluation board requires a different EBC controller setup for the CPLD register access. This patch adds a CPLD version detection for Kilauea and code to reconfigure the EBC controller (chip select 2) for the old CPLD if no new version is found. Additionally the CPLD version is printed upon bootup: Board: Kilauea - AMCC PPC405EX Evaluation Board (CPLD rev. 0) Signed-off-by: Stefan Roese Acked-by: Wolfgang Denk Cc: Zhang Bao Quan commit 97c9f29008579f56c3fb86785f29f04dd4f47f94 Author: Felix Radensky Date: Sat Jan 23 01:35:24 2010 +0200 ppc4xx: Fix sending type 1 PCI transactions The list of 4xx SoCs that should send type 1 PCI transactions is not defined correctly. As a result PCI-PCI bridges and devices behind them are not identified. The following 4xx variants should send type 1 transactions: 440GX, 440GP, 440SP, 440SPE, 460EX and 460GT. Signed-off-by: Felix Radensky Signed-off-by: Stefan Roese commit 57ae8a5cced612088104303777e71a3dc89c00ef Author: Detlev Zundel Date: Thu Jan 21 17:55:58 2010 +0100 mpc512x: Use in/out accessors for all registers This is not only a cosmetic change as it fixes the real bug of board reset not working with the ELDK 4.2 toolchain. Signed-off-by: Detlev Zundel commit c7c0d542a199089cf658a7c23c314a5cff248b00 Author: Mike Frysinger Date: Thu Jan 21 04:03:22 2010 -0500 tools: allow people to compile w/out configuring It's useful to be able to build up the host tools without having to select a board first. Pretty much all tools in there are config-independent anyways. Also add a shortcut "tools-all" to quickly build all host tools that are actually config-independent to allow for simple test builds. Signed-off-by: Mike Frysinger commit c5a028f085020b60040a2b42966f29b25bd6ee8e Author: Mike Frysinger Date: Thu Jan 21 04:03:21 2010 -0500 ubsha1: drop unnecessary includes/prototypes This code doesn't use any config.h defines, and the sha1.h header already declares a sha1_csum prototype. Signed-off-by: Mike Frysinger commit 5daa1c18b6a6877b0619a8dbaad0afd783f79e4f Author: Mike Frysinger Date: Thu Jan 21 04:03:20 2010 -0500 image.h: avoid command.h for host tools The u-boot command structures don't get used with host systems, so don't bother including it when building host code. This avoids an implicit need on config.h in the process. Signed-off-by: Mike Frysinger commit 34be10651704709dfb35f9c57013f02d47cced09 Author: Matthias Weisser Date: Mon Jan 18 10:58:13 2010 +0100 Removing Atmel from ARM926EJ-S Systems Signed-off-by: Matthias Weisser commit a16028da63c78001823bfb375b3f6d9d86e5a534 Author: Mike Frysinger Date: Tue Nov 3 11:35:59 2009 -0500 lmb: only force on arches that use it Signed-off-by: Mike Frysinger commit dac4d7e8849d275023ea2fcae6caf941db91c042 Author: Mike Frysinger Date: Sun Jan 17 21:08:00 2010 -0500 sha1: add dedicated config option The sha1 code is currently compiled for everyone, but in reality, it's only used by the FIT code. So make it optional just like MD5. Signed-off-by: Mike Frysinger commit 33c8c664239f6665b228145d7e5adfa238a300bc Author: Felix Radensky Date: Tue Jan 19 21:19:06 2010 +0200 ppc4xx: Allow setting a single SPD EEPROM address for DDR2 DIMMs On platforms where SPD EEPROM and another EEPROM have adjacent I2C addresses SPD_EEPROM_ADDRESS should be defined as a single element array, otherwise DDR2 setup code would fail with the following error: ERROR: Unknown DIMM detected in slot 1 However, fixing SPD_EEPROM_ADDRESS would result in another error: ERROR: DIMM's DDR1 and DDR2 type can not be mixed. This happens because initdram() routine does not explicitly initialize dimm_populated array. This patch fixes the problem. Signed-off-by: Felix Radensky Signed-off-by: Stefan Roese commit d98964aaacc5c54cf7d67bb1e5128ed067086dd7 Author: Felix Radensky Date: Tue Jan 19 17:37:13 2010 +0200 ppc4xx: Fix reporting of bootstrap options G and F on 460EX/GT Bootstrap options G and F are reported incorrectly (G instead of F and vice versa). This patch fixes this. Signed-off-by: Felix Radensky Signed-off-by: Stefan Roese commit 19c292999732996e071caa0782eeef0ce0a60ac0 Author: Shinya Kuribayashi Date: Wed Jan 20 21:07:00 2010 +0900 MIPS: qemu_mips: Import asm/unaligned.h from the Linux kernel with a few adjustments for U-Boot. This fixes the following build error: make -C lib_generic/ zlib.c:31:27: error: asm/unaligned.h: No such file or directory zlib.c: In function 'inflate_fast': zlib.c:641: warning: implicit declaration of function 'get_unaligned' make[1]: *** [zlib.o] Error 1 make[1]: Leaving directory `/home/skuribay/git/u-boot.git/lib_generic' make: *** [lib_generic/libgeneric.a] Error 2 Reported-by: Himanshu Chauhan Signed-off-by: Shinya Kuribayashi commit 38a8b3eafb17d61690e5fc93e6dc45120f79d7d0 Author: Magnus Lilja Date: Sun Jan 17 17:46:11 2010 +0100 MX31: Activate NAND environment on i.MX31 PDK board. Signed-off-by: Magnus Lilja commit c4832dffff20519e72879a8da010174ac0526141 Author: Magnus Lilja Date: Sun Jan 17 17:46:10 2010 +0100 MXC: Add large page oob layout for i.MX31 NAND controller. Import the large page oob layout from Linux mxc_nand.c driver. The CONFIG_SYS_NAND_LARGEPAGE option is used to activate the large page oob layout. Run time detection is not supported as this moment. This has been tested on the i.MX31 PDK board with a large page NAND device. Signed-off-by: Magnus Lilja commit f6a9748e3261fdccdeb78a2b58e6ad538ba54496 Author: Magnus Lilja Date: Wed Nov 11 20:18:43 2009 +0100 mxc_nand: Update driver to work with i.MX31. Tested on i.MX31 Litekit. Signed-off-by: Magnus Lilja commit c816dcb118e26ba17e7d73989514fec08a3823ac Author: Magnus Lilja Date: Wed Nov 11 20:18:42 2009 +0100 MX31: Add struct definition for clock control module in i.MX31. Signed-off-by: Magnus Lilja commit 50ef25ef24eccd8e69d2c1ccc97b3f7e30109f51 Author: Michal Simek Date: Tue Jan 19 12:03:25 2010 +0100 microblaze: zlib needs asm/unaligned.h Microblaze has own hw unaligned handler if is available. Use big endian version. Signed-off-by: Michal Simek commit 5b8b83bce6fdd0d2ca661de90ae83a0f8b152de6 Author: Michal Simek Date: Tue Jan 19 12:03:24 2010 +0100 microblaze: Remove getenv_IPaddr prototype Commit 6a45e384955262882375a2785426dc65aeb636c4 should remove reference from Microblaze too. Signed-off-by: Michal Simek commit b9e6957ca15be8466190794d6d87845491b3411b Author: Alessandro Rubini Date: Mon Jan 18 22:38:38 2010 +0100 MAINTAINERS: fix nhk8815 board name Signed-off-by: Alessandro Rubini commit b40e2320c440c5082020e5036a0cb8d4ed1b3d7d Author: Ben Warren Date: Mon Jan 18 11:35:31 2010 -0800 Fix breakage in SMC EEPROM standalone applications Commit 6a45e384955262882375a2785426dc65aeb636c4 (Make getenv_IPaddr() global) inadvertently added ' #include "net.h" ' to the standalone programs, creating duplicate definitions of 'struct eth_device'. This patch removes the local definitions and removes other code that breaks due to the change in definition. Signed-off-by: Ben Warren Acked-by: Mike Frysinger commit 2a9987935e3cdb61e7550c87cbc9f500a54f672d Author: Daniel Hobi Date: Mon Jan 18 18:13:39 2010 +0100 Makefile: fix parallel build During parallel build, the top Makefile spawns multiple sub-makes for targets in cpu/$(CPU) and $(dir $(LDSCRIPT)). If the .depend files are not present in these directories, the sub-makes may end up generating these files simultaneously which leads to corrupted content. A typical error message is: .depend:39: *** multiple target patterns. Stop. This patch serializes the creation of .depend in cpu/$(CPU) and $(dir $(LDSCRIPT)) by adding these directories to the depend target in the top Makefile. Other directories in $(LIBS) are not affected since they contain only one Make target and thus only one sub-make is spawned per directory. Signed-off-by: Daniel Hobi Signed-off-by: Mike Frysinger commit f19fd87e9387282b5abbfdafe46ac272320643d8 Author: Robin Getz Date: Mon Dec 21 16:35:48 2009 -0500 Blackfin: add support for kgdb Signed-off-by: Robin Getz Signed-off-by: Mike Frysinger commit 3869453f659c22396fecb7c8ed7af909e89f461c Author: Robin Getz Date: Mon Dec 21 17:55:22 2009 -0500 asm-generic/signal.h: import from linux We need signal.h for Blackfin/KGDB, so import the asm-generic/signal.h for people to leverage. Signed-off-by: Robin Getz Signed-off-by: Mike Frysinger commit 88ffb2665cd066b6b20cfaade13929d4e8428dde Author: Heiko Schocher Date: Thu Jan 7 08:55:54 2010 +0100 CRAMFS: support cramfs in RAM cramfsls and cramfsload are added to the command list. A cramfs placed at 'cramfs_addr' can the be listed with 'cramfsls' and files can be loaded with 'cramfsload'. 'cramfs_addr' is an environment variable specifying the address the cramfs is located. This works for powerpc and for ARM. Use CONFIG_CMD_CRAMFS. Signed-off-by: Andreas Huber Signed-off-by: Heiko Schocher commit 4897ee33c98b4b29efd62854052eb7862380b5ae Author: Heiko Schocher Date: Thu Jan 7 08:55:50 2010 +0100 powerpc: keymile boards updates - malloc size 4 MB for all keymile boards - use generic FDT code for fixing up the DTS - enable unit-led at startup for keymile boards - remove some dts updates for keymile boards - ppc_83xx, kmeter1: take FE/GbE PHYs out of reset - ppc_83xx, kmeter1: change from Intel Strata to Spansion 64MB flash changed from Intel Strata to Spansion 64MB flash and changed flash layout. +---------+----------+-----------------------+-----------------------------+ | name | size | range | description | +---------+----------+-----------------------+-----------------------------+ | u-boot | 768 KB | 0xf0000000-0xf00bffff | for u-boot | | env | 128 KB | 0xf00c0000-0xf00dffff | for environment | | envred | 128 KB | 0xf00e0000-0xf00fffff | for environment (redundant) | | ubi0 | 64512 KB | 0xf0100000-0xf3ffffff | ubi0 for ubi volumes | +---------+----------+-----------------------+-----------------------------+ Signed-off-by: Heiko Schocher commit 1567b596d9f4a7ff49ebdca29e15a33777dfd670 Author: Heiko Schocher Date: Thu Jan 7 08:55:44 2010 +0100 env, eeprom: add redundant environment support Add redundant environment support for environment lying on a EEPROM. Tested on uppcoming suen3 support Signed-off-by: Andreas Huber commit 548738b4d43af841ff58c787bce297ac6a8bf7d1 Author: Heiko Schocher Date: Thu Jan 7 08:55:40 2010 +0100 cmd_eeprom: I2C updates - CONFIG_ENV_EEPROM_IS_ON_I2C define this, if you have I2C and SPI activated, and your EEPROM, which holds the environment, is on the I2C bus. - CONFIG_I2C_ENV_EEPROM_BUS if you have an Environment on an EEPROM reached over I2C muxes, you can now define, how to reach this EEPROM. Signed-off-by: Heiko Schocher commit b63815e31355b44e65899b361da1d8ef6940ab90 Author: Matthias Kaehlcke Date: Tue Dec 22 23:05:45 2009 +0100 move definition of macros likely and unlikely to compiler.h the macros likely and unlikely were defined in include/linux/mtd/compat.h, but used in code not related to MTD. moved the macro definitions to compiler.h Signed-off-by: Matthias Kaehlcke commit c3d7eec6d88945dec0626cdd4f4a35cb5f83ef00 Author: Detlev Zundel Date: Tue Dec 22 12:43:02 2009 +0100 cmd_bootm.c: Change interpretation of standalone image parameters. Current code uses the second argument to bootm for standalone images to override the load address specified in the image instead of passing all parameters as is to the application. This behaviour is not documented and not in line with how the go command works for standalone applications, so we simply drop it. Signed-off-by: Detlev Zundel commit 8b828a8f44b7ee9953c7ba63e64b1e80790139b3 Author: Detlev Zundel Date: Tue Dec 22 12:43:01 2009 +0100 cmd_bootm.c: Do not load a ramdisk when not booting a kernel. In case we boot an image marked as 'standalone' and 'linux', the current code erroneously tried to load a ramdisk. Signed-off-by: Detlev Zundel commit 16035bcd8c81c3c59dddfb54f48e8059a623b13c Author: Robin Getz Date: Mon Dec 21 18:40:44 2009 -0500 kgdb: update mem2hex/hex2mem funcs Convert the funcs to do the conversion inline so that we can do the copy all at once with memcpy. This let's us push out an weird arch-specific issue with accessing different regions of memory to the memcpy function like the MMRs on Blackfin systems, and it should be a bit faster. Signed-off-by: Robin Getz Signed-off-by: Mike Frysinger commit cbb0cab1d929839d1cf170b54b1fef05896433ea Author: Mike Frysinger Date: Mon Dec 21 18:40:43 2009 -0500 kgdb: drop duplicate debugger_exception_handler The debugger_exception_handler definition is the same for everyone, so use the common one now. Signed-off-by: Mike Frysinger commit 0c909551f88c0d92a919ff70127df7b33cdd473d Author: Robin Getz Date: Mon Dec 21 18:40:42 2009 -0500 kgdb: add default generic stubs The default kgdb functions can be implemented with common U-Boot functions, so rather than force everyone to copy & paste these things, create a set of weak stubs. Signed-off-by: Robin Getz Signed-off-by: Mike Frysinger commit fa2744de6584c92750f807a006e20a59ee046e76 Author: Mike Frysinger Date: Mon Dec 21 14:19:12 2009 -0500 netconsole: mark local funcs with static Signed-off-by: Mike Frysinger commit 7293e0577f149b75595b6f6ceb75bf50a523aff6 Author: Michael Hennerich Date: Sat Dec 19 08:19:09 2009 -0500 easylogo: add support for 16-bit RGB565 Signed-off-by: Michael Hennerich Signed-off-by: Mike Frysinger commit 0f597bc2a80353bcd0fd4daf42e2047c959485c8 Author: Detlev Zundel Date: Fri Dec 18 17:35:57 2009 +0100 mpc5xxx/cpu_init.c: Convert to IO accessors. Signed-off-by: Detlev Zundel commit 18e89890625c86be6c971c01b824d14bbdd78e25 Author: Detlev Zundel Date: Fri Dec 18 17:35:56 2009 +0100 mpc5xxx.h: Add structure definition for XLB arbiter block. Signed-off-by: Detlev Zundel commit 10c32ff59f7abe352b548066918bc5ea39e7c47b Author: Mike Frysinger Date: Wed Dec 2 21:15:03 2009 -0500 config_defaults.h: new header for common u-boot config defaults There are a bunch of features in U-Boot that we want to enable by default, and it's best if we centralize them in one place rather than updating all the board files out there. Signed-off-by: Mike Frysinger commit 64917ca38933d10b3763f61df7a1e58e1e127b52 Author: Peter Tyser Date: Sun Jan 17 15:38:26 2010 -0600 PCIe, USB: Replace 'end point' references with 'endpoint' When referring to PCIe and USB 'endpoint' is the standard naming convention. Signed-off-by: Peter Tyser Acked-by: Stefan Roese Acked-by: Remy Bohmer commit 6a45e384955262882375a2785426dc65aeb636c4 Author: Dirk Behme Date: Sun Jan 3 08:33:58 2010 +0100 Make getenv_IPaddr() global There are boards out there that do not have network support in U-Boot (CONFIG_CMD_NET not set), but they do so in Linux. This makes it desirable to be able to port network configuration (like the IP address) to the Linux kernel. We should not make the passing of the IP configuration to Linux dependent on U-Boot features / settings. For this, make getenv_IPaddr() global. This fixes build error u-boot/lib_xxx/board.c:360: undefined reference to `getenv_IPaddr' on various architectures. Signed-off-by: Dirk Behme Acked-by: Ben Warren commit 846a6391e4bc9fdd721753a1021953ff0ca17c27 Author: Mike Frysinger Date: Fri Jan 15 04:50:40 2010 -0500 Blackfin: drop .eh_frame from linker script Nothing in U-Boot uses runtime C++ exceptions/unwinding, so there is no need to list this section. Signed-off-by: Mike Frysinger commit ed912d4d659e67910edca04498803db24d826615 Author: Mike Frysinger Date: Fri Jan 15 04:47:06 2010 -0500 Blackfin: use sort funcs in the linker script This is just Blackfin catching up with every one else. Signed-off-by: Mike Frysinger commit 2aeda2d054bb32027bed33d9c3a63d152164b5e0 Author: Harald Krapfenbauer Date: Wed Jan 13 09:04:53 2010 -0500 Blackfin: tcm-bf518: new board port Signed-off-by: Harald Krapfenbauer Signed-off-by: Mike Frysinger commit c46a0ebf82d3fd27dd21ad7d4fe7f11c2b2b0b21 Author: Mike Frysinger Date: Fri Jan 8 07:56:17 2010 -0500 Blackfin: enable JFFS summary support for ADI boards Signed-off-by: Mike Frysinger commit 912da8d606997822d44905b83ef47799a130a1b9 Author: Mike Frysinger Date: Fri Jan 8 06:14:13 2010 -0500 Blackfin: bf518f-ezbrd: increase monitor length The addition of KGDB overflowed the current linker section. Signed-off-by: Mike Frysinger commit 03642aeee0d51660c35c9dbdde78882eb3efb350 Author: Robin Getz Date: Mon Dec 21 17:02:48 2009 -0500 Blackfin: handle anomaly 05000257 Need to reload the loop counters to keep from corrupting hardware loops. Signed-off-by: Robin Getz Signed-off-by: Mike Frysinger commit b6db2834407d49ec48ac8e9281fdd704d5ee3eba Author: Robin Getz Date: Mon Dec 21 16:59:21 2009 -0500 Blackfin: keep hwtrace on CPLB miss Crashes rarely happen in the CPLB miss handler compared to the rest of U-Boot code, so disable hardware tracing when processing misses. This way a crash due to other functions will be shown properly. Signed-off-by: Robin Getz Signed-off-by: Mike Frysinger commit 0097870e3d72f10ec58ae22488945fd9ee37289f Author: Robin Getz Date: Mon Dec 21 15:31:08 2009 -0500 Blackfin: add a netconsole helper Signed-off-by: Robin Getz Signed-off-by: Mike Frysinger commit 10eafa10be2deaba4939d0c19cd21648f2d3d4aa Author: Michael Hennerich Date: Thu Dec 10 09:19:21 2009 +0000 Blackfin: add support for BF527-EZKIT v2.1 The new board revision has a different LCD. Signed-off-by: Michael Hennerich Signed-off-by: Mike Frysinger commit 9442c4a1337dbcf82e3bc02a12e24f491e0e6122 Author: Cliff Cai Date: Tue Dec 8 07:25:57 2009 +0000 Blackfin: bf527-ezkit/bf548-ezkit: add musb board specific initialization Signed-off-by: Cliff Cai Signed-off-by: Mike Frysinger commit 581d92eefc1a060ea5c6eb42028880a37095953d Author: Cliff Cai Date: Mon Dec 7 08:03:06 2009 +0000 Blackfin: bfin_spi: round up clock divider If the requested clock cannot be exactly obtained, round it up so that we err on the side of slightly slower rather than slightly faster. Signed-off-by: Cliff Cai Signed-off-by: Mike Frysinger commit a52ad4f99486ce3f404f83f75263e321956bb6d5 Author: Mike Frysinger Date: Mon Nov 30 13:51:24 2009 -0500 Blackfin: pull io funcs from linux Some common code uses more of the io.h funcs than we currently provide, so pull in all of the ones from the linux kernel. Signed-off-by: Mike Frysinger commit 5eefe7e99537ca3641496185f23b1dc9e76b405c Author: Mike Frysinger Date: Mon Nov 30 13:34:07 2009 -0500 Blackfin: section off the CF/IDE io.h hacks These need to be rethought, but until that happens, isolate the hack so that we can extend the common code without breaking things. Signed-off-by: Mike Frysinger commit 3b062da326f9b37d34aa8f80bf9d2f9e74f55c86 Author: Mike Frysinger Date: Mon Nov 30 13:30:18 2009 -0500 Blackfin: drop unused funcs from io.h Signed-off-by: Mike Frysinger commit 5f79644d2665763d522ef2db53c026c5f4865b02 Author: Mike Frysinger Date: Mon Nov 30 13:08:39 2009 -0500 Blackfin: bf533-stamp: split and cleanup CF/IDE code Give the CF/IDE code its own file to keep things cleanly separated. While we're here, clean up the code to use common functions. Signed-off-by: Mike Frysinger commit e54c8209913a3f26ae28819e3515df53ec2b4548 Author: Cliff Cai Date: Fri Nov 20 08:24:43 2009 +0000 Blackfin: convert bfin_sdh to generic mmc Signed-off-by: Cliff Cai Signed-off-by: Mike Frysinger commit 17ebd5bf3393144f3ead19384318a6e5b01c4f90 Author: Cliff Cai Date: Tue Nov 17 09:36:21 2009 +0000 Blackfin: bfin_spi: let boards control idle value Some SPI devices like to see high idle values rather than low. Signed-off-by: Cliff Cai Signed-off-by: Mike Frysinger commit ea693f22d8dbd8a65867a60a7f3faac30f85d65b Author: Mike Frysinger Date: Sat Nov 14 13:53:00 2009 -0500 Blackfin: asm/string.h: drop useless includes Signed-off-by: Mike Frysinger commit f948158f72e6b880d02e4fa549362e4dc285eb1c Author: Mike Frysinger Date: Thu Nov 12 18:42:53 2009 -0500 Blackfin: use new bfin read/write mmr helper funcs Signed-off-by: Mike Frysinger commit 313e8aacc1c9f5ca06085fa19b1429fa18a01aaa Author: Mike Frysinger Date: Thu Nov 12 18:42:07 2009 -0500 Blackfin: move watchdog config check to Makefile Signed-off-by: Mike Frysinger commit dc6bc645e0cc1939b31cc54346415cf8e0dffc88 Author: Mike Frysinger Date: Wed Nov 11 19:08:33 2009 -0500 Blackfin: fix L1 Instruction sizes on BF52x/BF54x Signed-off-by: Mike Frysinger commit b7659ef2e764f62fc334f0d970721496823e4888 Author: Mike Frysinger Date: Wed Nov 11 17:29:35 2009 -0500 Blackfin: bf527-ezkit: auto-select NAND settings Signed-off-by: Mike Frysinger commit 7527feef06b13e9fd5b6d10a4bfc81b59ee56f27 Author: Mike Frysinger Date: Mon Nov 9 19:38:23 2009 -0500 Blackfin: support boards with no external memory Signed-off-by: Mike Frysinger commit dbda2c65e5fec92d0791367b53042983746ce95b Author: Mike Frysinger Date: Mon Nov 9 19:44:04 2009 -0500 Blackfin: re-architect initcode The single initcode function was growing unwieldy, so split it up the distinct steps into their own function. This should making digesting the result much easier on people. Signed-off-by: Mike Frysinger commit f5402d4c27e471c333cb84a82a437e60c6182449 Author: Mike Frysinger Date: Mon Nov 9 18:08:09 2009 -0500 Blackfin: global_data.h: make pull in needed headers We need the definition of bd_t in this header, so pull in asm/u-boot.h. Signed-off-by: Mike Frysinger commit fa45bd498a1970574f4b7539b67cc2286f1324fa Author: Mike Frysinger Date: Tue Nov 3 06:28:22 2009 -0500 Blackfin: kill off useless initdram() usage While the initdram() function makes sense on some arches, it doesn't for Blackfin systems as it's always implemented the same way. Signed-off-by: Mike Frysinger commit b1e2c5519a06f9a5841a7a434bf4da4d393f8df5 Author: Mike Frysinger Date: Tue Nov 3 06:11:31 2009 -0500 Blackfin: move section length calculation to linker script The length of the sections is fixed at link time, so let the linker do the calculation rather than doing it ourselves at runtime. Signed-off-by: Mike Frysinger commit 446707c90f52e5fcafecd468920cfad685ee9fc7 Author: Valentin Yakovenkov Date: Mon Oct 26 18:43:04 2009 -0400 Blackfin: bf561-acvilon: new board port Signed-off-by: Valentin Yakovenkov Signed-off-by: Mike Frysinger commit 16ada4f66ffea53662b7a61a5222cbc825d67175 Author: Mike Frysinger Date: Thu Oct 15 14:59:46 2009 -0400 Blackfin: ADI settings: enable silent console support Very little additional code overhead, and only works when the user sets an env var ahead of time, so default to on makes sense. Signed-off-by: Mike Frysinger commit ac41c7a0e76fe6384949571373dc84a6098965ac Author: Mike Frysinger Date: Thu Oct 15 14:55:21 2009 -0400 Blackfin: bf537-stamp: rename SPI/MMC define Signed-off-by: Mike Frysinger commit fd04a05b89d848c7841d8512751b8cce8b791e69 Author: Harald Krapfenbauer Date: Wed Oct 14 08:37:32 2009 -0400 Blackfin: update tiny board settings (voltage/default env) The tinyboards like to run at a little lower voltage than the default, and they prefer to boot over the network. For the latter, extend the common code a little to make this easier. Also fix the cm-bf527 env sector size while we're in here to reflect the flash that is actually in use. Signed-off-by: Harald Krapfenbauer Signed-off-by: Mike Frysinger commit 76d82187c6cccbcd8d514015c3b283f05ee8ac5c Author: Mike Frysinger Date: Tue Jul 21 22:17:36 2009 -0400 Blackfin: tweak embedded LDR env config option Use the common config option for extracting the environment for embedding into LDR files and clarify the LDR-specific option. Signed-off-by: Mike Frysinger commit 2740544881f652566756815dda4da0bcd946e9de Author: Wolfgang Denk Date: Fri Jan 15 11:20:10 2010 +0100 malloc: return NULL if not initialized yet When malloc() was called before it was properly initialized (as would happen if when used before relocation to RAM) it returned random, non-NULL values, which called all kinds of difficult to debug subsequent errors. Make sure to return NULL when initialization was not done yet. Signed-off-by: Wolfgang Denk commit f098337152ca48e135448f5e7836cce938e12bc0 Author: Wolfgang Denk Date: Fri Jan 15 11:10:33 2010 +0100 JFFS2: drop support for LZARI compression mode Support for LZARI compression mode was added based on a MTD CVS snapshot of March 13, 2005. However, fs/jffs2/compr_lzari.c contains contradictory licensing terms: the original copyright clause says "All rights reserved. Permission granted for non-commercial use.", but later reference to the file 'LICENCE' in the jffs2 directory was added which says GPL v2 or later. As no boards ever used LZARI compression, and this file is also not present in recent MTD code, we resolve this conflict by removing the conflicting file and references to it. Also copy the referenced but missing file 'LICENCE' from the current MTD source tree. Signed-off-by: Wolfgang Denk commit 321790f61bb92fead0fc01b8d055aa331d8dcf85 Author: Bryan Wu Date: Sat Jan 9 16:53:54 2010 -0500 usb: musb: add virtual root hub control support For MUSB devices that do not support multipoint (hubs), we have to emulate a root hub so that we can support core operations like resetting ports. Signed-off-by: Bryan Wu Signed-off-by: Cliff Cai Signed-off-by: Mike Frysinger commit 559e2c87e45ae7261837d4945411c04833937d2a Author: Chris Zhang Date: Wed Jan 6 13:34:06 2010 -0800 Adds EHCI definitions to sequoia board configuration file. Adds required definitions for EHCI support in sequoia configuration file. But still keeps the OHCI as default driver. Signed-off-by: Chris Zhang commit 5f82887feecd7895593401f1ccda866bfb299fbb Author: Chris Zhang Date: Wed Jan 6 13:34:05 2010 -0800 Add ppc440epx USB ehci support. Currently ppc440epx uses OHCI for USB full-speed support. This change adds support for EHCI. Signed-off-by: Chris Zhang commit b416191a14770c6bcc6fd67be7decf8159b2baee Author: Chris Zhang Date: Wed Jan 6 13:34:04 2010 -0800 Fix EHCI port reset. In USB ehci driver, the port reset is not terminated. EHCI spec says "A host controller must terminate the reset and stabilize the state of the port within 2 milliseconds". Without termination, a port stays at reset state. This is observed on ppc4xx(sequoia) boards. Signed-off-by: Chris Zhang commit b301be0599d14be46fc088861bb798648844aea5 Author: Sanjeev Premi Date: Thu Dec 24 14:20:41 2009 +0530 omap3: fix compile warning This patch fixes this warning during compile: omap3.c: In function 'musb_platform_init': omap3.c:126: warning: label 'end' defined but not used Problem reported by: Dirk Behme[dirk.behme@googlemail.com] Signed-off-by: Sanjeev Premi commit e608f221c13943d88e86f44753e23668342c3df3 Author: Bryan Wu Date: Wed Dec 16 22:04:02 2009 -0500 usb: musb: add support for Blackfin MUSB Signed-off-by: Bryan Wu Signed-off-by: Cliff Cai Signed-off-by: Mike Frysinger Signed-off-by: Remy Bohmer commit bc72a919e037782f64e3ac45c91bc60408e57e85 Author: Bryan Wu Date: Wed Dec 16 22:04:01 2009 -0500 usb: musb: change rxcsr register from write to read/modify/write The RX Control/Status register has bits that we want to preserve, so don't just write out a single bit. Preserve the others bits in the process. The original code posted to the u-boot list had this behavior, but looks like it was lost somewhere along the way to merging. Signed-off-by: Bryan Wu Signed-off-by: Cliff Cai Signed-off-by: Mike Frysinger Signed-off-by: Remy Bohmer commit 8868fd443b7a52bf433903cc9527403ad055acb9 Author: Bryan Wu Date: Wed Dec 16 22:04:00 2009 -0500 usb: musb: make multipoint optional The multipoint handling under MUSB is optional, and some parts (like the Blackfin processor) do not implement support for it. Signed-off-by: Bryan Wu Signed-off-by: Cliff Cai Signed-off-by: Mike Frysinger Signed-off-by: Remy Bohmer commit df402ba38103df51f6929848b6a797eff4db61f8 Author: Bryan Wu Date: Wed Dec 16 22:03:59 2009 -0500 usb: musb: make fifo support configurable The dynamic FIFO handling under MUSB is optional, and some parts (like the Blackfin processor) do not implement support for it. Due to this, the FIFO reading/writing steps need special handling, so mark the common versions weak so drivers can override. Signed-off-by: Bryan Wu Signed-off-by: Cliff Cai Signed-off-by: Mike Frysinger Signed-off-by: Remy Bohmer commit dc2cd05c91a134d53fada41e8f97a434be22de02 Author: Mike Frysinger Date: Wed Dec 16 22:03:58 2009 -0500 usb: musb: make sure the register layout is packed Signed-off-by: Mike Frysinger Signed-off-by: Remy Bohmer commit 7b4292883b6fdc42984671fbe4e0a352ec704bde Author: Ajay Kumar Gupta Date: Tue Dec 22 10:56:14 2009 +0530 DA830: Add usb config Adding USB configuration. Default is set for USB MSC host. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Swaminathan S commit 7359273d946a7dcde04c5e8d5bad669146efc87c Author: Ajay Kumar Gupta Date: Tue Dec 22 10:56:13 2009 +0530 DA8xx: Add MUSB host support Tested USB host functionality on DA830 EVM. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Swaminathan S commit 0b232310b2087d4278fb224fa01e228136fb8bdf Author: Ajay Kumar Gupta Date: Tue Dec 22 10:56:12 2009 +0530 DA8xx: Add GPIO register definitions Added DA8xx GPIO base addresses in gpio_defs.h and pointers to different BANKs which can be used to program GPIOs. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Swaminathan S commit 82a821f89bee913d7ba17cb500c778cf08dce321 Author: Ajay Kumar Gupta Date: Tue Dec 22 10:56:11 2009 +0530 DA830: Add pinmux for USB0_DRVVBUS USB0_DRVVBUS pinmux configuration is required for USB functinality in uboot. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Swaminathan S commit a3f5da1bee9a8c343a411080d7d468bdc78794a4 Author: Heiko Schocher Date: Thu Jan 7 08:56:00 2010 +0100 mpc83xx: add support configure bus parking Add support to configure bus parking mode and master in bus arbitration configuration (ACR). Add this for the kmeter1 port: Configure bus arbiter with recommended values from Freescale to improve bus latency/throughput for application with intensive QuiccEngine activity. Signed-off-by: Heiko Schocher Signed-off-by: Kim Phillips commit a0daa2e06f05d97c03c59b656d50371319bf29ec Author: Reinhard Arlt Date: Tue Dec 8 09:21:41 2009 +0100 mpc83xx: vme8349: Fix power up reset sequence for tsi148 Remove PCI reset, if there is a monarch PMC module. Signed-off-by: Reinhard Arlt Signed-off-by: Stefan Roese convert clrbits_be32 + setbits_be32 to clrsetbits_be32, use out_be32 to set gcr. Signed-off-by: Kim Phillips commit 1dee9be683c9b0f060452aaf1a97a34fae87f07a Author: Reinhard Arlt Date: Tue Dec 8 09:13:08 2009 +0100 mpc83xx: Add support for MPC8349 esd caddy2 The caddy2 is a variant of the already supported vme8349. So we just add the differences to this board port. To better support those two boards we switched from fixed SDRAM configuration to usage of spd_sdram(). This is done by providing a board specific SPD EEPROM routine with different values for both boards. Signed-off-by: Reinhard Arlt Signed-off-by: Stefan Roese changed to use mkconfig -t option instead, plus misc codingstyle fixes. Signed-off-by: Kim Phillips commit 7693640acd5222f5a64e59ccf5e3bc511e8054b9 Author: Stefan Roese Date: Tue Dec 8 09:10:04 2009 +0100 mpc83xx: spd_sdram.c: Disable memory controller before initializing The memory controller could already be enabled, when spd_sdram() is called. This could be the case for example, when the SDRAM is initialized by the JTAG debugger. The "sync" after the register access via the accessor function is still needed, because the macro uses the sync before the real write is done. So until not all accesses are converted to using accessor functions, this sync still needs to be made "manually" here. Signed-off-by: Stefan Roese Cc: Reinhard Arlt Acked-by: Dave Liu Signed-off-by: Kim Phillips commit 2e95004deb6e33e33bf1b8a92a38cd2115bac4c2 Author: Anton Vorontsov Date: Tue Nov 24 20:12:12 2009 +0300 mpc83xx: Add NAND boot support for MPC8315E-RDB boards The core support for NAND booting is there already, so this patch is pretty straightforward. There is one trick though: top level Makefile expects nand_spl to be in nand_spl/board/$(BOARDDIR), but we can fully reuse the code from mpc8313erdb boards, and so to not duplicate the code we just symlink nand_spl/board/freescale/mpc8315erdb to mpc8313erdb. Signed-off-by: Anton Vorontsov o silence make during ln echo o update documentation o and avoid: $ ./MAKEALL MPC8315ERDB_NAND Configuring for MPC8315ERDB board... sdram.o: In function `fixed_sdram': /home/r1aaha/git/u-boot/nand_spl/board/freescale/mpc8313erdb/sdram.c:72: undefined reference to `udelay' by renaming udelay -> __udelay in the spirit of commit 3eb90bad651fab39cffba750ec4421a9c01d60e7 "Generic udelay() with watchdog support". Signed-off-by: Kim Phillips commit b821cead7d2147724d5f1d8ccbca40710faad38a Author: Sanjeev Premi Date: Fri Dec 18 14:55:24 2009 +0530 onenand: Fix compile errors due to FlexOneNAND This patch fixes the compile error while trying to compile for omap3evm. env_onenand.c: In function 'env_relocate_spec': env_onenand.c:70: error: 'CONFIG_ENV_ADDR_FLEX' undeclared (first use in this function) env_onenand.c:70: error: (Each undeclared identifier is re ported only once env_onenand.c:70: error: for each function it appears in.) env_onenand.c: In function 'saveenv': env_onenand.c:106: error: 'CONFIG_ENV_ADDR_FLEX' undeclare d (first use in this function) env_onenand.c:107: error: 'CONFIG_ENV_SIZE_FLEX' undeclare d (first use in this function) Signed-off-by: Sanjeev Premi Acked-by: Tom Rix commit 20da6f4d93db270c57eb67968e441a20faf61938 Author: Nick Thompson Date: Wed Dec 16 11:15:58 2009 +0000 Davinci: davinci_nand.c performance enhancments Introduces various optimisations that approximately triple the read data rate from NAND when run on da830evm. Most of these optimisations depend on the endianess of the machine and most of them are very similar to optimisations already present in the Linux Kernel. Signed-off-by: Nick Thompson commit 06f95959bc5421e516a9a25012e303dea8833385 Author: Tom Rix Date: Wed Jan 6 09:36:24 2010 -0600 ARM Update mach-types Fetched from http://www.arm.linux.org.uk/developer/machines/download.php And built with repo http://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur/linux-2.6-arm commit c9f937e4a3f4ebf9924ec21d80632e5eb61d949c Signed-off-by: Tom Rix commit 8b0ab304943b07d13a29db6d3d2ca3edad32cdcb Author: Becky Bruce Date: Tue Nov 17 21:10:21 2009 -0600 ppc/p4080: Add Corenet Platform Cache (CPC) registers Signed-off-by: Becky Bruce Signed-off-by: Kumar Gala commit 3e731aaba30c7011edf6391072eee845ed1b816f Author: Dave Liu Date: Wed Dec 16 10:24:39 2009 -0600 fsl-ddr: setup ODT_RD_CFG & ODT_WR_CFG when we interleave In chip-select interleaving case, we also need set the ODT_RD_CFG and ODT_WR_CFG in cs1_config register. Signed-off-by: Dave Liu Signed-off-by: Kumar Gala commit 1aa3d08a0244506b94031522e54fe06ee7a5ae0e Author: Dave Liu Date: Wed Dec 16 10:24:38 2009 -0600 fsl-ddr: add override for the Rtt_Wr Different boards may require different settings of Dynamic ODT (Rtt_Wr). We provide a means to allow the board specific code to provide its own value of Rtt_Wr. Signed-off-by: Dave Liu Signed-off-by: Kumar Gala commit bdc9f7b5eab8d5edd8a8cc5d80ef080836b00e85 Author: Dave Liu Date: Wed Dec 16 10:24:37 2009 -0600 fsl-ddr: add the override for write leveling add the override for write leveling sampling and start time according to specific board. Signed-off-by: Dave Liu Signed-off-by: Kumar Gala commit 0a71c92c7e1e565111cb34cd389a21ec500ca5c1 Author: Dave Liu Date: Wed Dec 16 10:24:36 2009 -0600 fsl-ddr: Fix power-down timing settings 1. TIMING_CFG_0[ACT_PD_EXIT] was set to 6 clocks, but It should be set to tXP parameter, tXP=max(3CK, 7.5ns) 2. TIMING_CFG_0[PRE_PD_EXIT] was set to 6 clocks, but It should be set to tXP (if MR0[A12]=1) else to tXPDLL parameter We are setting the mode register MR0[A12]='1' Signed-off-by: Dave Liu Signed-off-by: Kumar Gala commit c4ca10f1db36c3ce649c656dec14f7aab644dd86 Author: Anton Vorontsov Date: Wed Dec 16 01:14:31 2009 +0300 mpc85xx: Add 4-bits eSDHC support for MPC8569E-MDS boards Thanks to "Errata to MPC8569E PowerQUICC III Integrated Host Processor Family Reference Manual, Rev. 0" document, which describes all eSDHC pins, we can add 4-bits eSDHC support for MPC8569E-MDS boards. Signed-off-by: Anton Vorontsov Signed-off-by: Kumar Gala commit bc20f9a9527afe8ae406a74f74765d4323f04922 Author: Kumar Gala Date: Wed Dec 9 17:28:17 2009 -0600 ppc/p4080: Fix reporting of PME & FM clock frequencies We incorrectly had the sense of PME_CLK_SEL, FM1_CLK_SEL, FM2_CLK_SEL backwards so we report the wrong frequency. Signed-off-by: Kumar Gala commit de3cbd78c9a485389b233f8ca705a9e5f51afaf3 Author: Li Yang Date: Wed Dec 9 14:26:08 2009 +0800 fsl_law: add SRIO2 target id and law_size_bits() macro Signed-off-by: Li Yang Signed-off-by: Kumar Gala commit abc76eb6a6936a99811eda256222b3927427f8e2 Author: Kumar Gala Date: Tue Nov 17 20:21:20 2009 -0600 ppc/85xx: Map boot page guarded for MP boot We already map the page cache-inhibited. There is no reason we shouldn't also be marking it guarded to prevent speculative accesses. Signed-off-by: Kumar Gala commit effe4973f2f349e6e87d455ae718aabaf919a75d Author: Kumar Gala Date: Tue Nov 17 22:44:52 2009 -0600 ppc: Added macro to test for specific SVR revision Various SoC errata are specific to a given revision of silicon. This patch gives us a simple macro to use when doing such tests. Signed-off-by: Kumar Gala commit f5ecc6e027150289c2a46db7cec197b2b6da893c Author: Dave Liu Date: Tue Nov 17 20:01:24 2009 -0600 p4080: add readback to bootpage translation window We need to add the readback to bootpage translation LAW to make it effect. Signed-off-by: Dave Liu Signed-off-by: Becky Bruce Signed-off-by: Kumar Gala commit 5fb6ea3ad3562f78df8693ed8c4ca89654236c4f Author: Kumar Gala Date: Fri Nov 13 09:25:07 2009 -0600 ppc/85xx: Make flash TLB entry determined at runtime on FSL boards Rather than hard coding which TLB entry the FLASH is mapped with we can use find_tlb_idx to determine the entry. Signed-off-by: Kumar Gala commit 783852e467f32a3a5568b542379e9fec3d26a173 Author: Kumar Gala Date: Fri Nov 13 09:09:10 2009 -0600 ppc/85xx: Remove CONFIG_SYS_DDR_TLB_START Now that we dynamically determine TLB CAM entries to use we dont need CONFIG_SYS_DDR_TLB_START anymore. Signed-off-by: Kumar Gala commit 355f4f85e90ce2e6d91883012c2993be7970c8b1 Author: Kumar Gala Date: Fri Nov 13 09:04:19 2009 -0600 ppc/85xx: Make SPD DDR TLB setup code use dynamic entry allocation Now that we track which TLB CAM entries are used we can allocate entries on the fly. Change the SPD DDR TLB setup code to assume we use at most 8 TLBs (or the number free, which ever is fewer). Signed-off-by: Kumar Gala commit 94e9411b9dda182dd63d53ba6ea640c98b35db5f Author: Kumar Gala Date: Thu Nov 12 10:26:16 2009 -0600 ppc/85xx: Add tracking of TLB CAM usage We need to track which TLB CAM entries are used to allow us to "dynamically" allocate entries later in the code. For example the SPD DDR code today hard codes which TLB entries it uses. We can now make that pick entries that are free. Signed-off-by: Kumar Gala commit ee53650dad2fede057e93fdf6f8cd72b29ef7cd0 Author: Kumar Gala Date: Wed Nov 4 13:00:55 2009 -0600 ppc/8xxx: Remove is_fsl_pci_agent All users of is_fsl_pci_agent have been converted to fsl_is_pci_agent that uses the standard PCI programming model to determine host vs agent/end-point. Signed-off-by: Kumar Gala commit 7cb8f79b44c70a3c66891f407254d9c739e2e7da Author: Kumar Gala Date: Wed Nov 4 11:39:55 2009 -0600 ppc/85xx: Move to using fsl_setup_hose on TQM 85xx We can use fsl_setup_hose to determine if we are a agent/end-point or a host. Rather than using some SoC specific register we can just look at the PCI cfg space of the host controller to determine this. Signed-off-by: Kumar Gala commit 9263e829f025661cbd3a80675285b42c14350ea4 Author: Kumar Gala Date: Wed Nov 4 13:01:51 2009 -0600 ppc/85xx: Move to using fsl_setup_hose on P2020 DS We can use fsl_setup_hose to determine if we are a agent/end-point or a host. Rather than using some SoC specific register we can just look at the PCI cfg space of the host controller to determine this. Signed-off-by: Kumar Gala commit 1e21ba8f6d0708fe7f44066059927cfa6bfedf7a Author: Kumar Gala Date: Wed Nov 4 13:01:38 2009 -0600 ppc/85xx: Move to using fsl_setup_hose on P1/P2 RDB We can use fsl_setup_hose to determine if we are a agent/end-point or a host. Rather than using some SoC specific register we can just look at the PCI cfg space of the host controller to determine this. Signed-off-by: Kumar Gala commit 42c01b9d1f0132a6d82e2c8333b236b1e3b0831f Author: Kumar Gala Date: Wed Nov 4 13:01:17 2009 -0600 ppc/85xx: Move to using fsl_setup_hose on MPC8572 DS We can use fsl_setup_hose to determine if we are a agent/end-point or a host. Rather than using some SoC specific register we can just look at the PCI cfg space of the host controller to determine this. Signed-off-by: Kumar Gala commit 5e3d7050cf127dfcd6ab260c551e9183299d0dca Author: Kumar Gala Date: Wed Nov 4 12:51:10 2009 -0600 ppc/86xx: Clean up MPC8610 HPCD PCI setup code Use new fsl_pci_init_port() that reduces amount of duplicated code in the board ports, use IO accessors and clean up printing of status info. Signed-off-by: Kumar Gala commit 7b626880b4e1fd8d2297c9341b92c2253fc27fd0 Author: Kumar Gala Date: Wed Nov 4 11:15:29 2009 -0600 ppc/85xx: Clean up MPC8548 CDS PCI setup code Use new fsl_pci_init_port() that reduces amount of duplicated code in the board ports, use IO accessors and clean up printing of status info. Signed-off-by: Kumar Gala commit feadd5d53ba5047c3bc912ff5b7c7a690c8c53cf Author: Kumar Gala Date: Wed Nov 4 11:05:02 2009 -0600 ppc/85xx: Clean up ATUM8548 PCI setup code Use new fsl_pci_init_port() that reduces amount of duplicated code in the board ports, use IO accessors and clean up printing of status info. Signed-off-by: Kumar Gala commit 4681457e2aace8dff09dc4c6c02185231b970d6b Author: Kumar Gala Date: Wed Nov 4 10:31:53 2009 -0600 ppc/85xx: Clean up MPC8568 MDS PCI setup code Use new fsl_pci_init_port() that reduces amount of duplicated code in the board ports, use IO accessors and clean up printing of status info. Signed-off-by: Kumar Gala commit c847e98b143c154cc466f9d03e90a3495329172b Author: Kumar Gala Date: Wed Nov 4 10:26:30 2009 -0600 ppc/85xx: Clean up MPC8569 MDS PCI setup code Use new fsl_pci_init_port() that reduces amount of duplicated code in the board ports, use IO accessors and clean up printing of status info. Signed-off-by: Kumar Gala commit 645d5a7838058ce603803935cd40a62a26aea04d Author: Kumar Gala Date: Wed Nov 4 10:22:26 2009 -0600 ppc/85xx: Clean up MPC8544 DS PCI setup code Use new fsl_pci_init_port() that reduces amount of duplicated code in the board ports, use IO accessors and clean up printing of status info. Signed-off-by: Kumar Gala commit 8a414c4258aeeab93fb83fad0544894597c8bd35 Author: Mingkai Hu Date: Wed Oct 28 10:49:31 2009 +0800 ppc/85xx: Clean up MPC8536 DS PCI setup code Use new fsl_pci_init_port() that reduces amount of duplicated code in the board ports, use IO accessors and clean up printing of status info. Signed-off-by: Mingkai Hu Signed-off-by: Kumar Gala commit 3ad89c4ecba51564c97075f031aef4fa5eafbb16 Author: Kumar Gala Date: Sat Oct 31 11:23:41 2009 -0500 NET: Base support for etsec2.0 1. Modified the tsec_mdio structure to include the new regs 2. Modified the MDIO_BASE_ADDR so that it will handle both older version and new version of etsec. Signed-off-by: Sandeep Gopalpet Acked-by: Kim Phillips Signed-off-by: Kumar Gala commit b9e186fc31683a4f1b6880c086950b2270e62e24 Author: Sandeep Gopalpet Date: Sat Oct 31 00:35:04 2009 +0530 NET: Move MDIO regs out of TSEC Space Moved the mdio regs out of the tsec structure,and provided different offsets for tsec base and mdio base so that provision for etsec2.0 can be provided. This patch helps in providing the support for etsec2.0 In etsec2.0, the MDIO register space and the etsec reg space are different. Also, moved the TSEC_BASE_ADDR and MDIO_BASE_ADDR definitons into platform specific files. Signed-off-by: Sandeep Gopalpet Acked-by: Kim Phillips Signed-off-by: Kumar Gala commit bcad21fda187f7d8d5d2c026c395cca35a9c700e Author: Kumar Gala Date: Thu Mar 19 02:46:28 2009 -0500 85xx: Add support to set DPAA (data path) devices clock frequencies Set clock-frequency for Frame Manager 0/1 and Patter Match Engine on p4080. Signed-off-by: Kumar Gala commit 178e39e199e9c985e5e5e968d60d7243fceb5616 Author: Kumar Gala Date: Thu Sep 17 00:01:14 2009 -0500 ppc/8xxx: Don't use pci_cfg on FSL_CORENET platforms The FSL_CORENET platforms use a completely different means to determine which PCIe port is enabled as well as if its a host or agent/end-point. Signed-off-by: Kumar Gala commit 11588b5dc4c581b2a68a24e3298ab14e83c59d31 Author: Kumar Gala Date: Thu Oct 15 23:22:10 2009 -0500 ppc/p4080: Added p4080 SERDES registers & USB offset Added immap definition for SERDES registers on p4080, the USB offset (since it was missing) and a GPL header. Signed-off-by: Li Yang Signed-off-by: Kumar Gala commit 82fd1f8da9add2d74532cf78d224485f0042d00d Author: Kumar Gala Date: Thu Mar 19 02:53:01 2009 -0500 85xx: Add support for e500mc cache stashing The e500mc core supports the ability to stash into the L1 or L2 cache, however we need to uniquely identify the caches with an id. We use the following equation to set the various stash-ids: 32 + coreID*2 + 0(L1) or 1(L2) The 0 (for L1) or 1 (for L2) matches the CT field used be various cache control instructions. Signed-off-by: Kumar Gala commit 26be2c53d671ecfd3e0483f0870649ac28322293 Author: Nick Thompson Date: Sat Dec 12 12:13:10 2009 -0500 Davinci: NAND enable ECC even when not in NAND boot mode Davinci: NAND enable ECC even when not in NAND boot mode On Davinci platforms, the default NAND device is enabled (for ECC) in low level boot code when NAND boot mode is used. If booting in another mode, NAND ECC is not enabled. The driver should make sure ECC is enabled regardless of boot mode if NAND is configured in U-Boot. Signed-off-by: Nick Thompson commit 97f4eb8cfb97c7c5b158e3c0df4611efbf50f403 Author: Nick Thompson Date: Sat Dec 12 12:12:26 2009 -0500 Davinci: Configurable NAND chip selects Davinci: Configurable NAND chip selects Add a CONFIG_SYS_NAND_CS setting to all davinci configs and use it to setup the NAND controller in the davinci_nand mtd driver. Signed-off-by: Nick Thompson commit 90110e0eab5ac6ab714109ce1fd8873c858dd552 Author: Nick Thompson Date: Sat Dec 12 12:10:51 2009 -0500 Davinci: Table driven pinmux configuration Davinci: Table driven pinmux configuration Add code to allow pinmux_config tables to be grouped and configured as a single resource. This removes multiple calls to the pinmux configuration code from board_init and allows pinmuxes to be individually configured and added by data manipulation only. All related #ifdefs can the be removed from board_init code and since the compiler optimises away statics, #ifdefs can be reduced in the data definitions as well. Signed-off-by: Nick Thompson commit 1270ec13d4fbae48a537dc76d418a6efa72f5725 Author: Robert P. J. Day Date: Sat Dec 12 12:10:33 2009 -0500 Remove superfluous uses of V_PROMPT macro. A number of config files define the V_PROMPT macro for the command-line prompt, only to immediately use that macro to define CONFIG_SYS_PROMPT, making V_PROMPT entirely superfluous. Signed-off-by: Robert P. J. Day commit 8b432bebc205a959684559477472c048e31d137d Author: Grazvydas Ignotas Date: Fri Dec 11 15:07:30 2009 +0200 pandora: don't enable VAUX3, VDAC and VPLL2 regulators These regulators are not needed to start the kernel and only cause "incomplete constraints" warnings from kernel, so don't turn them on to save power. Signed-off-by: Grazvydas Ignotas commit ead39d7aa3ddccb2e374217aeab23bd65cedb762 Author: Grazvydas Ignotas Date: Thu Dec 10 17:10:21 2009 +0200 TWL4030: make LEDs selectable for twl4030_led_init() Not all boards have both LEDs hooked, so enabling both on boards with single LED will just waste power. Make it possible to choose LEDs by adding argument to twl4030_led_init(). Using this turn on only LEDB for pandora, leave both LEDs on for all other boards, as it was before this patch. Signed-off-by: Grazvydas Ignotas commit be34fef7fdcfaffc68495e50929669ac5e4bd800 Author: Stefan Roese Date: Wed Dec 16 09:27:31 2009 +0100 ppc4xx: alpr: Remove some not needed commands to make image fit again The latest changes increased the size of the alpr image a bit more. Now it doesn't fit into the 256k reserved for it. This patch now removes the commands "ping" and "diag" which are not needed in the production systems. Signed-off-by: Stefan Roese Cc: Pieter Voorthuijsen commit 072e754b6b9bef438fc0870318755e33051baa7d Author: Heiko Schocher Date: Thu Dec 3 11:23:17 2009 +0100 i2c, ppc4xx: fix compiling KAREF and METROBOX boards. commit eb5eb2b0f744f0cba405160c5d01335c40f09acf ppc4xx: Cleanup PPC4xx I2C infrastructure This patch cleans up the PPC4xx I2C intrastructure: - Use C struct to describe the I2C registers instead of defines - Coding style cleanup (braces, whitespace, comments, line length) - Extract common code from i2c_read() and i2c_write() - Remove unneeded IIC defines from ppc405.h & ppc440.h breaks comiling for the KAREF and METROBOX boards. This patch fixes this issue. Signed-off-by: Heiko Schocher Signed-off-by: Stefan Roese commit 87d93a1ba2ae23550e1370adb7a3b00af0831165 Author: Wolfgang Wegner Date: Wed Dec 9 15:16:47 2009 +0100 move prototypes for gunzip() and zunzip() to common.h Prototype for gunzip/zunzip was only in lib_generic/gunzip.c and thus repeated in every file using it. This patch moves the prototypes to common.h and removes all prototypes distributed anywhere else. Signed-off-by: Wolfgang Wegner commit 127e10842b2474ac20e40572a4102dd4d5ed80f1 Author: Mahavir Jain Date: Tue Nov 3 12:22:10 2009 +0530 usb: write command for RAW partition. This patch implements write support to usb device with raw partition. It will be useful for filesystem write support to usb device from u-boot in future. Tested with writing kernel image to raw usb disk & booting with usb read command into ram. [Note: run usb part to get info about start sector & number of sectors on a partition for usb write operation.] Signed-off-by: Mahavir Jain commit 73c8640e93881439b87a5734485a9e56a494ef50 Author: Ajay Kumar Gupta Date: Wed Nov 4 15:58:23 2009 -0600 omap3evm: musb: add USB config Added USB host and device config for host (MSC, Keyboard) and device (ACM) functionalities. Signed-off-by: Ajay Kumar Gupta commit ae4caf2fb53cc7be5d59a649b8aee86d542cbb6f Author: Tom Rix Date: Sat Oct 31 12:37:46 2009 -0500 OMAP3 USB Initialize twl4030 only if required OMAP3EVM uses ISP1504 phy and so twl4030 related init is not required. Submitted-by: Ajay Kumar Gupta Signed-off-by: Tom Rix commit 2ec1abea4359b94523d45a20d68d8582e09ace46 Author: Tom Rix Date: Sat Oct 31 12:37:45 2009 -0500 OMAP3 zoom2 Use usbtty if the debug board is not connected. The preferred serial output comes from the debug board. When the debug board is disconnected, fall back on using usbtty from the usb connector on the Zoom2 board. This shows up as /dev/ttyACM0 in a linux host. Signed-off-by: Tom Rix commit 6299487ef5dcdb06e0394f5955755c8dd9ce707b Author: Tom Rix Date: Sat Oct 31 12:37:44 2009 -0500 USBTTY make some function declarations easier to use. Zoom2 needs to use these declarations and the include directory is a better place from them than in the middle of the driver directory. It did not make sense to create a new file for just a couple of lines so they were appended to the serial.h Signed-off-by: Tom Rix commit 25374bfbf3a6c6624d8db512c95a4960e3a84635 Author: Tom Rix Date: Sat Oct 31 12:37:43 2009 -0500 OMAP3 beagle Add usbtty configuration The primary console of beagle is the serial header. A secondary console is to use the usbtty. The user can set this manually by doing setenv stdout usbtty; setenv stdin usbtty; setenv stderr usbtty saveenv usbtty will be usable by accessing the /dev/ttyACM0 on a linux host. Signed-off-by: Tom Rix commit 05be5a60e98eb1243901f556fefd66b1691fabe4 Author: Tom Rix Date: Sat Oct 31 12:37:42 2009 -0500 OMAP3 zoom1 Add usbtty configuration The primary console of zoom1 is the serial out from the jumpers accessed by removing the back panel. A secondary console is to use the usbtty. The user can set this manually by doing setenv stdout usbtty; setenv stdin usbtty; setenv stderr usbtty saveenv usbtty will be usable by accessing the /dev/ttyACM0 on a linux host. Signed-off-by: Tom Rix commit f298e4b6dd56df3e35a13a6ddd572ca3baf06ad2 Author: Tom Rix Date: Sat Oct 31 12:37:41 2009 -0500 OMAP3 Add usb device support This change adds the usb device support for musb. Omap3 platform support added at the same level as davinci. The interface for usbtty to use the musb device support was added. Verified on omap3 beagle, zoom1 and zoom2. Signed-off-by: Tom Rix commit bffbb2a86d2a3aa28bd8f9869aa553082fb5af5f Author: Tom Rix Date: Sat Oct 31 12:37:40 2009 -0500 TWL4030 Add usb PHY support The twl4030 provides a PHY device for connecting a link device, like musb, to physical connection. This change adds the twl4030 usb registers and functions for initializing the PHY as required by omap3. Signed-off-by: Tom Rix commit 988365a2048356f94ed0c294009233317c9fb4b2 Author: Tom Rix Date: Sat Oct 31 12:37:39 2009 -0500 USB add macros for debugging usb device setup. When developing usb device features, it is useful to print out common usb structures. Signed-off-by: Tom Rix commit 8f8bd565f35ff8a068727bfcf8975c50df082043 Author: Tom Rix Date: Sat Oct 31 12:37:38 2009 -0500 USB Consolidate descriptor definitions The header files usb.h and usbdescriptors.h have the same nameed structure definitions for usb_config_descriptor usb_interface_descriptor usb_endpoint_descriptor usb_device_descriptor usb_string_descriptor These are out right duplicates in usb.h usb_device_descriptor usb_string_descriptor This one has extra unused elements usb_endpoint_descriptor unsigned char bRefresh unsigned char bSynchAddress; These in usb.h have extra elements at the end of the usb 2.0 specified descriptor and are used. usb_config_descriptor usb_interface_descriptor The change is to consolidate the definition of the descriptors to usbdescriptors.h. The dublicates in usb.h are removed. The extra element structure will have their name shorted by removing the '_descriptor' suffix. So usb_config_descriptor -> usb_config usb_interface_descriptor -> usb_interface For these, the common descriptor elements are accessed now by an element 'desc'. As an example - if (iface->bInterfaceClass != USB_CLASS_HUB) + if (iface->desc.bInterfaceClass != USB_CLASS_HUB) This has been compile tested on MAKEALL arm, ppc and mips. Signed-off-by: Tom Rix commit e5e4e705ce402856a4800ebf4c0cc163d41b58b0 Author: Li Yang Date: Wed Dec 9 18:13:26 2009 +0800 Update Makefile for tag generating Get tag directories from the $(__LIB) and also generate tag for .S files. Signed-off-by: Li Yang commit d02ffbf8d72085035f746c63c2609daf20a84765 Author: Kumar Gala Date: Wed Dec 16 14:12:11 2009 -0600 drivers/bios_emulator: Fix compile error in .depend not being generated make -C drivers/bios_emulator/ make[2]: Entering directory `drivers/bios_emulator' In file included from atibios.c:49: biosemui.h:47:21: error: biosemu.h: No such file or directory ... x86emu/decode.c:40:28: error: x86emu/x86emui.h: No such file or directory ... Due to lack of proper CPPFLAGS being passed to .depend generation rule Signed-off-by: Kumar Gala commit a200a7c04d89853d2a1395b96d8ca5e3dd754551 Author: Wolfgang Denk Date: Tue Dec 15 23:20:54 2009 +0100 Update CHANGELOG; prepare Prepare v2009.11 Signed-off-by: Wolfgang Denk commit f9476902b789b0481b9df49af88d6ca94fb16fa0 Author: Peter Tyser Date: Tue Dec 15 12:10:47 2009 -0600 mpc85xx, mpc86xx: Fix gd->cpu pointer after relocation The gd->cpu pointer is set to an address located in flash when the probecpu() function is called while U-Boot is executing from flash. This pointer needs to be updated to point to an address in RAM after relocation has occurred otherwise Linux may not be able to boot due to "fdt board" crashing if flash has been erased or changed. This bug was introduced in commit a0e2066f392782730f0398095e583c87812d97f2. Signed-off-by: Peter Tyser Reported-by: Ed Swarthout Tested-by: Kumar Gala Tested on MPC8527DS. Tested by: Ed Swarthout commit 1ab70f6fff9fa3b7910c11b874f625e004256c50 Author: Ben Warren Date: Mon Dec 14 16:30:39 2009 -0800 Net: Clean up LAN91C96 Support A previous Commit converted the LAN91C96 Ethernet driver to using the CONFIG_NET_MULTI API, but did not include full board support. This patch finishes the job. Signed-off-by: Ben Warren commit 3363a34b9eeda9783afcbbed5cdd738926d1f4bf Author: Peter Tyser Date: Sun Dec 13 17:58:34 2009 -0600 MVBLUE: Remove CONFIG_CMD_IRQ Neither the MVBLUE nor its underlying architecture implement the do_irqinfo() function which is required when CONFIG_CMD_IRQ is defined. This change fixes the following MVBLUE compiler error: -> ./MAKEALL MVBLUE Configuring for MVBLUE board... common/libcommon.a(cmd_irq.o):(.u_boot_cmd+0x24): undefined reference to `do_irqinfo' make: *** [u-boot] Error 1 Signed-off-by: Peter Tyser Acked-by: Andre Schwarz commit 18e8ad60ee87431c01cc2686985b60cc54f5dd3b Author: Detlev Zundel Date: Mon Dec 14 17:54:40 2009 +0100 imx27lite: Reenable MTD support on NOR flash. The support for this was silently dropped by a configuration split during the merge of the imx27lite board support in commit 864aa034f3a0e10ce710e8bbda171df3cab59414 (cmd_mtdparts: Move to common handling of FLASH devices via MTD layer). Signed-off-by: Detlev Zundel commit 076cd24cb4278c125c8f36df386852dc0fcfefae Author: Thomas Weber Date: Wed Dec 9 09:38:04 2009 +0100 net: dm9000x: fix debug output commit 60f61e6d7655400bb785a2ef637581679941f6d1 breaks compile with gcc by introducing __func__ instead of constant string "func" in the macro call but missed to change the macro. Signed-off-by: Thomas Weber Signed-off-by: Ben Warren commit c179a2896e6a5138e30786f1d7961d880dbd6d31 Author: John Ogness Date: Fri Dec 11 09:47:28 2009 +0100 fec_mxc: incomplete error handling fec_init() will only allocate fec->base_ptr if it is non-NULL. But the cleanup routine on error will free the pointer without setting it to NULL. This means that a later call to fec_init() would result in using an invalid pointer. Signed-off-by: John Ogness Signed-off-by: Ben Warren commit 2ab4a4d0952b754b1c74f4d2b12b83d600d449c8 Author: Reinhard Arlt Date: Fri Dec 4 09:52:17 2009 +0100 net: e1000: Add support for the Intel 82546GB controller This chip is equipped for example on the esd PMC-ETH2-GB board. So let's add it to the list of supported chips to the e1000 driver. Signed-off-by: Reinhard Arlt Signed-off-by: Stefan Roese Signed-off-by: Ben Warren commit aafda38fb266b94ca344e5ff014d430790c72279 Author: Remy Bohmer Date: Wed Oct 28 22:13:40 2009 +0100 Add error codes/handling for TFTP-server Signed-off-by: Remy Bohmer Signed-off-by: Ben Warren commit ac6b362a2598b8cd27beb071fa6224cf8b121e1b Author: Nishanth Menon Date: Fri Oct 16 00:06:37 2009 -0500 LAN91C96: Enable NET_MULTI LAN driver This modification is NOT tested on any of the platforms modified as I dont have them. please help by testing+building+fixing Signed-off-by: Nishanth Menon Signed-off-by: Ben Warren commit a1725999b8b7527971183122cdfb54e2f87f61ae Author: Nishanth Menon Date: Fri Oct 16 00:06:36 2009 -0500 TI OMAP3: SDP3430 FIX NET_MULTI Warning Enable the NET MULTI option and remove build warning Tested: SDP3430 Signed-off-by: Nishanth Menon Signed-off-by: Ben Warren commit b7ad4109da342dfc787468fc713d88d0a8b9e67a Author: Nishanth Menon Date: Fri Oct 16 00:06:35 2009 -0500 NET: LAN91C96 CONFIG_NET_MULTIify Make the lan91c96 driver capable of CONFIG_NET_MULTI to be clean for the new arch, add a a lil detect function Most of the formatting change was done to keep checkpatch silent, but a few functions and #if 0ed code which does not make sense for NET_MULTI have been removed Now, use the lan91c96_initialize() function to init the driver Signed-off-by: Nishanth Menon Signed-off-by: Ben Warren commit 6ac59c5518e1d2e2ef1c4b8dee99267dfbdf9cdc Author: Mike Frysinger Date: Tue Nov 3 11:35:42 2009 -0500 net: pull CONFIG checks out of source and into makefile Signed-off-by: Mike Frysinger Signed-off-by: Ben Warren commit f4cfe42758192d09f8375e384cc000aa70d97029 Author: Stefan Roese Date: Wed Dec 9 09:01:43 2009 +0100 nand: Fix access to last block in NAND devices Currently, the last block of NAND devices can't be accessed. This patch fixes this issue by correcting the boundary checking (off-by-one error). Signed-off-by: Stefan Roese Cc: Scott Wood Cc: Wolfgang Denk commit 3b887ca8ce72cc12129183538f6e828db13f4867 Author: Peter Korsgaard Date: Tue Dec 8 22:20:34 2009 +0100 mpc83xx: boot time regression, move LCRR setup back to cpu_init_f Commit c7190f02 (retain POR values of non-configured ACR, SPCR, SCCR, and LCRR bitfields) moved the LCRR assignment to after relocation to RAM because of the potential problem with changing the local bus clock while executing from flash. This change unfortunately adversely affects the boot time, as running all code up to cpu_init_r can cause significant slowdown. E.G. on a 8347 board a bootup time increase of ~600ms has been observed: 0.020 CPU: e300c1, MPC8347_PBGA_EA, Rev: 3.0 at 400 MHz, CSB: 266.667 MHz 0.168 RS: 232 0.172 I2C: ready 0.176 DRAM: 64 MB 1.236 FLASH: 32 MB Versus: 0.016 CPU: e300c1, MPC8347_PBGA_EA, Rev: 3.0 at 400 MHz, CSB: 266.667 MHz 0.092 RS: 232 0.092 I2C: ready 0.096 DRAM: 64 MB 0.644 FLASH: 32 MB So far no boards have needed the late LCRR setup, so simply revert it for now - If it is needed at a later time, those boards can either do their own final LCRR setup in board code (E.G. in board_early_init_r), or we can introduce a CONFIG_SYS_LCRR_LATE config option to only do the setup in cpu_init_r. Signed-off-by: Peter Korsgaard Signed-off-by: Kim Phillips commit 4b142febff71eabdb7ddbb125c7b583b24ddc434 Author: Heiko Schocher Date: Thu Dec 3 11:21:21 2009 +0100 common: delete CONFIG_SYS_64BIT_VSPRINTF and CONFIG_SYS_64BIT_STRTOUL There is more and more usage of printing 64bit values, so enable this feature generally, and delete the CONFIG_SYS_64BIT_VSPRINTF and CONFIG_SYS_64BIT_STRTOUL defines. Signed-off-by: Heiko Schocher commit 00b6d927ba8900cdf218b90b277e1090e284bea6 Author: Heiko Schocher Date: Thu Dec 3 11:20:06 2009 +0100 5xxx, fdt: move fdt_fixup_memory() to cpu.c file u-boot updates, before starting Linux, the memory node in the DTS. As this is a "standard" feature, move this functionality to the cpu.c file for mpc5xxx and mpc512x processors. Signed-off-by: Heiko Schocher commit 386118a896554b13f14ad0f82356276988f7de82 Author: Michal Simek Date: Tue Dec 8 09:12:49 2009 +0100 microblaze: Correct ffs regression for Microblaze We are using generic implementation of ffs. This should be part of Simon's commit 0413cfecea350000eab5e591a0965c3e3ee0ff00 Here is warning message which this patch removes. In file included from /tmp/u-boot-microblaze/include/common.h:38, from cmd_mtdparts.c:87: /tmp/u-boot-microblaze/include/linux/bitops.h:123:1: warning: "ffs" redefined In file included from /tmp/u-boot-microblaze/include/linux/bitops.h:110, from /tmp/u-boot-microblaze/include/common.h:38, from cmd_mtdparts.c:87: /tmp/u-boot-microblaze/include/asm/bitops.h:269:1: warning: this is the location of the previous definition Signed-off-by: Michal Simek commit 8fe7b29f9811322931f0192a56431edcf819d6b9 Author: Graeme Smecher Date: Mon Dec 7 08:09:57 2009 -0800 microblaze: Stop stack clobbering in microblaze-generic. A typo caused the stack and malloc regions to overlap, which prevented mem_malloc_init() from returning. This commit makes the memory layout match the example described in include/configs/microblaze-generic.h Signed-off-by: Graeme Smecher Signed-off-by: Michal Simek commit 0fc52948bda0734431cb528ee4fd82f1dec8c7b5 Author: Wolfgang Denk Date: Mon Dec 7 23:14:13 2009 +0100 Update CHANGELOG, prepare -rc2 Signed-off-by: Wolfgang Denk commit f2352877cb2daac88115192fb09991a2397d0b27 Author: Peter Tyser Date: Sun Dec 6 23:58:28 2009 -0600 MAKEALL: Fix return value Previously MAKEALL would always return a value of 0, even if 1 or more boards did not compile. This change causes MAKEALL to return 0 if all boards were able to build, otherwise 1. This change also requires changing the script interpreter from sh to bash to support bash's PIPESTATUS variable. Signed-off-by: Peter Tyser commit fbc1c8f6f6c972524197829c56dd8f2f5da0200a Author: Peter Tyser Date: Sun Dec 6 01:33:24 2009 -0600 tools/mkimage: Remove duplicate line of code Recent commits 1a99de2cb4d08eb3bf9fb3f60a9d533150de8c0e and 6a590c5f5fd12cdd27f3153522acfac3854590e7 both fixed the same bug in the same manner. Unfortunately git was "smart" enough to merge both changes which resulted in some duplicate code. Signed-off-by: Peter Tyser Reordered code and comment a bit. Signed-off-by: Wolfgang Denk commit df002fa6b9cd475909ede35bf95b803c2289c6a4 Author: Heiko Schocher Date: Sat Dec 5 11:59:51 2009 +0100 i2c: fix dangling comment in do_i2c_mw() commit bd3784df94bfeca43fbf34094df9cb1bd3ecca3b deleted some unused code in do_i2c_mw(), but missed to also remove the respective commment. This patch fixes this. Signed-off-by: Heiko Schocher commit 7cb5fc15f22de46cc6fabc26baf994cf8f7fa546 Author: Heiko Schocher Date: Thu Dec 3 11:20:42 2009 +0100 mpc52xx, manroland: add some commands add the following commands for the manroland boards: CONFIG_CMDLINE_EDITING CONFIG_COMMAND_HISTORY CONFIG_AUTO_COMPLETE Signed-off-by: Heiko Schocher commit 39ff7d5f4cc547a2034a8bfc2a5b5f4b62fd5c20 Author: Stefan Roese Date: Thu Dec 3 06:24:30 2009 +0100 POST: Remove duplicated post_hotkey_pressed() functions This patch introduces a weak default function for post_hotkey_pressed(), returning 0, for boards without hotkey support. The long-running tests won't be started on those boards. This default function was implemented in many board directories. By implementing this weak default we can remove all those duplicate versions. Boards with hotkey support, can override this weak default function by defining one in their board specific code. Signed-off-by: Stefan Roese commit f8450829f921cf10667af98a8d08edfa3d998f04 Author: Heiko Schocher Date: Tue Dec 1 19:30:47 2009 +0100 52xx, manroland: add fdt_fixup_memory() in ft_board_setup() To update the real memory size in the memory node on the uc101 and mucmc52 boards call fdt_fixup_memory() in ft_board_setup(). Signed-off-by: Heiko Schocher commit 0ec81db20294efdad2454a753e79f1fe244a43ca Author: Daniel Hobi Date: Tue Dec 1 14:05:55 2009 +0100 Fix computation in nand_util.c:get_len_incl_bad Depending on offset, flash size and the number of bad blocks, get_len_incl_bad may return a too small value which may lead to: 1) If there are no bad blocks, nand_{read,write}_skip_bad chooses the bad block aware read/write code. This may hurt performance, but does not have any adverse effects. 2) If there are bad blocks, the nand_{read,write}_skip_bad may choose the bad block unaware read/write code (if len_incl_bad == *length) which leads to corrupted data. Signed-off-by: Daniel Hobi commit aabb8cb0818e285aeed0cfaf243635997e07554d Author: Evan Samanas Date: Mon Nov 9 20:08:36 2009 -0600 nfs: NfsTimeout() updates - NfsTimeout() does not correctly update the NFS timeout value which results in NfsTimeout() only being called once in certain situations. This can result in the 'nfs' command hanging indefinetly. For example, the command: nfs 192.168.0.1:/home/user/file will not exit until ctrl-c is pressed if 192.168.0.1 does not have an NFS server running. This issue is resolved by reinitializting the NFS timeout value inside NfsTimeout() when a timeout occurs. - Make the 'nfs' command print the 'T' character when a timeout occurs. Previously there was no indication that timeouts were occuring. - Mimic the 'tftpboot' command and when a download fails print "Retry count exceeded; starting again", and restart the download taking the 'netretry' environment variable into account. Signed-off-by: Evan Samanas Signed-off-by: Peter Tyser Tested on TQM8xxL. Tested by: Wolfgang Denk Tested on MPC8527DS. Tested by: Ed Swarthout commit 224c90d1060bf1a83cbf33ca51d060b9d19e0294 Author: Peter Tyser Date: Wed Nov 18 19:08:59 2009 -0600 bootm: Fix help message's sub-command ordering The help message for the 'bootm' command listed the 'cmdline' and 'bdt' sub-commands in the wrong order which resulted in the error below when following the 'help' command's instructions: "Trying to execute a command out of order" Signed-off-by: Peter Tyser commit a93c92cddaedd5f0720e0da15c6664f7a688b582 Author: Robert P. J. Day Date: Tue Nov 17 07:30:23 2009 -0500 help: Correct syntax of nandecc help output. "nandecc" help output should not reproduce the command name, nor have a trailing newline. Signed-off-by: Robert P. J. Day commit c2fff331a32ceca837d76eb7827d6340da270d52 Author: Mike Rapoport Date: Wed Nov 11 10:03:03 2009 +0200 smc911x: update SMC911X related configuration description Since commit 736fead8fdbf8a8407048bebc373cd551d01ec98 "Convert SMC911X Ethernet driver to CONFIG_NET_MULTI API" SMC911X configration options are called CONFIG_SMC911X rather than CONFIG_DRIVER_SMC911X. Update README to reflect that change. Signed-off-by: Mike Rapoport commit 45b6b65c6bf06a589ef3123192af94b0381db27b Author: Mike Rapoport Date: Wed Nov 11 10:03:09 2009 +0200 smc911x: fix typo in smc911x_handle_mac_address name Signed-off-by: Mike Rapoport commit f64ef9bb995687e24e0b61b52316f4eaa97c3bbc Author: Ed Swarthout Date: Thu Nov 19 02:47:28 2009 -0600 fix nfs symlink name corruption An off by one error may cause nfs readlink lookup fail if nfs_path_buff has non-zero data from a previous use. Loading: *** ERROR: File lookup fail Signed-off-by: Ed Swarthout commit e8fac25e83426fdf461c66aa8a2530ec28ec536e Author: Wolfgang Denk Date: Mon Dec 7 21:06:40 2009 +0100 at91sam9261ek.c: fix minor coding style issue. Signed-off-by: Wolfgang Denk commit 4713010adf5beda87410d637ebfc58db0db9a9db Author: Wolfgang Denk Date: Sun Dec 6 01:21:28 2009 +0100 trab: fix warning: implicit declaration of function 'disable_vfd' Signed-off-by: Wolfgang Denk commit a9f99ab44b473fb394169ba365f8b4380f981584 Author: Wolfgang Denk Date: Sun Dec 6 00:53:18 2009 +0100 zlib.c: avoid build conflicts for cradle board Commit dce3d79710 updated the zlib code to v0.95; this caused conflicts when building for the "cradle" board, because the (pretty generic) preprocessor variable "OFF" was used in multiple files. Make sure to avoid further conflicts by #undef'ing it in zlib.c before redefining it. Signed-off-by: Wolfgang Denk cc: Giuseppe Condorelli cc: Angelo Castello cc: Alessandro Rubini commit 8cbf4e4f17121d732e78764f0ba317c9a1838ea6 Author: Wolfgang Denk Date: Sun Dec 6 00:26:19 2009 +0100 Fix out-of-tree building of "apollon" board. Signed-off-by: Wolfgang Denk commit f68ab43de67f59925542efb6bcec30f4a84fe695 Author: Mike Frysinger Date: Fri Dec 4 05:35:15 2009 -0500 lzma: ignore unset filesizes The Linux kernel build system changed how it compresses things with LZMA such that the header no longer contains the filesize (it is instead set to all F's). So if we get a LZMA image that has -1 for the 64bit field, let's just assume that the decompressed size is unknown and continue on. Signed-off-by: Mike Frysinger commit cccfc2ab77877dbdd2abe26b28d4c1f467feb0c0 Author: Detlev Zundel Date: Tue Dec 1 17:16:19 2009 +0100 README: Rearrange paragraphs to regain linear arrangement. Two later additions to the Configuration Option section unfortunately split the description of Show boot progress and the list of its call outs. Signed-off-by: Detlev Zundel commit cd514aeb996e2f7aefbe1f78481965d9d074aed4 Author: Joakim Tjernlund Date: Thu Nov 19 13:22:44 2009 +0100 zlib: Optimize decompression This patch optimizes the direct copy procedure. Uses get_unaligned() but only in one place. The copy loop just above this one can also use this optimization, but I havn't done so as I have not tested if it is a win there too. On my MPC8321 this is about 17% faster on my JFFS2 root FS than the original. No speed test has been performed in u-boot. Size increase on ppc: 484 bytes Signed-off-by: Joakim Tjernlund Acked-by: Peter Korsgaard commit 20dde48bcadd856c86a91d5463831a10be46db83 Author: Peter Korsgaard Date: Thu Nov 19 11:37:51 2009 +0100 add lzop decompression support Add lzop decompression support to the existing lzo bitstream handling (think gzip versus zlib), and support it for uImage decompression if CONFIG_LZO is enabled. Lzop doesn't compress as good as gzip (~10% worse), but decompression is very fast (~0.7s faster here on a slow ppc). The lzop decompression code is based on Albin Tonnerre's recent ARM Linux lzo support patch. Cc: albin.tonnerre@free-electrons.com Signed-off-by: Peter Korsgaard commit c81296c16fd9d12422c9968cc0f1d9bf440a7d88 Author: Peter Tyser Date: Tue Nov 24 16:42:10 2009 -0600 tools/mkimage: Print FIT image contents after creation Previously, there was no indication to the user that a FIT image was successfully created after executing mkimage. For example: $ mkimage -f uImage.its uImage.itb DTC: dts->dtb on file "uImage.its" Adding some additional output after creating a FIT image lets the user know exactly what is contained in their image, eg: $ mkimage -f uImage.its uImage.itb DTC: dts->dtb on file "uImage.its" FIT description: Linux kernel 2.6.32-rc7-00201-g7550d6f-dirty Created: Tue Nov 24 15:43:01 2009 Image 0 (kernel@1) Description: Linux Kernel 2.6.32-rc7-00201-g7550d6f-dirty Type: Kernel Image Compression: gzip compressed Data Size: 2707311 Bytes = 2643.86 kB = 2.58 MB Architecture: PowerPC OS: Linux Load Address: 0x00000000 Entry Point: 0x00000000 Hash algo: crc32 Hash value: efe0798b Hash algo: sha1 Hash value: ecafba8c95684f2c8fec67e33c41ec88df1534d7 Image 1 (fdt@1) Description: Flattened Device Tree blob Type: Flat Device Tree Compression: uncompressed Data Size: 12288 Bytes = 12.00 kB = 0.01 MB Architecture: PowerPC Hash algo: crc32 Hash value: a5cab676 Hash algo: sha1 Hash value: 168722b13e305283cfd6603dfe8248cc329adea6 Default Configuration: 'config@1' Configuration 0 (config@1) Description: Default Linux kernel Kernel: kernel@1 FDT: fdt@1 This brings the behavior of creating a FIT image in line with creating a standard uImage, which also prints out the uImage contents after creation. Signed-off-by: Peter Tyser commit 8e1c89663cc8796b85588910046e03b388a7597c Author: Peter Tyser Date: Tue Nov 24 16:42:09 2009 -0600 tools/fit_image.c: Remove unused fit_set_header() The FIT fit_set_header() function was copied from the standard uImage's image_set_header() function during mkimage reorganization. However, the fit_set_header() function is not used since FIT images use a standard device tree blob header. Signed-off-by: Peter Tyser commit 1a99de2cb4d08eb3bf9fb3f60a9d533150de8c0e Author: Peter Tyser Date: Tue Nov 24 16:42:08 2009 -0600 tools/mkimage: Assume FDT image type for FIT images When building a Flattened Image Tree (FIT) the image type needs to be "flat_dt". Commit 89a4d6b12fd6394898b8a454cbabeaf1cd59bae5 introduced a regression which caused the user to need to specify the "-T flat_dt" parameter on the command line when building a FIT image. The "-T flat_dt" parameter should not be needed and is at odds with the current FIT image documentation. Signed-off-by: Peter Tyser commit 3eb90bad651fab39cffba750ec4421a9c01d60e7 Author: Ingo van Lil Date: Tue Nov 24 14:09:21 2009 +0100 Generic udelay() with watchdog support According to the PPC reference implementation the udelay() function is responsible for resetting the watchdog timer as frequently as needed. Most other architectures do not meet that requirement, so long-running operations might result in a watchdog reset. This patch adds a generic udelay() function which takes care of resetting the watchdog before calling an architecture-specific __udelay(). Signed-off-by: Ingo van Lil commit 1c409bc7101a24ecd47a13a4e851845d66dc23ce Author: Graeme Russ Date: Tue Nov 24 20:04:21 2009 +1100 i386: Final Relocation Signed-off-by: Graeme Russ commit cabe5794803fbe18bedac2d9c7f2417a0fa95ec1 Author: Graeme Russ Date: Tue Nov 24 20:04:20 2009 +1100 i386: Move references to link script exports Signed-off-by: Graeme Russ commit 0fc1b49ecbd7ec7371f9ede0600e4fd28cec7f33 Author: Graeme Russ Date: Tue Nov 24 20:04:19 2009 +1100 i386: Remove inline asm symbols from .dynsym Signed-off-by: Graeme Russ commit 564a9984bdbf86a02cf4f0d848933a9fff4a1d18 Author: Graeme Russ Date: Tue Nov 24 20:04:18 2009 +1100 i386: Rearrange Interupt Handling In preperation for full relocation Signed-off-by: Graeme Russ commit 27f13075a659da046372dfe249d808f2f6ddb432 Author: Graeme Russ Date: Tue Nov 24 20:04:17 2009 +1100 i386: Fix race condition when using SC520 timers Signed-off-by: Graeme Russ commit 141a62cc12bfbab49f0f44a394518a360dcddad8 Author: Graeme Russ Date: Tue Nov 24 20:04:16 2009 +1100 i386: Fix global label in inline asm compile error Signed-off-by: Graeme Russ commit 4ee4e413baa8e951e3c42c17a808578867a63572 Author: Graeme Russ Date: Tue Nov 24 20:04:15 2009 +1100 i386: Reorder source objects in lib_i386 Makefile Signed-off-by: Graeme Russ commit aea14421c52f31e39837aa2890e07e9c70ee61fd Author: Graeme Russ Date: Tue Nov 24 20:04:14 2009 +1100 i386: Fix link collisions resulting from gcc4.4.1 upgrade Signed-off-by: Graeme Russ commit b4feeb4e8a1d9124bae39985a97b99d08e06186d Author: Graeme Russ Date: Tue Nov 24 20:04:13 2009 +1100 i386: Fix malloc initialization Signed-off-by: Graeme Russ commit c74bfce0fb20ec4d01809fa0566263894923467b Author: Graeme Russ Date: Tue Nov 24 20:04:12 2009 +1100 i386: Fix dlmalloc compile warning Signed-off-by: Graeme Russ commit 270737acca21f3939f814de5dcf350a1c3d80d83 Author: Michael Brandt Date: Sun Nov 22 14:13:27 2009 +0100 EXT2FS: fix inode size for ext2fs rev#0 extfs.c assumes that there is always a valid inode_size field in the superblock. But this is not true for ext2fs rev 0. Such ext2fs images are for instance generated by genext2fs. Symptoms on ARM machines are messages like: "raise: Signal # 8 caught"; on PowerPC "ext2ls" will print nothing. This fix checks for rev 0 and uses then 128 bytes as inode size. Signed-off-by: Michael Brandt Tested on: TQM5200S Tested-by: Wolfgang Denk Signed-off-by: Wolfgang Denk commit bcb324d68f7955c1136dafc944eb55db8ebaa601 Author: Robert P. J. Day Date: Thu Nov 19 11:00:28 2009 -0500 Remove superfluous preprocessor tests from some cmd_*.c files. A small number of common/cmd_*.c files contain preprocessor tests that are apparently superfluous since those same tests are used in the Makefile to control the compilation of those files. Those tests are clearly redundant as long as they surround the entirety of the source in those files. Signed-off-by: Robert P. J. Day commit 3ee8c12071f0e3bdda25125b63c9d3fd54a7c9d8 Author: Joakim Tjernlund Date: Thu Nov 19 13:44:16 2009 +0100 crc32: Impl. linux optimized crc32() Ported over the more efficient linux crc32() function. A quick comparsion on ppc: After changing the old crc32 to do 4 bytes in the inner loop to be able to compare with new version one can note: - old inner loop has 61 insn, new has 19 insn. - new crc32 does one 32 bit load of data to crc while the old does four 8 bits loads. - size is bit bigger for the new crc32: 1392(old) 1416(new) of text. The is because the new version shares code with crc32_no_comp() instead of duplicating code. - about 33% faster on ppc: New > crc 0 0xfffffff -> 39 secs Old > crc 0 0xfffffff -> 60 secs Signed-off-by: Joakim Tjernlund commit ad53226156fa64b6d04c0d1d6e91e09979cbea15 Author: Robert P. J. Day Date: Tue Nov 17 01:59:29 2009 -0500 README: Update the list of directories. Bring the directory listing more into line with current content. Signed-off-by: Robert P. J. Day commit bd3784df94bfeca43fbf34094df9cb1bd3ecca3b Author: Pratap Chandu Date: Thu Nov 12 19:28:25 2009 +0530 Removes dead code in the file common/cmd_i2c.c There is some dead code enclosed by #if 0 .... #endif in the file common/cmd_i2c.c This patch removes the dead code. Signed-off-by: Pratap Chandu commit 64a480601a5614b441de692ae15a62c51e0bb381 Author: Mike Frysinger Date: Wed Nov 11 17:51:56 2009 -0500 smc91111_eeprom: drop CONFIG stub protection Since the Makefile now controls the compilation of this, there is no need for CONFIG checking nor the stub function. Signed-off-by: Mike Frysinger commit f3a7bddc06c927c36a1a99a97131299479ef207a Author: Magnus Lilja Date: Wed Nov 11 19:56:58 2009 +0100 RTC: Fix return code in MC13783 RTC driver. Signed-off-by: Magnus Lilja commit d52e3e0176a74c30549251e16c5c00a363c544d2 Author: Magnus Lilja Date: Wed Nov 11 19:56:36 2009 +0100 cmd_date: Fix spelling in error message. Signed-off-by: Magnus Lilja commit c253122395753abb9e531d8906c5265dc8803fb1 Author: Peter Tyser Date: Wed Nov 11 10:36:28 2009 -0600 Move do_irqinfo() to common/cmd_irq.c cmd_irq.c is a much better home and it is already conditionally compiled based on CONFIG_CMD_IRQ. Signed-off-by: Peter Tyser commit a5dd4dc64fe68e549c5ffcf6a048281b5ba94752 Author: Peter Tyser Date: Wed Nov 11 10:36:19 2009 -0600 cmd_license: Remove unneeded #ifdef CONFIG_CMD_LICENSE cmd_license is already conditionally compiled at the Makefile-level. Signed-off-by: Peter Tyser commit 06015146a15adc7455440c491d543f6a8091551d Author: Peter Tyser Date: Mon Nov 9 15:18:52 2009 -0600 m41t11: Remove unused functions Signed-off-by: Peter Tyser commit 9ef78511cda39987e5fc10febf386fd19f58ecf7 Author: Peter Tyser Date: Mon Nov 9 15:17:50 2009 -0600 circbuf: Move to lib_generic and conditionally compile circbuf could be used as a generic library and is only currently needed when CONFIG_USB_TTY is defined. Signed-off-by: Peter Tyser commit 604f7ce55ad74694ef8743ad2e99933dc0265e46 Author: Sanjeev Premi Date: Mon Nov 9 22:43:00 2009 +0530 Fix build failure in examples/standalone Some versions of 'make' do not handle trailing white-spaces properly. Trailing spaces in ELF causes a 'fake' source to be added to the variable COBJS; leading to build failure (listed below). The problem was found with GNU Make 3.80. Using text-function 'strip' as a workaround for the problem. make[1]: Entering directory `/home/sanjeev/u-boot/examples/standalone' arm-none-linux-gnueabi-gcc -g -Os -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x80e80000 -I/home/sanjeev/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/codesourcery/2009q1- 203/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/include -pipe -DCONFIG_ ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv5 -Wall -Wstrict-prototypes -fno-stack-protector -g -Os -fno-common -ff ixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x80e80000 -I/home/sanje ev/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/co desourcery/2009q1-203/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/includ e -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-inte rwork -march=armv5 -I.. -Bstatic -T u-boot.lds -Ttext 0x80e80000 -o .c arm-none-linux-gnueabi-gcc: no input files make[1]: *** [.c] Error 1 make[1]: Leaving directory `/home/sanjeev/u-boot/examples/standalone' make: *** [examples/standalone] Error 2 premi # Signed-off-by: Sanjeev Premi Fixed typo (s/ElF/ELF/). Signed-off-by: Wolfgang Denk commit d984fed068b3bec8a7edaf7a3de71479abde080a Author: Scott Wood Date: Wed Nov 4 18:41:41 2009 -0600 makefiles: fixes for building build tools Currently, some of the tools instead set CC to be HOSTCC in order to re-use some pattern rules -- but this fails when the user overrides CC on the make command line. Also, the HOSTCFLAGS in tools/Makefile are currently not being used because config.mk overwrites them. This patch adds static pattern rules for files that have been requested to be built with the native compiler using $(HOSTSRCS) and $(HOSTOBJS), and converts the tools to use them. It restores easylogo to using the host compiler, which was broken by commit 38d299c2db81bd889c601b5dfc12c4e83ef83333 (if this was an intentional change, please let me know -- but it seems to be a build tool). It restores -pedantic and the special flags for darwin and cygwin that were requested in tools/makefile (but keeps the flags added by config.mk) -- hopefully someone can test this on those platforms. It no longer conditionalizes -pedantic on not being darwin; it wasn't clear that that was intentional, and unless there's a real problem it's just inviting people to contribute non-pedantic patches to those files (I'm not a fan of -pedantic personally, but if it's on for one platform it should be on for all). HOST_LDFLAGS is renamed HOSTLDFLAGS for consistency with the previous HOST_CFLAGS to HOSTCFLAGS rename. A new HOSTCFLAGS_NOPED is made available for those files which currently cannot be built with -pedantic, and replaces the old FIT_CFLAGS. imls now uses the cross compiler properly, rather than by trying to reconstruct CC using the typoed $(CROSS_COMPILER). envcrc.c is now dependency-processed unconditionally -- previously it would be built without being on (HOST)SRCS if CONFIG_ENV_IS_EMBEDDED was not selected. Signed-off-by: Scott Wood commit af860962b544ddf323c4ff68454f00d31e44df0a Author: Becky Bruce Date: Wed Nov 4 18:30:08 2009 -0600 85xx: Remove unused CONFIG_ASSUME_AMD_FLASH from config files A bunch of the 85xx boards have this cruft in them - it's not used anywhere. Delete it. Signed-off-by: Becky Bruce commit bf44f3f327acddba202ff67f70192926ea47dfd1 Author: Mike Frysinger Date: Wed Nov 4 16:34:42 2009 -0500 exports: rewrite jump table init The current jump table init fails to initialize a bunch of exported symbols (forceenv/do_reset/etc...). Rather than fix just these few missing pieces, rewrite the code to utilize the existing list of exported symbols -- _exports.h. Since every exported symbol has to be listed in this header, it makes sense to use it so that we only ever have one list that needs to be updated and things can't fall out of sync again. Signed-off-by: Mike Frysinger commit deec1fbd4f704dded2e668bb9e368631981ea139 Author: Wolfgang Denk Date: Wed Dec 2 22:26:30 2009 +0100 MAINTAINERS: update responsible for MPC85xx/86xx Signed-off-by: Wolfgang Denk Cc: Kumar Gala Cc: Becky Bruce commit 71636fa7c3de63de29c0f514d5c725eccb011657 Author: Tom Rix Date: Sun Nov 29 17:56:36 2009 -0600 ARM Update mach-types Fetched from http://www.arm.linux.org.uk/developer/machines/download.php And built with repo http://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur/linux-2.6-arm commit 3fcca9ac6cbce35b3e81e247d375534117d5f4cd Signed-off-by: Tom Rix commit 7c15121f4007751af8c45c978c4ad7d6c5ff11f9 Author: Vaibhav Hiremath Date: Mon Nov 23 16:36:05 2009 +0530 omap3_mmc: Encapsulate twl4030 under option CONFIG_TWL4030_POWER Fixes the build/compilation error if we try to re-use the omap3_mmc code without TWL4030_POWER. Signed-off-by: Vaibhav Hiremath commit 6406d6daea51bbeed21f3829b37d3f395c198e54 Author: Sandeep Paulraj Date: Sat Nov 21 13:13:59 2009 -0500 TI DaVinci: Adding a README for the DaVinci series of SOC's Adding an initial README for the DaVinci series of SOC's Signed-off-by: Sandeep Paulraj commit 990f569c4fa6b9e76b31d0a5229981c092b02dcf Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat Jun 6 10:30:58 2009 +0000 avr32/hsdramc: Move conditional compilation to Makefile Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD jcrosoft.com> Cc: Haavard Skinnemoen atmel.com> commit 3f12f5217e8bdf8f6842bf1b8c5c5b98425ac3db Author: Sandeep Paulraj Date: Sat Nov 21 13:24:17 2009 -0500 NAND: Add config option for imx27lite We will get compilation warnings without "CONFIG_SYS_64BIT_VSPRINTF" being defined in the board config. Signed-off-by: Sandeep Paulraj commit 43a5f0df2f2e3a2b5eab05d6742501c98d3c0d0c Author: Po-Yu Chuang Date: Wed Nov 11 17:27:30 2009 +0800 arm: A320: Add support for Faraday A320 evaluation board This patch adds support for A320 evaluation board from Faraday. This board uses FA526 processor by default and has 512kB and 32MB NOR flash, 64M RAM. FA526 is an ARMv4 processor and uses the ARM920T source in this patch. Signed-off-by: Po-Yu Chuang commit 39ba774f9b02c44b8fd4df44afac932800c18662 Author: Po-Yu Chuang Date: Wed Nov 11 17:26:00 2009 +0800 arm: A320: driver for FTRTC010 real time clock This patch adds an FTRTC010 driver for Faraday A320 evaluation board. Signed-off-by: Po-Yu Chuang commit c1ee63cee89c5822fbbcc63586c8f2a1add70614 Author: Sandeep Paulraj Date: Sat Nov 21 18:08:49 2009 -0500 TI DaVinci DM646x: Enable NAND on DM6467 EVM This patch enables NAND on the DM6467 EVM Signed-off-by: Sandeep Paulraj commit d414aae552bc229dafcad92028effb4a8306c7a5 Author: Nishanth Menon Date: Mon Nov 9 09:29:34 2009 -0500 OMAP3: Fix SDRC init Defaults are for Infineon DDR timings. Since none of the supported boards currently do XIP boot, these seem to be faulty. fix the values as per the calculations(ACTIMA,B), conf the sdrc power with pwdnen and wakeupproc bits Signed-off-by: Nishanth Menon commit 30563a04bff73fd4fbd840b846f4b6459759a839 Author: Nishanth Menon Date: Sat Nov 7 10:51:24 2009 -0500 OMAP3:SDRC: introduce DDR types Micron DDR timings based on: http://www.sakoman.net/cgi-bin/gitweb.cgi?p=x-load-omap3.git;a=blob;f=include/asm/arch-omap3/mem.h;h=e6fbfe3947f5d0d85fea776e30821d4017316d86;hb=HEAD Introduce Micron DDR timings and provide CONFIG_OMAP3_INFINEON_DDR and CONFIG_OMAP3_MICRON_DDR config options to allow for platform files to setup their timings as per the type of DDR selected Reported-by: Steve Sakoman in http://www.nabble.com/forum/Permalink.jtp?root=25779518&post=25959734&page=y Signed-off-by: Nishanth Menon commit 169a4c804dbaf11facb041b1333d394c6ceb8d68 Author: Nishanth Menon Date: Sat Nov 7 10:40:47 2009 -0500 OMAP3:SDRC: Cleanup references to SDP Remove SDP referenced unused defines Signed-off-by: Nishanth Menon commit 2819e1365be0c81a0141ef5c6a7996b40888f6d8 Author: Sekhar Nori Date: Thu Nov 12 11:09:25 2009 -0500 TI DA8xx: Integrate DA830 EVM support into U-Boot Integrate DA830 EVM support into U-Boot. Provides initial support for TI OMAP-L137/DA830 SoC devices on a Spectrum Digital EVM board. See http://www.spectrumdigital.com/ Signed-off-by: Nick Thompson commit bdc9c6c7f77a9a63349ecb9f54b20ad34033a2ae Author: Sekhar Nori Date: Thu Nov 12 11:08:39 2009 -0500 TI DA8xx: Add new directory for da830evm board Add new directory for da830evm board Provides initial support for TI OMAP-L137/DA830 SoC devices on a Spectrum Digital EVM board. See http://www.spectrumdigital.com/ Provides: Initial boot and configuration. Support for i2c. UART support (console). Signed-off-by: Nick Thompson commit 91172baf46a57807233eb7bcd724b9f10109cfe0 Author: Sekhar Nori Date: Thu Nov 12 11:07:22 2009 -0500 TI DA8xx: Add DA8xx cpu functions Provides initial support for TI OMAP-L1x/DA8xx SoC devices. See http://www.ti.com Provides: Low level initialisation. System clock API. Timer control. Signed-off-by: Nick Thompson commit bbed056e550b26712edc173411c9d7ff9cb7e0e6 Author: Nick Thompson Date: Thu Nov 12 11:06:08 2009 -0500 Add TI DA8xx support: DA8xx includes Provides initial support for TI OMAP-L1x/DA8xx SoC devices. See http://www.ti.com The DA8xx devices are similar to DaVinci devices but have a differing memory map and updated peripheral versions. Signed-off-by: Nick Thompson Signed-off-by: Sekhar Nori commit ca8480d444bdcc1670e42a613c5a5e4e8366d2d9 Author: Nick Thompson Date: Thu Nov 12 11:03:23 2009 -0500 TI Davinci: add a pin multiplexer configuration API Creates a method allowing pin settings to be logically grouped into data structure arrays and provides an API to configure the pinmux settings to enable the relevant pin functions. Signed-off-by: Nick Thompson commit 9868a36dfb8de4bb98b48e4f4eb912312d67279e Author: Nick Thompson Date: Thu Nov 12 11:02:17 2009 -0500 TI Davinci timer.c: Remove volatiles and memory mapped structures Remove volatiles and memory mapped structure accesses and replace with readl and writel macro usage. Signed-off-by: Nick Thompson commit c90b32739a50ca52d9b8d220ea6875ae994566ec Author: Grazvydas Ignotas Date: Thu Nov 12 11:46:07 2009 +0200 OMAP3: pandora: fix booting without serial attached When the board is booted without serial cable attached (which is how most of them will be used) UART RX is left floating and sometimes picks noise, which interrupts countdown and enters U-Boot prompt instead of booting the kernel. Fix this by setting up internal pullup on UART RX pin. This does not prevent serial from working as the internal pullup is weak. Signed-off-by: Grazvydas Ignotas commit ac67804fbb2d82a19170066c02af7053d474ce8d Author: kevin.morfitt@fearnside-systems.co.uk Date: Tue Nov 17 18:30:34 2009 +0900 Add a unified s3c24x0 header file This patch adds a unified s3c24x0 cpu header file that selects the header file for the specific s3c24x0 cpu from the SOC and CPU configs defined in board config file. This removes the current chain of s3c24-type #ifdef's from the s3c24x0 code. Signed-off-by: Kevin Morfitt Signed-off-by: Minkyu Kang commit a59a23d68ae4f4a1c07d105520c93e6e289d186f Author: Seunghyeon Rhee Date: Fri Nov 13 16:49:41 2009 +0900 S3C6400/SMDK6400: fix stack_setup in start.S Fix stack_setup to place the stack on the correct address in DRAM accroding to U-Boot standard and remove conditional compilation by CONFIG_MEMORY_UPPER_CODE macro that is not necessry. This macro was introduced and used only by this board for some unclear reason. The definition of this macro is also removed because it's not referenced elsewhere. Signed-off-by: Seunghyeon Rhee Tested-by: Minkyu Kang commit 940032260914076b1594906334b2e3f7af6fb7cf Author: Minkyu Kang Date: Tue Nov 10 20:23:50 2009 +0900 s5pc1xx: serial: fix the error check logic Because of Frame error, Parity error and Overrun error are occured only receive operation, need to masking when error checking. Signed-off-by: Minkyu Kang commit 9ebfdc202275bcd9eb4af56e32bfb4253ff1b781 Author: kevin.morfitt@fearnside-systems.co.uk Date: Wed Nov 4 17:49:31 2009 +0900 Clean-up of s3c24x0 header files Cleans up the s3c24x0 header files: s4c24x0.h: removes the use of 'volatile' from the S3C24X0_REG8, S3C24X0_REG16 and S3C24X0_REG32 register typedef's. Registers are always accessed using the IO accessor functions which cast the register address as 'volatile' anyway so it isn't required here. s3c2400.h and s3c2410.h: insert a blank line between the static inline functions Signed-off-by: Kevin Morfitt commit 47e801bec360e69e4b087a141d015b318e1b0212 Author: Minkyu Kang Date: Wed Nov 4 16:07:59 2009 +0900 s3c64xx: move s3c64xx header files to asm-arm/arch-s3c64xx This patch moves the s3c64xx header files from include/ to include/asm-arm/arch-s3c64xx Signed-off-by: Minkyu Kang commit 492fb1fdbcdd5e21be0b6742c15f76c648f0653b Author: kevin.morfitt@fearnside-systems.co.uk Date: Tue Nov 3 18:08:41 2009 +0900 Move s3c24x0 header files to asm-arm/arch-s3c24x0/ This patch moves the s3c24x0 header files from include/ to include/asm-arm/arch-s3c24x0/. checkpatch.pl showed 2 errors and 3 warnings. The 2 errors were both due to a non-UTF8 character in David M?ller's name: ERROR: Invalid UTF-8, patch and commit message should be encoded in UTF-8 #489: FILE: include/asm-arm/arch-s3c24x0/s3c2410.h:3: + * David M?ller ELSOFT AG Switzerland. d.mueller@elsoft.ch As David's name correctly contains a non-UTF8 character I haven't fixed these errors. The 3 warnings were all because of the use of 'volatile' in s3c24x0.h: WARNING: Use of volatile is usually wrong: see Documentation/volatile-considered-harmful.txt #673: FILE: include/asm-arm/arch-s3c24x0/s3c24x0.h:35: +typedef volatile u8 S3C24X0_REG8; +typedef volatile u16 S3C24X0_REG16; +typedef volatile u32 S3C24X0_REG32; I'll fix these errors in another patch. Tested by running MAKEALL for ARM8 targets and ensuring there were no new errors or warnings. Signed-off-by: Kevin Morfitt Signed-off-by: Minkyu Kang commit 2d251ccaa90997012e0b1f13bf791df2bf03a144 Author: Tom Rix Date: Sun Nov 15 10:58:06 2009 -0600 ARM Update mach-types Fetched from http://www.arm.linux.org.uk/developer/machines/download.php And built with repo http://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur/linux-2.6-arm commit 156171c71a0dc4bce12b4408bb1591f8fe32dc1a Signed-off-by: Tom Rix commit c88ed4cb2eed29a690ac6689ed1dc2f5e9547d15 Author: Mark Asselstine <[mark.asselstine@windriver.com]> Date: Tue Oct 27 19:40:40 2009 +0530 sheevaplug: correct SDRAM address control register value The SheevaPlug DevKit is shipped with 4x8 by 1Gb DDR devices in two banks for a total of 512MB of RAM. Based on this configuration the existing values for SDRAM address control register are incorrect and result in random kernel oops as memory is incorrectly accessed (while for example extracting a large tarball such as a rootfs). Based on the hardware configuration along with the supporting documentation from Marvell these are the correct values, as well this change mimics values previously used in Marvell's own u-boot git tree for the SheevaPlug. Other variants of the hardware such as the PogoPlug and TonidoPlug may have different memory configurations but to properly support those additional board directories should be maintained or a better system to support other kwb*.cfg is needed. Tested on SheevaPlug DevKit. Signed-off-by: Mark Asselstine commit 9829cabbaa0474e94075bf7d62c99bdba996518b Author: Sandeep Paulraj Date: Wed Oct 28 19:16:43 2009 -0400 Fix for Void function returning value in sbc35-a9g20 Void function was returning 0 in the m41t94 rtc driver. This makes it similar to m41t62 rtc driver. Signed-off-by: Sandeep Paulraj commit d5e2d625c74c84aa419ba7fa0c81bad93fc69a60 Author: Tom Rix Date: Sat Oct 24 14:48:33 2009 -0500 ARM Update mach-types.h From http://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur/linux-2.6-arm Commit id 0996391139f43d032335b5360db11da62a2cbb39 Signed-off-by: Tom Rix commit 34ddbd171ba154e9afd83f07a07ad8b57ac592e3 Author: Matthias Fuchs Date: Thu Oct 22 23:06:59 2009 +0200 ppc4xx: Remove autoupdate feature from PLU405 board The autoupdate feature is not used on PLU405 boards. So remove it. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit 824d82997fbcf28e49081d36fdd5d3be1b92b03d Author: Ira W. Snyder Date: Wed Nov 4 13:37:59 2009 -0800 Fix example FIT image source files The example FIT image source files do not compile with the latest dtc and mkimage. The following error message is produced: DTC: dts->dtb on file "kernel.its" Error: kernel.its 7:0 - 1:0 syntax error FATAL ERROR: Unable to parse input tree ./mkimage: Can't read kernel.itb.tmp: Invalid argument The FIT image source files are missing the "/dts-v1/;" directive at the beginning of the file. Add the directive to the examples. Signed-off-by: Ira W. Snyder commit fd66066ee3ce15c2966feb9b2be0f0d51a95db48 Author: Mike Frysinger Date: Wed Nov 4 16:13:19 2009 -0500 img2srec: use standard types The img2srec code creates a lot of typedefs with common names. These easily clash with system headers that include these typedefs (like mingw). Signed-off-by: Mike Frysinger commit 8204e068110e8abe5db9c3b7df9971b58cda8f26 Author: Mike Frysinger Date: Wed Nov 4 16:03:25 2009 -0500 tools: gitignore *.exe binaries Signed-off-by: Mike Frysinger commit 425d3b666eee5c58fdb82fb894a535dd71782a05 Author: Peter Tyser Date: Tue Nov 3 23:31:07 2009 -0600 ppc: Move conditional compilation of kgdb.c to Makefile Signed-off-by: Peter Tyser commit e06ab6546b332acc55ac4e7c31338662328b0fb3 Author: Mike Frysinger Date: Tue Nov 3 11:36:39 2009 -0500 spi_flash.h: pull in linux/types.h for u## types commit 0008555f4d57c15ad86ee735861ca0d783042f61 Author: Mike Frysinger Date: Tue Nov 3 11:36:26 2009 -0500 bootm: mark local boot_os[] table static Signed-off-by: Mike Frysinger commit a8fa379d47f06c7d3ed75c8fb26ae43ee38e1fd7 Author: Nishanth Menon Date: Mon Nov 2 09:40:18 2009 -0600 mkconfig: deny messed up ARCH definition Refuse to setup a platform if the command line ARCH= is not the same as the one required for the board. This prevents any user with prehistoric aliases from messing up their builds. Reported in thread: http://old.nabble.com/-U-Boot--Build-breaks-on-some-OMAP3-configs-to26132721.html Inputs from: Mike Frysinger and Wolfgang Denk: http://lists.denx.de/pipermail/u-boot/2009-November/063642.html Cc: Wolfgang Denk Cc: Mike Frysinger Cc: Anand Gadiyar Cc: Dirk Behme Signed-off-by: Nishanth Menon commit 67b96e87da1b84660fa1e5b78cc760246d116814 Author: Remy Bohmer Date: Wed Oct 28 22:13:39 2009 +0100 Repair the 'netretry=once' option. 'netretry = once' does the same as 'netretry = yes', because it is not stored when it was tried once. Signed-off-by: Remy Bohmer Signed-off-by: Ben Warren commit b25e38fc36e13fa8037fa4d37fe909d1d6e6f372 Author: Remy Bohmer Date: Thu Oct 29 14:24:22 2009 +0100 Repair build fail in case CONFIG_PPC=n and CONFIG_FIT=y Signed-off-by: Remy Bohmer commit 01826abc02ce160501534788e63629ccbe31b05c Author: Grazvydas Ignotas Date: Thu Nov 12 11:46:07 2009 +0200 OMAP3: pandora: fix booting without serial attached When the board is booted without serial cable attached (which is how most of them will be used) UART RX is left floating and sometimes picks noise, which interrupts countdown and enters U-Boot prompt instead of booting the kernel. Fix this by setting up internal pullup on UART RX pin. This does not prevent serial from working as the internal pullup is weak. Signed-off-by: Grazvydas Ignotas commit 41dfd8a60324243dbe2dc313a607910824a68aa7 Author: Remy Bohmer Date: Wed Oct 28 22:13:37 2009 +0100 Add support for CS2 dataflash for Atmel-SPI. The only missing chipselect line support is CS2, and I need it on CS2... Signed-off-by: Remy Bohmer commit faf36c1437c95e4a86835633d9801c5f6396a3c7 Author: Remy Bohmer Date: Wed Oct 28 22:13:36 2009 +0100 Fix mingw tools build mkimage does not build due to missing strtok_r() and getline() implementation Signed-off-by: Remy Bohmer commit 6a590c5f5fd12cdd27f3153522acfac3854590e7 Author: Remy Bohmer Date: Wed Oct 28 22:13:35 2009 +0100 Building of FIT images does not work. The type is not set for generation of the FIT images, resulting in no images being created without printing or returning an error Signed-off-by: Remy Bohmer commit 0a7691e820e33b23f61c6ea0ef6fa72099d1a6ae Author: Renato Andreola Date: Mon Nov 23 16:45:14 2009 -0500 Nios2: do_boom_linux(): kernel gunzip input data integrity problem due to missing cache flush. Added instruction and data caches flush. Signed-off-by: Scott McNutt commit de03825386eaedb5e17261dd87cde86e9a764ba9 Author: Scott McNutt Date: Mon Nov 23 16:29:40 2009 -0500 Nios2: Fix compiler warnings in lib_nios2/board.c (unused variables) Signed-off-by: Scott McNutt commit 57baa379cf2f67df89a5c6052767fd25daff20bd Author: Scott McNutt Date: Mon Nov 23 15:54:25 2009 -0500 Nios2/Nios: Remove unnecessary (residual) linker Nios command scripts from the standalone examples. Signed-off-by: Scott McNutt commit eb5eb2b0f744f0cba405160c5d01335c40f09acf Author: Stefan Roese Date: Thu Nov 19 14:03:17 2009 +0100 ppc4xx: Cleanup PPC4xx I2C infrastructure This patch cleans up the PPC4xx I2C intrastructure: - Use C struct to describe the I2C registers instead of defines - Coding style cleanup (braces, whitespace, comments, line length) - Extract common code from i2c_read() and i2c_write() - Remove unneeded IIC defines from ppc405.h & ppc440.h Signed-off-by: Stefan Roese commit b2f618f2150b15b2674f11d09e1c0fdfe460c1cd Author: Stefan Roese Date: Thu Nov 19 11:49:36 2009 +0100 ppc4xx: Remove some testing code from 4xx_pcie.c This code got included accidentally. Signed-off-by: Stefan Roese commit 4e574c4e2d3776d9db62dca4ca3c73be1574af43 Author: Daniel Gorsulowski Date: Mon May 18 13:20:54 2009 +0200 at91: Extended soft_i2c driver for AT91SAM9263 SoC While hard_i2c support is not available (see http://lists.denx.de/pipermail/u-boot/2009-March/049751.html), this patch enables soft_i2c on AT91SAM9263 SoC. Signed-off-by: Daniel Gorsulowski commit 396fd17338b9bf1f84f494ec1860427e18868ede Author: Peter Tyser Date: Fri Oct 16 17:36:27 2009 -0500 Add 'true' and 'false' commands These commands are only enabled when the hush shell is enabled and can be useful in scripts such as: while true do echo "Booting OS..."; run $bootcmd; echo "Booting OS failed"; sleep 10; done Signed-off-by: Peter Tyser commit 4e1ca93b6bae34b68be9280b43bf0289d994656c Author: Peter Tyser Date: Fri Oct 16 17:36:26 2009 -0500 cmd_help: General cleanup Shorten the overly-verbose help message of 'help' and clean up some redundant ifdefery while we're at it. Signed-off-by: Peter Tyser commit 6b8f5ad10f567362a3682840f59ba0fc470af319 Author: Peter Tyser Date: Fri Oct 16 17:36:25 2009 -0500 command.c: Break commands out to appropriate cmd_*.c files command.c should contain common code related to commands, not miscellaneous command implementations. Signed-off-by: Peter Tyser commit fcffb680e77fcb48598d4a9944dbe2d4503170e0 Author: Mike Frysinger Date: Wed Oct 14 19:28:03 2009 -0400 sf: fix stmicro offset setup while erasing Reported-by: Peter Gombos Signed-off-by: Mike Frysinger commit d394a7795027d96ca55799df40bd5c4a13dbeebe Author: Jason McMullan Date: Fri Oct 9 17:12:23 2009 -0400 sf: new driver for Winbond W25X16/32/64 devices Signed-off-by: Jason McMullan Signed-off-by: Mike Frysinger commit cada315100c88894b85972a91309a6f2413966b6 Author: Marcel Ziswiler Date: Thu Oct 1 23:55:17 2009 +0200 mpc8260: move FDT memory node fixup into common CPU code. Signed-off-by: Marcel Ziswiler Tested-by: Heiko Schocher commit f2cea405f83da46b72098ea874fb3eefe185d312 Author: Po-Yu Chuang Date: Wed Sep 23 15:52:35 2009 +0800 Add driver for FTRTC010 real time clock Signed-off-by: Po-Yu Chuang Edited commit message. Signed-off-by: Wolfgang Denk commit c0356a88011330646e960dfac8a2c909bede3304 Author: Mark Jackson Date: Mon Aug 17 16:42:52 2009 +0100 MIMC200: set default fbmem value This patch adds a default bootargs "fbmem" value to the CONFIG_BOOTARGS string for the MIMC200 board. Signed-off-by: Mark Jackson commit 10a5a7991258019af155bc19b3b246aaa708b0e2 Author: Sandeep Paulraj Date: Thu Nov 19 23:04:42 2009 -0500 NAND: Add Support for 4K page size in DaVinci NAND driver This patch adds support for NAND devices with a page size of 4K in the DaVinci NAND driver. The layout matches the layout that TI uses for 4K page size NAND devices in the kernel NAND driver. Signed-off-by: Sandeep Paulraj commit 14ce02c88116316a0285cc7d9c05f83367a5aae8 Author: Matthias Fuchs Date: Wed Nov 18 16:29:29 2009 +0100 ppc4xx: Remove unused features from PMC440 board support This patch shrinks the PMC440 u-boot binary (from next branch) to fit into 384kB again. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit 629ab99b3b19c1b7e06a7c4e5d666138bc924c7c Author: Matthias Fuchs Date: Wed Nov 18 16:28:42 2009 +0100 ppc4xx: Remove confusing comment This is not the sequoia board. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit 79e2d8df3776b667257e609aefefa071b4fe13a2 Author: Stefan Roese Date: Tue Nov 17 15:53:00 2009 +0100 ppc4xx: alpr: Remove some not needed commands to make image fit again The latest changes in the u-boot/next branch increased the size of the alpr image a bit more. Now it doesn't fit into the 256k reserved for it. This patch now removes the commands "askenv" and "irq" which are not needed in the production systems. Signed-off-by: Stefan Roese Cc: Pieter Voorthuijsen commit 6c70049bd14e8e81764570732be7f34a89831f09 Author: Stefan Roese Date: Thu Nov 12 17:19:37 2009 +0100 ppc4xx: Consolidate pci_master_init() function This patch removes the duplicted implementations of the pci_master_init() function by introducing a weak default function for it. It can be overridden by a board specific version. Signed-off-by: Stefan Roese commit a760b0203155da6fb8b8e9086169bb87d09d76fa Author: Stefan Roese Date: Thu Nov 12 16:41:09 2009 +0100 ppc4xx: Consolidate pci_pre_init() function This patch removes the duplicted implementations of the pci_pre_init() function by introducing a weak default function for it. This weak default has a different implementation for some PPC variants. It can be overridden by a board specific version. Signed-off-by: Stefan Roese commit 1095493a5d4c16f481a783f6f54d83ad0e07dfa0 Author: Stefan Roese Date: Thu Nov 12 12:00:49 2009 +0100 ppc4xx: Consolidate pci_target_init() function This patch removes the duplicted implementations of the pci_target_init() function by introducing a weak default function for it. This weak default has a different implementation for 440EP(x)/GR(x) PPC's. It can be overridden by a board specific version (e.g. PMC440, korat). Signed-off-by: Stefan Roese Acked-by: Matthias Fuchs commit 5e1ded558b7cc28a62c14598f6437023b6262444 Author: Hui.Tang Date: Wed Nov 18 16:24:04 2009 +0800 S3C2410 NAND Flash Add Missing Function This patch add nand_read_buf() for S3C2410 NAND SPL. In nand_spl/nand_boot.c, nand_boot() will check nand->select_chip, so nand->select_chip should also be initialized. Signed-off-by: Hui.Tang commit 6cd752f927e515e63a038fa363edceec5a59c028 Author: Sandeep Paulraj Date: Mon Nov 16 13:32:01 2009 -0500 NAND: Update read_read_subpage API check This patch updates a check condition in the NAND driver. The check condition is similat to what is in linux/next. Signed-off-by: Sandeep Paulraj commit bb3e9828e7fbcc9e4518e51592876f4a0997d9ec Author: Sandeep Paulraj Date: Mon Nov 16 13:31:47 2009 -0500 NAND:Extending the nand_ecclayout structure NANDs with page size of lesser than and equal to 2K are reaching EOL. They are bing replaced with NANDs of page size 4K and above. To support this we have to extend the eccpos field Signed-off-by: Sandeep Paulraj commit 3ffc0d61bad7d986e344ce7062b37c5c8f04fb0e Author: Matthias Fuchs Date: Tue Oct 27 19:58:09 2009 +0100 ppc4xx: Initialize magnetic coupler on VOM405 boards This patch fixes an ugly behavior of the IL712 magnetic coupler as used on VOM405. These parts will remember their last state over a power cycle which might cause unwanted behavior. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit be0db3e3141c6c6b4e232b51091f35a284cc54e5 Author: Matthias Fuchs Date: Mon Oct 26 09:58:45 2009 +0100 ppc4xx: Initialize magnetic couplers in PLU405 This patch fixes an ugly behavior of the IL712 magnetic couplers as used on PLU405. These parts will remember their last state over a power cycle which might cause unwanted behavior. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit 067f54c66acd469870ef6946e1591bfcc02de1b3 Author: Matthias Fuchs Date: Mon Oct 26 09:55:40 2009 +0100 Add minimal SJA1000 header for basic CAN mode This patch is in preparation for the upcoming PLU405 board fix. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit 1d2e96de56cc57e25a19bc40d297f36c4c4443a2 Author: Dirk Behme Date: Mon Nov 2 20:36:26 2009 +0100 OMAP2/3: I2C: Add support for second and third bus Add support to use second and third I2C bus, too. Bus 0 is still the default, but by calling i2c_set_bus_num(1/2) before doing I2C accesses, code can switch to bus 1 and 2, too. Don't forget to switch back afterwards, then. Signed-off-by: Dirk Behme commit c758e947aa7d39a2be607ecdedd818ad300807b2 Author: Amul Kumar Saha Date: Wed Nov 4 10:38:46 2009 +0530 ENV Variable support for Flex-OneNAND Define and use CONFIG_ENV_ADDR_FLEX and CONFIG_ENV_SIZE_FLEX for storing environment variables. Signed-off-by: Rohit Hagargundgi Signed-off-by: Amul Kumar Saha commit cacbe919584193f64e74088e03f068e52775bb86 Author: Amul Kumar Saha Date: Fri Nov 6 17:15:31 2009 +0530 Flex-OneNAND driver support This patch adds support for Flex-OneNAND devices. Signed-off-by: Rohit Hagargundgi Signed-off-by: Amul Kumar Saha commit 35209cbceebe212a8c5ec17d552960f8bd4725f3 Author: Mingkai Hu Date: Tue Oct 20 16:58:17 2009 +0800 fsl_elbc_nand: remove the bbt descriptors relocation fixup The commit 66372fe2 manually relocated the bbt pattern pointer, which can be removed by using full relocation. Signed-off-by: Mingkai Hu commit 25643d4da257e51f6200b213c75de4fb5b345780 Author: Mingkai Hu Date: Tue Oct 20 16:58:16 2009 +0800 ppc/85xx: make boot from NAND full relocation to RAM Take advantage of the latest full relocation commit of PPC platform for boot from NAND. Signed-off-by: Mingkai Hu Acked-by: Kumar Gala commit 7e86661cd777eec1e81c5e57c468e81138fda983 Author: David Brownell Date: Sat Nov 7 16:27:01 2009 -0500 NAND: fix "raw" reads with ECC syndrome layouts The syndrome based page read/write routines store ECC, and possibly other "OOB" data, right after each chunk of ECC'd data. With ECC chunk size of 512 bytes and a large page (2KiB) NAND, the layout is: data-0 OOB-0 data-1 OOB-1 data-2 OOB-2 data-3 OOB-3 OOB-leftover Where OOBx is (prepad, ECC, postpad). However, the current "raw" routines use a traditional layout -- data OOB, disregarding the prepad and postpad values -- so when they're used with that type of ECC hardware, those calls mix up the data and OOB. Which means, in particular, that bad block tables won't be found on startup, with data corruption and related chaos ensuing. The current syndrome-based drivers in mainline all seem to use one chunk per page; presumably they haven't noticed such bugs. Fix this, by adding read/write page_raw_syndrome() routines as siblings of the existing non-raw routines; "raw" just means to bypass the ECC computations, not change data and OOB layout. Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse commit 5df3c2b62cebaa0ddb2817364f93726e5dbe3525 Author: Sandeep Paulraj Date: Sat Nov 7 14:25:18 2009 -0500 NAND: Don't walk past end of oobfree[] When computing oobavail from the list of free areas in the OOB, don't assume there will always be an unused slot at the end. This syncs up with the kernel NAND driver. Signed-off-by: Sandeep Paulraj commit 18b5a4b43af3c8359cb568f4fa32d6b9dcebbf26 Author: Sandeep Paulraj Date: Sat Nov 7 14:25:03 2009 -0500 NAND: Update check condition for nand_read_page_hwecc API The patch updates the check condition for determining whether the ECC corrections has failed. This makes it similar to what is in the kernel NAND driver. Signed-off-by: Sandeep Paulraj commit e25ee0396226fb56679702d0361cf2645504e7f6 Author: Sandeep Paulraj Date: Sat Nov 7 14:24:50 2009 -0500 NAND: Updating comments/explanations in the NAND driver Patch updates the comments and explanations for the arguments to various functions. Signed-off-by: Sandeep Paulraj commit aad4a28b2518e1d24ee606d9ea31f9b4dd029777 Author: Sandeep Paulraj Date: Sat Nov 7 14:24:34 2009 -0500 NAND: Subpage shift for ecc_steps equal to 16 This was originally part of Thomas Gleixner's patch for adding support for 4KiB pages. This is not part of the U-Boot NAND driver so updating the driver with this to sync up with the kernel NAND driver. Signed-off-by: Sandeep Paulraj commit 36e0b98ec832bb5ec42d6e249058d5b84f75dff8 Author: Sandeep Paulraj Date: Sat Nov 7 14:24:20 2009 -0500 NAND: Remove commented out code Patch removes already commented out dead code Signed-off-by: Sandeep Paulraj commit 4f41e7ea1a17ba7207ca41379bf344b317e72c12 Author: Sandeep Paulraj Date: Sat Nov 7 14:24:06 2009 -0500 NAND: Correct the "chip_shift" calculation This patch updates the "chip_shift" calculation in the NAND driver. This is being done to sync up the NAND driver with the kernel NAND driver. Signed-off-by: Sandeep Paulraj commit aaa8eec532876c47acfd31bf9b573a00eaad92ae Author: Sandeep Paulraj Date: Fri Oct 30 13:51:23 2009 -0400 NAND: Update to support 64 bit device size This patch adds support for NANDs greater than 2 GB. Patch is based on the MTD NAND driver in the kernel. Signed-off-by: Sandeep Paulraj Signed-off-by: Scott Wood commit 581d04f14d7a39b63d418e2a21e44101233096d1 Author: Peter Tyser Date: Thu Oct 15 10:48:18 2009 -0500 cmd_nand: Move conditional compilation to Makefile Signed-off-by: Peter Tyser commit 9574fd63a97d080e379f30b6a81a1221eaeb797e Author: Peter Tyser Date: Thu Oct 15 10:48:17 2009 -0500 cmd_nand: Remove duplicate include Also remove vague, unnecessary comment Signed-off-by: Peter Tyser commit cdbdbe65f5f006cba208accee5a126c659d4b867 Author: Kumar Gala Date: Fri Nov 13 08:52:21 2009 -0600 ppc/85xx: Fix how we determine the number of CAM entries We were incorrectly use the max CAM size as the number of entries in the array for setting up the addrmap. We should be using the NENTRY field which is the low 12-bits of TLB1CFG. Signed-off-by: Kumar Gala commit fbd47b6753b08162436d9ccad1e63c8d43ede54c Author: Mike Rapoport Date: Thu Nov 12 15:35:08 2009 +0200 smc911x: make smc911x_initialize return correct value Make smc911x_initialize return -1 on error and number of interfaces detected otherwise. Signed-off-by: Mike Rapoport Acked-by: Mike Frysinger Signed-off-by: Ben Warren commit c44efcf97b335dcef7d014f65b7d3094e79adb13 Author: Mike Frysinger Date: Thu Nov 12 22:26:02 2009 -0500 smc911x_eeprom: fix building after smc911x overhaul When the smc911x driver was converted to NET_MULTI, the smc911x eeprom was missed. The config option needed updating as well as overhauling of the rergister read/write functions. Signed-off-by: Mike Frysinger Tested-by: Mike Rapoport Signed-off-by: Ben Warren commit 3ad95deb30ac73bd57e966d321215a17d3236f9f Author: Dave Liu Date: Thu Nov 12 07:26:37 2009 +0800 fsl-ddr: Fix the chip-select interleaving issue commit 1542fbdeec0d1e2a6df13189df8dcb1ce8802be3 introduced one new bug to chip-select interleaving. Single DDR controller also can do the chip-select interleaving if there is dual-rank or qual-rank DIMMs. Signed-off-by: Dave Liu Signed-off-by: Kumar Gala commit 651ef90fa6ca824c8e581aeef9e04bbbe7f7e9ce Author: javier Martin Date: Thu Oct 29 08:22:43 2009 +0100 mxc_fec: avoid free() calls to already freed pointers. Sometimes, inside NetLoop, eth_halt() is called before eth_init() has been called. This is harmless except for free() calls to pointers which have not been allocated yet. This patch initializes those pointers to NULL and allocates them only the first time. This way we can get rid of free calls in halt callback. This has been tested in i.MX27 Litekit board and eldk-4.2 toolchains. Signed-off-by: Javier Martin Signed-off-by: Ben Warren commit e8f1546a88b4ade6a910c4a7958a774ee1b40023 Author: javier Martin Date: Thu Oct 29 08:18:34 2009 +0100 mxc_fec: fix some erroneous PHY accesses. This patch fixes erroneous access to the ethernet PHY which broke the driver. 1. Selector field in the auto-negotiation register must be 0x00001 for using 802.3, not 0x00000 which is reseved. 2. Access to the PHY address specified by CONFIG_FEC_MXC_PHYADDR, not 0x0 fixed address. This has been tested in i.MX27 Litekit board and eldk-4.2 toolchains. Now using proper defines for auto-negotiation register. Signed-off-by: Javier Martin Signed-off-by: Ben Warren commit f865fcbbb35851e75fee9c3a3fa8e0f71d9e6463 Author: Ron Lee Date: Wed Aug 5 20:14:01 2009 +0200 ARM Don't inline weak symbols ------------------------------------------------------------------------ GCC 4.4 complains about this now. Signed-off-by: Ron Lee commit efe12bcec55c3d77b9ead56e62010d26b66781f3 Author: Stefan Roese Date: Mon Nov 9 14:15:42 2009 +0100 ppc4xx: Katmai: Add chip_config command This patch removes the Katmai "bootstrap" command and replaces it with the now common command "chip_config". Signed-off-by: Stefan Roese commit cdaed5dc31f4023610f180fe158ec8c6f5e855a3 Author: Stefan Roese Date: Mon Nov 9 14:13:43 2009 +0100 ppc4xx: Switch to I2C bus numer 0 for chip_config command All currently available 4xx derivats have the I2C bootstrap EEPROM located on I2C bus number 0. This patch now first sets this bus number, so that the chip_config command also works for board with multiple I2C busses, like Katmai. Signed-off-by: Stefan Roese commit 985edaccc4fbaef6d357d104aed08f839058a32f Author: Matthias Fuchs Date: Tue Oct 27 12:19:11 2009 +0100 ppc4xx: Add UBI support to PLU405 boards -add UBI support -increase malloc'able memory size -cleanup MONITOR|FLASH_BASE|LEN constants Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit d14c7ec2b51fb92c4a5218b299b772c3d186510d Author: Ben Warren Date: Mon Nov 9 13:09:57 2009 -0800 Fix SMC91111 regression: lpd7a40x build failures Both lpd7a400 and lpd7a404 failed to compile because they had CONFIG_SMC_USE_IOFUNCS defined: examples/standalone/smc91111_eeprom.c:388: undefined reference to `SMC_outw' Also removed an orphaned paren in lpd7a404.h Signed-off-by: Ben Warren commit 1031ae960ce6ce8332190278a06e2d72c2b2793e Author: Ben Warren Date: Mon Nov 9 14:01:08 2009 -0800 SMC91111: Clean up SMC_inx macros on xsengine and xaeniax This patch fixes the following warnings: Configuring for xaeniax board... smc91111_eeprom.c: In function 'print_macaddr': smc91111_eeprom.c:278: warning: suggest parentheses around + or - in operand of & smc91111_eeprom.c:281: warning: suggest parentheses around + or - in operand of & ... Configuring for xsengine board... smc91111_eeprom.c: In function 'print_macaddr': smc91111_eeprom.c:278: warning: suggest parentheses around + or - inside shift smc91111_eeprom.c:281: warning: suggest parentheses around + or - inside shift Signed-off-by: Ben Warren commit 830c7b6722c6a9762411bf52a7bf2fae4dc71dab Author: Ben Warren Date: Mon Nov 9 11:43:18 2009 -0800 Fix CS8900 regression on impa7 board The following error was seen on impa7 board, due to its use of a 32-bit bus on CS8900. cs8900.c:137:37: error: macro "get_reg_init_bus" passed 2 arguments, but takes just 1 This patch gives the macro the correct number of arguments Signed-off-by: Ben Warren commit e5c5d9e0834bacf1c4787fa76cc4e369f2597cf5 Author: Mike Frysinger Date: Sun Nov 1 22:39:56 2009 -0500 clarify eth driver halt/recv steps The dev->halt() func can be called at any time, and the dev->recv() func does not need to use NetRxPackets[] when calling NetReceive(). Signed-off-by: Mike Frysinger Signed-off-by: Ben Warren commit 497ab0eec5e1e2dfccc141a4485cd6b940e1424a Author: Hui.Tang Date: Thu Nov 5 09:58:44 2009 +0800 Fix cs8900 dev->priv not init issue Ensure all CS8900 data structures are assigned before accessing device Signed-off-by: Hui.Tang Signed-off-by: Ben Warren commit 4fe5193d464ecdac26ddc71b1351be5b86bbff29 Author: Stefan Roese Date: Tue Nov 3 14:34:45 2009 +0100 ppc4xx: 44x_spd_ddr2.c: Fix register macro ECCCR -> ECCES (SDRAM_ECCES) This error only appears when DEBUG is enabled in this driver. That's why it went unnoticed till now. Signed-off-by: Stefan Roese commit 916ed9444d3ab7b5cd6312557005f2a764a8baf7 Author: Stefan Roese Date: Thu Oct 29 18:37:45 2009 +0100 ppc4xx: Canyonlands: Change EBC bus config to drive always (no high-z) This patch fixes a problem only seen very occasionally on Canyonlands. The NOR flash interface (CFI driver) doesn't work reliably in all cases. Erasing and/or programming sometimes doesn't work. Sometimes with an error message, like "flash not erased" when trying to program an area that should have just been erased. And sometimes without any error messages. As mentioned above, this problem was only seen rarely and with some PLL configuration (CPU speed, EBC speed). Now I spotted this problem a few times, when running my Canyonlands with the following setup (chip_config): 1000-nor - NOR CPU:1000 PLB: 200 OPB: 100 EBC: 100 Changing the EBC configuration to not release the bus into high impedance state inbetween the transfers (ATC, DTC and CTC bits set to 1 in EBC0_CFG) seems to fix this problem. I haven't seen any failure anymore with this patch applied. Signed-off-by: Stefan Roese Cc: David Mitchell Cc: Jeff Mann commit 56f9b39d1f5d3c51e4b19792adb65bd93a8b6fcb Author: Stefan Roese Date: Mon Nov 9 13:01:19 2009 +0100 ppc4xx: Fix NAND booting targets after 4xx linker script consolidation Somehow I missed the NAND booting targets in the 4xx linker script consolidation patchset. This patch fixes this issue. Signed-off-by: Stefan Roese commit 9a81c61249d8361ed57d81f496121f3eb9c0eee8 Author: Stefan Roese Date: Thu Oct 29 16:54:52 2009 +0100 ppc4xx: Remove duplicated is_pci_host() functions This patch introduces a weak default function for is_pci_host(), returning 1. This is the default behaviour, since most boards only implement PCI host functionality. This weak default can be overridden by a board specific version if needed. Signed-off-by: Stefan Roese commit b0b867462c569e7accd6f78c942cbab028116ecf Author: Stefan Roese Date: Thu Oct 29 15:04:35 2009 +0100 ppc4xx: Consolidate 4xx PCIe board specific configuration This patch consolidates the PPC4xx board specific PCIe configuration code. This way the duplicated code is removed. Boards can implement a special, non standard behaviour (e.g. number of PCIe slots, etc) by overriding the weak default functions. Signed-off-by: Stefan Roese commit 25793f76bf9a7be59c9415ef0f78d034e8d53dae Author: Remy Bohmer Date: Thu Oct 29 12:29:37 2009 +0100 ARM: Use Linux version for unaligned access code The asm-arm/unaligned.h includes linux/unaligned/access_ok.h This file is unsafe to be used on ARM, since it does an unaligned memory accesses which fails on ARM. Lookin at Linux the basic difference seems to be the header "include/asm-arm/unaligned.h". The Linux version of "unaligned.h" does *not* include "access_ok.h" at all. It includes "le_byteshift.h" and "be_byteshift.h" instead. Signed-off-by: Remy Bohmer Signed-off-by: Stefan Roese -- include/asm-arm/unaligned.h | 3 - include/linux/unaligned/be_byteshift.h | 70 +++++++++++++++++++++++++++++++++ include/linux/unaligned/le_byteshift.h | 70 +++++++++++++++++++++++++++++++++ 3 files changed, 142 insertions(+), 1 deletion(-) create mode 100644 include/linux/unaligned/be_byteshift.h create mode 100644 include/linux/unaligned/le_byteshift.h commit 6d6e7c53d5c75e5e24841c5506f4ed9d82adee09 Author: Kumar Gala Date: Wed Nov 4 18:02:10 2009 -0600 ppc/85xx: Fix inclusion of 83xx immap in 85xx builds The nand_boot_fsl_elbc.c is shared between 83xx & 85xx however we should not be including the immap_83xx.h when building 85xx. We can just get this all from common.h Signed-off-by: Kumar Gala commit 107b579c75256212d4bf8b99ee8d68e0078f3646 Author: Becky Bruce Date: Wed Nov 4 17:34:04 2009 -0600 86xx: Remove redundant code in initdram The same code exists both inside an #ifdef and outside of it. Remove the extra code for all the 86xx boards. Signed-off-by: Becky Bruce Signed-off-by: Kumar Gala commit 715d8f7608f77c93f1807a032644893fd5b6d08b Author: Ed Swarthout Date: Mon Nov 2 09:05:49 2009 -0600 fsl_pci_init_port end-point initialization is broken commit 70ed869e broke fsl pcie end-point initialization. Returning 0 is not correct. The function must return the first free bus number for the next controller. fsl_pci_init() must still be called and a bus allocated even if the controller is an end-point. Signed-off-by: Ed Swarthout Acked-by: Vivek Mahajan Signed-off-by: Kumar Gala commit 01471d538fb163f472a769f21267d7676c91267c Author: Kumar Gala Date: Wed Nov 4 01:29:04 2009 -0600 Revert "ppc/85xx/pci: fsl_pci_init: pcie agent mode support" This reverts commit 70ed869ea5f6b1d13d7b140c83ec0dcd8a127ddc. There isn't any need to modify the API for fsl_pci_init_port to pass the status of host/agent(end-point) status. We can determine that internally to fsl_pci_init_port. Revert the patch that makes the API change. Signed-off-by: Kumar Gala commit 2cd95a25cb0ee8218b271d23d64fb3f719ac5390 Author: Stefan Roese Date: Tue Oct 27 16:20:05 2009 +0100 ppc4xx: Remove board specific linker scripts from most PPC4xx boards All these linker scripts can be removed since the new common ppc4xx linker script should be able to handle all of those boards. Please test and report problems. Thanks. Signed-off-by: Stefan Roese commit 4649913ea5f440d756d150a6fdf2fb2e8ecb75fd Author: Stefan Roese Date: Tue Oct 27 16:11:26 2009 +0100 ppc4xx: Add common ppc4xx linker script This linker script can be used by all PPC4xx platforms. It works for PPC405 and PPC440 platforms. Boards which need a board specific linker script can override this default linker script in board/*/config.mk. Signed-off-by: Stefan Roese commit b1245dd3c6409c743f6c2768d00e909a4c8cc4ea Author: Stefan Roese Date: Tue Oct 27 16:16:13 2009 +0100 ppc4xx: Add custom linker script to board/*/config.mk These boards have special linker scripts right now. We can't use the common 4xx linker script here. So overrride the linker script (LDSCRIPT) in board/*/config.mk and choose the board specific version. Signed-off-by: Stefan Roese commit ceaa62a6f0237a8ddd2a5f659e6535fcd054332f Author: Stefan Roese Date: Tue Oct 27 15:57:24 2009 +0100 ppc4xx: Fix problems in some ppc4xx board Makefiles Some 4xx Makefiles didn't add $(SOBJ) to their board library. This was no till now problem, since those boards included this object (init.o most of the time) directly from their linker scripts. This patch clean this up, so that all objects are now collected in the board library. This is in preparation for the upcoming PPC4xx linker script consolidation. Signed-off-by: Stefan Roese commit a0ff1f129a0e1a466e4f8568fce12b7b84578e4c Author: Stefan Roese Date: Tue Oct 27 11:20:53 2009 +0100 ppc4xx: sc3: Remove unreferenced external declarations from sc3.h Signed-off-by: Stefan Roese Acked-by: Heiko Schocher commit 7ec1fedda6ac551c67f2214ced94e4b49b6680e4 Author: Stefan Roese Date: Tue Oct 27 11:46:23 2009 +0100 mkconfig: Create board directory (CONFIG_BOARDDIR) in include/config.h This patch extends the mkconfig script to automatically create a define for the board directory in include/config.h: #define CONFIG_BOARDDIR board/amcc/canyonlands This is needed for the upcoming PPC4xx linker script consolidation, where the PPC440 platforms need to include a board specific file in the common linker script. Signed-off-by: Stefan Roese commit ff88229549e08fdd3f9127c1cc4db11a3576250f Author: Dave Liu Date: Sat Oct 31 07:59:55 2009 +0800 ppc/85xx: Fix misc L2 cache enabling bug We need loop-check the flash clear lock and enable bit for L2 cache. Signed-off-by: Dave Liu Signed-off-by: Kumar Gala commit cd12f615e4dd1dd24caab93f4157894783c6c1c0 Author: Wolfgang Grandegger Date: Fri Oct 23 12:03:16 2009 +0200 mpc52xx: add support for the IPEK01 board This patch adds support for the board IPEK01 based on the MPC5200. The Futjitsu Lime graphics controller is configured in 16 bpp mode. Signed-off-by: Wolfgang Grandegger commit 229b6dce675c729ee0ea2d7b61fbcda89b23b6b8 Author: Wolfgang Grandegger Date: Fri Oct 23 12:03:15 2009 +0200 video: mb862xx: add option VIDEO_FB_16BPP_WORD_SWAP for IPEK01 In 16 bpp mode, the new IPEK01 board only requires swapping of D16 words for D32 accesses due to the diffferent connecting to the GDC bus. This patch introduces the configuration option VIDEO_FB_16BPP_WORD_SWAP, which should be set for all board using the mb862xx in 16 bpp mode. For the IPEK01, VIDEO_FB_16BPP_PIXEL_SWAP should not be set. Signed-off-by: Wolfgang Grandegger commit 5d16ca87100ea58c93c46b9f0264981eaed49568 Author: Anatolij Gustschin Date: Fri Oct 23 12:03:14 2009 +0200 video: mb862xx: add option CONFIG_VIDEO_MB862xx_ACCEL for 32bpp mode The new IPEK01 board can use the 32 bpp mode for the Lime graphics controller. For this mode, video accelaration does not work. This patch makes the accelaration configurable via CONFIG_VIDEO_MB862xx_ACCEL, which is enabled for the lwmon5 and the socrates board for backward compatibility. Signed-off-by: Anatolij Gustschin Signed-off-by: Wolfgang Grandegger commit c28d3bbe963f4c57937d6fdc1dd63cd3562c147c Author: Wolfgang Grandegger Date: Fri Oct 23 12:03:13 2009 +0200 video: mb862xx: improve board-specific Lime configuration To avoid board-specific code accessing the mb862xx registers directly, the public function mb862xx_probe() has been introduced. Furthermore, the "Change of Clock Frequency" and "Set Memory I/F Mode" registers are now defined by CONFIG_SYS_MB862xx_CCF and CONFIG_SYS_MB862xx__MMR, respectively. The BSPs for the socrates and lwmon5 boards have been adapted accordingly. Signed-off-by: Wolfgang Grandegger commit 08ea550eef310e9d59d83f3cfd57a902373bf17f Author: Valentin Yakovenkov Date: Mon Oct 26 18:49:06 2009 -0400 new PCA9564 i2c bridge driver Signed-off-by: Valentin Yakovenkov Signed-off-by: Mike Frysinger commit 08a1c6258c2a04cead33eac50d96ea89979dcb94 Author: Mike Frysinger Date: Wed Oct 14 19:27:27 2009 -0400 Blackfin: TWI/I2C: implement bus speed get/set functions While we're here, improve the speed calculation a bit to match the HRM. Signed-off-by: Mike Frysinger commit 3814ea4f0002536ac592480b2cdafa319a16e329 Author: Mike Frysinger Date: Wed Oct 14 19:27:26 2009 -0400 Blackfin: TWI/I2C: add timeout to transfer The current transfer code relies on ctrlc() to abort transfers, but this requires user interactivity. Naturalize the process with a timeout. Signed-off-by: Mike Frysinger commit 59434fe243962758742af5cb8e2ced976e17c302 Author: Nobuhiro Iwamatsu Date: Fri Oct 30 10:16:27 2009 +0900 sh: Update lowlevel_init.S of espt-giga There was the point that did not use write macro. Change to write macro. Signed-off-by: Nobuhiro Iwamatsu commit f1cae1969d9e971fb72827a5731ce7e752464aa2 Author: Nobuhiro Iwamatsu Date: Fri Oct 30 10:01:25 2009 +0900 sh: Move some defs to convince 'pcrel too far' Signed-off-by: Nobuhiro Iwamatsu Signed-off-by: Takashi Yoshii commit 0f9eaf4b323ea0ca95944b84c7465b81ba575514 Author: Nobuhiro Iwamatsu Date: Thu Oct 15 13:36:34 2009 +0900 sh: Remove malloc_bin_reloc from lib_sh, lib_nios2 and lib_nios. By "arm/microblaze/nios/nios2/sh: Remove relocation fixups" (commit: 0630535e2d062dd73c1ceca5c6125c86d1127a49", doesn't need malloc_bin_reloc function. This commit remove this. Signed-off-by: Nobuhiro Iwamatsu commit 0775437293a6963cb21244dfae6978cbf67c6bfe Author: Ben Warren Date: Wed Oct 21 21:53:39 2009 -0700 Fix DM9000 MAC address handling Proper behavior is to pull MAC address from NVRAM in the initialization() an stuff it in dev->address, then program the device from dev->address in the init() function. Signed-off-by: Ben Warren commit 98d92d8c9f4021629a45261ad5ec3f3595f3a27a Author: Wolfgang Denk Date: Wed Oct 28 22:07:56 2009 +0100 sbc8349: fix incorrect comment The comment for the BR0_PRELIM port size initialization incorrectly stated 32 bit, while it's actually 16 bit. The code is correct. Reported-by: Guenter Koellner Signed-off-by: Wolfgang Denk commit a38f85e180a30b6225808828ded1017b1a5418c6 Author: Sandeep Paulraj Date: Wed Oct 28 11:05:03 2009 -0400 Fix Compliation warning for TNY-A9260 and TNY-A9G20 The patch fixes a compilation warning by defining CONFIG_SYS_64BIT_VSPRINTF in the config file Signed-off-by: Sandeep Paulraj commit 264e42ee54f1d322805d9068168fd362b413fd09 Author: Sandeep Paulraj Date: Wed Oct 28 11:04:53 2009 -0400 Fix Compliation warning for SBC35-A9G20 board The patch fixes a compilation warning by defining CONFIG_SYS_64BIT_VSPRINTF in the config file Signed-off-by: Sandeep Paulraj commit 353462f6ff9769091fb644d44d8025f20a4192d9 Author: Eric Millbrandt Date: Wed Oct 28 09:37:33 2009 -0500 galaxy5200: Add default environment variables Extend bootdelay to 10 seconds. Set boot retry time to 120 seconds and use reset to retry. Define default bootcommand and bootargs for production. Signed-off-by: Eric Millbrandt commit fa36ae790eb10ce70935f9a78f07703719dca422 Author: Stefan Roese Date: Tue Oct 27 15:15:55 2009 +0100 cfi: Add weak default function for flash_cmd_reset() Currently the CFI driver issues both AMD and Intel reset commands. This is because the driver doesn't know yet which chips are connected. This dual reset seems to cause problems with the M29W128G chips as reported by Richard Retanubun. This patch now introduces a weak default function for the CFI reset command, still with both resets. This can be overridden by a board specific version if necessary. Signed-off-by: Stefan Roese Cc: Richard Retanubun commit 4946775c6db52dba28f72ba3525764b54f1d4593 Author: Wolfgang Denk Date: Wed Oct 28 00:49:47 2009 +0100 Coding Style cleanup; update CHANGELOG, prepare -rc1 Signed-off-by: Wolfgang Denk commit 246c69225c7b962d5c93e92282b78ca9fc5fefee Author: Peter Tyser Date: Sun Oct 25 15:12:56 2009 -0500 Add 'editenv' command The editenv command can be used to edit an environment variable. Editing an environment variable is useful when one wants to tweak an existing variable, for example fix a typo or change the baudrate in the 'bootargs' environment variable. Signed-off-by: Peter Tyser commit b0fa8e50632a628766db23f5c884ec63f1469552 Author: Peter Tyser Date: Sun Oct 25 15:12:55 2009 -0500 setenv(): Delete 0-length environment variables Previously setenv() would only delete an environment variable if it was passed a NULL string pointer as a value. It should also delete an environment variable when it encounters a valid string pointer of 0-length. This change/fix is generally useful and is necessary for the upcoming "editenv" command. Signed-off-by: Peter Tyser commit ecc5500ee487170d8af6ff893fd1e0082380a01a Author: Peter Tyser Date: Sun Oct 25 15:12:54 2009 -0500 readline(): Add ability to modify a string buffer If the 'buf' parameter is a non-0-length string, its contents will be edited. Previously, the initial contents of 'buf' were ignored and the user entered its contents from scratch. This change is necessary to support the upcoming "editenv" command but could also be used for future commands which require a user to modify an existing string. Signed-off-by: Peter Tyser commit f923943843cd617d681387e7fe81a48060cc6401 Author: Peter Tyser Date: Sun Oct 25 15:12:53 2009 -0500 cread_line(): Remove unused variables Signed-off-by: Peter Tyser commit e491a71e578e93bd3b2f8f20d8ef8f111c98010d Author: Peter Tyser Date: Sun Oct 25 15:12:52 2009 -0500 Check for NULL prompt in readline_into_buffer() Previously, passing readline() or readline_into_buffer() a NULL 'prompt' parameter would result in puts() printing garbage when CONFIG_CMDLINE_EDITING was enabled. Note that no board currently triggers this bug. Enabling CONFIG_CMDLINE_EDITING on some boards (eg bab7xx) would result in the bug appearing. This change is only intended to prevent someone from running into this issue in the future. Signed-off-by: Peter Tyser commit 16d1c10783660f3fdbc3c19141f42f3b0d1834d3 Author: Wolfgang Denk Date: Sun Oct 25 23:00:09 2009 +0100 drivers/net/phy/miiphybb.c: fix warning: no newline at end of file Add missing newline. Signed-off-by: Wolfgang Denk Cc: Luigi Mantellini Cc: Ben Warren commit a747a7f31059b9069e97c78bba5496409c33aa05 Author: Wolfgang Denk Date: Tue Oct 27 00:03:32 2009 +0100 Revert "env: only build env_embedded and envcrc when needed" Breaks building on many boards, and no really clean fix available yet. This reverts commit 6dab6add2d8ee80905234b326abc3de11be1d178. commit 3fca80375981fe83d4674a0267183b469a1ea7ff Author: Anton Vorontsov Date: Thu Oct 15 17:47:16 2009 +0400 mpc85xx: Configure QE USB for MPC8569E-MDS boards Setup QE pin multiplexing for USB function, configure needed BCSRs and add some fdt fixups. Signed-off-by: Anton Vorontsov Signed-off-by: Kumar Gala commit 14809b6c21c89dd65abaf3fea7627fb5ea0f78a3 Author: Anton Vorontsov Date: Thu Oct 15 17:47:13 2009 +0400 mpc85xx: Configure QE UART for MPC8569E-MDS boards To make QE UART usable by Linux we should setup pin multiplexing and turn UCC2 Ethernet node into UCC2 QE UART node. Also, QE UART is mutually exclusive with UART0, so we can't enable it if eSDHC is in 4-bits mode on pilot boards, or if it's a prototype board with eSDHC in 1- or 4-bits mode. Signed-off-by: Anton Vorontsov Signed-off-by: Kumar Gala commit 70d665b1d230b9575a647948e8db3da1e6743e5c Author: Anton Vorontsov Date: Thu Oct 15 17:47:11 2009 +0400 mpc85xx: Setup QE pinmux for SPI Flash on MPC8569E-MDS boards SPI Flash (M25P40) is connected to the SPI1 bus, we need a few qe_iop entries to actually enable SPI1 on these boards. Signed-off-by: Anton Vorontsov Signed-off-by: Kumar Gala commit 65dec3b4599a17e83ec69dfd059e4ea1e795ef37 Author: Anton Vorontsov Date: Thu Oct 15 17:47:09 2009 +0400 mpc85xx: Setup SRIO memory region LAW for MPC8569E-MDS boards This patch sets memory window for Serial RapidIO on MPC8569E-MDS boards. Signed-off-by: Anton Vorontsov Signed-off-by: Kumar Gala commit a29155e12286cc5ec2df72c1cab28e3659bfdad5 Author: Anton Vorontsov Date: Thu Oct 15 17:47:08 2009 +0400 mpc85xx: Add eLBC NAND support for MPC8569E-MDS boards Simply add some defines, and adjust TLBe setup to include some space for eLBC NAND. Signed-off-by: Anton Vorontsov Signed-off-by: Kumar Gala commit 7f52ed5ef1b490da282ace3316be381a6abf96a5 Author: Anton Vorontsov Date: Thu Oct 15 17:47:06 2009 +0400 mpc85xx: Add eSDHC support for MPC8569E-MDS boards eSDHC is mutually exlusive with UART0 (in 4-bits mode) and I2C2 (in 1-bit mode). When eSDHC is used, we should switch u-boot console to UART1, and make the proper device-tree fixups. Because of an erratum in prototype boards it is impossible to use eSDHC without disabling UART0 (which makes it quite easy to 'brick' the board by simply issung 'setenv hwconfig esdhc', and not able to interact with U-Boot anylonger). So, but default we assume that the board is a prototype, which is a most safe assumption. There is no way to determine board revision from a register, so we use hwconfig. Signed-off-by: Anton Vorontsov Signed-off-by: Kumar Gala commit 48618126f78f05042dae428811809b594f747eb9 Author: Peter Tyser Date: Fri Oct 23 15:55:48 2009 -0500 xpedite5370: Enable multi-core support Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit 5ccd29c3679b3669b0bde5c501c1aa0f325a7acb Author: Peter Tyser Date: Fri Oct 23 15:55:47 2009 -0500 85xx: MP Boot Page Translation update This change has 3 goals: - Have secondary cores be released into spin loops at their 'true' address in SDRAM. Previously, secondary cores were put into spin loops in the 0xfffffxxx address range which required that boot page translation was always enabled while cores were in their spin loops. - Allow the TLB window that the primary core uses to access the secondary cores boot page to be placed at any address. Previously, a TLB window at 0xfffff000 was always used to access the seconary cores' boot page. This TLB address requirement overlapped with other peripherals on some boards (eg XPedite5370). By default, the boot page TLB will still use the 0xfffffxxx address range, but this can be overridden on a board-by-board basis by defining a custom CONFIG_BPTR_VIRT_ADDR. Note that the TLB used to map the boot page remains in use while U-Boot executes. Previously it was only temporarily used, then restored to its initial value. - Allow Boot Page Translation to be disabled on bootup. Previously, Boot Page Translation was always left enabled after secondary cores were brought out of reset. This caused the 0xfffffxxx address range to somewhat "magically" be translated to an address in SDRAM. Some boards may not want this oddity in their memory map, so defining CONFIG_MPC8xxx_DISABLE_BPTR will turn off Boot Page Translation after the secondary cores are initialized. These changes are only applicable to 85xx boards with CONFIG_MP defined. Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit 70ed869ea5f6b1d13d7b140c83ec0dcd8a127ddc Author: Vivek Mahajan Date: Tue Oct 27 12:18:55 2009 +0530 ppc/85xx/pci: fsl_pci_init: pcie agent mode support Originally written by Jason Jin and Mingkai Hu for mpc8536. When QorIQ based board is configured as a PCIe agent, then unlock/enable inbound PCI configuration cycles and init a 4K inbound memory window; so that a PCIe host can access the PCIe agents SDRAM at address 0x0 * Supported in fsl_pci_init_port() after adding pcie_ep as a param * Revamped copyright in drivers/pci/fsl_pci_init.c * Mods in 85xx based board specific pci init after this change Signed-off-by: Vivek Mahajan Signed-off-by: Kumar Gala commit 273a28ad9ef59dcfcd4c056ec1f61f1e0896cfaa Author: Poonam Aggrwal Date: Tue Oct 27 09:36:38 2009 +0530 85xx/p1_p2_rdb: Fixing DDR configuration for 800MHz data rate Signed-off-by: Poonam Aggrwal Signed-off-by: Kumar Gala commit 924024c396761c267b948f38d78e9905f2036501 Author: Poonam Aggrwal Date: Tue Oct 27 09:26:55 2009 +0530 85xx/p1_p2rdb: Fix crash while configuring 32 bit DDR i/f for P1020RDB. The data being modified was in NOR flash which caused the crash. Signed-off-by: Poonam Aggrwal Signed-off-by: Kumar Gala commit 2c0c58b92dbb68007061bdc0edd23bdf142efebf Author: Sergey Mironov Date: Wed Sep 23 16:47:38 2009 +0400 Fix bug in jumptable call stubs for SPARC. Signed-off-by: Sergey Mironov Signed-off-by: Daniel Hellstrom commit 3e303f748cf57fb23e8ec95ab7eac0074be50e2b Author: Anton Vorontsov Date: Thu Oct 15 17:47:04 2009 +0400 fdt_support: Add multi-serial support for stdout fixup Currently fdt_fixup_stdout() is using hard-coded CONFIG_CONS_INDEX constant. With multi-serial support, the CONS_INDEX may no longer represent actual console, so we should try to extract port number from the current stdio device name instead of always hard-coding the constant value. Signed-off-by: Anton Vorontsov Acked-by: Gerald Van Baren Signed-off-by: Kumar Gala commit da0e5f7ee828f246d85997486fff308837069453 Author: Leon Woestenberg Date: Mon Oct 26 10:03:32 2009 +0100 ppc/85xx: Fix crashes due to generation of SPE instruction U-Boot crashed on the last instruction: int parse_stream_outer(struct in_str *inp, int flag) { effa4784: 94 21 ff 38 stwu r1,-200(r1) effa4788: 7c 08 02 a6 mflr r0 effa478c: 42 9f 00 05 bcl- 20,4*cr7+so,effa4790 effa4790: 7d 80 00 26 mfcr r12 effa4794: 13 c1 b3 21 evstdd r30,176(r1) ...which is a SPE instruction, although -mno-spe was used. tmp/cross/ppce500v2/bin/powerpc-angstrom-linux-gnuspe-gcc --version powerpc-angstrom-linux-gnuspe-gcc (GCC) 4.3.3 Seems to be a known issue (since 2008-04?!) Googled some, turns out this patch/workaround works for me on MPC8536DS. See http://gcc.gnu.org/ml/gcc-patches/2008-04/msg00311.html for more info Signed-off-by: Leon Woestenberg Signed-off-by: Kumar Gala commit 654ea1f3184235694306ddc5874baa27ad3018fe Author: Dave Liu Date: Thu Oct 22 00:10:23 2009 -0500 ppc/85xx: Make L2 support more robust According the user manual, we need loop-check the L2 enable bit set. Signed-off-by: Dave Liu Signed-off-by: Kumar Gala commit 613ad28c3da4c7fc6336ef9d94993b25a5d0586e Author: Kumar Gala Date: Mon Oct 26 21:21:25 2009 -0500 ppc/85xx: Fix compiler warning in nand_spl/.../p1_p2_rdb/nand_boot.c nand_boot.c: In function 'board_init_f': nand_boot.c:44: warning: 'sys_clk' may be used uninitialized in this function Signed-off-by: Kumar Gala commit e8967d96a0e8d09d91a3b7bd292746996dd8e7ac Author: Kumar Gala Date: Mon Oct 26 21:18:33 2009 -0500 ppc/85xx: Fix building NAND_SPL out of tree We need to source files to exist in the O= nand_spl dir when we build out of tree. Signed-off-by: Kumar Gala commit f3ee25859e3920ee7c7cc519a3e6f60d70d7a53f Author: Matthias Fuchs Date: Fri Oct 23 10:52:38 2009 +0200 License cleanup: Fix license header for some esd display configurations These files were autogenerated by EPSON configuration tools. This patch replaces the autogenerated file headers by the GPL license notice. This change is done with the explicit permission of Epson Research & Development / IC Software Development. Signed-off-by: Matthias Fuchs commit 4166ee58d30ada7b298b9c941067f0341c2dccbe Author: Mike Frysinger Date: Fri Oct 9 17:12:44 2009 -0400 sf: add GPL-2 license info Some of the new spi flash files were missing explicit license lines. Signed-off-by: Mike Frysinger CC: Haavard Skinnemoen commit d535a493004fb701f131b132402a7704f9c9342d Author: Kumar Gala Date: Wed Oct 21 23:29:51 2009 -0500 fdt: Fix fdt padding issue for initrd mem_rsv Its possible that we end up with a device tree that happens to be a particular size that after we call fdt_resize() we don't have any space left for the initrd mem_rsv. Fix this be adding a second mem_rsv into the size calculation. We had one to cover the fdt itself and we have the potential of adding a second for the initrd. Signed-off-by: Kumar Gala Acked-by: Gerald Van Baren commit 4bc3d2afb380e78fdbb9c501d9a8da6d59eb178e Author: Steve Sakoman Date: Tue Oct 20 18:21:18 2009 +0200 ARM: OMAP3: Refactors the SM911x driver Move the test up in the function to not hang on systems without ethernet. Signed-off-by: Steve Sakoman Acked-by: Ben Warren commit f3807374787e4394efb767e2e8527887f57e51b8 Author: Minkyu Kang Date: Thu Oct 15 11:19:15 2009 +0900 s5pc1xx: SMDKC100: fix compile warnings fix the following compile warnings warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Minkyu Kang commit 8003c361deec3ee651451662efd05352f1abdd40 Author: Simon Kagstrom Date: Tue Oct 6 08:44:22 2009 +0200 arm926ejs: 8-byte align stack to avoid LDRD/STRD problems U-boot for Marvell Kirkwood boards no longer work after the EABI changes introduced in commit f772acf8a584067033eff1e231fcd1fb3a00d3d9. This turns out to be caused by a stack alignment issue. The armv5te instructions ldrd/strd instructions require 8-byte alignment to work properly (otherwise undefined behavior). Tested on an OpenRD base board, where both printouts and ubifs stuff now works. Signed-off-by: Simon Kagstrom commit e63e5904b48528f3f3cc98317df6fc62fab25bf9 Author: Tom Rix Date: Sat Oct 17 12:41:06 2009 -0500 TI OMAP3 SDP3430: Initial Support Start of support of Texas Instruments Software Development Platform(SDP) for OMAP3430 - SDP3430 Highlights of this platform are: Flash Memory devices: Sibley NOR, Micron 8bit NAND and OneNAND Connectivity: 3 UARTs and expanded 4 UART ports + IrDA Ethernet, USB Other peripherals: TWL5030 PMIC+Audio+Keypad VGA display Expansion ports: Memory devices plugin boards (PISMO) Connectivity board for GPS,WLAN etc. Completely configurable boot sequence and device mapping etc. Support default jumpering and: - UART1/ttyS0 console(legacy sdp3430 u-boot) - UART3/ttyS2 console (matching other boards, and SDP HW docs) - Ethernet - mmc0 - NOR boot Currently the UART1 is enabled by default. for compatibility with other OMAP3 u-boot platforms, enable the #define of CONSOLE_J9. Conflicts: Makefile Fixed the conflict with smdkc100_config by moving omap_sdp3430_config to it is alphabetically sorted location above zoom1. Signed-off-by: David Brownell Signed-off-by: Nishanth Menon Signed-off-by: Tom Rix commit a4474ff8629be5f28aefb8a9f48d4411d62fb0d2 Author: Sandeep Paulraj Date: Tue Oct 13 19:35:11 2009 -0400 TI DaVinci: Adding Copyright for DM365 EVM Forgot to add Copyright while submitting the patch. This patch adds the copyright. Signed-off-by: Sandeep Paulraj commit 11b0102218bbb50ac5c04f1521f2a22ed4e90cf1 Author: Sandeep Paulraj Date: Tue Oct 13 12:32:32 2009 -0400 TI DaVinci: Fix DM6467 EVM Compilation Warning Due to new TI boards being added to U-Boot, the hardware.h is getting very messy. The warning being fixed is due to the EMIF addresses being redefined. The long term solution(after 2009.11) to this is to have SOC specific header files. Signed-off-by: Sandeep Paulraj commit fac1ef4ba685606bf28349d18e050ea08b50e669 Author: Sandeep Paulraj Date: Tue Oct 13 12:01:52 2009 -0400 TI DaVinci: DM355 Leopard: Fix compilation warning We get a compliation warning when we enable the NAND driver for DM355 leopard. The waring we get is that we have an implicit declaration of davinci_nand_init. It is fixed by including the asm/arch/nand_defs.h header file Signed-off-by: Sandeep Paulraj commit f8a812aa656bc34622303a26fa5003d19c34aeed Author: Nishanth Menon Date: Tue Oct 13 12:49:55 2009 -0400 TI OMAP3: make gpmc_config as const gpmc_config should not be a variant as it is board specific hence make it a const parameter Fixes issues identified by Dirk: - build issue for zoom2 - warnings for all other OMAP3 platforms using nand/onenand etc Signed-off-by: Nishanth Menon commit cfc25874624a328f53ad59b1206e2103f2e62d74 Author: Stefan Roese Date: Mon Oct 19 16:19:36 2009 +0200 ppc4xx: Sequoia: Add chip_config command This patch removes the Sequoia "bootstrap" command and replaces it with the now common command "chip_config". Please note that the patches with the dynamic PCI sync clock configuration have to be applied, before this one should go in. This is because Sequoia has 2 different bootstrap EEPROMs, and the old bootstrap command configured different values depending on the detected PCI async clock (33 vs. 66MHz). With the PCI sync clock patches, this is not necessary anymore. The PCI sync clock will be configured correctly on-the-fly now. Signed-off-by: Stefan Roese commit c85b58397030e25e146ccf5085c86221c40c53b3 Author: Stefan Roese Date: Mon Oct 19 14:14:08 2009 +0200 ppc4xx: Yosemite/Yellowstone: Check and reconfigure the PCI sync clock This patch now uses the 440EP(x)/GR(x) function to check and dynamically reconfigure the PCI sync clock. Signed-off-by: Stefan Roese commit 23c51a2d6393cd3be9eb62cb42d92138ff6db8a9 Author: Stefan Roese Date: Mon Oct 19 14:10:50 2009 +0200 ppc4xx: Sequoia/Rainer: Check and reconfigure the PCI sync clock This patch now uses the 440EP(x)/GR(x) function to check and dynamically reconfigure the PCI sync clock. Signed-off-by: Stefan Roese commit 08c6a2628478ace808b3767db17e4148cac5a7fb Author: Stefan Roese Date: Mon Oct 19 14:44:11 2009 +0200 ppc4xx: Print PCI synchronous clock frequency upon bootup Some 4xx variants (e.g. 440EP(x)/GR(x)) have an internal synchronous PCI clock. Knowledge about the currently configured value might be helpful. So let's print it out upon bootup. Signed-off-by: Stefan Roese commit 5e47f9535f53fd4cc05f32fb6166870f976fbb4e Author: Stefan Roese Date: Mon Oct 19 14:06:23 2009 +0200 ppc4xx: Add function to check and dynamically change PCI sync clock PPC440EP(x)/PPC440GR(x): In asynchronous PCI mode, the synchronous PCI clock must meet certain requirements. The following equation describes the relationship that must be maintained between the asynchronous PCI clock and synchronous PCI clock. Select an appropriate PCI:PLB ratio to maintain the relationship: AsyncPCIClk - 1MHz <= SyncPCIclock <= (2 * AsyncPCIClk) - 1MHz This patch now adds a function to check and reconfigure the sync PCI clock to meet this requirement. This is in preparation for some AMCC boards (Sequoia/Rainier and Yosemite/Yellowstone) using this function to not violate the PCI clocking rules. Signed-off-by: Stefan Roese commit 92b8964bed0d1b779d9e26be4e16755b5c635415 Author: Stefan Roese Date: Fri Oct 16 10:01:09 2009 +0200 ppc4xx: Update flash size in reg property of the NOR flash node Till now only the ranges in the ebc node are updated with the values currently configured in the PPC4xx EBC controller. With this patch now the NOR flash size is updated in the device tree blob as well. This is done by scanning the compatible nodes "cfi-flash" and "jedec-flash" for the correct chip select number. This size fixup is enabled for all AMCC eval board right now. Other 4xx boards may want to enable it as well, if this problem with multiple NOR FLASH sizes exists. Signed-off-by: Stefan Roese Cc: Wolfgang Denk commit 30d45c0d3ea2231f9131276ea113595959a0720e Author: Stefan Roese Date: Wed Oct 21 11:59:52 2009 +0200 fdt: Add fdt_fixup_nor_flash_size() to fixup NOR FLASH size in dtb This function can be used to update the size in the "reg" property of the NOR FLASH device nodes. This is necessary for boards with non-fixed NOR FLASH sizes. Signed-off-by: Stefan Roese Acked-by: Gerald Van Baren Acked-by: Wolfgang Denk commit 76706cb86b1c76954ff5353db6757ab99cfd95fb Author: Wolfgang Denk Date: Tue Oct 20 23:12:13 2009 +0200 cpu/ppc4xx/fdt.c: avoid strcpy() to constant string strcpy() was iused with the target address being a pointer to a constant string, which potentially is read-only. Use a (writable) array of characters instead. Signed-off-by: Wolfgang Denk Signed-off-by: Stefan Roese commit 0e1ac981194aa0d92eff0934442cec48a4f57834 Author: Wolfgang Denk Date: Tue Oct 20 23:07:04 2009 +0200 cpu/ppc4xx/fdt.c: avoid strcpy() to constant string strcpy() was iused with the target address being a pointer to a constant string, which potentially is read-only. Use a (writable) array of characters instead. Signed-off-by: Wolfgang Denk commit c55096c084308c08bf8891c190f90bdc3a232394 Author: Daniel Mack Date: Wed Apr 8 13:23:38 2009 +0200 smc911x: add support for LAN9220 Signed-off-by: Daniel Mack Cc: Sascha Hauer Signed-off-by: Ben Warren commit f67066b6b0740b826ed862615c5ab022aaf4779a Author: Mike Frysinger Date: Sun Oct 18 20:43:14 2009 -0400 envcrc: check return value of fwrite() Newer toolchains will often complain about unchecked fwrite(): envcrc.c:117: warning: ignoring return value of `fwrite´, declared with attribute warn_unused_result So check the return value to silence the warnings. Signed-off-by: Mike Frysinger commit efd988ebaa241bab265b1511052350207cb7aaa0 Author: Wolfgang Denk Date: Mon Oct 19 09:18:57 2009 +0200 mcc200: fix build error Fix compile error: include/configs/mcc200.h:401:6: error: #elif with no expression Signed-off-by: Wolfgang Denk commit 4e0539d2696992a5e32643a0c831e870cfe9a036 Author: Nishanth Menon Date: Tue Oct 13 12:47:39 2009 -0400 OMAP3: fix warnings when NAND/ONENAND is not used Fix build warnings by putting specific used variables under required #ifdefs for removing: mem.c:227: warning: unused variable 'f_sec' mem.c:226: warning: unused variable 'f_off' mem.c:225: warning: unused variable 'size' mem.c:224: warning: unused variable 'base' mem.c:222: warning: unused variable 'gpmc_config' Signed-off-by: Nishanth Menon commit 73db0c71da365a2d101878ae3aeb8ff3545a1828 Author: Nishanth Menon Date: Tue Oct 13 12:47:24 2009 -0400 OMAP3: export enable_gpmc_cs_config to board files Export enable_gpmc_cs_config into common header to prevent warning: warning: implicit declaration of function 'enable_gpmc_cs_config' Signed-off-by: Nishanth Menon commit 96a27c6dc29abf11740632ecd8ccab607b209c5d Author: Tom Rix Date: Mon Oct 12 12:07:40 2009 -0400 Zoom2 Fix serial gpmc setup The offset to the chip select is incorrect. The change 187af954cf7958c24efcf0fd62289bbdb4f1f24e, omap3: embedd gpmc_cs into gpmc config struct introduced a problem with the serial gpmc setup. This patch reverts the chip select to its previous value. The symptoms of this problem are that the Zoom2 currently hangs. This was run tested on Zoom2. Signed-off-by: Tom Rix commit 64d945abe8cffbacdaeca5f63b9b84f895d2d9ab Author: Sandeep Paulraj Date: Sun Oct 11 09:10:27 2009 -0400 TI DaVinci Sonata: Add Config option for 64 bit Support Adding the CONFIG_SYS_64BIT_VSPRINTF fot the DM644x based Sonata Without this option enabled while performing NAND operations we will get wrong diagnostic messages. Example if the MTD NAND driver find a bad block while erasing from a certain address, it will say bad block skipped at 0x00000000. Signed-off-by: Sandeep Paulraj commit 54aa603d2ce1d9374a1f5c6336362037ad2d8b51 Author: Sandeep Paulraj Date: Sun Oct 11 09:14:58 2009 -0400 TI DaVinci DVEVM: Add Config option for 64 bit Support Adding the CONFIG_SYS_64BIT_VSPRINTF in the DVEVM config. Without this option enabled while performing NAND operations we will get wrong diagnostic messages. Example if the MTD NAND driver find a bad block while erasing from a certain address, it will say bad block skipped at 0x00000000. Signed-off-by: Sandeep Paulraj commit b8d0aa0c78b8c0fa51acada3c486b81085924b53 Author: Sandeep Paulraj Date: Sat Oct 10 10:19:20 2009 -0400 TI DaVinci DM365: Add Config option for 64 bit Support Adding the CONFIG_SYS_64BIT_VSPRINTF in the DM365 EVM config. Without this option enabled while performing NAND operations we will get wrong diagnostic messages. Example if the MTD NAND driver find a bad block while erasing from a certain address, it will say bad block skipped at 0x00000000. Signed-off-by: Sandeep Paulraj commit 86a725b9c8b829c217be90e590f3ca2c91fa1dca Author: Sandeep Paulraj Date: Sat Oct 10 10:18:46 2009 -0400 TI DaVinci DM355: Add Config option for 64 bit Support Adding the CONFIG_SYS_64BIT_VSPRINTF in the DM355 EVM config. Without this option enabled while performing NAND operations we will get wrong diagnostic messages. Example if the MTD NAND driver find a bad block while erasing from a certain address, it will say bad block skipped at 0x00000000. Signed-off-by: Sandeep Paulraj commit 9c44ddccb6602f620fc037974f3e4468ad8a7c0c Author: Sandeep Paulraj Date: Wed Sep 9 11:50:40 2009 -0400 TI: OMAP3: Remove SZ_xx references This patch removes dependency on the sizes.h header file and removes all references to SZ_xx. Signed-off-by: Sandeep Paulraj commit 13d2cb988ff07addce6e10ab2cb8965a9dd23c63 Author: Steve Sakoman Date: Sat Oct 10 14:29:37 2009 -0400 OMAP3: Update Overo and Beagle environment Update default environment to support new kernel DSS2 subsystem and simplify rootfs type and location changes. Signed-off-by: Steve Sakoman Signed-off-by: Dirk Behme commit c73607c5525c6957c815e64f7e865fdd3baffe98 Author: Sandeep Paulraj Date: Sat Oct 10 13:46:26 2009 -0400 TI DaVinci: Maintainer for DM355 and DM365 EVM Adding entries to the MAINTAINERS directory for the DM355 and DM365 EVM. Signed-off-by: Sandeep Paulraj commit 5df65cf56aeef9fdeab83a259c37aa7d23836dd3 Author: Sandeep Paulraj Date: Sat Oct 10 13:37:10 2009 -0400 TI: DaVinci: DM355 Leopard board support This patch adds support for the leopard board which is based on the DM355 SOC. Signed-off-by: Sandeep Paulraj commit 6ab176d7091d21960a1bd89fcb7fd87b9e91aca1 Author: Sandeep Paulraj Date: Sat Oct 10 12:00:47 2009 -0400 TI DaVinci DM646x: Adding initial support for DM6467 EVM This patch adds the initial support for DM6467 EVM. Other features like NET and NAND support will be added as follow up patches. Signed-off-by: Sandeep Paulraj commit d884f64a7b8482f6c9688600e0a4731fa5678e0c Author: Sandeep Paulraj Date: Thu Oct 1 20:22:09 2009 -0400 TI DaVinci DM365: Fix Compilation warning for DM365 EVM This patch fixes a compilation warning while compiling the DM365 EVM. Signed-off-by: Sandeep Paulraj commit 6fe5e87be4b944edf428835210056e020c8bb794 Author: Sandeep Paulraj Date: Thu Oct 1 20:21:13 2009 -0400 TI DaVinci DM355: Fix Compilation warning for DM355 EVM This patch fixes a compilation warning while compiling the DM355 EVM. Signed-off-by: Sandeep Paulraj commit 513bbe1b1720682e6de0aba2d9db5e60f3a428bb Author: Eric Benard Date: Mon Oct 12 10:15:39 2009 +0200 AT91 CPUAT91 Fix compiler warning This change fixes the compiler warning main.c: In function 'abortboot': main.c:122: warning: too few arguments for format Signed-off-by: Eric Benard Signed-off-by: Tom Rix commit b1e81f701d044eee3884202b127d5d1f0668bdb9 Author: Eric Benard Date: Mon Oct 12 10:15:40 2009 +0200 AT91 CPU9260 CPU9G20 Fix compile warnings This change fixes the compiler warning nand_util.c:45:2: warning: #warning Please define CONFIG_SYS_64BIT_VSPRINTF for correct output! Signed-off-by: Eric Benard Signed-off-by: Tom Rix commit 94d50c527a3cedb6a41fbe6773256cdd1855317f Author: Eric Benard Date: Mon Oct 12 10:08:20 2009 +0200 AT91 CPU9260 Fix machine ID when using a CPU9G20. Signed-off-by: Eric Benard Signed-off-by: Tom Rix commit 8c0a92c8f4cf399e873c2611939f3617983785a9 Author: Alessandro Rubini Date: Sat Oct 10 11:51:26 2009 +0200 lcd: remove '#if 0' 32-bit scroll, now memcpy does it Signed-off-by: Alessandro Rubini Acked-by: Andrea Gallo commit e3ea948d4588e7efddbf0ee92147d93f827d7cea Author: Alessandro Rubini Date: Sat Oct 10 11:51:16 2009 +0200 lib_generic memset: fill one word at a time if possible If the destination is aligned, fill ulong values until possible. Then fill remaining part by byte. Signed-off-by: Alessandro Rubini Acked-by: Andrea Gallo Acked-by: Mike Frysinger commit ecd830b863e5c6ac5d804d3b3a92453a98d526fc Author: Alessandro Rubini Date: Sat Oct 10 11:51:05 2009 +0200 lib_generic memcpy: copy one word at a time if possible If source and destination are aligned, this copies ulong values until possible, trailing part is copied by byte. Thanks for the details to Wolfgang Denk, Mike Frysinger, Peter Tyser, Chris Moore. Signed-off-by: Alessandro Rubini Acked-by: Andrea Gallo Acked-by: Mike Frysinger commit 9c5586aa19bbedf290d2a663813404d2db87dfa5 Author: Alessandro Rubini Date: Thu Oct 8 14:29:14 2009 +0200 setenv: do console redirection even if previously unset If "stdout" is not previously set, doing "setenv stdout lcd" had no effect, since console redirection only worked if the environment variable was already set; the second time you run setenv it worked. Most default environments lack stdin/out/err definitions, so I'm sure I'm not alone with this problem. This patch simply moves a block of code out of a conditional, to do the same work even if the variable was previously unset. Signed-off-by: Alessandro Rubini Acked-by: Andrea Gallo commit c9ee39972a7758e883b73c6c0e3c3a14cd5b2f43 Author: Martha Stan Date: Wed Oct 7 04:38:46 2009 -0400 mpc512x: fix System Clock Control constants for USB1 & USB2 Signer-off-by: Martha Stan commit 87b22b7787f397fc3daad570d711e478b1a7d253 Author: Paul Gortmaker Date: Fri Oct 2 18:18:33 2009 -0400 mem_mtest: fix error reporting, allow escape with ^C The basic memtest function tries to watch for ^C after each pattern pass as an escape mechanism, but if things are horribly wrong, we'll be stuck in an inner loop flooding the console with error messages and never check for ^C. To make matters worse, if the user waits for all the error messages to complete, we then incorrectly report the test passed without errors. Adding a check for ^C after any error is printed will give the end user an escape mechanism from a console flood without slowing down the overall test speed on a slow processor. Also, the more extensive memtest quit after just a single error, which is inconsistent with the normal memtest, and not useful if if you are doing dynamic environmental impact testing, such as heating/cooling etc. Both tests now track the error count and report it properly at test completion. Signed-off-by: Paul Gortmaker Acked-by: Mike Frysinger commit 9f4a420663419dc13f08a0ce65b93033c6172c69 Author: Mike Frysinger Date: Thu Oct 1 12:11:54 2009 -0400 new default shortcut to config & build a board The majority of the time that I build things in U-Boot, I want to just build for the board. I don't make board config tweaks after selecting the board. So add a new pattern rule that allows people to combine two steps in one go: `make foo_config && make` => `make foo` This shouldn't conflict with any existing make rules as the pattern rule is used only the rule doesn't already exist. Signed-off-by: Mike Frysinger commit 6dab6add2d8ee80905234b326abc3de11be1d178 Author: Mike Frysinger Date: Wed Sep 30 15:29:58 2009 -0400 env: only build env_embedded and envcrc when needed The env code is protected by the ENV_IS_EMBEDDED define, so attempting to compile the code when this isn't defined is pointless. Now that the env headers have unified around CONFIG_ENV_IS_EMBEDDED, convert the build system to only build the env objects when this is enabled. And now that the env code is conditionally compiled, we can drop the source code checks. For people who want to extract the environment manually, add a new option CONFIG_BUILD_ENVCRC that only enables the envcrc utility. Signed-off-by: Mike Frysinger commit 78f4ca7976748159080c9d920d5eb542d1b32d4f Author: Daniel Mack Date: Mon Sep 28 11:40:38 2009 +0200 part_dos: check status flags of partitions Only read partitions which have 0x00 or 0x80 set in their status field. All others are invalid. Signed-off-by: Daniel Mack commit 45def0ab9d1dedcd2a73939aad8373f760498762 Author: Eric Millbrandt Date: Fri Sep 25 17:47:43 2009 -0500 galaxy5200: change cs1 configuration Correct the chip select configuration for the nand flash chip select. Signed-off-by: Eric Millbrandt commit 7936b51165b519a16ecf3db302fb88df8b8b3b3d Author: Niklaus Giger Date: Wed Sep 23 08:12:14 2009 +0200 Cleanup: use constant Signed-off-by: Niklaus Giger commit 7120c888101952b7e61b9e54bb42370904aa0e68 Author: Kim Phillips Date: Mon Oct 12 11:06:19 2009 -0500 mpc83xx: mpc8313 - handle erratum IPIC1 (TSEC IRQ number swappage) mpc8313e erratum IPIC1 swapped TSEC interrupt ID numbers on rev. 1 h/w (see AN3545). The base device tree in use has rev. 1 ID numbers, so if on Rev. 2 (and higher) h/w, we fix them up here. Signed-off-by: Kim Phillips Reviewed-by: Roland Lezuo commit 91525c67153fcf2c19b2fc8d9c6376ac1a019f52 Author: Anton Vorontsov Date: Mon Oct 12 23:55:39 2009 +0400 mpc85xx: Fix booting on various boards commit 0e870980a64584a591af775bb9c9fe9450124df9 ("8xxx: Removed CONFIG_NUM_CPUS from 85xx/86xx") breaks U-Boot on various boards, namely the ones that call get_sys_info() from board_early_init_f(). get_sys_info() calls cpu_numcores(), which depends on probecpu() being called before. But probecpu() is called after board_early_init_f(), and so cpu_numcores() returns random values, which in turn crashes get_sys_info(). To fix the issue we place probecpu() before board_early_init_f() in an initialization sequence. Booting on the following boards should be revived now: mpc8540ads mpc8541cds mpc8548cds mpc8555cds mpc8560ads mpc8568mds mpc8569mds and maybe more. Signed-off-by: Anton Vorontsov Signed-off-by: Kumar Gala commit 26df6aa9916443077139f8f008fbc5f414ba05e5 Author: Paul Gortmaker Date: Fri Oct 2 18:48:07 2009 -0400 mpc86xx: delete unused MPC86xx_DDR_SDRAM_CLK_CNTL define This is an orphaned legacy leftover that is just polluting the config file namespace. Signed-off-by: Paul Gortmaker Signed-off-by: Kumar Gala commit fad15096e3b34927444ba5f6133742d40d78a425 Author: Dipen Dudhat Date: Thu Oct 8 13:33:29 2009 +0530 ppc/P1_P2_RDB: On-chip BootROM support On Chip BootROM support for P1 and P2 series RDB platforms. This patch is derived from latest On Chip BootROM support on MPC8536DS Signed-off-by: Dipen Dudhat Signed-off-by: Kumar Gala commit f7780ec977e545b83bc5068e0957d640f1d98f13 Author: Dipen Dudhat Date: Thu Oct 8 13:33:18 2009 +0530 ppc/P1_P2_RDB: NAND Boot Support NAND Boot support for P1 and P2 series RDB platforms. This patch is derived from NAND Boot support on MPC8536DS. Signed-off-by: Dipen Dudhat Signed-off-by: Kumar Gala commit d11823ca3cb551814ffcd926402c8bcf3a7eff35 Author: Paul Gortmaker Date: Wed Oct 7 16:34:28 2009 -0400 mpc8xxx: improve LAW error messages when setting up DDR When setting up the LAWs for the DDR, if there was an error, you got the not-so-helpful error text "ERROR" and nothing else. Not only is it non-informative, but it is also pretty frustrating trying to grep for "ERROR" in the source. Signed-off-by: Paul Gortmaker Signed-off-by: Kumar Gala commit a9946e3fc7089ddc6b7711a44e07a6b0827b79a7 Author: Paul Gortmaker Date: Wed Sep 30 16:12:31 2009 -0400 sbc8641d: fix LAW so board doesn't hang on DDR init All versions between now and since this commit: commit bd76729bcbfd64b5d016a9b936f058931fc06eaf MPC86xx: set CONFIG_MAX_MEM_MAPPED to 2G by default will fail to allow the SBC8641D to get past DDR init, because the LAW config was overlapping. Eventually this board will do SPD EEPROM config, but for now this gets the board working again. Signed-off-by: Paul Gortmaker Signed-off-by: Kumar Gala commit 3d1988ab47cc0e265272967e07d747ec600a44c9 Author: kevin.morfitt@fearnside-systems.co.uk Date: Sat Oct 10 13:34:09 2009 +0900 Clean-up of s3c24x0 nand driver This patch re-formats the arm920t s3c24x0 nand driver in preparation for changes to add support for the Embest SBC2440-II Board. The changes are as follows: - re-indent the code using Lindent - make sure register layouts are defined using a C struct - replace the upper-case typedef'ed C struct names with lower case non-typedef'ed ones - make sure registers are accessed using the proper accessor functions - run checkpatch.pl and fix any error reports It assumes the following patch has been applied first: - [U-Boot][PATCH-ARM] CONFIG_SYS_HZ fix for ARM902T S3C24X0 Boards, 05/09/2009 - patches 1/4, 2/4 and 3/4 of this series Tested on an Embest SBC2440-II Board with local u-boot patches as I don't have any s3c2400 or s3c2410 boards but need this patch applying before I can submit patches for the SBC2440-II Board. Also, temporarily modified sbc2410x, smdk2400, smdk2410 and trab configs to use the mtd nand driver (which isn't used by any board at the moment), ran MAKEALL for all ARM9 targets and no new warnings or errors were found. Signed-off-by: Kevin Morfitt Signed-off-by: Minkyu Kang commit eb0ae7f549b7142826a8bcdd2dc945fac9c36349 Author: kevin.morfitt@fearnside-systems.co.uk Date: Sat Oct 10 13:33:11 2009 +0900 Clean-up of s3c24x0 drivers excluding nand driver This patch re-formats the arm920t s3c24x0 driver files, excluding the nand driver, in preparation for changes to add support for the Embest SBC2440-II Board. The changes are as follows: - re-indent the code using Lindent - make sure register layouts are defined using a C struct - replace the upper-case typedef'ed C struct names with lower case non-typedef'ed ones - make sure registers are accessed using the proper accessor functions - run checkpatch.pl and fix any error reports It assumes the following patch has been applied first: - [U-Boot][PATCH-ARM] CONFIG_SYS_HZ fix for ARM902T S3C24X0 Boards, 05/09/2009 - patches 1/4 and 2/4 of this series Tested on an Embest SBC2440-II Board with local u-boot patches as I don't have any s3c2400 or s3c2410 boards but need this patch applying before I can submit patches for the SBC2440-II Board. Also, temporarily modified sbc2410x, smdk2400, smdk2410 and trab configs to use the mtd nand driver (which isn't used by any board at the moment), ran MAKEALL for all ARM9 targets and no new warnings or errors were found. Signed-off-by: Kevin Morfitt Signed-off-by: Minkyu Kang commit 8250d0bae84229abea397f6b474b3556b0f04e80 Author: kevin.morfitt@fearnside-systems.co.uk Date: Sat Oct 10 13:32:01 2009 +0900 Clean-up of s3c24x0 header files This patch re-formats the arm920t s3c24x0 header files in preparation for changes to add support for the Embest SBC2440-II Board. The changes are as follows: - re-indent the code using Lindent - make sure register layouts are defined using a C struct - replace the upper-case typedef'ed C struct names with lower case non-typedef'ed ones - make sure registers are accessed using the proper accessor functions - run checkpatch.pl and fix any error reports It assumes the following patch has been applied first: - [U-Boot][PATCH-ARM] CONFIG_SYS_HZ fix for ARM902T S3C24X0 Boards, 05/09/2009 - patch 1/4 of this series Tested on an Embest SBC2440-II Board with local u-boot patches as I don't have any s3c2400 or s3c2410 boards but need this patch applying before I can submit patches for the SBC2440-II Board. Also, temporarily modified sbc2410x, smdk2400, smdk2410 and trab configs to use the mtd nand driver (which isn't used by any board at the moment), ran MAKEALL for all ARM9 targets and no new warnings or errors were found. Signed-off-by: Kevin Morfitt Signed-off-by: Minkyu Kang commit d67cce2dda3a40c3bd90a6c6e129fbb26dd4cfab Author: kevin.morfitt@fearnside-systems.co.uk Date: Sat Oct 10 13:30:22 2009 +0900 Clean-up of cpu_arm920t and cpu_arm920t_s3c24x0 code This patch re-formats the code in cpu/arm920t and cpu/arm920t/23c24x0 in preparation for changes to add support for the Embest SBC2440-II Board. The changes are as follows: - re-indent the code using Lindent - make sure register layouts are defined using a C struct - replace the upper-case typedef'ed C struct names with lower case non-typedef'ed ones - make sure registers are accessed using the proper accessor functions - run checkpatch.pl and fix any error reports It assumes the following patch has been applied first: - [U-Boot][PATCH-ARM] CONFIG_SYS_HZ fix for ARM902T S3C24X0 Boards, 05/09/2009 Tested on an Embest SBC2440-II Board with local u-boot patches as I don't have any s3c2400 or s3c2410 boards but need this patch applying before I can submit patches for the SBC2440-II Board. Also, ran MAKEALL for all ARM9 targets and no new warnings or errors were found. Signed-off-by: Kevin Morfitt Signed-off-by: Minkyu Kang commit cd85662b345c0c2248fd7637f65bb2fbb4d53dd9 Author: kevin.morfitt@fearnside-systems.co.uk Date: Sun Sep 6 00:33:13 2009 +0900 CONFIG_SYS_HZ fix for ARM902T S3C24X0 Boards This sets CONFIG_SYS_HZ to 1000 for all boards that use the s3c2400 and s3c2410 cpu's which fixes various problems such as the timeouts in tftp being too short. Tested on an Embest SBC2440-II Board with local u-boot patches as I don't have any s3c2400 or s3c2410 boards but need this patch applying before I can submit patches for the SBC2440-II Board. Also, ran MAKEALL for all ARM9 targets and no new warnings or errors were found. It was originally submitted on 21/06/2009 but didn't get into the 2009.08 release, and Jean-Pierre made one comment on the original patch (see http://lists.denx.de/pipermail/u-boot/2009-July/055470.html). I've made two changes to the original patch: - it's been re-based to the current release - I've re-named get_timer_raw() to get_ticks() in response to Jean-Pierre's comment This affects the sbc2410, smdk2400, smdk2410 and trab boards. I've copied it directly to the maintainers of all except the sbc2410 which doesn't have an entry in MAINTAINERS. Signed-off-by: Kevin Morfitt Tested-by: Wolfgang Denk Signed-off-by: Minkyu Kang commit 8bc4ee9e8213abe4031ea1720aa02fa98d4402ad Author: Minkyu Kang Date: Thu Oct 1 17:20:40 2009 +0900 s5pc1xx: add support SMDKC100 board Adds new board SMDKC100 that uses s5pc100 SoC Signed-off-by: Minkyu Kang Signed-off-by: HeungJun, Kim commit dd2c9e6a3b67c8ff56694e515e6e3c7baddd8f52 Author: Minkyu Kang Date: Thu Oct 1 17:20:28 2009 +0900 s5pc1xx: support serial driver This patch includes the serial driver for s5pc1xx. s5pc1xx uart driver needs own register setting and clock configuration. So, need to special driver. Signed-off-by: Minkyu Kang commit 4678d674f0cacc983dca7f6b9933cd8291c9797c Author: Minkyu Kang Date: Thu Oct 1 17:20:08 2009 +0900 s5pc1xx: support onenand driver This patch includes the onenand driver for s5pc100 Signed-off-by: Minkyu Kang Signed-off-by: Kyungmin Park commit 399e5ae0d0b2eb4663fc5784201968c07d45afac Author: Minkyu Kang Date: Thu Oct 1 17:20:01 2009 +0900 s5pc1xx: support Samsung s5pc1xx SoC This patch adds support for the Samsung s5pc100 and s5pc110 SoCs. The s5pc1xx SoC is an ARM Cortex A8 processor. Signed-off-by: Minkyu Kang Signed-off-by: HeungJun, Kim commit d087d19a994e741f0ce526124be117c90be482ae Author: Mike Frysinger Date: Tue Oct 13 21:58:26 2009 -0400 Blackfin: drop MAC display at boot The default Blackfin boot would display the MAC address for the first NIC, but this relies on the environment. The current net multi stack no longer writes the default hardware settings to the environment, so most of the time the display shows all zeros. This can be pretty confusing and really doesn't add anything useful, so just drop it. Signed-off-by: Mike Frysinger commit 1f003cf4738a199d99c818124784058526d2d40e Author: Mike Frysinger Date: Fri Oct 9 02:24:33 2009 -0400 Blackfin: reset watchdog in udelay() All arches apparently should reset the watchdog in their udelay loop as noted on the mailing list recently: > A comment in flash_status_check() suggests that udelay() is > expected to reset the watchdog, but I can't find any architecture > where it does. If this is missing in other architectures, it should be fixed at the root cause, i. e. in udelay() or in the respective support routines. Signed-off-by: Mike Frysinger commit 370ec734557d0b0f266e6d0953229ee12cae5edd Author: Mike Frysinger Date: Fri Oct 9 02:22:11 2009 -0400 Blackfin: Remove relocation fixups Blackfin pieces like commit 0630535e2d062dd73c1ceca5c6125c86d1127a49. Signed-off-by: Mike Frysinger commit a380279b2abe130c2d3d2c8de36f8ff98bc6b3b0 Author: Daniel Gorsulowski Date: Tue Sep 29 08:03:12 2009 +0200 at91: Update MEESC board support This patch implements several updates: -disable CONFIG_ENV_OVERWRITE -add new hardware style variants and set the arch numbers appropriate -pass the serial# and hardware revision to the kernel -removed unused macros from include/configs/meesc.h -fixed multiline comment style Signed-off-by: Daniel Gorsulowski commit 9df20ce211576aa7ac75710dcd8d0a6236abfd70 Author: Simon Kagstrom <[simon.kagstrom@netinsight.net]> Date: Thu Oct 1 19:41:50 2009 +0530 arm: Correct build with CONFIG_SYS_HUSH_PARSER set FLAG_PARSE_SEMICOLON is not defined without hush.h, so include that. Signed-off-by: Simon Kagstrom Signed-off-by: Prafulla Wadaskar commit df3826262c0efd2baec4df23d44b3942af98f5a7 Author: Olof Johansson Date: Tue Sep 29 10:22:45 2009 -0400 TI: OMAP3: Overo Tobi ethernet support Add setup for ethernet on Tobi, allowing kernel/ramdisk to be loaded over tftp. This also refactors the smc911x driver to allow for detecting when the chip is missing. I.e. the detect_chip() function is called earlier and will abort gracefully when the Chip ID read returns all 1's. Signed-off-by: Olof Johansson Acked-by: Dirk Behme Acked-by: Ben Warren commit 2a6cc97b91997ae485312ac91ffbcea6a89b663a Author: Olof Johansson Date: Tue Sep 29 10:21:29 2009 -0400 SMC911X: Add chip auto detection Refactor the smc911x driver to allow for detecting when the chip is missing. I.e. the detect_chip() function is called earlier and will abort gracefully when the Chip ID read returns all 1's. Signed-off-by: Olof Johansson Acked-by: Dirk Behme Acked-by: Ben Warren commit 0297ec7e2a4039b8a28346f52f3ccca4db1ddc62 Author: Tom Rix Date: Tue Sep 29 10:19:49 2009 -0400 TI OMAP3 Use arm init sequence to initialize i2c This changes fixes an early i2c error. It appears that I2C is working because once a read or write error is detected, the omap24xx_i2c driver calls i2c_init inside its error handling check. While it is ok to attempt error handling this way, the boards must not depend on this side effect to initialize it's i2c. Instead of explicitly calling i2c_init for every board, use the generic arm initialization in lib_arm/board.c. By defining the config variable CONFIG_HARD_I2C, the omap3 i2c initialization is included in the init_sequence table. Run tested on Beagle. Compile tested on the omap3's Signed-off-by: Tom Rix Acked-by: Dirk Behme commit 4df30f3bb7285b2c962713a5c693c16fd90885e0 Author: Sandeep Paulraj Date: Tue Sep 29 09:43:04 2009 -0400 TI: DaVinci DM365: Enabling network Support on DM365 EVM This patch enables EMAC on the DM365 EVM. Signed-off-by: Sandeep Paulraj Acked-by: Tom Rix commit 00e1665a3cf956e09ac2ce86ef6ec459f6bfb33c Author: Sandeep Paulraj Date: Tue Sep 29 10:02:38 2009 -0400 TI: DaVinci: GPIO header file and definitions Some DaVinci SOC's use GPIOs to enable EMAC and DM9000. This patch adds some definitions for GPIO registers and also adds structures for GPIO. A separate header file is being added so that in future we can have a DaVinci GPIO driver similer to OMAP. Signed-off-by: Sandeep Paulraj Acked-by: Tom Rix commit 95ae803afbdd9f673c94b992ea624a10d252afc2 Author: Sandeep Paulraj Date: Fri Sep 18 17:30:05 2009 -0400 TI: DaVinci DM646x: Update flag used to represent DM646x SOC's In the DaVinci specific code, we use both CONFIG_SOC_DM646X and CONFIG_SOC_DM646x to represent DM646x specific code. This patch changes occurrences of CONFIG_SOC_DM646x to CONFIG_SOC_DM646X. This is because for DM644x series of SOCs we use the flag CONFIG_SOC_DM644X. We want some uniformity. Signed-off-by: Sandeep Paulraj Acked-by: Tom Rix commit fc9165fdb3b021aa8ff02417692220fe9344072b Author: Olof Johansson Date: Mon Sep 28 08:19:30 2009 -0400 OMAP3: Clean up whitespace in mux configs Switch from space-based indentation to tab-based in mux configs, as pointed out by WD at: http://lists.denx.de/pipermail/u-boot/2009-September/061241.html Nothing but whitespace changes in this patch (diff -w gives no output). Signed-off-by: Olof Johansson commit 9de0212bd7c4c82a7e8c2a2c8714f8c7abc57d08 Author: Dirk Behme Date: Mon Sep 28 08:17:50 2009 -0400 OMAP3 MMC: Fix warning dereferencing type-punned pointer Fix warning Dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Dirk Behme CC: Steve Sakoman Acked-by: Tom Rix commit e92daeb5c2050438402b87c7d614e8a13c294348 Author: Simon Kagstrom <[simon.kagstrom@netinsight.net]> Date: Tue Sep 22 04:01:01 2009 +0530 Support for the OpenRD base board The implementation is borrowed from the sheevaplug board and the Marvell 1.1.4 code. Unsupported (or untested) is the SD card, PCIe and SATA. Signed-off-by: Simon Kagstrom commit a62e78fc444c67f958be48891bef3dab0e9eb285 Author: Prafulla Wadaskar Date: Mon Sep 21 20:15:17 2009 +0530 Kirkwood: mv88f6281gtw_ge: Add kwbimage build support This patch adds kwbimage configuration file (used by mkimage utility) to support u-boot.kwb target on mv88f6281gtw_ge board. To create Kirkwood boot image to be flashed on SPI Flash, additional parameter u-boot.kwb need to be passed during make. Signed-off-by: Prafulla Wadaskar commit 5bc7cbc15b1890682c0b279f708914518bd25f8d Author: Prafulla Wadaskar Date: Mon Sep 21 18:23:11 2009 +0530 Kirkwood: rd6281a: Add kwbimage build support This patch adds kwbimage configuration file (used by mkimage utility) to support u-boot.kwb target on rd6281a platform. To create Kirkwood boot image to be flashed on NAND, additional parameter u-boot.kwb need to be passed during make. Signed-off-by: Prafulla Wadaskar commit 23b80982a02a43bf4ead91574c9d6f1b647ccc8f Author: Tom Rix Date: Sun Sep 27 11:10:09 2009 -0500 Add support for Eukrea CPU9260/CPU9G20 SBC these boards are built around Atmel's AT91SAM9260/9G20 and have up to 64MB of NOR flash, up to 128MB of SDRAM, up to 2GB of NAND and include a 10/100 Ethernet PHY in RMII mode. Signed-off-by: Eric Benard Signed-off-by: Tom Rix commit d8380c9d35e88759c96e68a03738446ca0cb292f Author: Tom Rix Date: Sun Sep 27 07:47:24 2009 -0500 Add support for Eukrea CPUAT91 SBC CPUAT91 is built around Atmel's AT91RM9200 and has up to 16MB of NOR flash, up to 128MB of SDRAM, and includes a Micrel KS8721 PHY in RMII mode. Signed-off-by: Eric Benard Signed-off-by: Tom Rix commit eb95aa15e644c29b01832703aa4964fe419170f0 Author: Sandeep Paulraj Date: Mon Sep 14 14:57:47 2009 -0400 TI: DaVinci DM365: Minor config cleanup The DM365 config was using the 'CONFIG_CMD_SAVEENV' flag. This is already included when we include the config_cmd_default.h header file. So this flag is removed. Also another flag to enable NAND functions was being enabled incorrectly. Signed-off-by: Sandeep Paulraj commit 5d783c1ffd691ffdadbc2c2f796c41481b7cdce7 Author: Sandeep Paulraj Date: Mon Sep 14 15:03:06 2009 -0400 TI DaVinci DM365: Removing header file which does not exist The DaVinci DM365 EVM board specific code was including a header file which does not exist. So removing this header file. Signed-off-by: Sandeep Paulraj commit 409ec37bd8ae8822d276e77419d899571891b191 Author: Sandeep Paulraj Date: Tue Sep 8 18:08:06 2009 -0400 TI DaVinci: DM355: Config Cleanup and Update This patch does the following 1) Enables the NAND driver which is now available. 2) Enables the 'CONFIG_MTD_DEVICE' as without this the compilation will fail 3) We now have a safe place to store environment and defines an offset where this can be stored. This offset value is such that it is after the location where U-Boot is flashed using TI flash utilities. 4) Enables Bootdelay 5) Increases malloc() arena size. Manufacturers are coming out with NAND with large blocks sizes of upto 1 MiB. It has been noticed that as the block size of the NAND used is increased, if this particular value is not increased, the NAND driver will output out of memory errors. Signed-off-by: Sandeep Paulraj commit 7908c97a106765ad8816bf2271a5bf315728b274 Author: Sandeep Paulraj Date: Tue Sep 8 11:37:39 2009 -0400 TI DaVinci: DM646x: Initial Support for DM646x SOC DM646x is an SOC from TI which has both an ARM and a DSP. There are multiple variants of the SOC mainly dealing with different core speeds. This patch adds the initial framework for the DM646x SOC. Signed-off-by: Sandeep Paulraj commit 5d0f53624c24eaf82d58368a6a5b8476392dd5c7 Author: Sandeep Paulraj Date: Wed Sep 9 15:26:00 2009 -0400 TI DaVinci: DM6446: Fix Compilation error in NAND mode The Default mode that is built for the Davinci DVEVM happens to be the NOR mode. When we want to build for the NAND mode, we get a compilation error. This is overcome by defining the CONFIG_MTD_DEVICE flag in the NAND mode. The image built for NAND mode was successfully tested on the DaVinci DM6446 EVM. Signed-off-by: Sandeep Paulraj commit 7a2aa8b68120f333ed2edc33475ca195810d6cb1 Author: Tom Rix Date: Thu Sep 10 15:27:57 2009 -0400 OMAP3 Move cache routine to cache.S v7_flush_dcache_all, because it depends on omap ROM code is not generic. Rename the function to 'invalidate_dcache' and move it to the omap cpu directory. Collect the other omap cache routines l2_cache_enable and l2_cache_disable with invalide_dcache into cache.S. This means removing the old cache.c file that contained l2_cache_enable and l2_cache_disable. The conversion from cache.c to cache.S was done most through disassembling the uboot binary. The only significant change was to change the comparision for the return of get_cpu_rev from cmp r0, #0 beq earlier_than_label Which was lost information to cmp r0, #CPU_3XX_ES20 blt earlier_than_label The paths through the enable routine were verified by adding an infinite loop and seeing the hang. Then removing the infinite loop and seeing it continue. The disable routine is similar enough that it was not tested with this method. Run tested by cold booting from nand on beagle and zoom1. Compile tested on MAKEALL arm. Signed-off-by: Tom Rix commit a16df2c11188297eca43cf6080c70fb69b960232 Author: Sandeep Paulraj Date: Tue Sep 8 17:09:52 2009 -0400 TI DaVinci: Remove references to SZ_xx This patch removes the asm/sizes.h header file from being included in the DaVinci SOC configs. References to SZ_xx have been replaced by appropriate bit shifted values. Signed-off-by: Sandeep Paulraj Acked-by: Wolfgang Denk commit 285870f75378aca41c5063e4358ad93bf3014fd8 Author: Ed Swarthout Date: Thu Oct 9 01:27:18 2008 -0500 Leave x86emu op code tables in default section Forcing the tables into got2 caused extra relocation when using -mrelocatable. This patch requires any board defining CONFIG_BIOSEMU to use -mrelocatable. Signed-off-by: Ed Swarthout Acked-by: Jin Zhengxiong commit be2254423b86572841aa70ff05d20933d1b49823 Author: Luigi 'Comio' Mantellini Date: Sat Oct 10 12:42:22 2009 +0200 Update all board to support new bbmiiphy driver (with multibus support) Signed-off-by: Luigi 'Comio' Mantellini Signed-off-by: Ben Warren commit 310cecb8ccdbc8a9be580e75b2fd362179d78535 Author: Luigi 'Comio' Mantellini Date: Sat Oct 10 12:42:21 2009 +0200 Add bb_miiphy_init call before any ethernet bring-up code. Signed-off-by: Luigi 'Comio' Mantellini Signed-off-by: Ben Warren commit 4ba31ab33ac824635fcb49ac609070a9ebcab7f0 Author: Luigi 'Comio' Mantellini Date: Sat Oct 10 12:42:20 2009 +0200 Rewrite the miiphybb (Bit-banged MII bus driver) in order to support an arbitrary number of mii buses. This feature is useful when your board uses different mii buses for different phys and all (or a part) of these buses are implemented via bit-banging mode. The driver requires that the following macros should be defined into the board configuration file: CONFIG_BITBANGMII - Enable the miiphybb driver CONFIG_BITBANGMII_MULTI - Enable the multi bus support If the CONFIG_BITBANGMII_MULTI is not defined, the board's config file needs to define at least the following macros: MII_INIT - Generic code to enable the MII bus (optional) MDIO_DECLARE - Declaration needed to access to the MDIO pin (optional) MDIO_ACTIVE - Activate the MDIO pin as out pin MDIO_TRISTATE - Activate the MDIO pin as input/tristate pin MDIO_READ - Read the MDIO pin MDIO(v) - Write v on the MDIO pin MDC_DECLARE - Declaration needed to access to the MDC pin (optional) MDC(v) - Write v on the MDC pin The previous macros make the driver compatible with the previous version (that didn't support the multi-bus). When the CONFIG_BITBANGMII_MULTI is also defined, the board code needs to fill the bb_miiphy_buses[] array with a record for each required bus and declare the bb_miiphy_buses_num variable with the number of mii buses. The record (struct bb_miiphy_bus) has the following fields/callbacks (see miiphy.h for details): char name[] - The symbolic name that must be equal to the MII bus registered name int (*init)() - Initialization function called at startup time (just before the Ethernet initialization) int (*mdio_active)() - Activate the MDIO pin as output int (*mdio_tristate)() - Activate the MDIO pin as input/tristate pin int (*set_mdio)() - Write the MDIO pin int (*get_mdio)() - Read the MDIO pin int (*set_mdc)() - Write the MDC pin int (*delay)() - Delay function void *priv - Private data used by board specific code The board code will look like: struct bb_miiphy_bus bb_miiphy_buses[] = { { .name = miibus#1, .init = b1_init, .mdio_active = b1_mdio_active, ... }, { .name = miibus#2, .init = b2_init, .mdio_active = b2_mdio_active, ... }, ... int bb_miiphy_buses_num = sizeof(bb_miiphy_buses) / sizeof(bb_miiphy_buses[0]); Signed-off-by: Luigi 'Comio' Mantellini Signed-off-by: Ben Warren commit efaf6f1bf6ebdd8f16b0d0c2960abe8d06f95af4 Author: Paul Gortmaker Date: Fri Oct 2 18:54:20 2009 -0400 mpc83xx: cosmetic comment update relating to SPD EEPROM commit 6d0f6bcf337c5261c08fabe12982178c2c489d76 did the big rename of CFG_ macros to CONFIG_SYS macros. But it missed a couple of instances within comments. Signed-off-by: Paul Gortmaker Signed-off-by: Kim Phillips commit afc3ba0fc4195624e79e21244380ed7cc2fd6969 Author: Joakim Tjernlund Date: Thu Oct 8 02:03:51 2009 +0200 relocation: Do not relocate NULL pointers. NULL is an absolute value and should not be relocated. After this correction code like: void weak_fun(void) __attribute__((weak)); printf("weak_fun:%p\n", weak_fun); will still print null after relocation. Signed-off-by: Joakim Tjernlund commit 3beb40c2473f0dd373231c723d88c51e46ad96f7 Author: Peter Tyser Date: Wed Oct 7 11:45:00 2009 -0500 85xx: Ensure BSS segment isn't linked at address 0 When U-Boot is relocated from flash to RAM pointers are modified accordingly. However, pointers initialzed with NULL values should not be modified so that they maintain their intended NULL value. If the BSS segment is linked at address 0 its address will not be updated as necessary during relocation. This is a temporary workaround. The end goal is to add support to U-Boot to dynamically locate the BSS at an arbitrary address at runtime. When the ability to fixup the BSS inteligently is added, this workaround can be removed and the 85xx link script can put the BSS at a fixed address at link time. Signed-off-by: Peter Tyser commit 95c44ec485b46ffb43dbdaa299f1491a500fdadf Author: Detlev Zundel Date: Wed Oct 7 16:38:05 2009 +0200 tqm5200: Correct comment and code in post_hotkeys_pressed. This fixes the code and the comment according to the original intent of doing an intensive memory test when PSC6_3 is pulled low on the STK52xx. Notably PORT_CONFIG will be overridden with this correct code now, so beware. The original code only worked by coincidence depending on the PORT_CONFIG setting from the header file. The new code was tested to ensure that the (undocumented) memory test still works on the STK52x. Signed-off-by: Detlev Zundel CC: Martin Krause Minor white-space cleanup. Signed-off-by: Wolfgang Denk commit da01f53404f99db185d196867af79371725d4683 Author: Wolfgang Denk Date: Sun Oct 4 22:56:08 2009 +0200 mpc512x: fix fixed_sdram() init code. Commit 054197ba and later fixes used an array to initialize some of the MDDRC parameters; however, the use of an array turned out to be a bad idea as it was not possible to correlate structure entries to array indices in readable and reliable way. Now we use a struct instead, which makes this self-explanatory. Signed-off-by: Wolfgang Denk commit dbcc357166bed20df13450e93a501f30b197efd1 Author: Niklaus Giger Date: Sun Oct 4 20:04:22 2009 +0200 ppc4xx: respect 80-chars per line in ppc*.h files After running checkstyle.pl on the three previous patches I noted that in the *.h files there were a lot of long lines. This patch solves this problem. Signed-off-by: Niklaus Giger Signed-off-by: Stefan Roese commit 78d2a641371ec71cc3786b167a318c7b115fbb90 Author: Niklaus Giger Date: Sun Oct 4 20:04:21 2009 +0200 ppc4xx: Rework cmd reginfo The command "reginfo" got an overhaul for the ppc4xx. It dumps all the relevant HW configuration registers (address, symbolic name, content). This allows to easily detect errors in *.h files and changes in the HW configuration. Signed-off-by: Niklaus Giger Signed-off-by: Stefan Roese commit ddc922ff2c20ae0b7f9ce2df1ac28143e2f325bd Author: Niklaus Giger Date: Sun Oct 4 20:04:20 2009 +0200 ppc_4xx: Apply new HW register names Modify all existing *.c files to use the new register names as seen in the AMCC manuals. Signed-off-by: Niklaus Giger Signed-off-by: Stefan Roese commit f80e61dcfe53fa3a5936659883415c9bd1b5a3d9 Author: Niklaus Giger Date: Sun Oct 4 20:04:19 2009 +0200 ppc4xx: Cleanup some HW register names Here you find all the changes in the include directory for new register names and adapting other ones to the names used by AMCC in their manuals, e.g. For 440EPx/GRPPC440EPx/GRX, Revision 1.15 – September 22, 2008 For PPC405GP Embedded Processor, Revision 1.02 – March 22, 2006 Signed-off-by: Niklaus Giger Signed-off-by: Stefan Roese commit 56f14818f66c68a8b9e45925f29ceb974405ad48 Author: Stefan Roese Date: Tue Oct 6 07:21:08 2009 +0200 ppc4xx: Add PPC405EX(r) Rev D support Unfortunately some Rev D PPC405EX/405EXr PVR's are identical with older 405EX(r) parts. Here a list: 0x12911475 - 405EX Rev D with Security *and* 405EX Rev A/B witout Sec 0x12911473 - 405EX Rev D without Security *and* 405EXr Rev A/B with Sec Since there are only a few older parts in the field, this patch now changes the PVR's above to represent the new Rev D versions. Signed-off-by: Stefan Roese Cc: Phong Vo" commit 06dfaeef52a5f773ae4292432e3c74ff52ead316 Author: Stefan Roese Date: Fri Oct 2 14:35:16 2009 +0200 ppc4xx: Fix msg "initialization as root-complex failed" upon PCIe scan This message is printed upon PCIe bus scan, not only upon error, but also if no PCIe device is detected at all. Since this is not an error, let's remove this message in this case. We already have the message "link is not up." if there is no PCIe device present. Signed-off-by: Stefan Roese Acked-by: Wolfgang Denk commit 54f5f056aa1daa3e39bad1c5c3fb43a72cdb9e84 Author: Mike Nuss Date: Mon Oct 5 12:33:28 2009 -0400 PPC4xx: Denali core: Fix incorrect DDR row bits The SPD detection code for the Denali memory controller used on some ppc4xx processors incorrectly encodes DDR0_42. With certain memory configurations, this can cause the bootwrapper to incorrectly calculate the installed memory size, because the number of row bits is wrong. This patch fixes that encoding. Signed-off-by: Mike Nuss Signed-off-by: Stefan Roese commit 99dbd4efd6d5ecc37d7e8f28b20d9be8c83055c7 Author: Ben Warren Date: Mon Oct 5 00:02:51 2009 -0700 Add information about return values of xxx_eth_register() in documentation As discussed on mailing list, <0 indicates failure, >=0 indicates number of interfaces found. Also added blurb about private data Signed-off-by: Ben Warren commit 1f1e774ec6242d4ea34e5cff57232deb5bb587e0 Author: Mike Frysinger Date: Wed Sep 9 14:41:22 2009 -0400 document network driver framework Signed-off-by: Mike Frysinger Acked-by: Wolfgang Denk Signed-off-by: Ben Warren commit aba8237257dd15b0e76cc517f0e741c0908ee0b9 Author: Prafulla Wadaskar Date: Wed Sep 9 15:59:19 2009 +0530 net: kirkwood_egiga.c: fixed build warning if link up detection code is disabled through config option, it gives build warning. This patch fixes the same Signed-off-by: Prafulla Wadaskar Signed-off-by: Ben Warren commit 7194ab809532eeca3e2ee5dc12017cb901cc5842 Author: Ben Warren Date: Sun Oct 4 22:37:03 2009 -0700 Convert SMC91111 Ethernet driver to CONFIG_NET_MULTI API All in-tree boards that use this controller have CONFIG_NET_MULTI added Also: - changed CONFIG_DRIVER_SMC91111 to CONFIG_SMC91111 - cleaned up line lengths - modified all boards that override weak function in this driver - modified all eeprom standalone apps to work with new driver - updated blackfin standalone EEPROM app after testing Signed-off-by: Ben Warren Signed-off-by: Mike Frysinger commit 32e7f239dda8638377edb0d3e7ac269cabbafbe6 Author: Prafulla Wadaskar Date: Mon Sep 21 20:28:18 2009 +0530 net: phy: mv88e61xx.c : fixed build warning following build warning was observed mv88e61xx.c: In function ‘mv88e61xx_busychk’: mv88e61xx.c:208: warning: dereferencing type-punned pointer will break strict-aliasing rules This patch fixes the same Patch tested for rd6281a board build Signed-off-by: Prafulla Wadaskar Signed-off-by: Ben Warren commit c0b46d8ead3c6c5b569c83544fd71b9d73356869 Author: James Clough Date: Thu Sep 10 09:11:50 2009 +0200 net: Fix problem with 405EZ ethernet interrupt On 405EZ the RX-/TX-interrupts are coalesced into one IRQ bit in the UIC. We need to acknowledge the RX-/TX-interrupts in the SDR0_ICINTSTAT reg as well. This problem was introduced with commit d1631fe1 [ppc4xx: Consolidate PPC4xx UIC defines] Signed-off-by: James Clough Signed-off-by: Stefan Roese Signed-off-by: Ben Warren commit 91b469c95faf92435e3d5d78292ba78075a3c5ca Author: Mike Frysinger Date: Wed Sep 2 04:18:55 2009 -0400 net: add random_port() prototype The random_port() is meant to be used by other net code, but without a prototype, we get fun warnings like: dns.c: In function 'DnsSend': dns.c:89: warning: implicit declaration of function 'random_port' Signed-off-by: Mike Frysinger Signed-off-by: Ben Warren commit 3469424cb6d939c7aedf1e0efdec44a797c0a18c Author: Peter Tyser Date: Mon Sep 21 11:20:37 2009 -0500 ppc: Remove reloc_off field from global_data structure Now that proper relocation is supported, the reloc_off field is no longer necessary. Note that the location of the standalone application jump table pointer in the global data structure is affected by this change, breaking execution of standalone applications compiled for previous versions of U-Boot. We therefore increment XF_VERSION to 6 Signed-off-by: Peter Tyser Signed-off-by: Wolfgang Denk commit 0630535e2d062dd73c1ceca5c6125c86d1127a49 Author: Peter Tyser Date: Tue Sep 22 09:27:55 2009 -0500 arm/microblaze/nios/nios2/sh: Remove relocation fixups These architectures don't need relocation fixups, so reduce their codesize a bit by defining CONFIG_RELOC_FIXUP_WORKS. Also remove the reloc_off field from their global data structures as it is no longer needed. Note that the location of the standalone application jump table pointer in the global data structure is affected by this change, breaking execution of standalone applications compiled for previous versions of U-Boot. We will therefore increment XF_VERSION in the next commit, which also touches this area. Signed-off-by: Peter Tyser Signed-off-by: Wolfgang Denk commit 521af04d853361b49344b61892eb0618f9f713c5 Author: Peter Tyser Date: Mon Sep 21 11:20:36 2009 -0500 Conditionally perform common relocation fixups Add #ifdefs where necessary to not perform relocation fixups. This allows boards/architectures which support relocation to trim a decent chunk of code. Note that this patch doesn't add #ifdefs to architecture-specific code which does not support relocation. Signed-off-by: Peter Tyser commit 3cbcfa70b116df1bbdc90ba31c61adcaec058a8a Author: Peter Tyser Date: Mon Sep 21 11:20:35 2009 -0500 p3mx: Remove serial relocation fixups Signed-off-by: Peter Tyser commit 80f73b92a19129854876ec3f1aef531a09e86d2d Author: Peter Tyser Date: Mon Sep 21 11:20:34 2009 -0500 lwmon, lwmon5: Remove sysmon POST relocation fixups Signed-off-by: Peter Tyser commit 331ab60c4a418c39e5b1a05d4648a4155d0ad13e Author: Peter Tyser Date: Mon Sep 21 11:20:33 2009 -0500 mpl: Remove memory test relocation fixups Signed-off-by: Peter Tyser commit 6385b28116f775da4771b768ba9bf93c3aaaf26e Author: Peter Tyser Date: Mon Sep 21 11:20:32 2009 -0500 fpga: Remove relocation fixups PPC boards are the only users of the current FPGA code which is littered with manual relocation fixups. Now that proper relocation is supported for PPC boards, remove FPGA manual relocation. Signed-off-by: Peter Tyser commit cd1011db80287eef933d1599b74cff1116c93134 Author: Peter Tyser Date: Mon Sep 21 11:20:31 2009 -0500 tsec: Remove PHY command relocation fixups Signed-off-by: Peter Tyser commit b5650c5d8c99100144d8e4e9af910405f857bb7a Author: Peter Tyser Date: Mon Sep 21 11:20:30 2009 -0500 ppc: Remove board-specific command table relocation fixups Signed-off-by: Peter Tyser commit e6b05e774d7ce1641613cdeffb69c1d48139a869 Author: Peter Tyser Date: Mon Sep 21 11:20:29 2009 -0500 ppc: Remove extable relocation fixups Signed-off-by: Peter Tyser commit b32a894011b1436758905fa10e6a03b8539c43c9 Author: Peter Tyser Date: Mon Sep 21 11:20:28 2009 -0500 ppc: Remove pci config table pointer relocation fixups Signed-off-by: Peter Tyser commit a0e2066f392782730f0398095e583c87812d97f2 Author: Peter Tyser Date: Mon Sep 21 11:20:27 2009 -0500 ppc: Remove board.c relocation fixups Signed-off-by: Peter Tyser commit 244615197469dd6fe75ae082f38424b97c79aeaf Author: Peter Tyser Date: Mon Sep 21 11:20:26 2009 -0500 ppc: Check for compilers that don't support relocation Certain ppc compilers are known not to generate the .fixup section properly. The .fixup section is necessary to create a relocatable U-Boot image. A basic check for the existence of the .fixup section should hopefully catch the majority of broken compilers which don't support relocation. Signed-off-by: Peter Tyser commit 858290178f222d998b6425d85cf06822467918f3 Author: Peter Tyser Date: Mon Sep 21 11:20:25 2009 -0500 ppc: Enable full relocation to RAM The following changes allow U-Boot to fully relocate from flash to RAM: - Remove linker scripts' .fixup sections from the .text section - Add -mrelocatable to PLATFORM_RELFLAGS for all boards - Define CONFIG_RELOC_FIXUP_WORKS for all boards Previously, U-Boot would partially relocate, but statically initialized pointers needed to be manually relocated. Signed-off-by: Peter Tyser commit 3b4bd2d75c4b3c1a4570f47ffaaed66f56a78ff4 Author: Matthias Fuchs Date: Wed Sep 30 11:55:04 2009 +0200 ppc4xx: Add SDRAM detection for PMC440 boards This patch adds support to detect the amount of DDR2 SDRAM on PMC440 modules. Detection is done by probing through a list of available and supported hardware configurations from 1GByte down to 256MB. The static TLB entry is replaced by dynamically created entries. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit fb95169e39f2d03270bed552d27bbb02627a443e Author: Stefan Roese Date: Mon Sep 28 17:33:45 2009 +0200 ppc4xx: Merge PPC4xx DDR and DDR2 ECC handling This patch merges the ECC handling (ECC parity byte writing) into one file (ecc.c) for all PPC4xx SDRAM controllers except for PPC440EPx/GRx. This exception is because only those PPC's use the completely different Denali SDRAM controller core. Previously we had two routines to generate/write the ECC parity bytes. With this patch we now only have one core function left. Tested on Kilauea (no ECC) and Katmai (with and without ECC). Signed-off-by: Stefan Roese Cc: Felix Radensky Cc: Grant Erickson Cc: Pieter Voorthuijsen commit d24bd2517a2b847f773453eab0ee5b1c8ebc74ba Author: Felix Radensky Date: Sun Sep 27 23:56:12 2009 +0200 ppc4xx: Reorganize DDR2 ECC handling Reorganize DDR2 ECC handling to use common code for SPD DIMMs and soldered SDRAM. Also, use common code to display SDRAM info (ECC, CAS latency) for SPD and soldered SDRAM variants. Signed-off-by: Felix Radensky Signed-off-by: Stefan Roese commit 46a887949e11d2cddb91e17ca47e73341d71a379 Author: Mike Frysinger Date: Wed Sep 30 03:09:16 2009 -0400 Blackfin: update default console= settings The Linux kernel has changed the way it numbers serial ports, so update the default command line to match it. Signed-off-by: Mike Frysinger commit 4c5f307d58604dea001cccf388aa077a902ab0a5 Author: Mike Frysinger Date: Mon Sep 21 18:04:49 2009 -0400 Blackfin: bf533-ezkit: update env location The u-boot image has outgrown the current space and overflowed into the env sector. So move the env to the next available sector (we've already allocated the first few sectors anyways for u-boot). Signed-off-by: Mike Frysinger commit 24b17d8a3c3a4b9ceaf6363ebe0021011b0b8bd8 Author: Kumar Gala Date: Wed Sep 30 08:39:44 2009 -0500 ppc/85xx: get_law_entry isn't used in CONFIG_NAND_SPL Don't include get_law_entry as part of the NAND_SPL build since the code isnt used. Signed-off-by: Kumar Gala commit 693a048d8ac191181f5b9adbff642d3f1bbd479f Author: Mingkai Hu Date: Wed Sep 23 15:20:39 2009 +0800 Add README.mpc8536ds Add boot from NAND/eSDHC/eSPI description Signed-off-by: Mingkai Hu Signed-off-by: Kumar Gala commit e40ac4870c6e72302044e98338322f45c34435bd Author: Mingkai Hu Date: Wed Sep 23 15:20:38 2009 +0800 On-chip ROM boot: MPC8536DS support The MPC8536E is capable of booting from the on-chip ROM - boot from eSDHC and boot from eSPI. When power on, the porcessor excutes the ROM code to initialize the eSPI/eSDHC controller, and loads the mian U-Boot image from the memory device that interfaced to the controller, such as the SDCard or SPI EEPROM, to the target memory, e.g. SDRAM or L2SRAM, then boot from it. The memory device should contain a specific data structure with control word and config word at the fixed address. The config word direct the process how to config the memory device, and the control word direct the processor where to find the image on the memory device, or where copy the main image to. The user can use any method to store the data structure to the memory device, only if store it on the assigned address. The on-chip ROM code will map the whole 4GB address space by setting entry0 in the TLB1, so the main image need to switch to Address space 1 to disable this mapping and map the address space again. This patch implements loading the mian U-Boot image into L2SRAM, so the image can configure the system memory by using SPD EEPROM. Signed-off-by: Mingkai Hu Signed-off-by: Kumar Gala commit 9a1a0aedbbd56f901bfbc124f18ec6d9dcefe282 Author: Mingkai Hu Date: Wed Sep 23 15:20:37 2009 +0800 NAND boot: MPC8536DS support MPC8536E can support booting from NAND flash which uses the image u-boot-nand.bin. This image contains two parts: a 4K NAND loader and a main U-Boot image. The former is appended to the latter to produce u-boot-nand.bin. The 4K NAND loader includes the corresponding nand_spl directory, along with the code twisted by CONFIG_NAND_SPL. The main U-Boot image just like a general U-Boot image except the parts that included by CONFIG_SYS_RAMBOOT. When power on, eLBC will automatically load from bank 0 the 4K NAND loader into the FCM buffer RAM where CPU can execute the boot code directly. In the first stage, the NAND loader copies itself to RAM or L2SRAM to free up the FCM buffer RAM, then loads the main image from NAND flash to RAM or L2SRAM and boot from it. This patch implements the NAND loader to load the main image into L2SRAM, so the main image can configure the RAM by using SPD EEPROM. In the first stage, the NAND loader copies itself to the second to last 4K address space, and uses the last 4K address space as the initial RAM for stack. Obviously, the size of L2SRAM shouldn't be less than the size of the image used. If so, the workaround is to generate another image that includes the code to configure the RAM by SPD and load it to L2SRAM first, then relocate the main image to RAM to boot up. Signed-off-by: Mingkai Hu Signed-off-by: Kumar Gala commit 07355700523203c5f72018712cf0d93683f255c8 Author: Mingkai Hu Date: Wed Sep 23 15:19:32 2009 +0800 mpc8536: fix board config file line length Signed-off-by: Mingkai Hu Signed-off-by: Kumar Gala commit dd9ca98f2600000e5c2744735040100b770650e7 Author: Paul Gortmaker Date: Fri Sep 25 11:14:11 2009 -0400 sbc8548: reclaim wasted sector in boot flash By nature of being based off the MPC8548CDS board, this board inherited an ENV_SIZE setting of 256k. But since it has a smaller flash device (8MB soldered on), it has a native sector size of 128k, and hence the ENV_SIZE was causing 2 sectors to be used for the environment. By removing the unused sector, we can push TEXT_BASE up closer to the end of address space and reclaim that sector for any other application. This also fixes the mismatch between TEXT_BASE and MONITOR_LEN reported by Kumar earlier. Since this board also supports the ability to boot off the 64MB SODIMM flash, this change is forward looking with that in mind; i.e. the settings for MONITOR_LEN and ENV_SIZE will work when the 512k sectors of the SODIMM flash are used for alternate boot in the future. Signed-off-by: Paul Gortmaker Signed-off-by: Kumar Gala commit 8280912e0657e96a7b7d8da7003656d62b0fd109 Author: Kumar Gala Date: Mon Sep 28 21:38:00 2009 -0500 ppc/85xx: Clean up immap_85xx.h * Converted all white space to tabs * Converted all types to u8/u16/u32 * Reduce lines to fit in 80 columns * Renamed MPC85xx_{Q,B}MAN -> FSL_CORENET_{Q,B}MAN Signed-off-by: Kumar Gala commit d44e9c1736283f0abc5d3c5d28cfea8480c93a79 Author: Scott Wood Date: Mon Sep 28 16:33:18 2009 -0500 NAND: davinci: Fix warnings when 4-bit ECC not used I accidentally left v2 of "NAND: DaVinci:Adding 4 BIT ECC support" applied when I pushed the tree last merge window, and missed these fixes which were in v3 of that patch. Signed-off-by: Sandeep Paulraj Signed-off-by: Scott Wood commit ca6189db484882798f2a35a476c07e618e21f6d3 Author: Kyungmin Park Date: Tue Sep 22 09:05:00 2009 +0900 Refactor OneNAND IPL code Refactoring the OneNAND IPL code and some minor fixed: - Remove unnecessary header file - Fix wrong access at read interrupt - The recent OneNAND has 4KiB pagesize Also Board can override OneNAND IPL image Signed-off-by: Kyungmin Park commit a05e3f9a084fc8951d87745b3a91df246432df7d Author: Shinya Kuribayashi Date: Sat Sep 12 18:01:40 2009 +0900 MIPS: VCT: Remove read_spareram reference The commit ecad289fc6bd9d89ef4d5093cc7b6fd712fd0d29 (OneNAND: Remove unused read_spareram and add unlock_all as kernel does) forgot to remove a local reference to read_spareram in board/micronas/vct/ebi_onenand.c, which causes the following build failure when configured with OneNAND: ebi_onenand.c: In function 'onenand_board_init': ebi_onenand.c:196: error: 'struct onenand_chip' has no member named 'read_spareram' make[1]: *** [ebi_onenand.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [board/micronas/vct/libvct.a] Error 2 Signed-off-by: Shinya Kuribayashi Acked-by: Stefan Roese Cc: Kyungmin Park Signed-off-by: Scott Wood commit ef37c6835eac66206a9c7c11f0c7186f5d64bf91 Author: Simon Kagstrom Date: Fri Sep 25 14:05:57 2009 +0200 ubifs: Correct dereferencing of files-after-symlinks Files in directories which are symlinked to were not dereferenced correctly in last commit. E.g., with a symlink /boot/lnk -> /boot/real_dir loading /boot/lnk/uImage will fail. This patch fixes that by simply seeing to it that the target base directory has a slash after it. Signed-off-by: Simon Kagstrom Signed-off-by: Stefan Roese commit b306db2f1bf561b5823a655c677fe28cfad80cfb Author: Stefan Roese Date: Thu Sep 24 14:10:30 2009 +0200 ppc4xx: Remove mtsdram0() marcos and use common mtsdram() instead Additionally some whitespace coding style fixes. Signed-off-by: Stefan Roese commit 95b602bab5fec2fffab07a01ea3947c70d1bacc1 Author: Stefan Roese Date: Thu Sep 24 13:59:57 2009 +0200 ppc4xx: Convert PPC4xx SDRAM defines from lower case to upper case The latest PPC4xx register cleanup patch missed some SDRAM defines. This patch now changes lower case UIC defines to upper case. Also some names are changed to match the naming in the IBM/AMCC users manuals (e.g. mem_mcopt1 -> SDRAM0_CFG). Signed-off-by: Stefan Roese commit 952e7760bfc5b0e3b142b9ce34e7fbb7d008c900 Author: Stefan Roese Date: Thu Sep 24 09:55:50 2009 +0200 ppc4xx: Convert PPC4xx UIC defines from lower case to upper case The latest PPC4xx register cleanup patch missed the UIC defines. This patch now changes lower case UIC defines to upper case. Signed-off-by: Stefan Roese commit d1c9e5b37901b53ffc1ce3f08ec8ed61bfd557b6 Author: Joakim Tjernlund Date: Tue Sep 22 13:40:44 2009 +0200 fsl_i2c: Do not generate STOP after read. __i2c_read always ends with a STOP condition thereby releasing the bus. It is cleaner to do the STOP magic in i2c_read(), like i2c_write() does. This may also help future multimaster systems which wants to hold on to the bus until all transactions are finished. Signed-off-by: Joakim Tjernlund commit 99404202127346b9e91503bbd69deafa18c980c4 Author: Joakim Tjernlund Date: Thu Sep 17 11:07:17 2009 +0200 fsl_i2c: Impl. AN2919, rev 5 to calculate FDR/DFSR The latest AN2919 has changed the way FDR/DFSR should be calculated. Update the driver according to spec. However, Condition 2 is not accounted for as it is not clear how to do so. Signed-off-by: Joakim Tjernlund Acked-by: Wolfgang Grandegger commit d01ee4db9302cfccaa5c548a1c4e873b415681a0 Author: Joakim Tjernlund Date: Thu Sep 17 11:07:16 2009 +0200 fsl_i2c: Add CONFIG_FSL_I2C_CUSTOM_{DFSR/FDR} Some boards need a higher DFSR value than the spec currently recommends so give these boards the means to define there own. For completeness, add CONFIG_FSL_I2C_CUSTOM_FDR too. Signed-off-by: Joakim Tjernlund commit 21f4cbb77299788e2b06c9b0f48cf20a5ab00d4a Author: Joakim Tjernlund Date: Thu Sep 17 11:07:15 2009 +0200 fsl_i2c: Wait for STOP condition to propagate After issuing a STOP one must wait until the STOP has completed on the bus before doing something new to the controller. Also add an extra read of SR as the manual mentions doing that is a good idea. Remove surplus write of CR just before a write, isn't required and could potentially disturb the I2C bus. Signed-off-by: Joakim Tjernlund commit c7190f028fa950d4d36b6d0b4bb3fc72602ec54c Author: Kim Phillips Date: Fri Sep 25 18:19:44 2009 -0500 mpc83xx: retain POR values of non-configured ACR, SPCR, SCCR, and LCRR bitfields some LCRR bits are not documented throughout the 83xx family RMs. New board porters copying similar board configurations might omit setting e.g., DBYP since it was not documented in their SoC's RM. Prevent them bricking their board by retaining power on reset values in bit fields that the board porter doesn't explicitly configure via CONFIG_SYS__ assignments in the board config file. also move LCRR assignment to cpu_init_r[am] to help ensure no transactions are being executed via the local bus while CLKDIV is being modified. also start to use i/o accessors. Signed-off-by: Kim Phillips commit 00ec0ff549b8cb6fb6d40e275aeb5a460642a3bd Author: Paul Gortmaker Date: Mon Sep 21 17:44:51 2009 -0400 sbc8349: tidy up Makefile to use new configuration script. Commit 804d83a5 allows us to move all the configuration variation tweaks out of the top level Makefile and down into the board config header. This takes advantage of that for the sbc8349 board. Signed-off-by: Paul Gortmaker Signed-off-by: Kim Phillips commit da6eea0f48c24a318e6de69d6bca0bb5ab70572b Author: Anton Vorontsov Date: Wed Sep 16 23:22:08 2009 +0400 mpc83xx: mpc8360emds: Add QE USB device tree fixups With this patch we can change QE USB mode without need to hand-edit the device tree. Signed-off-by: Anton Vorontsov Signed-off-by: Kim Phillips commit 89da44ce3fe1638312d71cb3add8c6a6d2c7c1f3 Author: Anton Vorontsov Date: Wed Sep 16 23:21:59 2009 +0400 mpc83xx: mpc8360emds: Use RGMII-ID mode, add workarounds for rev. 2.1 CPUs This patch fixes various ethernet issues with gigabit links handling in U-Boot. The workarounds originally implemented by Kim Phillips for Linux kernel. Signed-off-by: Anton Vorontsov Signed-off-by: Kim Phillips commit 034477bb31948d698d18b84bc0834c3e25a14d04 Author: Anton Vorontsov Date: Wed Sep 16 23:21:57 2009 +0400 mpc83xx: mpc8360emds: Don't use LBC SDRAM when DDR is available Since commit 5c2ff323a94e27e481f70c44838d43fcd844dd46 ("mpc8360emds: rework LBC SDRAM setup"), LBC SDRAM is available for use in Linux. Though, it appears that QE Ethernet in Gigabit mode can't transmit large packets when it tries to work with a data in LBC SDRAM (memtest didn't discover any issues, is LBC SDRAM just too slow?). With this patch we can still use the board without DDR memory, but if DDR is available, we don't use LBC SDRAM. Signed-off-by: Anton Vorontsov Signed-off-by: Kim Phillips commit d77c779bc23596aa3693d1c5c4d5b6e1072f93f2 Author: Anton Vorontsov Date: Wed Sep 16 23:21:55 2009 +0400 net: uec: Fix uccf.h and uec.h headers to include headers they depend on Headers should include headers containing prototypes and defines they depend on, don't assume that they're included by somebody else. Signed-off-by: Anton Vorontsov Signed-off-by: Kim Phillips commit 6185f80c311cc3bdef2f8d5096c61e40ca6f48b2 Author: Anton Vorontsov Date: Wed Sep 16 23:21:53 2009 +0400 net: uec_phy: Implement TXID and RXID RGMII modes for Marvell PHYs This will be needed for MPC8360E-MDS boards with rev. 2.1 CPUs. Signed-off-by: Anton Vorontsov Signed-off-by: Kim Phillips commit 984f10baac8ef6032df52f135943d6b0bc96f724 Author: Wolfgang Denk Date: Fri Sep 25 14:16:00 2009 +0200 mpc5121ads: fix breakage introduced when reordering elpida_mddrc_config[] Signed-off-by: Wolfgang Denk commit 6e748ea004473cce99fbde6382dd580c10ffdb60 Author: Ken MacLeod Date: Fri Sep 11 15:16:18 2009 -0500 cmd_fdt.c: fix parse of byte streams and strings Commit 4abd844d8e extended the fdt command parser to handle property strings which are split across multiple arguments but it was broken for byte streams and strings. Byte stream parsing: * Fixes where it would terminate early or go into an endless loop. * Fixes a 0x00 being inserted into the data if there is a space after '[' or a separate argument. * Fixes dereferencing the argument pointer after the last argument. * Checks for bad characters. String parsing: * Treat multiple arguments as a string list. This fixes an issue where only the last argument was stored. Signed-off-by: Ken MacLeod commit 3887c3fbdbbe6bbb4df60ed415c8e1ab9fe56b5e Author: Heiko Schocher Date: Wed Sep 23 07:56:08 2009 +0200 mucmc52, uc101: delete ata@3a00 node, if no CF card is detected U-Boot can detect if an IDE device is present or not. If not, and this new config option is activated, U-Boot removes the ATA node from the DTS before booting Linux, so the Linux IDE driver does not probe the device and crash. This is needed for buggy hardware (uc101) where no pull down resistor is connected to the signal IDE5V_DD7. Signed-off-by: Heiko Schocher commit 7f625fc6d3ba8f890e843ac01717804c2462ed53 Author: Heiko Schocher Date: Wed Sep 23 07:56:04 2009 +0200 mpc5200, mucmc52, uc101: config cleanup - As these boards are similiar, collect common config options in manroland/common.h and manroland/mpc52xx-common.h for mpc5200 specific common options for this manufacturer. - add OF support - update default environment Signed-off-by: Heiko Schocher Minor edit of commit message. Signed-off-by: Wolfgang Denk commit 9d142ea8f787882ab732fa531a34db091bfa363d Author: Wolfgang Denk Date: Fri Sep 25 00:57:49 2009 +0200 Fix "ppc/85xx: Clean up use of LAWAR defines" breakage Commit 002741ae86 modified include/asm-ppc/mmu.h such that the LAWAR_ defines were only enabled for the 83xx platform, but they are also needed on MPC512x system. Enabling these for E300 systems seems thus more appropriate. Signed-off-by: Wolfgang Denk commit a5aa3998ab6408a6ac738a3ce8005e647b9465f8 Author: Martha M Stan Date: Mon Sep 21 14:08:00 2009 -0400 Add Elpida Memory Configuration to mpc5121ads Boards Signed-off-by: Martha M Stan Minor coding style cleanup. Signed-off-by: Wolfgang Denk commit 054197ba8ee5ef1e41694df58531b6e53ec43f2d Author: Martha M Stan Date: Mon Sep 21 14:07:14 2009 -0400 mpc512x: Streamlined fixed_sdram() init sequence. Signed-off-by: Martha M Stan Minor cleanup: Re-ordered default_mddrc_config[] to have matching indices. This allows to use the same index "N" for source and target fields; before, we had code like this out_be32(&im->mddrc.ddr_time_config2, mddrc_config[3]); which always looked like a copy & paste error because 2 != 3. Also, use NULL when meaning a null pointer. Signed-off-by: Wolfgang Denk commit 39aaca1f66a0e5b1204b0789f6c0097938c00ad1 Author: Kumar Gala Date: Thu Mar 19 02:46:19 2009 -0500 ppc/p4080: Determine various chip frequencies on CoreNet platforms The means to determine the core, bus, and DDR frequencies are completely new on CoreNet style platforms. Additionally on p4080 we can have different frequencies for FMAN and PME IP blocks. We need to keep track of the FMAN & PME frequencies since they are used for time stamping capabilities inside each block. Signed-off-by: Kumar Gala commit 3c2a67eec8a0facc865b400caca52e7f6b7adf01 Author: Kumar Gala Date: Thu Sep 17 01:52:37 2009 -0500 ppc/p4080: Handle timebase enabling and frequency reporting On CoreNet style platforms the timebase frequency is the bus frequency defined by 16 (on PQ3 it is divide by 8). Also on the CoreNet platforms the core not longer controls the enabling of the timebase. We now need to enable the boot core's timebase via CCSR register writes. Signed-off-by: Kumar Gala commit 7e4259bba4c56536760e42d32dacfb3233f216fd Author: Kumar Gala Date: Thu Mar 19 02:39:17 2009 -0500 ppc/p4080: Add various p4080 related defines (and p4040) There are various locations that we have chip specific info: * Makefile for which ddr code to build * Added p4080 & p4040 to cpu_type_list and SVR list * Added number of LAWs for p4080 * Set CONFIG_MAX_CPUS to 8 for p4080 Signed-off-by: Kumar Gala commit 39a7e7fd538cdf49e7e8a2f0634ea5e15e12b4ec Author: Kumar Gala Date: Thu Sep 17 01:44:39 2009 -0500 ppc/p4080: CoreNet platfrom style secondary core release The CoreNet platform style of bringing secondary cores out of reset is a bit different that the PQ3 style. Mostly the registers that we use to setup boot translation, enable time bases, and boot release the cores have moved around. Signed-off-by: Kumar Gala commit a880cf3e0e1c220d780eccd0b101170c4499485d Author: Kumar Gala Date: Thu Sep 17 01:44:00 2009 -0500 ppc/p4080: CoreNet platfrom style CCSRBAR setting On CoreNet based platforms the CCSRBAR address is split between an high & low register and we no longer shift the address. Signed-off-by: Kumar Gala Signed-off-by: Scott Wood commit 418ec8584343f04048e2cc7ee96b6b29be54ad97 Author: Kumar Gala Date: Thu Mar 19 02:32:23 2009 -0500 ppc/p4080: Add support for CoreNet style platform LAWs On CoreNet based platforms the LAW address is split between an high & low register and we no longer shift the address. Also, the target IDs on CoreNet platforms have been completely re-assigned. Additionally, added a new find_law() API to which LAW an address hits in. This is need for the CoreNet style boot release code since it will need to determine what the target ID should be set to for boot window translation. Finally, enamed LAWAR_EN to LAW_EN and moved to header so we can use it elsewhere. Signed-off-by: Kumar Gala commit 01df521217957d77d53c2d570183eded7030938f Author: Kumar Gala Date: Wed Sep 16 09:43:12 2009 -0500 ppc/p4080: Add p4080 platform immap definitions The p4080 SoC has a significant amount of commonality with the 85xx/PQ3 platform. We reuse the 85xx immap and just add new definitions for local access and global utils. The global utils is now broken into global utils, clocking and run control/power management. The offsets from CCSR for a number of blocks have also changed. We introduce the CONFIG_FSL_CORENET define to distinquish the PQ3 style of platform from the new p4080 platform. We don't use QoirQ as there are products (like p2020) that are PQ3 based platforms but have the QoirQ name. Signed-off-by: Kumar Gala commit 25bacf7a2b096496e2c58f2de4e5b2bce8fba038 Author: Kumar Gala Date: Tue Sep 22 15:45:44 2009 -0500 ppc/85xx: Fix enabling of L2 cache We need to flash invalidate the locks in addition to the cache before we enable. Signed-off-by: Kumar Gala commit cb0ff65c619efacdc0ba69aa8ee6ede7dd364a38 Author: Vivek Mahajan Date: Tue Sep 22 12:48:27 2009 +0530 85xx-fdt: Fixed l2-ctlr's compatible prop for QorIQ The code assumed names where just numbers and always prefixed 'mpc'. However newer QorIQ don't follow the mpc naming scheme. Signed-off-by: Vivek Mahajan Signed-off-by: Kumar Gala commit 234a89d911ce28e46372f555d7c14e28424f2b0d Author: Mingkai Hu Date: Tue Sep 22 14:53:21 2009 +0800 ppc/85xx: add cpu init config file for boot from NAND When boot from NAND, the NAND flash must be connected to br/or0. Also init RAM(L2 SRAM or DDR SDRAM) for load the second image to it. Signed-off-by: Mingkai Hu Signed-off-by: Kumar Gala commit 266139b88b43ae1d87abb5f5431e6f57b801795f Author: Mingkai Hu Date: Tue Sep 22 14:53:34 2009 +0800 immap_85xx: add porpllsr's plat ratio definition Signed-off-by: Mingkai Hu Signed-off-by: Kumar Gala commit 098bcbae3172d73d24ca8ba196328d901eed4132 Author: Mingkai Hu Date: Tue Sep 22 14:53:10 2009 +0800 ppc/85xx: add ld script file for boot from NAND The first stage 4K image uses a seperate ld script file to generate 4K image. This patch moves it to the cpu/mpc85xx/* to make it avaliable for 85xx platform. Signed-off-by: Mingkai Hu Signed-off-by: Kumar Gala commit 8439f05cfd8cbb38485376a34d9fe297ba262737 Author: Peter Tyser Date: Mon Sep 21 23:09:28 2009 -0500 mpc8610hpcd: Use common 86xx fdt fixup code Using the common 86xx fdt fixups removes some board-specific code and should make the mpc8610hpcd easier to maintain in the long run. Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit 928435d11b898870415910efff87a4d6399cecb8 Author: Paul Gortmaker Date: Mon Sep 21 17:19:17 2009 -0400 sbc85x0: tidy up Makefile to use new configuration script. Commit 804d83a5 allows us to move all the configuration variation tweaks out of the top level Makefile and down into the boards config header. This takes advantage of that for the sbc8540/sbc8560 boards. There were a couple of cheezy comments pointing at incorrect files, or files that don't exist, so I've cleaned those up too. Signed-off-by: Paul Gortmaker Signed-off-by: Kumar Gala commit 2738bc8df65ec905094d83f62f87fed123a03b9c Author: Paul Gortmaker Date: Sun Sep 20 20:36:06 2009 -0400 sbc8548: allow enabling PCI via a make config option Prior to this commit, to enable PCI, you had to go manually edit the board config header, and if you had 33MHz PCI, you had to manually change CONFIG_SYS_NS16550_CLK too, which was not real user friendly, This adds the typical PCI and clock speed make targets to the toplevel Makefile in accordance with what is being done with other boards (i.e. using the "-t" to mkconfig). Signed-off-by: Paul Gortmaker Signed-off-by: Kumar Gala commit fdc7eb90b504daa020f290604d50da8f7cb70d8a Author: Paul Gortmaker Date: Sun Sep 20 20:36:05 2009 -0400 sbc8548: update PCI/PCI-e support code The PCI/PCI-e support for the sbc8548 was based on an earlier version of what the MPC8548CDS board was using, and in its current state it won't even compile. This re-syncs it to match the latest codebase and makes use of the new shared PCI functions to reduce board duplication. It borrows from the MPC8568MDS, in that it pulls the PCI-e I/O back to 0xe280_0000 (where PCI2 would be on MPC8548CDS), and similarly it coalesces the PCI and PCI-e mem into one single TLB. Both PCI-x and PCI-e have been tested with intel e1000 cards under linux (with an accompanying dts change in place) Signed-off-by: Paul Gortmaker Signed-off-by: Kumar Gala commit a8b3e90f798e0cca5f11c912f9d0823a1c5b6c24 Author: Paul Gortmaker Date: Sun Sep 20 20:36:01 2009 -0400 fsl_pci: create a SET_STD_PCI_INFO() helper wrapper Recycle the recently added PCI-e wrapper used to reduce board duplication of code by creating a similar version for plain PCI. Signed-off-by: Paul Gortmaker Signed-off-by: Kumar Gala commit 11d5a629f8a40f9d7cffc74e58f4e3ed258e56ab Author: Paul Gortmaker Date: Sun Sep 20 20:36:04 2009 -0400 sbc8548: correct local bus SDRAM size from 64M to 128M The size of the LB SDRAM on this board is 128MB, spanning CS3 and CS4. It was previously only being configured for 64MB on CS3, since that was what the original codebase of the MPC8548CDS had. In addition to setting up BR4/OR4, this also adds the TLB entry for the second half of the SDRAM. Signed-off-by: Paul Gortmaker Signed-off-by: Kumar Gala commit 0c7e4d45d9fb3c9e503ee93d50572d346dae150e Author: Paul Gortmaker Date: Sun Sep 20 20:36:03 2009 -0400 sbc8548: use I/O accessors Sweep throught the board specific file and replace the various register proddings with the equivalent I/O accessors. Signed-off-by: Paul Gortmaker Signed-off-by: Kumar Gala commit fc38eb98ff226f2c53eecbee033a6ab7619473dc Author: Paul Gortmaker Date: Sun Sep 20 20:36:02 2009 -0400 sbc8548: remove eTSEC3/4 voltage hack With only eTSEC1 and 2 being brought out to RJ-45 connectors, we aren't interested in the eTSEC3/4 voltage hack on this board Signed-off-by: Paul Gortmaker Signed-off-by: Kumar Gala commit 9b3ba24f18900633a394416cc056c44a1a6eb754 Author: Paul Gortmaker Date: Fri Sep 18 19:08:41 2009 -0400 sbc8548: enable access to second bank of flash The sbc8548 has a 64MB SODIMM flash module off of CS6 that previously wasn't enumerated by u-boot. There were already BR6/OR6 settings for it [used by cpu_init_f()] but there was no TLB entry and it wasn't in the list of flash banks reported to u-boot. The location of the 64MB flash is "pulled back" 8MB from a 64MB boundary, in order to allow address space for the 8MB boot flash that is at the end of 32 bit address space. This means creating two 4MB TLB entries for the 8MB chunk, and then expanding the original boot flash entry to 64MB in order to cover the 8MB boot flash and the remainder (56MB) of the user flash. Signed-off-by: Paul Gortmaker Signed-off-by: Kumar Gala commit ded58f4153923dfff16d2f96495bd7acf1f7e10e Author: Paul Gortmaker Date: Wed Sep 23 17:30:57 2009 -0400 sbc8548: cosmetic line re-wrap Fix the extra long lines to be consistent with u-boot coding style. No functional change here. Signed-off-by: Paul Gortmaker commit 2c40acd3525b75db3fcd3f5a5bd40445679b5547 Author: Paul Gortmaker Date: Fri Sep 18 19:08:40 2009 -0400 sbc8548: get_clock_freq is not valid for this board The get_clock_freq() comes from freescale/common/cadmus.c and is only valid for the CDS based 85xx reference platforms. It would be nice if we could read the 33 vs. 66MHz status somehow, but in the meantime, tie it to CONFIG_SYS_CLK_FREQ like all the other non-CDS boards do. Signed-off-by: Paul Gortmaker Signed-off-by: Kumar Gala commit 7b1f1399e876587e0a268a5a471dd444bfbc3114 Author: Paul Gortmaker Date: Fri Sep 18 19:08:39 2009 -0400 sbc8548: delete unused MPC8548CDS info carried over from port There are a couple defines and PCI bridge quirks related to the PCI backplane of the MPC8548CDS that have no meaning in the context of the port to the sbc8548 board, so delete them. Also, the form factor of the sbc8548 is a standalone board with a single PCI-X and a single PCI-e slot. That pretty much guarantees that it will never be a PCI agent itself, so the host/agent and root complex/end node distinctions have been removed. Similarly, since there is no physical connector mapping to PCI2, so all references of PCI2 in the board support files have been removed as well. Signed-off-by: Paul Gortmaker Signed-off-by: Kumar Gala commit 94ca091456d5c3040ddd6351c80cf3e74393f9be Author: Paul Gortmaker Date: Fri Sep 18 19:08:44 2009 -0400 sbc8548: enable use of PCI network cards Create a board_eth_init to allow a place to hook in the PCI ethernet init after all the eTSEC are up and configured. Signed-off-by: Paul Gortmaker Signed-off-by: Kumar Gala commit 82b7725b6d46d9ad2b962b4cdfa896bd5ee32fb5 Author: Poonam Aggrwal Date: Sat Sep 19 17:50:17 2009 +0530 ppc/85xx: 32bit DDR changes for P1020/P1011 The P1020/P1011 SOCs support max 32bit DDR width as opposed to P2020/P2010 where max DDR data width supported is 64bit. As a next step the DDR data width initialization would be made more dynamic with more flexibility from the board perspective and user choice. Going forward we would also remove the hardcodings for platforms with onboard memories and try to use the FSL SPD code for DDR initialization. Signed-off-by: Poonam Aggrwal Signed-off-by: Kumar Gala commit bd42bbb858dde713f023fc2e4f512ec174a1a8d2 Author: Paul Gortmaker Date: Fri Sep 18 19:08:46 2009 -0400 sbc8548: replace README with completely new document The previous README.sbc8548 was pretty much content-free. Replace it with something that actually gives the end user some relevant hardware details, and also lists the u-boot configuration choices. Also in the cosmetic department, fix the bogus line in the Makefile that was carried over from the SBC8560 Makefile, and the typo in the sbc8548.c copyright. Signed-off-by: Paul Gortmaker Signed-off-by: Kumar Gala commit 002741ae862c1c7e3dad89d020e392e6add1c05d Author: Kumar Gala Date: Sat Sep 19 11:20:54 2009 -0500 ppc/85xx: Clean up use of LAWAR defines On 85xx platforms we shouldn't be using any LAWAR_* defines but using the LAW_* ones provided by fsl-law.h. Rename any such uses and limit the LAWAR_ to the 83xx platform as the only user so we will get compile errors in the future. Signed-off-by: Kumar Gala commit f61dae7c9dc526410faec15ce352b11fc36a560b Author: Kumar Gala Date: Thu Sep 3 10:20:09 2009 -0500 ppc/85xx: Clean up mpc8572DS PCI setup code Use new fsl_pci_init_port() that reduces amount of duplicated code in the board ports, use IO accessors and clean up printing of status info. Signed-off-by: Kumar Gala commit 4958af8735207640181c4423e41b24ee7418361a Author: Kumar Gala Date: Thu Sep 3 09:42:01 2009 -0500 ppc/85xx: Clean up p2020ds PCI setup code Use new fsl_pci_init_port() that reduces amount of duplicated code in the board ports, use IO accessors and clean up printing of status info. Signed-off-by: Kumar Gala commit 93a83872c707891bad22f7776d79a650c870601f Author: Kumar Gala Date: Thu Sep 3 10:09:04 2009 -0500 ppc/85xx: Clean up p1_p2_rdb PCI setup General code cleanup to use in/out IO accessors as well as making the code that prints out info sane between board and generic fsl pci code. Signed-off-by: Kumar Gala commit 62ca21c442e18fec118ec83e183d64ea49966ce7 Author: Kumar Gala Date: Thu Sep 10 16:31:53 2009 -0500 ppc/85xx: Simplify the top makefile for P1_P2_RDB boards Signed-off-by: Kumar Gala commit a0f9e0e0f06033807de0ae017ad4d9cf5ddff84b Author: Kumar Gala Date: Thu Sep 10 16:26:37 2009 -0500 ppc/85xx: Simplify the top makefile for 36-bit config for P2020DS Signed-off-by: Kumar Gala commit f9edcc10e6cb497dd7dcbaf691cfd1859abae27a Author: Kumar Gala Date: Thu Sep 10 16:23:45 2009 -0500 ppc/85xx: Simplify the top makefile for 36-bit config for MPC8572DS Signed-off-by: Kumar Gala commit 0e905ac28b1e039d74e63232293972bff6b5a0ce Author: Mingkai Hu Date: Fri Sep 18 11:45:09 2009 +0800 ppc/85xx: simplify the top makefile for 36-bit config for mpc8536ds Signed-off-by: Mingkai Hu Signed-off-by: Kumar Gala commit 202d94875c98b7b573f136c4f353609758ed9733 Author: Kumar Gala Date: Tue Sep 15 22:21:58 2009 -0500 ppc/85xx: Fix LCRR_CLKDIV defines For some reason the CLKDIV field varies between SoC in how it interprets the bit values. All 83xx and early (e500v1) PQ3 devices support: clk/2: CLKDIV = 2 clk/4: CLKDIV = 4 clk/8: CLKDIV = 8 Newer PQ3 (e500v2) and MPC86xx support: clk/4: CLKDIV = 2 clk/8: CLKDIV = 4 clk/16: CLKDIV = 8 Ensure that the MPC86xx and MPC85xx still get the same behavior and make the defines reflect their logical view (not the value of the field). Signed-off-by: Kumar Gala Acked-by: Peter Tyser commit 55f786d8ba8ce58a81428536da34a2192b9bad9f Author: Peter Tyser Date: Mon Sep 21 12:04:33 2009 -0500 MAKEALL: Use POSIX math Signed-off-by: Peter Tyser commit 40a28f0885e62b6607e12ed6baa6284927f5263e Author: Peter Tyser Date: Mon Sep 21 12:04:32 2009 -0500 MAKEALL: Add summary information This change adds some basic summary information to the MAKEALL script. The summary information includes how many boards were compiled, how many boards had compile warnings or errors, and which specific boards had compile warnings or errors. This information is useful when doing compile testing to quickly determine which boards are broken. As a side benefit, no empty $BOARD.ERR files are generated by MAKEALL. Previously, each board had a corresponding $BOARD.ERR file, even if the board compiled cleanly. Signed-off-by: Peter Tyser commit 71ce9bd7f551e44c4ddb4c985c095da6d3452d79 Author: Eric Millbrandt Date: Mon Sep 21 11:05:55 2009 -0500 galaxy5200: enable version environment variable Add version environment variable configuration to the galaxy5200 board header file. Signed-off-by: Eric Millbrandt Edited commit message. Signed-off-by: Wolfgang Denk commit c569ad6e1e8768a0fec513ffc156412240b7eb35 Author: Werner Pfister Date: Mon Sep 21 14:49:56 2009 +0200 digsy_mtc: Add TCR register value for RTC (DS1339) Signed-off-by: Werner Pfister Signed-off-by: Detlev Zundel commit b0078c8792badd81aed51b7eabe85e960036361c Author: Werner Pfister Date: Mon Sep 21 14:49:55 2009 +0200 rtc/ds1337.c: Allow to set TCR register This is needed to correctly start the charging of an attached capacitor or battery. Signed-off-by: Werner Pfister Signed-off-by: Detlev Zundel commit 9d7952e4c636b8c99289a44dbe28c6f93c43b9f7 Author: Simon Kagstrom Date: Tue Sep 15 09:53:29 2009 +0200 ubifs: Add support for looking up directory and relative symlinks This patch adds support for resolving symlinks to directories as well as relative symlinks. Symlinks are now always resolved during file lookup, so the load stage no longer needs to special-case them. Signed-off-by: Simon Kagstrom Signed-off-by: Stefan Roese commit fcdb36b85ac033c09a9762a0a14808f7cb2ed54c Author: Rupjyoti Sarmah Date: Mon Sep 21 11:26:19 2009 -0700 ppc4xx: Fix PCIE PLL lock on 440SPe Yucca board u-boot reports a PCIE PLL lock error at boot time on Yucca board, and left PCIe nonfunctional. This is fixed by making u-boot function ppc4xx_init_pcie() to wait 300 uS after negating reset before the first check of the PLL lock. Signed-off-by: Rupjyoti Sarmah Signed-off-by: Stefan Roese commit 91d599044caac4a8c228115b16cf3b073f902080 Author: Dirk Eibach Date: Mon Sep 21 13:27:14 2009 +0200 ppc4xx: Make DDR2 timing for intip more robust DDR2 timing for intip was on the edge for some of the available chips for this board. Now it is verfied to work with all of them. Signed-off-by: Dirk Eibach Signed-off-by: Stefan Roese commit 184a3a27f5cd2c64666f74df94c86b94c4383ef8 Author: Wolfgang Denk Date: Tue Sep 15 00:26:02 2009 +0200 board/linkstation/ide.c: Fix compile warning Fix warning: ide.c:60: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk Cc: Guennadi Liakhovetski commit 004eca0c9ba328de457d5dc9ef8805639dfef893 Author: Peter Tyser Date: Wed Sep 16 22:03:08 2009 -0500 ppc: Clean up calling of phy_reset() during init Remove board-specific #ifdefs for calling phy_reset() during initializtion Signed-off-by: Peter Tyser commit 3a8f28d0a6d9f8505017680233064c13e4587174 Author: Peter Tyser Date: Wed Sep 16 22:03:07 2009 -0500 ppc: Clean up calling of misc_init_r() during init Remove board-specific #ifdefs for calling misc_init_r() during initializtion Signed-off-by: Peter Tyser Acked-by: Heiko Schocher commit 3202d33169df04da5cf3dea8c5ab0a902b90ecaa Author: Peter Tyser Date: Wed Sep 16 21:38:10 2009 -0500 Remove deprecated 'autoscr' command/variables The more standard 'source' command provides identical functionality to the autoscr command. Environment variable names/values on the MVBC_P, MVBML7, kmeter1, mgcoge, and km8xx boards are updated to no longer refernce 'autoscr'. The 'autoscript' and 'autoscript_uname' environment variables are also removed. Signed-off-by: Peter Tyser Acked-by: Andre Schwarz Acked-by: Heiko Schocher commit d3f4941874a20d8a390a36ba71335ae1db2f9ba0 Author: Paul Gibson Date: Wed Sep 16 10:05:00 2009 +1000 mpc512x. Micron nand flash needs a reset before a read command is issued. Micron nand flash needs a reset before a read command is issued. The current mpc5121_nfc driver ignores the reset command. commit b55ae40249545eabb9d6bfb850b1400a32561b1f Author: Marcel Ziswiler Date: Wed Sep 9 21:18:41 2009 +0200 FDT: remove obsolete OF_CPU and OF_SOC macros. Signed-off-by: Marcel Ziswiler Acked-by: Guennadi Liakhovetski Acked-by: Heiko Schocher commit 3b6a9267f0de7b85d387fa4123d0b58379363447 Author: Wolfgang Denk Date: Tue Sep 15 00:09:21 2009 +0200 board/flagadm/flash.c: fix compile warning Fix warning: flash.c:531: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk Cc: Kári Davíðsson commit 0413cfecea350000eab5e591a0965c3e3ee0ff00 Author: Simon Kagstrom Date: Thu Sep 17 15:15:52 2009 +0200 Correct ffs/fls regression for PowerPC etc Commits 02f99901ed1c9d828e3ea117f94ce2264bf8389e 52d61227b66d4099b39c8309ab37cb67ee09a405 introduced a regression where platform-specific ffs/fls implementations were defined away. This patch corrects that by using PLATFORM_xxx instead of the name itself. Signed-off-by: Simon Kagstrom Acked-by: Kumar Gala Acked-by: Stefan Roese commit e67af44d0167d8237dd2c2ddf8e301d19ca12914 Author: Stefan Roese Date: Mon Sep 14 11:13:34 2009 +0200 ppc4xx: Consolidate get_OPB_freq() All 4xx variants had their own, mostly identical get_OPB_freq() function. Some variants even only had the OPB frequency calculated in this routine and not supplied the sys_info.freqOPB variable correctly (e.g. 405EZ). This resulted in incorrect OPB values passed via the FDT to Linux. This patch now removes all those copies and only uses one function for all 4xx variants (except for IOP480 which doesn't have an OPB). Signed-off-by: Stefan Roese commit 84a45d33c2cc261dbd5411f7c2ad45f6003025b6 Author: Stefan Roese Date: Fri Sep 11 17:09:45 2009 +0200 ppc4xx: Enable commands for FDT enabled Linux booting on AMCC Acadia Acadia still used the "old" arch/ppc bootm commands for booting Linux images without FDT. This patch now enables these fdt-aware boot commands for Acadia as well. Signed-off-by: Stefan Roese commit 95a4a593b577b6e2f1da2d4b0f5ec86975c33413 Author: Stefan Roese Date: Fri Sep 11 17:07:55 2009 +0200 ppc4xx: Fix 405EZ uart base baud calculation With this fix, Linux correctly configures the baudrate when booting with FDT passed from U-Boot to Linux. Signed-off-by: Stefan Roese commit 15fba3279b56333bdb65ead366f82c945ed320d1 Author: Kumar Gala Date: Fri Sep 11 15:28:41 2009 -0500 ppc/85xx: Disable all async interrupt sources when we boot We should make sure to clear MSR[ME, CE, DE] when we boot an OS image since we have changed the exception vectors and the OSes vectors might not be setup we should avoid async interrupts at all costs. Signed-off-by: Kumar Gala commit 9f00409a9d04cf533305531da32437130802f3a3 Author: Kumar Gala Date: Fri Sep 11 13:52:45 2009 -0500 ppc/85xx: Split out cpu_init_early into its own file for NAND_SPL By pulling out cpu_init_early we can build just it and not all of cpu_init for NAND_SPL. Signed-off-by: Kumar Gala commit 0456dbf3475d0aec42873a967ac97ed81f376119 Author: Kumar Gala Date: Fri Sep 11 13:41:49 2009 -0500 ppc/85xx: Change cpu_init_early_f so we can use with NAND SPL Use write_tlb and don't use memset so we can use the same code for cpu_init_early_f between NAND SPL and not. Signed-off-by: Kumar Gala commit 6e1385d5f8d137e741dfef02465d7dc328040ad7 Author: Mingkai Hu Date: Fri Sep 11 10:53:08 2009 +0800 NAND boot: change NAND loader's relocate SP to CONFIG param So that we can set the NAND loader's relocate stack pointer to the value other than the relocate address + 0x10000. Signed-off-by: Mingkai Hu Acked-by: Kim Phillips Acked-by: Scott Wood Signed-off-by: Kumar Gala commit 7da53351d817c6d77364cfde922891f37d0e5ed8 Author: Mingkai Hu Date: Fri Sep 11 14:19:10 2009 +0800 ppc/85xx: add boot from NAND/eSDHC/eSPI support The MPC8536E is capable of booting form NAND/eSDHC/eSPI, this patch implements these three bootup methods in a unified way - all of these use the general cpu/mpc85xx/start.S, and load the main image to L2SRAM which lets us use the SPD to initialize the SDRAM. For all three bootup methods, the bootup process can be divided into two stages: the first stage will initialize the corresponding controller, configure the L2SRAM, then copy the second stage image to L2SRAM and jump to it. The second stage image is just like the general U-Boot image to configure all the hardware and boot up to U-Boot command line. When boot from NAND, the eLBC controller will first load the first stage image to internal 4K RAM buffer because it's also stored on the NAND flash. The first stage image, also call 4K NAND loader, will initialize the L2SRAM, load the second stage image to L2SRAM and jump to it. The 4K NAND loader's code comes from the corresponding nand_spl directory, along with the code twisted by CONFIG_NAND_SPL. When boot from eSDHC/eSPI, there's no such a first stage image because the CPU ROM code does the same work. It will initialize the L2SRAM according to the config addr/word pairs on the fixed address and initialize the eSDHC/eSPI controller, then load the second stage image to L2SRAM and jump to it. The macro CONFIG_SYS_RAMBOOT is used to control the code to produce the second stage image for all different bootup methods. It's set in the board config file when one of the bootup methods above is selected. Signed-off-by: Mingkai Hu Signed-off-by: Kumar Gala commit b2eec281a811bb52941f61203d8fe35256b3582c Author: Kumar Gala Date: Fri Sep 11 12:32:01 2009 -0500 ppc/85xx: Move code around to prep for NAND_SPL If we move some of the functions in tlb.c around we need less ifdefs. The first stage loader just needs invalidate_tlb and init_tlbs. Signed-off-by: Kumar Gala commit 206af3527c05e520e28d38a48a1d15433e34675d Author: Kumar Gala Date: Fri Sep 11 11:30:30 2009 -0500 ppc/85xx: Repack tlb_table to save space We can pack the initial tlb_table in MAS register format and use write_tlb to set things up. This savings can be helpful for NAND style first stage boot loaders. Signed-off-by: Kumar Gala commit d30f9043539d372cf66406bc2f21bb8c20e67009 Author: Kumar Gala Date: Fri Sep 11 11:27:00 2009 -0500 ppc/85xx: Introduce low level write_tlb function Factor out the code we use to actually write a tlb entry. set_tlb is a logical view of the TLB while write_tlb is a low level matching the MAS registers. Signed-off-by: Kumar Gala commit 0ead6f2ed7cf4e1f70dab5b529ad121e38359485 Author: Roy Zang Date: Thu Sep 10 14:44:48 2009 +0800 ppc/85xx: Enable usb ehci support for p2020ds board Signed-off-by: Roy Zang Signed-off-by: Kumar Gala commit 6d8565a1ed5acb01bad4a4cd74a93be5f7fb7f7c Author: Kumar Gala Date: Thu Sep 10 14:54:55 2009 -0500 ppc/8xxx: Misc DDR related fixes * Fix setting of ESDMODE (MR1) register - the bit shifting was wrong * Fix the format string to match size in a debug print Signed-off-by: Kumar Gala commit 3e3c9c157b89eab2dc2f897899b1b95cd70c1a58 Author: Scott Wood Date: Thu Aug 20 17:45:00 2009 -0500 ppc/85xx: Remove some bogus code from external interrupt handler. Skipping the interrupted instruction will accomplish nothing other than turning a spurious interrupt into a crash. External interrupts are not machine checks, so don't count them as such. Signed-off-by: Scott Wood commit dcc87dd58db466caa2d66755c5ec9455edf42fe8 Author: Scott Wood Date: Thu Aug 20 17:45:05 2009 -0500 ppc/85xx: Ensure that MAS8 is zero when writing TLB entries. Its reset value is random, and we sometimes read uninitialized TLB arrays. Make sure that we don't retain MAS8 from reading such an entry if the VF bit in MAS8 is set, attempts to use the mapping will trap. Signed-off-by: Scott Wood commit 1b72dbecca2d7ad7a21c92d80227daa2d8ec5a57 Author: Scott Wood Date: Thu Aug 20 17:44:20 2009 -0500 ppc/85xx: Don't enable interrupts before we're ready We cannot handle any exceptions while running in AS1, as the exceptions will transition back to AS0 without a valid mapping. Signed-off-by: Scott Wood commit 3ca55bce9c8bf00df06a20487fafc16fa2f8084b Author: Marcel Ziswiler Date: Fri Sep 11 07:50:33 2009 -0400 mpc8260: remove Ethernet node fixup to use generic FDT code. Remove Ethernet node fixup from mgcoge and muas3001 boards and modify its configs for the common mpc8260 code to use generic Ethernet fixup. Signed-off-by: Marcel Ziswiler Tested-by: Heiko Schocher commit 1c20e4a9fbc531e2149ae061e8583f5fad82f163 Author: Mike Frysinger Date: Wed Sep 9 12:20:21 2009 -0400 tools/netconsole: use ncb automatically if available The standard netcat, while ubiquitous, doesn't handle broadcast udp packets properly. The local ncb util does however. So if ncb can be located in the standard locations, automatically use that instead. Signed-off-by: Mike Frysinger commit 770931805d292908a57a3d2c5f9a4fcde888b5a2 Author: Mike Frysinger Date: Wed Sep 9 12:20:20 2009 -0400 tools/netconsole: make a bit more robust The netcat utility likes to exit when it receives an empty packet (as it thinks this means EOF). This can easily occur when working with command line editing as this behavior will be triggered when using backspace. Or with tabs and command line completion. So create two netcat processes - one to only listen (and put it into a loop), and one to do the sending. Once the user quits the transmitting netcat, the listening one will be killed automatically. Signed-off-by: Mike Frysinger commit a6e19d69f63c14b7672c65ca4b014621c6fd0201 Author: Simon Kagstrom Date: Mon Aug 24 09:10:16 2009 +0200 arm: Define test_and_set_bit and test_and_clear bit for ARM Needed for (e.g.) ubifs support to work. Signed-off-by: Simon Kagstrom commit 52d61227b66d4099b39c8309ab37cb67ee09a405 Author: Simon Kagstrom Date: Mon Aug 24 09:10:12 2009 +0200 Define ffs/fls for all architectures UBIFS requires fls(), which is not defined for arm (and some other architectures) and this patch adds it. The implementation is taken from Linux and is generic. ffs() is also defined for those that miss it. Signed-off-by: Simon Kagstrom commit 4b15de08fe4d2c9d12a3764394731018a763216b Author: Simon Kagstrom Date: Mon Aug 24 09:10:03 2009 +0200 arm: Make arm bitops endianness-independent Bring over the bitop implementations from the Linux include/asm-generic/bitops/non-atomic.h to provide endianness-independence. Signed-off-by: Simon Kagstrom commit 02f99901ed1c9d828e3ea117f94ce2264bf8389e Author: Simon Kagstrom Date: Mon Aug 24 09:09:50 2009 +0200 Move __set/clear_bit from ubifs.h to bitops.h __set_bit and __clear_bit are defined in ubifs.h as well as in asm/include/bitops.h for some architectures. This patch moves the generic implementation to include/linux/bitops.h and uses that unless it's defined by the architecture. Signed-off-by: Simon Kagstrom commit 557555fe0b82940ba7cc69f81d31d6ef4d4933b4 Author: Mike Frysinger Date: Fri Sep 4 19:54:45 2009 -0400 standalone: convert to kbuild style Clean up the arch/cpu/board/config checks as well as redundant setting of srec/bin variables by using the kbuild VAR-$(...) style. Signed-off-by: Mike Frysinger commit 804d83a563c47b55e1f14f5de3b6e9d7e2a7ef5e Author: Wolfgang Denk Date: Tue Sep 15 22:12:31 2009 +0200 mkconfig: split the board make target to multiple config targets To simplify the top level makefile it useful to be able to parse the top level makefile target to multiple individual target, then put them to the config.h, leave the board config file to handle the different targets. Note that this method uses the '_'(underline) as the delimiter when splits the board make target. Signed-off-by: Mingkai Hu This also reverts commit 511c02f611cb5afa1b8ca5980caaaabaa0de377f. Signed-off-by: Wolfgang Denk commit ceb2d57c2205db5bbd868577f756c74a2568160c Author: Wolfgang Denk Date: Tue Sep 15 21:13:27 2009 +0200 kwbimage.c: Fix compile warning when building on 64 bit systems (again) Commit 51003b89 attempted to fix a build problem on 64 bit systems, but just turned it into a build problem on 32 bit systems (silly me). Now do the Right Thing (TM) and use a "%zu" printf format. Also fix spelling error. Signed-off-by: Wolfgang Denk commit 6c7bc91fb3dba186d3398a1653f6db236510ffa7 Author: Wolfgang Denk Date: Fri Sep 11 11:30:34 2009 +0200 board/amcc/common/flash.c: Fix compile warning Fix warning: ../common/flash.c:917: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk Cc: Stefan Roese Acked-by: Stefan Roese commit 70fb809c563c340538264d2a9436135e74c38bfe Author: Wolfgang Denk Date: Fri Sep 11 11:47:07 2009 +0200 board/amcc/yucca/flash.c: Fix compile warning Fix warning: flash.c:919: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk Cc: Stefan Roese Acked-by: Stefan Roese commit 030ec52f8cc83015f968db30208f4bd07feffa6c Author: Wolfgang Denk Date: Fri Sep 11 11:44:39 2009 +0200 board/amcc/taihu/flash.c: Fix compile warning Fix warnings: flash.c: In function 'write_word_1': flash.c:696: warning: dereferencing type-punned pointer will break strict-aliasing rules flash.c: In function 'write_word_2': flash.c:1044: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk Cc: Stefan Roese Acked-by: Stefan Roese commit 0fd3d902d920f3e60f88530c33f1ae7581260951 Author: Wolfgang Denk Date: Fri Sep 11 11:37:20 2009 +0200 board/etin/debris/phantom.c: Fix compile error Fix build problem caused by commit e84aba13: "Replace BCD2BIN and BIN2BCD macros with inline functions" phantom.c:163: error: redefinition of 'bcd2bin' /home/wd/git/u-boot/work/include/bcd.h:16: error: previous definition of 'bcd2bin' was here phantom.c:168: error: redefinition of 'bin2bcd' /home/wd/git/u-boot/work/include/bcd.h:21: error: previous definition of 'bin2bcd' was here Signed-off-by: Wolfgang Denk Cc: Sangmoon Kim commit 5168801f4b71c2f8dcd92a80cfcfda84246e67fe Author: Wolfgang Denk Date: Fri Sep 11 11:28:21 2009 +0200 board/dave/common/flash.c: fix compile warning Fix warning: ../common/flash.c:668: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk Cc: Andrea Marson commit 97138fc48091f2b063c4e32f36d05854b9d113fb Author: Wolfgang Denk Date: Fri Sep 11 11:15:31 2009 +0200 board/esd/cpci750/ide.c: fix compile warning Fix warning: ide.c:54: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk Cc: Matthias Fuchs Cc: Stefan Roese Acked-by: Stefan Roese commit ba73060cf4163bd5eb1711020126e2f7f62d363e Author: Wolfgang Denk Date: Fri Sep 11 10:13:26 2009 +0200 board/esd/common/flash.c: Fix compile warning Fix warning: ../common/flash.c:635: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk Cc: Matthias Fuchs Cc: Stefan Roese Acked-by: Matthias Fuchs Acked-by: Stefan Roese commit 2d6d9f0848e952ea33c658dfba335685a2725b8b Author: Wolfgang Denk Date: Fri Sep 11 09:36:31 2009 +0200 sk98lin: fix compile warnings Fix warnings: skge.c: In function 'BoardInitMem': skge.c:1389: warning: dereferencing type-punned pointer will break strict-aliasing rules skge.c:1390: warning: dereferencing type-punned pointer will break strict-aliasing rules skge.c:1391: warning: dereferencing type-punned pointer will break strict-aliasing rules skgesirq.c: In function 'SkGePortCheckUpXmac': skgesirq.c:1301: warning: dereferencing type-punned pointer will break strict-aliasing rules skgesirq.c:1301: warning: dereferencing type-punned pointer will break strict-aliasing rules skgesirq.c:1398: warning: dereferencing type-punned pointer will break strict-aliasing rules skgesirq.c:1398: warning: dereferencing type-punned pointer will break strict-aliasing rules skrlmt.c: In function 'SkRlmtInit': skrlmt.c:661: warning: dereferencing type-punned pointer will break strict-aliasing rules skxmac2.c: In function 'SkMacPromiscMode': skxmac2.c:753: warning: dereferencing type-punned pointer will break strict-aliasing rules skxmac2.c:753: warning: dereferencing type-punned pointer will break strict-aliasing rules skxmac2.c: In function 'SkMacHashing': skxmac2.c:803: warning: dereferencing type-punned pointer will break strict-aliasing rules skxmac2.c:803: warning: dereferencing type-punned pointer will break strict-aliasing rules skxmac2.c: In function 'SkMacFlushTxFifo': skxmac2.c:1115: warning: dereferencing type-punned pointer will break strict-aliasing rules skxmac2.c:1115: warning: dereferencing type-punned pointer will break strict-aliasing rules skxmac2.c: In function 'SkMacFlushRxFifo': skxmac2.c:1145: warning: dereferencing type-punned pointer will break strict-aliasing rules skxmac2.c:1145: warning: dereferencing type-punned pointer will break strict-aliasing rules skxmac2.c: In function 'SkXmInitPauseMd': skxmac2.c:1987: warning: dereferencing type-punned pointer will break strict-aliasing rules skxmac2.c:1987: warning: dereferencing type-punned pointer will break strict-aliasing rules skxmac2.c: In function 'SkXmOverflowStatus': skxmac2.c:4236: warning: dereferencing type-punned pointer will break strict-aliasing rules skxmac2.c:4236: warning: dereferencing type-punned pointer will break strict-aliasing rules skxmac2.c:4242: warning: dereferencing type-punned pointer will break strict-aliasing rules skxmac2.c:4242: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk Cc: Ben Warren commit 3708e4cdb1f1d3d5128cf87be040d7e6b85f60dd Author: Wolfgang Denk Date: Fri Sep 11 09:13:58 2009 +0200 drivers/net/natsemi.c: fix compile warning Fix warning: natsemi.c:757: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk Cc: Ben Warren commit 78d19a398778a58d7b40b0c78e026515271b1a84 Author: Michal Simek Date: Mon Sep 7 09:08:02 2009 +0200 net: emaclite: Cleanup license to be GPL compatible Signed-off-by: Stephen Neuendorffer Signed-off-by: Michal Simek commit 0900bee9ab9818439b2d1298fa8909a88f74ec0d Author: Michal Simek Date: Fri Aug 14 13:41:17 2009 +0200 microblaze: Enable hush parser With Hush parser is possible to change command line in dtb Signed-off-by: Michal Simek commit 13916abf996b127b681ddc26664c236ded28ba7f Author: Michal Simek Date: Thu Aug 20 22:44:02 2009 +0200 microblaze: Remove AtmarkTechno Suzaku board Users should use microblaze-generic platform. This platform is longer not supported. Signed-off-by: Michal Simek commit 3ceba1d45d007144d10368f91ff9e36f3b5f39a1 Author: Michal Simek Date: Thu Aug 20 22:36:20 2009 +0200 net: Remove old Xilinx Emac driver Signed-off-by: Michal Simek commit 2fddd44464d02e0f3ade06dabe0e165835fa61f0 Author: Michal Simek Date: Wed Aug 19 08:10:08 2009 +0200 microblaze: Short size of global data and fix malloc size If is full malloc area global, data are rewrite because there was bad size of malloc area. Signed-off-by: Michal Simek commit aedb4683097d3e5de8833f4a9e34664d3d2bd077 Author: Michal Simek Date: Fri Aug 14 17:02:35 2009 +0200 microblaze: Add sbss, scommon and COMMON symbols for clearing Signed-off-by: Michal Simek commit 4c1883670acbf1cc83c04df1876235c3aedde128 Author: Dirk Eibach Date: Wed Sep 9 12:36:07 2009 +0200 ppc4xx: Rename compactcenter to intip Signed-off-by: Dirk Eibach Signed-off-by: Stefan Roese commit d1c3b27525b664e8c4db6bb173eed51bfc8220de Author: Stefan Roese Date: Wed Sep 9 16:25:29 2009 +0200 ppc4xx: Big cleanup of PPC4xx defines This patch cleans up multiple issues of the 4xx register (mostly DCR, SDR, CPR, etc) definitions: - Change lower case defines to upper case (plb4_acr -> PLB4_ACR) - Change the defines to better match the names from the user's manuals (e.g. cprpllc -> CPR0_PLLC) - Removal of some unused defines Please test this patch intensive on your PPC4xx platform. Even though I tried not to break anything and tested successfully on multiple 4xx AMCC platforms, testing on custom platforms is recommended. Signed-off-by: Stefan Roese commit d8d8724be06df43772162dc344ae20dfa814dc72 Author: Wolfgang Denk Date: Fri Sep 11 09:05:32 2009 +0200 net/bootp.c: fix compile warning Fix warning: bootp.c:695: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk Cc: Ben Warren commit 51003b89816848cbe86a8fe48f970ba8b14005f5 Author: Wolfgang Denk Date: Fri Sep 11 08:58:11 2009 +0200 kwbimage.c: Fix compile warning when building on 64 bit systems Fix this warning when building on 64 bit systems: tools/kwbimage.c: In function 'kwbimage_checksum32': tools/kwbimage.c:135: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int' Signed-off-by: Wolfgang Denk Cc: Prafulla Wadaskar commit e7963772eb78a6aa1fa65063d64eab3a8626daac Author: Marcel Ziswiler Date: Wed Sep 9 21:11:18 2009 +0200 muas3001: remove BRG clock node fixup to use common mpc8260 code. Signed-off-by: Marcel Ziswiler Acked-by: Heiko Schocher commit c7c1dbbf7159b38f3302b845dd97d28a543ff91b Author: Marcel Ziswiler Date: Wed Sep 9 21:09:00 2009 +0200 r7780mp: fix typo in Ethernet chip model number comment. Signed-off-by: Marcel Ziswiler commit 45f89f340b4d8aa099fd022260dcb13cf3321b61 Author: Marcel Ziswiler Date: Wed Sep 9 21:22:08 2009 +0200 ep8248: add support for device tree and secondary Ethernet interface. Signed-off-by: Marcel Ziswiler commit aa0c7a86cd236b8193218a09e1365c8991bb5ddc Author: Prafulla Wadaskar Date: Mon Sep 7 15:05:02 2009 +0530 mkimage: Add Kirkwood Boot Image support (kwbimage) This patch adds support for "kwbimage" (Kirkwood Boot Image) image types to the mkimage code. For details refer to docs/README.kwbimage This patch is tested with Sheevaplug board Signed-off-by: Prafulla Wadaskar Acked-by: Ron Lee Signed-off-by: Prafulla Wadaskar commit 7809fbb9aafd60e3a6e5dfe456ae30b93ac61338 Author: Prafulla Wadaskar Date: Mon Sep 7 14:59:09 2009 +0530 Kirkwood: Sheevaplug: Add kwimage configuration file Signed-off-by: Prafulla Wadaskar commit b029dddc9ae958b1ccf875649f52c6db396a742d Author: Prafulla Wadaskar Date: Mon Sep 7 14:59:08 2009 +0530 mkimage: Make table_entry code global - make get_table_entry_id() global - make get_table_entry_name() global - move struct table_entry to image.h Currently this code is used by image.c only. This patch makes this API global so it can be used by other parts of code, too. Signed-off-by: Prafulla Wadaskar Acked-by: Ron Lee Edit comments and commit message. Signed-off-by: Wolfgang Denk commit f666dea8ab215c76c3c2a077ad299f90dd1ace7c Author: Prafulla Wadaskar Date: Mon Sep 7 14:59:07 2009 +0530 mkimage: Make genimg_print_size() global Currently it is used by image.c only, but the the function can be used to support additional mkimage types like for example kwbimage, so make this function globally visible. Signed-off-by: Prafulla Wadaskar Edited commit message. Signed-off-by: Wolfgang Denk commit 37b801888cf73b18f78c1109140ff44e3e37914f Author: Prafulla Wadaskar Date: Mon Sep 7 14:59:06 2009 +0530 mkimage: Include missing files in build dependency calculations Include default_image.o and fit_image.o into the build dependency calculations. This makes sure they get rebuilt if any of the headers they include are modified Signed-off-by: Prafulla Wadaskar Acked-by: Ron Lee Edited commit message. Signed-off-by: Wolfgang Denk commit 3a2003f61ee79ac53d20c24cc896c2637a2dfc24 Author: Wolfgang Denk Date: Wed Aug 19 11:42:56 2009 +0200 tools/mkimage: fix compiler warnings, use "const" This fixes some compiler warnings: tools/default_image.c:141: warning: initialization from incompatible pointer type tools/fit_image.c:202: warning: initialization from incompatible pointer type and changes to code to use "const" attributes in a few places where it's appropriate. Signed-off-by: Wolfgang Denk commit 89a4d6b12fd6394898b8a454cbabeaf1cd59bae5 Author: Prafulla Wadaskar Date: Wed Aug 19 17:36:46 2009 +0530 tools: mkimage: split code into core, default and FIT image specific This is a first step towards reorganizing the mkimage code to make it easier to add support for additional images types. Current mkimage code is specific to generating uImage and FIT image files, but the same framework can be used to generate other image types like Kirkwood boot images (kwbimage-TBD). For this, the mkimage code gets reworked: Here is the brief plan for the same:- a) Split mkimage code into core and image specific support b) Implement callback functions for image specific code c) Move image type specific code to respective C files Currently there are two types of file generation/list supported (i.e uImage, FIT), the code is abstracted from mkimage.c/.h and put in default_image.c and fit_image.c; all code in these file is static except init function call d) mkimage_register API is added to add new image type support All above is addressed in this patch e) Add kwbimage type support to this new framework (TBD) This will be implemented in a following commit. Signed-off-by: Prafulla Wadaskar Edit commit message, fix coding style and typos. Signed-off-by: Wolfgang Denk commit 449609f5b11cce6beba7338bc4ce0f3345376a0b Author: Prafulla Wadaskar Date: Sun Aug 16 05:28:19 2009 +0530 tools: mkimage: Fixed build warnings uninitialized retval variable warning fixed crc32 APIs moved to crc.h (newly added) and build warnings fixed Signed-off-by: Prafulla Wadaskar Signed-off-by: Wolfgang Denk commit 14821d7dea8d7209f2457c3179fa6551c088ba71 Author: Prafulla Wadaskar Date: Mon Aug 10 20:44:06 2009 +0530 tools: mkimage: Makefile sorted The tools/Makefile is sorted for all entries, Signed-off-by: Prafulla Wadaskar commit f7644c0bf3502529031657a869fa213cda5a2424 Author: Prafulla Wadaskar Date: Mon Aug 10 18:49:37 2009 +0530 tools: mkimage : bugfix returns correct value for list command List command always return "EXIT_SUCCESS" even in case of failure by any means. This patch return 0 if list command is sucessful, returns negative value reported by check_header functions Signed-off-by: Prafulla Wadaskar Signed-off-by: Wolfgang Denk commit 511c02f611cb5afa1b8ca5980caaaabaa0de377f Author: Mingkai Hu Date: Tue Sep 8 15:07:12 2009 +0800 mkconfig: pass the board name to board config file Then we can handle different config targets in the board file, which simplifies the top level Makefile for boards that have multiple config targets. Signed-off-by: Mingkai Hu commit d640ac58dbf61c769864b3fe76314306b7336cf1 Author: Wolfgang Denk Date: Mon Sep 7 23:52:31 2009 +0200 Remove "atmel_df_pow2" binary with "make clean" Commit 65f6f07b added support for the atmel_df_pow2 standalone program but missed to add a rule to remove it to the "clean" make target. Signed-off-by: Wolfgang Denk commit 0b34dbbd0b6969c98c44313b291836d9056ec40a Author: Stefan Roese Date: Mon Sep 7 10:52:24 2009 +0200 ppc4xx: Fix compilation warning in 4xx miiphy.c This patch fixes the following compilation warning: miiphy.c: In function 'emac4xx_miiphy_read': miiphy.c:353: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Stefan Roese commit 82379b5564819e62624a3c58fbc43f1afedf4f5f Author: Matthias Fuchs Date: Mon Sep 7 17:00:41 2009 +0200 ppc4xx: Add CONFIG_PCI_4xx_PTM_OVERWRITE to some esd 4xx boards Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit 99bcf14d553f399148a7660b98f7acbd8cc72d80 Author: Matthias Fuchs Date: Mon Sep 7 17:00:40 2009 +0200 ppc4xx: Allow overwriting pci target registers for all 4xx boards This patch adds the CONFIG_PCI_4xx_PTM_OVERWRITE option and replaces the ugly 'if defined(BOARD1) || ... || defined(BOARDn)' construct in 4xx pci code. When CONFIG_PCI_4xx_PTM_OVERWRITE is defined the default ptm register setup can be overwritten through environment variables ptm1la, ptm1ms, ptm2la and ptm2ms to do application specific pci target BAR configuration. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit cfab2ae322a99ad55364d054054f138f51130c2a Author: Matthias Fuchs Date: Fri Sep 4 10:37:04 2009 +0200 ppc4xx: Fix PMC405DE support This patch fixes PMC405DE support. Patch 85d6bf0b fixed out-of-tree building for this board but the loadpci object did not get linked after that. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit c8355b9d9f778bd12ee19c8f34d88e13758a4efd Author: Detlev Zundel Date: Wed Sep 2 17:24:57 2009 +0200 amcc-common.h: Use filenames from environment variables for update procedure. Using a separate "u-boot" environment variable allows to easily specify different filenames for the update procedure. This is also in line with many other board configurations defining an "update" script. Signed-off-by: Detlev Zundel Acked-by: Wolfgang Denk Signed-off-by: Stefan Roese commit 6c97a20d0b2f56cb4f3745d94b1f96986e8cced5 Author: Kumar Gala Date: Wed Sep 9 11:40:41 2009 -0500 ppc/85xx: Introduce RESET_VECTOR_ADDRESS to handle non-standard link address Some board ports place TEXT_BASE at a location that would cause the RESET_VECTOR_ADDRESS not to be at 0xfffffffc when we link. By default we assume RESET_VECTOR_ADDRESS will be 0xfffffffc if the board doesn't explicitly set it. Signed-off-by: Kumar Gala Acked-by: Wolfgang Denk commit c348322ac7f76318295cf25ffab2cc2a4900a234 Author: Kumar Gala Date: Tue Sep 8 13:46:46 2009 -0500 ppc/85xx: Clean up do_reset There is no reason to do a run time check for e500 v1 based cores to determine if we have the GUTs RSTCR facility. Only the first generation of PQ3 parts (MPC8540/41/55/60) do not have it. So checking to see if we are e500 v2 would miss future parts (like e500mc). Just change this to be ifdef'd based on CONFIG_MPC85{40,41,55,60}. Signed-off-by: Kumar Gala commit 21170c80a83f1e60ce7f6f83005e06a5c2d15a8e Author: Poonam Aggrwal Date: Thu Sep 3 19:42:40 2009 +0530 ppc/85xx/86xx: Bug fix: call to puts in probecpu() moved to checkcpu(). While in probecpu() UART is still not initialized. Signed-off-by: Poonam Aggrwal Signed-off-by: Kumar Gala commit f8027f6b4789e3340f10620d8fb6113b95b88d9c Author: Poonam Aggrwal Date: Wed Sep 2 19:40:36 2009 +0530 ppc/85xx/86xx: Device tree fixup for number of cores Fixing the number of cores in the device tree based on the actual number of cores on the system. With this same device tree image can be used for dual core and single core members of otherwise exactly same SOC. For example: * P2020RDB and P2010RDB * P1020RDB and P1011RDB * MPC8641D and MPC8641 Signed-off-by: Poonam Aggrwal Signed-off-by: Kumar Gala commit 58442dc01e47cc8ce42af4f29486a34cad60b9d2 Author: Poonam Aggrwal Date: Wed Sep 2 13:35:21 2009 +0530 ppc/85xx,86xx: Handling Unknown SOC version Incase the system is detected with Unknown SVR, let the system boot with a default value and a proper message. Now with dynamic detection of SOC properties from SVR, this is necessary to prevent a crash. Signed-off-by: Poonam Aggrwal Signed-off-by: Kumar Gala commit 3e7b6c1f2db5ec31f9e7dbc3e0cbca602167a46a Author: Kumar Gala Date: Wed Sep 2 09:03:08 2009 -0500 ppc/8xxx: Refactor code to determine if PCI is enabled & agent/host Refactor the code into a simple bitmask lookup table that determines if a given PCI controller is enabled and if its in host/root-complex or agent/end-point mode. Each processor in the PQ3/MPC86xx family specified different encodings for the cfg_host_agt[] and cfg_IO_ports[] boot strapping signals. Signed-off-by: Kumar Gala commit 5052a771cf1722c37c732f3c340775b55fbe3a22 Author: Kumar Gala Date: Wed Sep 2 09:00:50 2009 -0500 ppc/85xx: Cleanup makefile and related optional files Cleaned up cpu/mpc85xx/Makefile to use CONFIG_* for those obvious cases we have like PCI, CPM2, QE. Also reworked it to use one line per file for everything and sorted in alphabetical order. Signed-off-by: Kumar Gala commit 74c5dfd81f94a2a1f0d6990d17c491d718e8b9ea Author: Timur Tabi Date: Fri Sep 4 17:05:24 2009 -0500 fsl: add register read-back to set_law() After programming a new LAW, we should read-back the LAWAR register so that we sync the writes. Otherwise, code that attempts to use the new LAW-mapped memory might fail right away. Signed-off-by: Timur Tabi Signed-off-by: Kumar Gala commit c7259086816405fe0eb77f4dc22e76980a040cef Author: Kumar Gala Date: Thu Sep 3 08:41:31 2009 -0500 ppc/85xx: Fix bug in setup_mp code Its possible that we try and copy the boot page code out of flash into a DDR location that doesn't have a TLB cover it. For example, if we have 3G of DDR we typically only map the first 2G. In the cases of 4G+ this wasn't an issue since the reset page TLB mapping covered the last page of memory which we wanted to copy to. We now change the physical address of the reset page TLB to map to the true physical location of the boot page code, copy and than set the TLB back to its 1:1 mapping of the reset page. Signed-off-by: Kumar Gala commit c2287af1552bd630956568d3957c370f86801b7d Author: Kumar Gala Date: Thu Sep 3 08:20:24 2009 -0500 ppc/85xx: Add a simple function to search the TLB Allow us to search the TLB array based on an address. This is useful if we want to change an entry but dont know where it happens to be located. For example, the boot page mapping we use on MP or the flash TLB that we change the WIMGE settings for after we've relocated. Signed-off-by: Kumar Gala commit 26f4cdba6b51deab4ec99d60be381244068ef950 Author: Kumar Gala Date: Fri Aug 14 13:37:54 2009 -0500 85xx: Add support for setting IVORs to fixed offset defaults In future Book-E implementations IVORs will most likely go away and be replaced with fixed offsets. The IVPR will continue to exist to allow for relocation of the interrupt vectors. This code adds support to setup the IVORs as their fixed offset values per the ISA 2.06 spec when we transition from u-boot to another OS either via 'bootm' or a cpu release. Signed-off-by: Kumar Gala commit da1cd955dfec35b0e15381ad1ee248fa194eed82 Author: Dipen Dudhat Date: Wed Sep 2 11:25:08 2009 +0530 ppc/85xx: Fix up eSDHC controller clock frequency in the device tree Signed-off-by: Dipen Dudhat Signed-off-by: Kumar Gala commit 2abbd31da6d900473ed678ca50789ee58bc9bb00 Author: Kumar Gala Date: Tue Sep 1 22:01:54 2009 -0500 ppc/8xxx: Remove ddr_pd_cntl register since it doesn't exist The ddr_pd_cntl isn't defined in any reference manual and thus we wil remove especially since we set it to 0, which would most likely be its POR value. Signed-off-by: Kumar Gala commit 13d46ab2572c0283d34f93bebc9a41295ef84ca5 Author: Kumar Gala Date: Tue Sep 1 21:07:08 2009 -0500 ppc/8xxx: relocate cpu pointer in global data Now that we have a pointer to the cpu struct we need to relocate it once we get into ram. Signed-off-by: Kumar Gala commit 9c671e7062720074f894ee329eaa6995b0823727 Author: Anton Vorontsov Date: Wed Sep 2 02:17:24 2009 +0400 fsl: sys_eeprom: Fix 'may be used uninitialized' warning The warning is bogus, so silence it by initializing the 'ret' variable. Signed-off-by: Anton Vorontsov Acked-by: Timur Tabi Signed-off-by: Kumar Gala commit 6b9ea08c5010eab5ad1056bc9bf033afb672d9cc Author: Dipen Dudhat Date: Tue Sep 1 17:27:00 2009 +0530 ppc/85xx: Use CONFIG_FSL_ESDHC to enable sdhc clk Enable eSDHC Clock based on generic CONFIG_FSL_ESDHC define instead of a platform define. This will enable all the 85xx platforms to use sdhc_clk based on CONFIG_FSL_ESDHC. Signed-off-by: Gao Guanhua Signed-off-by: Dipen Dudhat Signed-off-by: Kumar Gala commit 92477a631bbda2dc0dd2194e03f9bd3ddb8b9c21 Author: Timur Tabi Date: Fri Sep 4 16:28:35 2009 -0500 fsl_i2c: increase I2C timeout values and make them configurable The value of I2C_TIMEOUT in fsl_i2c.c has several problems. First, it is defined as CONFIG_HZ/4, but it is used as a count of microseconds, so it makes no sense to derive it from a clock rate. Second, the current value (250) is too low for some boards, so it needs to be increased. Third, the timeout necessary for multiple-master arbitration is larger than the timeout for basic read/write operations, so we shouldn't have a single constant for both timeouts. Finally, it would be nice if we could override these values on a per-board basis. Signed-off-by: Timur Tabi Acked-by: Wolfgang Denk Tested-by: Peter Tyser Acked-by: Peter Tyser commit 5da71efa18e8b4eac9afd8bfa13e3c7e7ddde1d0 Author: Eric Millbrandt Date: Thu Sep 3 08:09:44 2009 -0500 Reset i2c slave devices during init on mpc5xxx cpus Reset any i2c devices that may have been interrupted during a system reset. Normally this would be accomplished by clocking the line until SCL and SDA are released and then sending a start condtiion (From an Atmel datasheet). There is no direct access to the i2c pins so instead create start commands through the i2c interface. Send a start command then delay for the SDA Hold time, repeat this by disabling/enabling the bus a total of 9 times. Signed-off-by: Eric Millbrandt commit 2d4072c06b5549444e4140231bba3d47d9b0bc53 Author: Sandeep Paulraj Date: Sat Aug 15 11:20:58 2009 -0400 ARM: DaVinci: Adding Support for DaVinci DM365 EVM This patch adds support for the DM365 EVM. It has been tested on a DM365 EVM. Signed-off-by: Sandeep Paulraj commit cf463091bce8b0f8951dd08f94754d08d64793b8 Author: Sandeep Paulraj Date: Sat Aug 15 11:20:44 2009 -0400 ARM: DaVinci: DaVinci DM365 SOC specific code This patch adds support for DaVinci DM365 SOC. Signed-off-by: Sandeep Paulraj commit e830b66b3592f115316600d370399f3ee148e909 Author: Ilko Iliev Date: Sat Sep 5 02:51:34 2009 +0200 DM9000 init for pm9261 Signed-off-by: Ilko Iliev commit c35d7cf071f171bd6bba69f1563a6ac578a18ea6 Author: Frederik Kriewitz Date: Sun Aug 23 12:56:42 2009 +0200 Add support for the DevKit8000 board This patch adds support for the DevKit8000 board. Signed-off-by: Frederik Kriewitz commit 127f9ae575991aee3e105e1448c49b5b4e254998 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Aug 23 16:32:40 2009 +0200 omap3: move the other boards to board/ Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 350f3ac5731faf0f02ca55ab016694b7c7269f97 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Aug 23 16:32:39 2009 +0200 arm: move Logicpd's boards to board/logicpd/ Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 0a0e4bad9693ef1d2ca8c33ba551d395a4e3d641 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Aug 23 16:32:38 2009 +0200 omap: move TI's boards to board/ti/ Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 9f23ca42b3ba19b24e66fade572f2b86d929b6e8 Author: Wolfgang Denk Date: Fri Sep 4 23:20:29 2009 +0200 ARM: Update mach-types Signed-off-by: Wolfgang Denk commit 262ae0a6193f10b6a94e86d2f752e7f5510416fa Author: Mike Frysinger Date: Thu Sep 3 23:12:47 2009 -0400 push LOAD_ADDR out to arch mk files Rather than maintain/extend the current ifeq($(ARCH)) mess that exists in the standalone Makefile, push the setting up of LOAD_ADDR out to the arch config.mk (and rename to STANDALONE_LOAD_ADDR in the process). This keeps the common code clean and lets the arch do whatever crazy crap it wants in its own area. Signed-off-by: Mike Frysinger commit 7662eb2b9d6fbc95ecb1fb3e5b5147215e251e7d Author: Giuseppe CONDORELLI Date: Thu Sep 3 07:37:46 2009 -0400 zlib: fix code when DEBUG is defined Removed stdio.h inclusion and moved trace macros to use printf avoiding to write debug informations to standard error. Signed-off-by: Giuseppe Condorelli commit cfcbf8c4cf3da96b9e3f652506b664bfd766a520 Author: Scott Wood Date: Wed Sep 2 16:45:31 2009 -0500 mxc_nand: Remove Freescale's "All Rights Reserved." Signed-off-by: Scott Wood commit 001d615681333569c555e6cde07d8d23e2c536fb Author: Anton Vorontsov Date: Wed Sep 2 17:58:48 2009 +0400 mpc83xx/serdes: License cleanup: remove "All Rights Reserved" notice "All Rights Reserved" conflicts with the GPL. Signed-off-by: Anton Vorontsov commit 46ff6d461321f5b565cc790e02679237ffd9a20f Author: Wolfgang Denk Date: Wed Sep 2 14:57:27 2009 +0200 License cleanup: remove unintended "All Rights Reserved" notices. Some files included my old standerd file header which had a "All Rights Reserved" part. As this has never been my intention, I remove these lines to make the files compatible with GPL v.2 and later. Signed-off-by: Wolfgang Denk commit 37daa77f3cafb5ec9a974eff3db2af4a0560a9ef Author: Wolfgang Denk Date: Wed Sep 2 10:21:20 2009 +0200 cmd_mtdparts.c: fix compiler warning in debug code Fix warning messages: cmd_mtdparts.c:1429: warning: format '%08lx' expects type 'long unsigned int', but argument 6 has type 'u32' cmd_mtdparts.c:1429: warning: format '%08lx' expects type 'long unsigned int', but argument 7 has type 'u32' Signed-off-by: Wolfgang Denk commit d8bc55a6fb28876abcbf4a3fc3b6c3ce429c1bb3 Author: Anton Vorontsov Date: Tue Sep 1 20:58:03 2009 +0400 Move uninitialized_var() macro from ubi_uboot.h to compiler.h This is needed so that we could use this macro for non-UBI code. Signed-off-by: Anton Vorontsov commit d72871e1387094972569e4b77c25e88020f7b68f Author: Kumar Gala Date: Tue Sep 1 11:24:45 2009 -0500 arm: Remove -fno-strict-aliasing -fno-strict-aliasing is hidding warnings. Signed-off-by: Kumar Gala commit d6281ff0cc2ebb5d6a5c3e1021837334074f92ec Author: Kumar Gala Date: Tue Sep 1 11:24:44 2009 -0500 ppc: Remove -fno-strict-aliasing -fno-strict-aliasing is hidding warnings. Signed-off-by: Kumar Gala commit 795d246c278e70b4ba9868cc9f2c8fbada49d388 Author: Eric Millbrandt Date: Fri Aug 28 07:14:04 2009 -0500 galaxy5200: Add chip select region for an Epson S1D15313 Signed-off-by: Eric Millbrandt commit 3dfad40a0459f63099e177dc15a1df39d048f860 Author: Kumar Gala Date: Thu Aug 27 08:23:55 2009 -0500 Add ability for arch code to make changes before we boot Added a arch_preboot_os() function that cpu specific code can implement to allow for various modifications to the state of the machine right before we boot. This can be useful to setup register state to a specific configuration. Signed-off-by: Kumar Gala commit 9ea005fb4428c922536fa75991ce9972304a02fb Author: Roy Zang Date: Sat Aug 22 03:49:52 2009 +0800 Use different PBA value for E1000 PCI and PCIe cards Signed-off-by: Roy Zang Acked-by: André Schwarz commit 5b34a296d47b236dafbcaf1c91ae11b5aeb1ef51 Author: Graeme Russ Date: Sun Aug 23 12:59:58 2009 +1000 Add PCI support to eNET board Signed-off-by: Graeme Russ commit f50b619d9cb297b0125fe78dcd6f255eb0d91659 Author: Graeme Russ Date: Sun Aug 23 12:59:57 2009 +1000 i386: Moved PCI from #ifdef to conditional compile for sc520 boards Signed-off-by: Graeme Russ commit ed7a1b681de1e31d18d5b92e2767ae8df3241687 Author: Graeme Russ Date: Sun Aug 23 12:59:56 2009 +1000 i386: Replace [read, write]_mmcr_[byte, word, long] with memory mapped structure Signed-off-by: Graeme Russ commit 9b32f96b5b92ba13fdb4b5eb637734752235f260 Author: Graeme Russ Date: Sun Aug 23 12:59:55 2009 +1000 Misc sc520 cdp fixups Now that the PCI, SATA et al compile problems have been resolved, the cludge that was applied to avoid them can be removed Signed-off-by: Graeme Russ commit 91ee4e183cb7ac5f86e7673ead51400f19906635 Author: Graeme Russ Date: Sun Aug 23 12:59:54 2009 +1000 Fixup sc520_spunk board Primary intent is to resolve build errors for this board which has been neglected for a very long time. I do not have one of these boards, so I cannot test functionality Signed-off-by: Graeme Russ commit 8907b8dbc5805094f1316d64737d3428b3863693 Author: Graeme Russ Date: Sun Aug 23 12:59:53 2009 +1000 Misc ds1722 fixups This patch is based on a patch submitted by Jean-Christophe PLAGNIOL-VILLARD on 18th May 2008 as part of a general i386 / sc520 fixup which was never applied Signed-off-by: Graeme Russ commit a92510e7fae523145b58765cdc46110f1162260d Author: Graeme Russ Date: Sun Aug 23 12:59:52 2009 +1000 Misc ti_pci1410a fixups Removed do_pinit() - now declared in cmd_pcmcia.c Added #define CONFIG_CMD_PCMCIA around pcmcia_off() in line with other PCMCIA drivers signed/unsigned type fixups Added semi-colon after default: label as required by newer gcc The only board that appears to use this driver is the sc520_spunk which is very old and very likely very broken anyway. I do not have one to test whether this patch breaks anything functionaly, I have can only check that it compiles without warning or error Signed-off-by: Graeme Russ commit 31b9ab33d93d88ff89f3046aa45c68667a378a56 Author: Graeme Russ Date: Sun Aug 23 12:59:51 2009 +1000 Misc SATA fixups Cast first parameter to sata_cpy() In /drivers/block/ata_piix.h, ata_id_has_lba48(), ata_id_has_lba(), ata_id_has_dma(), ata_id_u32(), ata_id_u64() are all defined in include/libata.h which is included in ata.h which is included by all files which include ata_piix.h (only ata_piix.c) so these definitions are supurflous to (and conlict with) this in libata.h. Interestingly, my compiler complains about ata_id_u64 already being defined, but not ata_id_u32 ata_dump_id() is defined in include/libata.h and should not be static (maybe should even use ata_dump_id() in libata.c Signed-off-by: Graeme Russ commit d7549024098af093785151261266a02be19af633 Author: Graeme Russ Date: Sun Aug 23 12:59:50 2009 +1000 i386: Misc PCI fixups Change PCI_REGION_MEMORY to PCI_REGION_SYS_MEMORY (Originally done in commit ff4e66e93c1a, regressed by commit 6d7f610b09f8) Cast PCI_ROM_ADDRESS_MASK to u32 Wrap probe_pci_video() call inside #ifdef CONFIG_VIDEO Change call to pci_find_class() to pci_find_devices(). This is based on a patch submitted on 1st March 2007 (Patch that fixes the compilation errors for sc520_cdp board) by mushtaq_k This patch requires that PCI_VIDEO_VENDOR_ID and PCI_VIDEO_DEVICE_ID be specified in the board config file. Dummy values have been added for the SC520 CDP board to enable compilation, but since I do not have one of these, I do know what the values should be Signed-off-by: Graeme Russ commit 04ff9ab158714d43cdf2f4f6f0235c3ea9d241a2 Author: Graeme Russ Date: Sun Aug 23 12:59:49 2009 +1000 Fix sc520 timer interrupt generation The current implementation has the timer being started before the interrupt handler is installed. It the interrupt occurs before the handler is installed, the timer interrupt is never reset and the timer stops Signed-off-by: Graeme Russ commit f3a8d6b29b1cd01fdd940e8ff7a62b1df0ebbf82 Author: Graeme Russ Date: Sun Aug 23 12:59:48 2009 +1000 Fix environment configuration for eNET board The current configuration of the Environment has the redundant copy of the environment in the Boot Flash - This was never the intent. The Environment should instead be in the first two sectors of the first Strata Flash Signed-off-by: Graeme Russ commit ea0c37798c3823fdd77edfffd27b20191f8ca1f0 Author: Graeme Russ Date: Sun Aug 23 12:59:47 2009 +1000 i386: Fix regression introduced by commit 8c63d47651f7 A local variable was deleted that should not have been Signed-off-by: Graeme Russ commit cfb3a736ffcff3e3753b902cad536f22fcf8961d Author: Graeme Russ Date: Sun Aug 23 12:59:46 2009 +1000 i386: Change inline asm global symbols to local gcc 4.3.2 optimiser creates multiple copies of inline asm (who knows why) Remove use of global names for labels to prevent 'symbol already defined' errors Signed-off-by: Graeme Russ commit a3ab8caee696a1d53fc82fa321e2b2f179970168 Author: Graeme Russ Date: Sun Aug 23 12:59:45 2009 +1000 i386: Add errno.h Signed-off-by: Graeme Russ commit d4e8ada0f6d51e0e3b80790fb9375ac8910f5352 Author: Peter Tyser Date: Fri Aug 21 23:05:21 2009 -0500 Consolidate arch-specific mem_malloc_init() implementations Signed-off-by: Peter Tyser commit a483a167bc8d808145ca1224a2c238cda90aa60c Author: Peter Tyser Date: Fri Aug 21 23:05:20 2009 -0500 Standardize mem_malloc_init() implementation This lays the groundwork to allow architectures to share a common mem_malloc_init(). Note that the x86 implementation was not modified as it did not fit the mold of all other architectures. Signed-off-by: Peter Tyser commit 5e93bd1c9aaea886c5e5c7c1b6114ab36c30668f Author: Peter Tyser Date: Fri Aug 21 23:05:19 2009 -0500 Consolidate arch-specific sbrk() implementations Signed-off-by: Peter Tyser commit 65f6f07b72a71b83d775c4d20d7ebcd6b2d2086d Author: Mike Frysinger Date: Thu Jul 23 16:37:03 2009 -0400 atmel_df_pow2: standalone to convert dataflashes to pow2 Atmel DataFlashes by default operate with pages that are slightly bigger than normal binary sizes (i.e. many are 1056 byte pages rather than 1024 bytes). However, they also have a "power of 2" mode where the pages show up with the normal binary size. The latter mode is required in order to boot with a Blackfin processor, so many people wish to convert their DataFlashes on their development systems to this mode. This standalone application does just that. Signed-off-by: Mike Frysinger commit cb95c7a935ab9b52dac5d08e5ba4007c5a480f97 Author: Mike Frysinger Date: Wed Sep 2 05:52:37 2009 -0400 Blackfin: cm-bf548: fix device->stdio_dev fallout The recent 52cb4d4fb348 commit which renamed device to stdio_dev missed the cm-bf548's video board. Signed-off-by: Mike Frysinger commit c7bcdde46a7ef78628f0f09fdc6cb61bb1bd7e79 Author: Mike Frysinger Date: Wed Sep 2 04:21:16 2009 -0400 Blackfin: enable 64bit printf for nand Since the NAND code now uses 64bit code, make sure we enable support for ADI Blackfin boards in printf to avoid the warning: nand_util.c:45:2: warning: #warning Please define CONFIG_SYS_64BIT_VSPRINTF for correct output! Signed-off-by: Mike Frysinger commit 9c46e71af2b03ccd721c56b1dc906ead702d6fb5 Author: Mike Frysinger Date: Mon Aug 24 20:48:04 2009 -0400 Blackfin: use scratch pad for exception stack If the memory layout pushes the stack out of the default DCPLB coverage, the exception handler may trigger a double fault by trying to push onto the uncovered stack. So handle the exception stack similar to the kernel by using the top of the scratch pad SRAM. Signed-off-by: Mike Frysinger commit 69a25ce3578f34c8accb476f70089f3a44b78ed9 Author: Mike Frysinger Date: Mon Aug 24 20:36:25 2009 -0400 Blackfin: increase default console size The default console size indirectly applies to length of env vars, so a smaller length makes it hard to pass longer command lines to kernels. Signed-off-by: Mike Frysinger commit f541e1d6d99c22bbd4bc8c84fdb02baad0277847 Author: Mike Frysinger Date: Mon Aug 24 19:03:18 2009 -0400 Blackfin: fix debug printf modifiers The display_global_data() function generated warnings with pretty much every variable. Signed-off-by: Mike Frysinger commit 4640c2b8699bcdd2346a2c633486f07f061a2939 Author: Harald Krapfenbauer Date: Thu Aug 20 19:20:41 2009 -0400 Blackfin: cm-bf537u: new board port The CM-BF537U is similar to the CM-BF537E module, but enough to need its own board port. Signed-off-by: Harald Krapfenbauer Signed-off-by: Mike Frysinger commit c4db335c2e0805e1ce4c33d278b77492c0812353 Author: Robin Getz Date: Mon Aug 17 15:23:02 2009 +0000 Blackfin: change global data register from P5 to P3 Since the Blackfin ABI favors higher scratch registers by default, use the last scratch register (P3) for global data rather than the first (P5). This allows the compiler's register allocator to use higher number scratch P registers, which in turn better matches the Blackfin instruction set, which reduces the size of U-Boot by more than 1024 bytes... Signed-off-by: Robin Getz Signed-off-by: Mike Frysinger commit 574b70df03fba0ea635e2fe71fbd7b97d19b706a Author: Robin Getz Date: Tue Aug 11 14:20:13 2009 +0000 Blackfin: enable more network commands for ADI dev boards Add dns and ntp to default networking commands, and ask for more dhcp options to better configure the network environment. Signed-off-by: Robin Getz Signed-off-by: Mike Frysinger commit aa7b248a05323d4720969227603e39a22777ed95 Author: Michael Hennerich Date: Thu Jun 18 09:12:50 2009 +0000 Blackfin: bf537-stamp: comment CF-Flash Card Support better Signed-off-by: Michael Hennerich Signed-off-by: Mike Frysinger commit 69c6d268a29cf6d61e096d815abf5abf24136f45 Author: Robin Getz Date: Fri Jul 10 18:37:15 2009 +0000 Blackfin: use +(filesize) to make sure we are only doing what is necessary Signed-off-by: Robin Getz Signed-off-by: Mike Frysinger commit 2dc851e3b0f07a56f83060f13882ff4b62cf5112 Author: Albin Tonnerre Date: Thu Aug 20 16:04:49 2009 +0200 Support for the Calao TNY-A9260/TNY-A9G20 boards The Calao TNY-A9260 and TNY-9G20 are boards manufactured and sold by Calao Systems . Their components are very similar to the AT91SAM9260EK board, so their configuration is based on the configuration of this board. There are however some differences: different clocks, no LCD, no ethernet. They also can use SPI EEPROM to store the environment. Signed-off-by: Albin Tonnerre Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 49d2cb4d6153a6c18249dccb5de5cffeb261a61c Author: Prafulla Wadaskar Date: Thu Aug 20 20:59:28 2009 +0530 arm: Kirkwood: add SYSRSTn Duration Counter Support This feature can be used to trigger special command "sysrstcmd" using reset key long press event and environment variable "sysrstdelay" is set (useful for reset to factory or manufacturing mode execution) Kirkwood SoC implements a hardware-based SYSRSTn duration counter. When SYSRSTn is asserted low, a SYSRSTn duration counter is running. The counter value is stored in the SYSRSTn Length Counter Register The counter is based on the 25-MHz reference clock (40ns) It is a 29-bit counter, yielding a maximum counting duration of 2^29/25 MHz (21.4 seconds). When the counter reach its maximum value, it remains at this value until counter reset is triggered by setting bit 31 of KW_REG_SYSRST_CNT Implementation: Upon long reset assertion (> ${sysrstdelay} in secs) sysrstcmd will be executed if pre-defined in environment variables. This feature will be disabled if "sysrstdelay" variable is unset. for-ex. setenv sysrst_cmd "echo starting factory reset; nand erase 0xa0000 0x20000; echo finish ed sysrst command;" will erase particular nand sector if triggered by this event Signed-off-by: Prafulla Wadaskar commit 9453967e28c5e3abbf856f95735ea69bae1e77fa Author: Albin Tonnerre Date: Mon Aug 24 18:03:26 2009 +0200 Add support for the Calao SBC35-A9G20 board The Calao SBC35-A9G20 board is manufactured and sold by Calao Systems . It is built around an AT91SAM9G20 ARM SoC running at 400MHz. It features an Ethernet port, an SPI RTC backed by an onboard battery , an SD/MMC slot, a CompactFlash slot, 64Mo of SDRAM, 256Mo of NAND flash, two USB host ports, and an USB device port. More informations can be found at Signed-off-by: Albin Tonnerre commit 10bc241dfc15a0820d9c52469173b7ccafec0b84 Author: Ilya Yanok Date: Tue Aug 11 02:32:09 2009 +0400 imx27lite: add support for imx27lite board from LogicPD This patch adds support for i.MX27-LITEKIT development board from LogicPD. This board uses i.MX27 SoC and has 2MB NOR flash, 64MB NAND flash, FEC ethernet controller integrated into i.MX27. Signed-off-by: Ilya Yanok Acked-by: Wolfgang Denk commit 50b5fff55827946c86a60db8b21a9358be720666 Author: Albin Tonnerre Date: Tue Sep 1 11:26:20 2009 +0200 at91sam9260/afeb9260: Fix SPI initialization Commit 7ebafb7ec1a0285af8380623c009576f92583b98 introduced a mistake in the spi init function call for those boards. This patch fixes this. Signed-off-by: Albin Tonnerre commit f3d4f8870e69e0fd177397778d97d0751bbd020a Author: Simon Kagstrom Date: Tue Aug 18 11:13:44 2009 +0200 Remove duplicate set_cr Remove duplicate set_cr set_cr is defined in both asm-arm/proc-armv/system.h and include/asm-arm/system.h. This patch removes it (and some duplicate defines) from the former. Signed-off-by: Simon Kagstrom commit 3d35d87d5482de23cd5dc4d7721b1086107cae50 Author: Wolfgang Denk Date: Mon Aug 31 19:57:42 2009 +0200 Prepare 2009.08 Update CHANGELOG Signed-off-by: Wolfgang Denk commit 632a6dd0b612eb7b143f789f2a0273917468c041 Author: Andre Schwarz Date: Mon Aug 31 16:18:24 2009 +0200 Add common code dir for Matrix Vision boards. This fixes current build failure. Signed-off-by: Andre Schwarz mvblm7.c: fix warning: implicit declaration of function 'mv_reset_environment' Signed-off-by: Wolfgang Denk commit 52f6c34c85d6c16f2a41433b5000490ecf374992 Author: David Brownell Date: Sun Aug 30 11:05:29 2009 -0700 bugfix CONFIG_SYS_CONSOLE_INFO_QUIET The "console: unify printing current devices" patch goofed: CONFIG_SYS_CONSOLE_INFO_QUIET is supposed to *REMOVE* boot time noise, not add it. Said patch changed the #ifndefs to #ifdef; this one restores them to the proper sense. Signed-off-by: David Brownell commit 2d04db088e6df8a008bb09f604876a45031df93b Author: Timur Tabi Date: Fri Aug 28 16:56:45 2009 -0500 fsl: simplify the "mac id" command, improve boot-time informational message The "mac id" command took a 4-character parameter as the identifier string. However, for any given board, only one kind of identifier is acceptable, so it makes no sense to ask the user to type it in. Instead, if the user enters "mac id", the identifier (and also the version, if it's NXID) will automatically be set to the correct value. Improve the message that is displayed when EEPROM is read during boot. It now displays "EEPROM:" and then either an error message or the EEPROM identifier if successful. If the identifier in EEPROM is valid, then always reject a bad CRC, even if the CRC field has not been initialized. Don't force the MAC address count to MAX_NUM_PORTS or less. Forcing the value to be changed resulting in an in-memory copy that does not match what's in hardware, even though the user did not request that change. Finally, always update the CRC value in the in-memory copy after any field is changed, so that the CRC is always correct. Signed-off-by: Timur Tabi Signed-off-by: Kumar Gala commit 33f3f34255bd7cf0be502275c59f0ff22dc50080 Author: Poonam Aggrwal Date: Fri Aug 21 07:29:58 2009 +0530 85xx: Added PCIe support for P1 P2 RDB Call fsl_pci_init_port() to initialize all the PCIe ports on the board. Signed-off-by: Poonam Aggrwal Signed-off-by: Kumar Gala commit 0d3d68b25a8e7790f58530ddccbd61f9fc0245ef Author: Poonam Aggrwal Date: Fri Aug 21 07:29:42 2009 +0530 driver/fsl_pci: Add fsl_pci_init_port function to initialize a PCI controller fsl_pci_init_port can be called from board specific PCI initialization routines to setup the PCI (or PCIe) controller. This will reduce code redundancy in most of the 85xx/86xx FSL board ports that setup PCI. Signed-off-by: Poonam Aggrwal Signed-off-by: Kumar Gala commit 05f6f66474312ad03c39b4ca4875af46c87366bf Author: Timur Tabi Date: Thu Aug 20 17:41:11 2009 -0500 85xx: Improve MPIC initialization The MPIC initialization code for Freescale e500 CPUs was not using I/O accessors, and it was not issuing a read-back to the MPIC after setting mixed mode. This may be the cause of a spurious interrupt on some systems. Signed-off-by: Timur Tabi Signed-off-by: Kumar Gala commit c17b79fbd0c7923948331d65cb588734a9c681ff Author: Poonam Aggrwal Date: Thu Aug 20 18:59:18 2009 +0530 85xx: Added support for P1011RDB and P2010RDB P1011 and P2010 are single core variants of P1010 and P2020 respectively. The board(RDB) will be same. Signed-off-by: Poonam Aggrwal Signed-off-by: Kumar Gala commit a713ba926b45da9a6f923f1ac9e60a66852e5f2d Author: Poonam Aggrwal Date: Thu Aug 20 18:57:45 2009 +0530 85xx: Added single core members of FSL P1xx/P2xx processors series P1011 - Single core variant of P1020 P2010 - Single core variant of P2020 Signed-off-by: Poonam Aggrwal Signed-off-by: Kumar Gala commit bf488bc0949fc900d1296a7f35a38a6a28cb5fab Author: Poonam Aggrwal Date: Thu Aug 20 18:57:02 2009 +0530 85xx: P1020RDB Support Added Signed-off-by: Poonam Aggrwal Signed-off-by: Kumar Gala commit 3b1f243b8dad30a646a0f056b0268519eadbc3c5 Author: Poonam Aggrwal Date: Thu Aug 20 18:55:35 2009 +0530 85xx: Added CONFIG_MAX_CPUS for P1020 Signed-off-by: Poonam Aggrwal Signed-off-by: Kumar Gala commit 76b474e2f5a223fcabfeaa4f1c8fb699062b986c Author: Mingkai Hu Date: Tue Aug 18 15:37:15 2009 +0800 85xx: Add L2SRAM Register's macro definition Signed-off-by: Mingkai Hu Signed-off-by: Kumar Gala commit 158c6724c99368a4d8eef11ee7e3c7ad0ef03a15 Author: Felix Radensky Date: Sat Aug 15 15:08:37 2009 +0300 85xx: Fix memory test range on MPC8536DS With current values of CONFIG_SYS_MEMTEST_START and CONFIG_SYS_MEMTEST_END memory test hangs if run without arguments. Set them to sane values, so that all available 512MB of RAM excluding exception vectors at the bottom and u-boot code and stack at the top can be tested. Signed-off-by: Felix Radensky Signed-off-by: Kumar Gala commit ef41f2a25c554604156b59f5945feadae2f3cb55 Author: Kumar Gala Date: Wed Aug 12 00:10:44 2009 -0500 85xx: Removed BEDBUG support on P1_P2_RDB To match all other 85xx platforms we are removing BEDBUG support. Signed-off-by: Kumar Gala commit b560ab85edfb68da653bf2527c390c3e182392a1 Author: Kumar Gala Date: Sat Aug 8 10:42:30 2009 -0500 85xx: Init pci ethernet cards if we enable any on MPC8572DS Signed-off-by: Kumar Gala commit 1bb61b69f7aba4931ede35fdcabd8e5ecad121d7 Author: Peter Tyser Date: Fri Aug 7 13:16:34 2009 -0500 xes: Use proper IO access functions Also fix some minor whitespace oddities while we're cleaning up Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit ec79d33b2c41ee8b6d1354cc0910217b769c5036 Author: Kumar Gala Date: Fri Aug 7 13:00:55 2009 -0500 85xx: Move to a common linker script There are really no differences between all the 85xx linker scripts so we can just move to a single common one. Board code is still able to override the common one if need be. Signed-off-by: Kumar Gala commit 87c7661b42aa7672539b54b51d3d5c4013ec6f6c Author: Poonam Aggrwal Date: Fri Jul 31 12:08:27 2009 +0530 85xx: Added P1020 Processor Support. P1020 is another member of QorIQ series of processors which falls in ULE category. It is an e500 based dual core SOC. Being a scaled down version of P2020 it has following differences: - 533MHz - 800MHz core frequency. - 256Kbyte L2 cache - Ethernet controllers with classification capabilities. Also the SOC is pin compatible with P2020 Signed-off-by: Poonam Aggrwal Signed-off-by: Kumar Gala commit 728ece343e8bb2a66ee977c49d455439e3b28da9 Author: Poonam Aggrwal Date: Wed Aug 5 13:29:24 2009 +0530 85xx: Add support for P2020RDB board The code base adds P1 & P2 RDB platforms support. The folder and file names can cater to future SOCs of P1/P2 family. P1 & P2 processors are 85xx platforms, part of Freescale QorIQ series. Tested following on P2020RDB: 1. eTSECs 2. DDR, NAND, NOR, I2C. Signed-off-by: Poonam Aggrwal Signed-off-by: Kumar Gala commit 0e870980a64584a591af775bb9c9fe9450124df9 Author: Poonam Aggrwal Date: Fri Jul 31 12:08:14 2009 +0530 8xxx: Removed CONFIG_NUM_CPUS from 85xx/86xx The number of CPUs are getting detected dynamically by checking the processor SVR value. Also removed CONFIG_NUM_CPUS references from all the platforms with 85xx/86xx processors. This can help to use the same u-boot image across the platforms. Also revamped and corrected few Freescale Copyright messages. Signed-off-by: Poonam Aggrwal Signed-off-by: Kumar Gala commit 18bacc2027f8531d8dec15ba8da3242dfb4e63f3 Author: Poonam Aggrwal Date: Fri Jul 31 12:07:45 2009 +0530 8xxx: Refactored common cpu specific code for 85xx/86xx into one file. Removed same code pieces from cpu/mpc85xx/cpu.c and cpu/mpc86xx/cpu.c and moved to cpu/mpc8xxx/cpu.c(new file) Signed-off-by: Poonam Aggrwal Signed-off-by: Kumar Gala commit 7b18c227b847e4782eb1492219ebd555f521b08b Author: Alex Dubov Date: Fri Aug 7 15:28:32 2009 +1000 stx: create common vendor/board hierarchy for STx boards Move files belonging to the STx boards into common vendor directory and update the Makefile to reflect this. Signed-off-by: Alex Dubov Signed-off-by: Kumar Gala commit bafdf9aa9dbb69d937b72db17ed5800998c59523 Author: Peter Tyser Date: Tue Aug 4 17:38:00 2009 -0500 85xx: Remove unused CONFIG_CLEAR_LAW0 defines Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit 73aacc522849486b60a5611f678f0bf1c3053779 Author: Kumar Gala Date: Thu Aug 6 18:38:43 2009 -0500 86xx: Remove redudant PLATFORM_CPPFLAGS For historic reasons we had defined some additional PLATFORM_CPPFLAGS like: PLATFORM_CPPFLAGS += -DCONFIG_MPC86xx=1 PLATFORM_CPPFLAGS += -DCONFIG_MPC8641=1 However these are all captured in the config.h and thus redudant. Also moved common 86xx flags into cpu/mpc86xx/config.mk. Signed-off-by: Kumar Gala commit 53efa1f1acacacb76fa9a21b09b3294783a11c03 Author: Kumar Gala Date: Thu Aug 6 18:28:34 2009 -0500 85xx: Remove redudant PLATFORM_CPPFLAGS For historic reasons we had defined some additional PLATFORM_CPPFLAGS like: PLATFORM_CPPFLAGS += -DCONFIG_E500=1 PLATFORM_CPPFLAGS += -DCONFIG_MPC85xx=1 PLATFORM_CPPFLAGS += -DCONFIG_MPC8548=1 However these are all captured in the config.h and thus redudant. Signed-off-by: Kumar Gala commit 337f9fde2e9317c1d9e85a4a8955a2f14730a00f Author: Kumar Gala Date: Thu Jul 30 15:54:07 2009 -0500 85xx: Add a 36-bit physical configuration for MPC8536DS We move all IO addressed (CCSR, localbus, PCI) above the 4G boundary to allow for larger memory sizes. Signed-off-by: Kumar Gala Acked-by: Wolfgang Denk Signed-off-by: Kumar Gala commit ecead84d56b0ced67b727f5ce21ba08c53b5f09e Author: Kumar Gala Date: Tue Aug 4 09:10:03 2009 -0500 85xx: Cleanup whitespace in mpc8536ds.c Signed-off-by: Kumar Gala commit ad19e7a5d2de337064ce7728d6504df9648f5d31 Author: Kumar Gala Date: Wed Aug 5 07:59:35 2009 -0500 pci/fsl_pci_init: Rework PCI ATMU setup to handle >4G of memory The old PCI ATMU setup code would just mimic the PCI regions into the ATMU registers. For simple memory maps in which all memory, MMIO, etc space fit into 4G this works ok. However there are issues with we have >4G of memory as we know can't access all of memory and we need to ensure that PCICSRBAR (PEXCSRBAR on PCIe) isn't overlapping with anything since we can't turn it off. We first setup outbound windows based on what the board code setup in the pci regions for MMIO and IO access. Next we place PCICSRBAR below the MMIO window. After which we try to setup the inbound windows to map as much of memory as possible. On PCIe based controllers we are able to overmap the ATMU setup since RX & TX links are separate but report the proper amount of inbound address space to the region tracking to ensure there is no overlap. On PCI based controllers we use as many inbound windows as available to map as much of the memory as possible. Additionally we changed all the CCSR register access to use proper IO accessor functions. Also had to add CONFIG_SYS_CCSRBAR_PHYS to some 86xx platforms that didn't have it defined. Signed-off-by: Kumar Gala commit 8295b94400449586505ffe34ec024feb3d2c8fe4 Author: Kumar Gala Date: Wed Aug 5 07:49:27 2009 -0500 pci/fsl_pci_init: Use PCIe capability to determine if controller is PCIe Change the code to use the PCIe capabilities register to determine if we are a PCIe controller or not. Additionally cleaned up some white space and formatting in the file. Signed-off-by: Kumar Gala commit cb151aa2cf5fbb1e412fc763a3a611758f066238 Author: Kumar Gala Date: Mon Aug 3 21:02:02 2009 -0500 pci/fsl_pci_init: Fold fsl_pci_setup_inbound_windows into fsl_pci_init Every platform that calls fsl_pci_init calls fsl_pci_setup_inbound_windows before it calls fsl_pci_init. There isn't any reason to just call it from fsl_pci_init and simplify things a bit. Signed-off-by: Kumar Gala commit fb3143b35eb5890ec72e79d17a6068a84a057d47 Author: Kumar Gala Date: Mon Aug 3 20:44:55 2009 -0500 pci/fsl_pci_init: Fold pci_setup_indirect into fsl_pci_init Every platform that calls fsl_pci_init calls pci_setup_indirect before it calls fsl_pci_init. There isn't any reason to just call it from fsl_pci_init and simplify things a bit. Signed-off-by: Kumar Gala commit 28887d831b02c66ccc10d7f1379204b5a62f4543 Author: André Schwarz Date: Thu Aug 27 14:48:35 2009 +0200 Use common code for Matrix Vision boards Clean up existing boards (mvBC-P/MPC5200 and mvBL-M7/MPC8343) by using common code. Signed-off-by: André Schwarz commit 05f91a65abc3180e2896cd8ddee7a34b1d1ce6e0 Author: Kim Phillips Date: Wed Aug 26 21:27:37 2009 -0500 mpc83xx: mpc8349itx - accommodate larger kernel sizes & unzero the bootdelay apparently the ITX was missed last round. Also make bootdelay consistent with other boards, so as to give on the opportunity to fix mistakenly set bootcmd without having checked for an bootdelay zero setting first. Signed-off-by: Kim Phillips commit cc861f7127f200e704baaf061a7f508e3c93f2a3 Author: Kim Phillips Date: Wed Aug 26 21:25:46 2009 -0500 mpc83xx: match dtb filename references to their dts equivalents in the linux kernel Signed-off-by: Kim Phillips commit 77b351cd0f20483eefa09bebebb3e0cbf5555b2c Author: Sandeep Paulraj Date: Tue Aug 18 10:10:42 2009 -0400 NAND: DaVinci: V2 Adding 4 BIT ECC support This patch adds 4 BIT ECC support in the DaVinci NAND driver. Tested on both the DM355 and DM365. Signed-off-by: Sandeep Paulraj Signed-off-by: Scott Wood commit f83b7f9e8a5d1334e24506ea5953dd871596ea8a Author: Sandeep Paulraj Date: Mon Aug 10 13:27:56 2009 -0400 MTD:NAND: ADD new ECC mode NAND_ECC_HW_OOB_FIRST This patch adds the new mode NAND_ECC_HW_OOB_FIRST in the nand code to support 4-bit ECC on TI DaVinci devices with large page (up to 2K) NAND chips. This ECC mode is similar to NAND_ECC_HW, with the exception of read_page API that first reads the OOB area, reads the data in chunks, feeds the ECC from OOB area to the ECC hw engine and perform any correction on the data as per the ECC status reported by the engine. This patch has been accepted by Andrew Morton and can be found at http://userweb.kernel.org/~akpm/mmotm/broken-out/mtd-nand-add-new-ecc-mode-ecc_hw_oob_first.patch Signed-off-by: Sandeep Paulraj Signed-off-by: Sneha Narnakaje Signed-off-by: Scott Wood commit 36fab997d85d89ee7fd2c7fd6057fab786d556aa Author: Ilya Yanok Date: Tue Aug 11 02:32:54 2009 +0400 mxc_nand: add nand driver for MX2/MX3 Driver for NFC NAND controller found on Freescale's MX2 and MX3 processors. Ported from Linux. Tested only with i.MX27 but should works with other MX2 and MX3 processors too. Signed-off-by: Ilya Yanok Signed-off-by: Scott Wood commit a2c65b47effcb3d0aa23e58596538acd338ac7c5 Author: Sandeep Paulraj Date: Mon Aug 10 13:27:46 2009 -0400 NAND: ADD page Parameter to all read_page/read_page_raw API's This patch adds a new "page" parameter to all NAND read_page/read_page_raw APIs. The read_page API for the new mode ECC_HW_OOB_FIRST requires the page information to send the READOOB command and read the OOB area before the data area. This patch has been accepted by Andrew Morton and can be found at http://userweb.kernel.org/~akpm/mmotm/broken-out/mtd-nand-add-page-parameter-to-all-read_page-read_page_raw-apis.patch WE would like this to become part of the u-boot GIT as well Signed-off-by: Sandeep Paulraj Signed-off-by: Sneha Narnakaje Signed-off-by: Scott Wood commit de4250929f37e6c16860741b74546bedbe0bdaba Author: Heiko Schocher Date: Tue Jul 21 17:13:40 2009 +0200 83xx, kmeter1: added NAND support Signed-off-by: Heiko Schocher Signed-off-by: Scott Wood commit ecad289fc6bd9d89ef4d5093cc7b6fd712fd0d29 Author: Kyungmin Park Date: Tue Jul 21 11:58:04 2009 +0900 OneNAND: Remove unused read_spareram Remove unused read_spareram and add unlock_all as kernel does Signed-off-by: Kyungmin Park Signed-off-by: Scott Wood commit 403ce1f759b5acec8514cd7e10ce76704fed519c Author: Matthias Kaehlcke Date: Thu Jul 16 21:19:29 2009 +0200 KB9202: Add NAND support Add KB9202 NAND driver Signed-off-by: Matthias Kaehlcke Signed-off-by: Scott Wood commit ce3277a6f2c082f39596d3d3d88dd0a5bc91439d Author: Kyungmin Park Date: Tue Jul 21 11:58:04 2009 +0900 OneNAND: Remove unused read_spareram Remove unused read_spareram and add unlock_all as kernel does Signed-off-by: Kyungmin Park commit 0d042037b3cf8693ea0f793d0c292430bfc5a95c Author: Eric Millbrandt Date: Tue Aug 25 10:30:26 2009 -0500 galaxy5200: Cleanup typo and trailing whitespace Signed-off-by: Eric Millbrandt commit f6a309080b2da9e509b5ee8d091dca5e175415b7 Author: TsiChung Liew Date: Wed Jul 22 18:42:45 2009 +0000 ColdFire: Fix compile warning messages Change %08lX to %08X in board.c. Remove unused variable 'oscillator' in mcf5227x/cpu_init.c and 'scm2' in mcf532x/cpu_init.c. Provide argument type cast in drivers/dma/MCD_dmaApi.c. Signed-off-by: TsiChung Liew commit 88c811b153771a3d1bfe958297c69722efb278e9 Author: TsiChung Liew Date: Wed Jul 22 16:32:39 2009 +0000 ColdFire: Fix missing _IO_BASE which caused compile error The compile error was caused by a recent patch. Affected platforms - M5253DEMO.h, M5253EVBE.h, and M54455EVB.h. Adding the _IO_BASE automatically defined to 0 in asm-m68k/io.h if it isn't set in platform configuration file. Signed-off-by: TsiChung Liew commit 3a7b2c21fb08b022e3e624cd071002b4aaed1606 Author: Niklaus Giger Date: Wed Jul 22 17:13:24 2009 +0200 Support up to 7 banks for ids as specified in JEDEC JEP106Z see http://www.jedec.org/download/search/jep106Z.pdf Add some second source legacy flash chips 256x8. Signed-off-by: Niklaus Giger Signed-off-by: Stefan Roese commit 0d071cdd782e917b43e04869843df31670231ffd Author: Kim Phillips Date: Mon Aug 24 14:32:26 2009 -0500 net: tsec - handle user interrupt while waiting for PHY auto negotiation to complete if you don't have firmware installed for the PHY to come to life, this wait can be painful - let's give the option to avoid it if we want. Signed-off-by: Kim Phillips Acked-by: Andy Fleming Signed-off-by: Ben Warren commit 4fccb818e7ee1190602e79aa5729a23bc349bf0c Author: Robin Getz Date: Thu Aug 20 10:50:20 2009 -0400 Add Transfer Size Option to tftp Optionally add RFC 2349 "Transfer Size Option", so we can minimize the time spent sending data over the UART (now print a single line during a tftp transfer). - If turned on (CONFIG_TFTP_TSIZE), U-Boot asks for the size of the file. - if receives the file size, a single line (50 chars) are printed. one hash mark == 2% of the file downloaded. - if it doesn't receive the file size (the server doesn't support RFC 2349, prints standard hash marks (one mark for each UDP frame). Signed-off-by: Robin Getz Signed-off-by: Ben Warren commit 488feef85229c08cd3aa1fa183bc8f483d2ae832 Author: Robin Getz Date: Mon Aug 24 10:33:39 2009 -0400 Add debug message for Blackfin Ethernet Rx function. Add a simple print for the Blackfin's Ethernet Rx function, so we can debug incomming Ethernet functions easier. Signed-off-by: Robin Getz Signed-off-by: Ben Warren commit b1c0eaac110bc919e5b4e88821348e714493f266 Author: Ben Warren Date: Tue Aug 25 13:09:37 2009 -0700 Convert CS8900 Ethernet driver to CONFIG_NET_MULTI API All in-tree boards that use this controller have CONFIG_NET_MULTI added Also: - changed CONFIG_DRIVER_CS8900 to CONFIG_CS8900 - changed CS8900_BASE to CONFIG_CS8900_BASE - changed CS8900_BUS?? to CONFIG_CS8900_BUS?? - cleaned up line lengths - modified VCMA9 command function that accesses the device - removed MAC address initialization from lib_arm/board.c Signed-off-by: Ben Warren Tested-by: Wolfgang Denk Acked-by: Wolfgang Denk commit d47628a6ecf80cd4584a50b6c795b90c985a48e5 Author: Alessandro Rubini Date: Fri Aug 7 13:59:26 2009 +0200 arm nomadik: activate defrag choose 4k transfer block size This chooses 4kB data size for both TFTP and NFS, as an example about how to use support for IP fragments. Signed-off-by: Alessandro Rubini Signed-off-by: Ben Warren commit bd931ca61c84039241d438ade4a9755ae0e5372f Author: Alessandro Rubini Date: Fri Aug 7 13:59:16 2009 +0200 nfs: accept CONFIG_NFS_READ_SIZE from config file To take advantage of defragmented packets, the config file can define CONFIG_NFS_READ_SIZE to override the 1kB default. No support is there for an environment variable by now. Signed-off-by: Alessandro Rubini Signed-off-by: Ben Warren commit 89ba81d1079a07b8430a98c1746c6d411312eb0d Author: Alessandro Rubini Date: Fri Aug 7 13:59:06 2009 +0200 tftp: get the tftp block size from config file and from the environment Increasing the block size is useful if CONFIG_IP_DEFRAG is used. Howerver, the last fragments in a burst may overflow the receiving ethernet, so the default is left at 1468, with thre new CONFIG_TFTP_BLOCKSIZE for config files. Further, "tftpblocksize" can be set in the environment. Signed-off-by: Alessandro Rubini Signed-off-by: Ben Warren commit 5cfaa4e54d0eb8232fa1cf092d955fdaed5b673d Author: Alessandro Rubini Date: Fri Aug 7 13:58:56 2009 +0200 net: defragment IP packets The defragmenting code is enabled by CONFIG_IP_DEFRAG; the code is useful for TFTP and NFS transfers. The user can specify the maximum defragmented payload as CONFIG_NET_MAXDEFRAG (default 16k). Since NFS has a bigger per-packet overhead than TFTP, the static reassembly buffer can hold CONFIG_NET_MAXDEFRAG + the NFS overhead. The packet buffer is used as an array of "hole" structures, acting as a double-linked list. Each new fragment can split a hole in two, reduce a hole or fill a hole. No support is there for a fragment overlapping two diffrent holes (i.e., thre new fragment is across an already-received fragment). Signed-off-by: Alessandro Rubini Signed-off-by: Ben Warren commit 68e74567cf317318df52dbcb2ac170ffc5e7758a Author: Feng Kan Date: Fri Aug 21 10:59:42 2009 -0700 ppc4xx: Fix ECC Correction bug with SMC ordering for NDFC driver Fix ECC Correction bug where the byte offset location were double flipped causing correction routine to toggle the wrong byte location in the ECC segment. The ndfc_calculate_ecc routine change the order of getting the ECC code. /* The NDFC uses Smart Media (SMC) bytes order */ ecc_code[0] = p[2]; ecc_code[1] = p[1]; ecc_code[2] = p[3]; But in the Correction algorithm when calculating the byte offset location, the s1 is used as the upper part of the address. Which again reverse the order making the final byte offset address location incorrect. byteoffs = (s1 << 0) & 0x80; . . byteoffs |= (s0 >> 4) & 0x08; The order is change to read it in straight and let the correction function to revert it to SMC order. Signed-off-by: Feng Kan Acked-by: Victor Gallardo Acked-by: Prodyut Hazarika Signed-off-by: Stefan Roese commit 307ecb6db04eebdc06b8c87d48bf48d3cbd5e9d7 Author: Eric Millbrandt Date: Thu Aug 13 08:32:37 2009 -0500 Add support for USB on PSC3 for the mpc5200 Support USB on PSC3 on the mpc5200. Before this patch, enabling USB support would reconfigure PSC4 and PSC5 to USB. The mpc5200 does not support USB enabled on both the standard USB port and PSC3. This patch masks the appropriate bits when enabling USB. Signed-off-by: Eric Millbrandt Acked-by: Grant Likely Acked-by: Remy Bohmer commit 6b8548b0f7068379ad1efa4fa28725f361b2d3cd Author: Albin Tonnerre Date: Thu Aug 13 19:12:44 2009 +0200 Add driver for the ST M41T94 SPI RTC This RTC is used in some Calao boards. The driver code is taken from the linux rtc-m41t94 driver Signed-off-by: Albin Tonnerre commit 885fc78c28fbe773bcb4edc9dd0fdac05ebb5b38 Author: Albin Tonnerre Date: Thu Aug 13 15:31:12 2009 +0200 Switch from per-driver to common definition of bin2bcd and bcd2bin Signed-off-by: Albin Tonnerre Acked-by: Stefan Roese commit e84aba135ed7145299304ef550e92f08b2c99d7a Author: Albin Tonnerre Date: Thu Aug 13 15:31:11 2009 +0200 Replace BCD2BIN and BIN2BCD macros with inline functions In the process, also remove backward-compatiblity macros BIN_TO_BCD and BCD_TO_BIN and update the sole board using them to use the new bin2bcd and bcd2bin instead Signed-off-by: Albin Tonnerre Acked-by: Stefan Roese Acked-by: Detlev Zundel commit 5b53b29bc2e82b80b669f1d2402068c60d7fecd0 Author: Eric Millbrandt Date: Thu Aug 13 10:14:21 2009 -0500 Add support for the galaxy5200 Add support for the DEKA Research and Development galaxy5200 board The galaxy5200 is an Freescale mpc5200 based embedded industrial control board. Signed-off-by: Eric Millbrandt commit 0a9e4e772123fe3e2bb499d7d2160c4cfd8a3a8d Author: Mike Frysinger Date: Fri Jul 24 16:34:32 2009 -0400 unify {CONFIG_,}ENV_IS_EMBEDDED Some boards have fallen out of sync by defining CONFIG_ENV_IS_EMBEDDED manually. While it is useful to have this available to the build system, let's do it automatically rather than forcing people to opt into it. Signed-off-by: Mike Frysinger Signed-off-by: Albin Tonnerre Signed-off-by: Wolfgang Denk commit 02c9aa1d41f73fdcf8383a36cc0cbbfaf952855d Author: Robin Getz Date: Mon Jul 27 00:07:59 2009 -0400 Add md5sum and sha1 commands... Now that we have sha1 and md5 in lib_generic, allow people to use them on the command line, for checking downloaded files. Signed-off-by: Robin Getz commit 30fc5cd3116cb112d0aab7e6d7c8eef1b67ed075 Author: Wolfgang Denk Date: Tue Aug 25 12:22:38 2009 +0200 include/s3c24x0.h: fix S3C24X0_SPI_CHANNEL declaration The SPI controller on the S3C24X0 has 8 bit registers, not 32 bit. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Wolfgang Denk commit e637385e69f63bc73b9dfd2ddd8d0f383790ca28 Author: Mike Frysinger Date: Thu Aug 20 19:17:59 2009 -0400 Blackfin: fix typos in gpio comments Signed-off-by: Mike Frysinger commit c2fbcb6ae86c10621a386c13be57eaa766221ed5 Author: Harald Krapfenbauer Date: Tue Aug 18 04:49:57 2009 -0400 Blackfin: cm-bf527/cm-bf537: increase flash sectors Newer revisions of these boards have slightly larger flashes, so increase the configured number of sectors so that U-Boot works on all revisions. Signed-off-by: Harald Krapfenbauer Signed-off-by: Mike Frysinger commit a794f59a75bf9fd4a44f1ad2349cae903c42b89c Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Aug 23 14:14:52 2009 +0200 sh/rsk7203: add missing include net.h Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 6ac9f47977a9fc1876979871eeb14f26ba1bdbe6 Author: Mike Frysinger Date: Sun Aug 23 02:47:59 2009 -0400 start a linker script helper file Start a common header file for common linker script code (such as workarounds for older linkers) rather than doing this in the build system. As fallout, we no longer execute the linker every time config.mk is included by a build file (which can easily be 70+ times), but rather only execute it once. This also fixes a bug in the major version checking by creating a macro to easily compare versions and keep people from making the same common mistake (forgetting to check major and minor together). Signed-off-by: Mike Frysinger commit 2ed0869d30602eb660569eababb8fedff36bd23a Author: Mike Frysinger Date: Sat Aug 22 19:50:22 2009 -0400 Blackfin: use common code to preprocess linker script Now that the common code preprocesses the linker script, the Blackfin code no longer needs to do it. Signed-off-by: Mike Frysinger commit 4d3758c835c7e96da2a291e7fb5acfc19bc06e8e Author: Mike Frysinger Date: Sat Aug 22 19:48:56 2009 -0400 .gitignore: ignore generated u-boot.lds Signed-off-by: Mike Frysinger commit 79b91de958511840d2a7491be92d435b7ef43f17 Author: Albin Tonnerre Date: Sat Aug 22 14:21:53 2009 +0200 include/mmc.h: Fix typo in IS_SD() macro Signed-off-by: Albin Tonnerre commit 963f2f611741f8d9c38bd7caf20ae8c95cab7b3f Author: Wolfgang Denk Date: Sat Aug 22 23:27:26 2009 +0200 Prepare 2009.08-rc3 Update CHANGELOG, minor Coding Style cleanup. Signed-off-by: Wolfgang Denk commit 5b2da6a309266f21cbb68f06fcfdf9ba141022e7 Author: Michal Simek Date: Fri Aug 21 06:52:25 2009 +1000 qemu-mips: Fix Qemu website Signed-off-by: Michal Simek Signed-off-by: Michal Simek Acked-by: Shinya Kuribayashi commit 79f516bccc3cff5a5cd4b3dffb7d254e746fdbde Author: Kim Phillips Date: Fri Aug 21 16:34:38 2009 -0500 mpc83xx: accommodate larger kernel sizes by default linux mpc83xx_defconfig kernels are getting bigger, accommodate for their growth by adjusting default load and fdt addresses. Signed-off-by: Kim Phillips commit 8eceeb7fd656d6d071c0a8b615e178aca5775fff Author: Kim Phillips Date: Fri Aug 21 16:33:15 2009 -0500 mpc83xx: mpc8377erdb - change DDR settings to those from latest bsp when using Linus' 83xx_defconfig, the mpc8377rdb would hang at boot at either: NET: Registered protocol family 16 or the io scheduler cfq registered message. Fixing up these DDR settings appears to fix the problem. Signed-off-by: Kim Phillips commit 27c5248dd4c9ba4a36899689595956c5e59e349a Author: Kim Phillips Date: Fri Aug 21 16:31:20 2009 -0500 mpc83xx: tqm8349 - remove pci & flash window conflict commit 9993e196da707a0a1cd4584f1fcef12382c1c144 "mpc83xx: convert all remaining boards over to 83XX_GENERIC_PCI" remapped pci windows on tqm834x to make it more consistent with the other 83xx boards. During that time however, the author failed to realize that FLASH_BASE was occupying the same range as what PCI1_MEM_BASE was being assigned. Signed-off-by: Kim Phillips Tested-by: Wolfgang Denk commit 6d2c26ac831f033b0025cfb256365a047f8dd115 Author: Heiko Schocher Date: Fri Aug 21 16:30:30 2009 -0500 mpc83xx: add missing CSCONFIG_ODT_WR_CFG for 832x CPUs Signed-off-by: Heiko Schocher Signed-off-by: Kim Phillips commit 193b4cb3f641ed0fd9bb79b8fa4671882c50ffdb Author: Paul Gortmaker Date: Fri Aug 21 16:27:05 2009 -0500 mpc83xx: mpc8349 - delete unused SYS_MID_FLASH_JUMP This was introduced with the MPC8349EMDS board, and then copied to a couple other boards by nature of being the reference implementation. u-boot$git grep CONFIG_SYS_MID_FLASH_JUMP include/configs/MPC8349EMDS.h:#define CONFIG_SYS_MID_FLASH_JUMP 0x7F000000 include/configs/sbc8349.h:#define CONFIG_SYS_MID_FLASH_JUMP 0x7F000000 include/configs/vme8349.h:#define CONFIG_SYS_MID_FLASH_JUMP 0x7F000000 u-boot$ It currently isn't used, so delete it before it spreads further. Signed-off-by: Paul Gortmaker Signed-off-by: Kim Phillips commit c0d660fbbede322648ec79d3e39389e48f5fab24 Author: Paul Gortmaker Date: Fri Aug 21 16:21:58 2009 -0500 mpc83xx: sbc8349 - make enabling PCI more user friendly Prior to this commit, to enable PCI, you had to go manually edit the board config header, which isn't really user friendly. This adds the typical PCI make targets to the toplevel Makefile in accordance with what is being done with other boards. Signed-off-by: Paul Gortmaker Signed-off-by: Kim Phillips commit a3c5057a6c05b4c7235a270486220e4511366133 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri Aug 7 23:37:54 2009 +0200 eeprom_m95xxx: remove unused variable i Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 8cf19b9fec92d8aa22b2fe4b4e6976743b1daa51 Author: Ilya Yanok Date: Fri Jul 17 15:02:42 2009 +0400 jffs2: some fixes to summary support This patch fixes some issues with JFFS2 summary support in U-Boot. 1/ Summary support made compilation configurable (as summary support considered expiremental even in Linux). 2/ Summary code can do unaligned 16-bit and 32-bit memory accesses. We need to get data byte by byte to exclude data aborts. 3/ Make summary scan in two passes so we can safely fall back to full scan if we found unsupported entry in the summary. Signed-off-by: Ilya Yanok commit 11906936e168d12d684bb3d2930a62693ba3d84e Author: Prafulla Wadaskar Date: Mon Aug 10 18:55:54 2009 +0530 arm: rd6281a: Fixed NAND specific warning It is recommended to define the macro CONFIG_SYS_64BIT_VSPRINTF for NAND specific warning removal, same is done in this patch Signed-off-by: Prafulla Wadaskar commit b5ffb193330113d2e00489d96bf8ec1f541ed4e1 Author: Wolfgang Denk Date: Thu Aug 13 00:37:16 2009 +0200 TRAB: make independent of specific libgcc helper routines The TRAB board references local libgcc helper routines (lib_arm/div0.o and lib_arm/_umodsi3.o) which cause build problems when we try to use the normal, compiler provided libgcc instead. Removing these references allows to build both with and without the local libgcc helper routines. Signed-off-by: Wolfgang Denk commit 1aada9cd643567d351667138851e9231ccfa245a Author: Wolfgang Denk Date: Mon Aug 17 14:00:53 2009 +0200 Fix all linker scripts for older binutils versions (pre-2.16) Commit f62fb99941c6 fixed handling of all rodata sections by using a wildcard combined with calls to ld's builtin functions SORT_BY_ALIGNMENT() and SORT_BY_NAME(). Unfortunately these functions were only introduced with biunutils version 2.16, so the modification broke building with all tool chains using older binutils. This patch makes it work again. This is done by omitting the use of these functions for such old tool chains. This will result in slightly larger target binaries, as the rodata sections are no longer in optimal order alignment-wise which reauls in unused gaps, but the effect was found to be insignificant - especially compared to the fact that you cannot build U-Boot at all in the current state. As ld seems to have no support for conditionals we run the linker script through the C preprocessor which can be easily used to remove the unwanted function calls. Note that the C preprocessor must be run with the "-ansi" (or a "-std=") option to make sure all the system-specific predefined macros outside the reserved namespace are suppressed. Otherise, cpp might for example substitute "powerpc" to "1", thus corrupting for example "OUTPUT_ARCH(powerpc)" etc. Signed-off-by: Wolfgang Denk Cc: Mike Frysinger commit f772acf8a584067033eff1e231fcd1fb3a00d3d9 Author: Wolfgang Denk Date: Mon Aug 17 13:17:29 2009 +0200 ARM: compiler options cleanup - improve tool chain support For some time there have been repeated reports about build problems with some ARM (cross) tool chains. Especially issues about (in)compatibility with the tool chain provided runtime support library libgcc.a caused to add and support a private implementation of such runtime support code in U-Boot. A closer look at the code indicated that some of these issues are actually home-made. This patch attempts to clean up some of the most obvious problems and make building of U-Boot with different tool chains easier: - Even though all ARM systems basicy used the same compiler options to select a specific ABI from the tool chain, the code for this was distributed over all cpu/*/config.mk files. We move this one level up into lib_arm/config.mk instead. - So far, we only checked if "-mapcs-32" was supported by the tool chain; if yes, this was used, if not, "-mabi=apcs-gnu" was selected, no matter if the tool chain actually understood this option. There was no support for EABI conformant tool chains. This patch implements the following logic: 1) If the tool chain supports "-mabi=aapcs-linux -mno-thumb-interwork" we use these options (EABI conformant tool chain). 2) Otherwise, we check first if "-mapcs-32" is supported, and then check for "-mabi=apcs-gnu" If one test succeeds, we use the first found option. 3) In case 2), we also test if "-mno-thumb-interwork", and use this if the test succeeds. [For "-mabi=aapcs-linux" we set "-mno-thumb-interwork" mandatorily.] This way we use a similar logic for the compile options as the Linux kernel does. - Some EABI conformant tool chains cause external references to utility functions like raise(); such functions are provided in the new file lib_arm/eabi_compat.c Note that lib_arm/config.mk gets parsed several times, so we must make sure to add eabi_compat.o only once to the linker list. Signed-off-by: Wolfgang Denk Cc: Jean-Christophe PLAGNIOL-VILLARD Cc: Dirk Behme Cc: Magnus Lilja Cc: Tom Rix Cc: Prafulla Wadaskar Acked-by: Sergey Kubushyn Tested-by: Magnus Lilja Tested-by: Andrzej Wolski Tested-by: Gaye Abdoulaye Walsimou Tested-by: Tom Rix Tested-by: Jean-Christophe PLAGNIOL-VILLARD commit 269610f6ba2e4a7bc27d2e53d43160614016964f Author: Mingkai Hu Date: Thu Jul 30 17:56:51 2009 +0800 NAND boot: fix nand_load overlap issue The code copy data from NAND flash block by block, so when the data length isn't a whole-number multiple of the block size, it will overlap the rest space. Signed-off-by: Mingkai Hu Signed-off-by: Scott Wood commit 1fc1d9aed08f2b3366d634fda6712a710b2cff9a Author: Giulio Benetti Date: Fri Jul 31 17:30:34 2009 -0500 add WATCHDOG_RESET() on nand write and read Signed-off-by: giulio.benetti@micronovasrl.com Acked-by: Wolfgang Denk Signed-off-by: Scott Wood commit b1e849f2201bbbf3ca81fde164f154f9caf7f0e9 Author: Peter Tyser Date: Wed Feb 4 15:14:05 2009 -0600 tsec: Wait for auto-negotiation to complete without link Previously, waiting for auto-negotiation would only occur if a valid link had been detected. Problems arose when attempting to use a tsec immediately after bootup but before link was achieved, eg: => dhcp Auto-neg error, defaulting to 10BT/HD eTSEC1: No link. Auto-neg error, defaulting to 10BT/HD eTSEC2: No link. => With this patch applied the same operation as above resulted in: => dhcp Waiting for PHY auto negotiation to complete. done Enet starting in 1000BT/FD Speed: 1000, full duplex Signed-off-by: Peter Tyser Signed-off-by: Ben Warren commit 477fa6378fbd3e47a5e2e83d0dd3970d5b1c8371 Author: Simon Kagstrom Date: Thu Aug 20 10:14:11 2009 +0200 arm: kirkwood: See to it that sent data is 8-byte aligned U-boot might use non-8-byte-aligned addresses for sending data, which the kwgbe_send doesn't accept (bootp does this for me). This patch copies the data to be sent to a malloced temporary buffer if it is non-aligned. Signed-off-by: Simon Kagstrom Signed-off-by: Ben Warren commit cad713bf7548b9e90433dac8270165402a6c9cc3 Author: Simon Kagstrom Date: Thu Aug 20 10:13:06 2009 +0200 Wait for the link to come up on kirkwood network init This patch makes the device wait for up to 5 seconds for the link to come up, similar to what many of the other network drivers do. This avoids confusing situations where, e.g., a tftp fails when initiated early after U-boot has started (before the link has come up). Signed-off-by: Simon Kagstrom Signed-off-by: Ben Warren commit bb1ca3b27f7fba8c73cb10279a6a8b8b69a308ff Author: Simon Kagstrom Date: Thu Aug 20 10:12:28 2009 +0200 arm:kirkwood Define kirkwood phy address magic number Signed-off-by: Simon Kagstrom Signed-off-by: Ben Warren commit f81ecb5d3300bf92d17302d3712f30585c182da9 Author: Timur Tabi Date: Mon Aug 17 15:55:38 2009 -0500 e1000: fix PCI memory addressing The Intel E1000 driver was making assumptions about the relationship between some virtual, physical, and PCI addresses. Also fix some bad usage of the DEBUGOUT macro Signed-off-by: Timur Tabi Acked-by: Kumar Gala Signed-off-by: Ben Warren commit b644006e1a7baa227aedc606ecdf0bb5eeb24cab Author: Ilya Yanok Date: Wed Aug 12 16:42:48 2009 +0400 jffs2: clean the cache in case of malloc fails in build_lists We should call jffs2_clean_cache() if we return from jffs2_build_lists() with an error to prevent usage of incomplete lists. Also we should free() a local buffer to prevent memory leaks. Signed-off-by: Ilya Yanok commit 7ff66bb0be80cadd681be22a72e5eb02ee14c878 Author: Heiko Schocher Date: Wed Aug 12 10:17:03 2009 +0200 ppc: trigger WDT before starting Linux Signed-off-by: Heiko Schocher commit 918319c705d8a3d6251919a660baef32ff3a829a Author: Albin Tonnerre Date: Wed Jul 22 18:30:03 2009 +0200 Update the mtd driver name in bootargs for at91-based boards The name of the atmel nand driver in the kernel changed from at91_nand to atmel_nand back in June 2008, but the at91-based boards config files still refer to at91_nand. This patch updates them with the new name Signed-off-by: Albin Tonnerre commit 8fa656aa5289815d942ebdc26182ccb9f2b9c86f Author: Ben Goska Date: Fri Aug 14 10:03:36 2009 -0700 omap3: Fixed a problem with hwecc In commit 187af954cf7958c24efcf0fd62289bbdb4f1f24e there was a typo that offset all the ecc registers by 4 bytes, fixed that. Signed-off-by: Ben Goska Acked-by: Dirk Behme commit 514bab6609acd1a2a19fdd75c2f6255178db7c96 Author: Stefan Roese Date: Mon Aug 17 16:57:53 2009 +0200 ppc4xx: Fix "chip_config" command for AMCC Arches This patch fixes the "chip_config" command for I2C bootstrap EEPROM configuration. First it changes the I2C bootstrap EEPROM address to 0x54 as this is used on Arches (instead of 0x52 on Canyonlands/ Glacier). Additionally, the NAND bootstrap settings are removed for Arches since Arches doesn't support NAND-booting. Signed-off-by: Stefan Roese commit 4af34177b657e91263919a307fd0b0865a299e52 Author: Wolfgang Denk Date: Sun Aug 16 23:40:13 2009 +0200 Monahans: avoid floating point calculations Current code for the Monahans CPU defined OSCR_CLK_FREQ as 3.250 (MHz) which caused floating point operations to be used. This resulted in unresolved references to some FP related libgcc functions when using U-Boot's private libgcc functions. Change the code to use fixed point math only. Signed-off-by: Wolfgang Denk commit e393e2e9bc5cd3d5484e193d1380e7cd7587ab5c Author: Kumar Gala Date: Fri Aug 14 16:43:22 2009 -0500 85xx: Fix addrmap to include memory When we init the addrmap based on the TLB we will not end up getting the TLB that covers memory if we are using SPD. The reason is we haven't relocated at the point that we setup the memory TLB and thus it will not get setup in the addrmap. Instead we can just walk over the TLB array after we've relocated and see all the TLBs that have been set and use that information to populate the initial addrmap. By doing this we insure that we get the TLB entries that cover memory. Signed-off-by: Kumar Gala commit 7dedefdf749ff02c1086f7ddb8cb83a77b00d030 Author: John Schmoller Date: Wed Aug 12 10:55:47 2009 -0500 flash: Fix CFI buffer size bug Fix bug introduced by 9c048b523413ae5f3ff34e00cf57569c3368ab51. The cfi_flash.c driver cast the flash buffer size to a uchar in flash_write_cfibuffer(). On some flash parts, (tested on Numonyx part PC32F512M29EWH), the buffer size is 1KB. Remove the cast to uchar to enable buffer sizes to be larger. Signed-off-by: John Schmoller Signed-off-by: Stefan Roese commit f6e3a1fa92f61083885178101e973c86b419a6f7 Author: Mike Frysinger Date: Thu Aug 13 00:32:14 2009 -0400 trab: rename spi_init() The local board-specific spi_init() function conflicts with the common SPI layer, so rename it to something board-specific. Signed-off-by: Mike Frysinger commit 253cb831f5861358a7fa673305cdf7ded1096f44 Author: Giuseppe CONDORELLI Date: Wed Jul 29 06:05:20 2009 -0400 zlib: add watchdog reset call This patch adds watchdog reset call to allow its invokation during decompression phase. This control was present on old zlib version and here it is backported for those relevant routines. This patch is sent as a zlib separate one beacuse it was not tested due to specific board lack. zlib patches will be unified just in one when this will be validated through tests. Signed-off-by: Giuseppe Condorelli commit dce3d797102b6618e8bdd4a09cfd35969f165d86 Author: Giuseppe CONDORELLI Date: Wed Jul 29 08:05:08 2009 -0400 zlib: updated to v.1.2.3 This patch updates zlib to the latest stable version. Only relevant zlib parts were ported to u-boot tree, as already did for the current zlib (0.95). New zlib guarantees a faster inflate performances other then others improvements as explained at www.zlib.net. It also includes Alessandro Rubini's patches to allow 0 as destination pointer and to call watchdog reset if required by architecture. Signed-off-by: Giuseppe Condorelli Reviewed-by: Angelo Castello Reviewed-by: Alessandro Rubini commit 3426d65daab6af483b177ed502038f52ed2e5aef Author: Heiko Schocher Date: Tue Aug 11 10:37:58 2009 +0200 dtt, lm81: move unneccessary printf into a debug printf Signed-off-by: Heiko Schocher commit 54e399f110bbaa24e662e6dd9e88ddb86989d668 Author: Mark Jackson Date: Tue Aug 11 11:33:47 2009 +0100 MIMC200: reduce LCD pixclock The initial pixclock for the MIMC200 board is wrong (and causes screen corruption due to DMA underruns). This patch simply reduces the pixel clock to fix the problem. Signed-off-by: Mark Jackson commit 1443cd7e54d6893ab7cc51d93fe7759cdaa8b31f Author: Richard Retanubun Date: Wed Jul 1 14:04:05 2009 -0400 UEC FIXED PHY: Determine fixed-phy port using UEC interface name. Fixed a misunderstanding in the original implementation, 'devnum' that was used in the cpu/ppc4xx/4xx_enet.c implementation was NOT the PHY's SMI address, rather it was the number of the MAC interface on the CPU. The equivalent of this for uec_phy will be the UEC number stored in mii_info->dev->name. Usage example is updated for uec. Signed-off-by: Richard Retanubun Signed-off-by: Ben Warren commit 1a9519373b977ef3f7c9563ad3acb6c6f2424657 Author: Richard Retanubun Date: Wed Jul 1 14:03:15 2009 -0400 Assigned a static SMI address to all UECs TBIPA address. It is set to 0x1F by default and can be overwritten on the board header file by defining CONFIG_UTBIPAR_INIT_TBIPA. This allows the CPU to simply "reserve" one SMI address instead of using a different one for each UEC. Signed-off-by: Richard Retanubun Signed-off-by: Ben Warren commit 9fd38a01cbc0ce4a8db41f72677103ed04b23db5 Author: Prafulla Wadaskar Date: Mon Aug 10 19:43:06 2009 +0530 net: kirkwood: updates: used eth_setenv_enetaddr api eth_setenv_enetaddr is avaible by upper layer using this saves 204 bytes on total image size used Local OUI instead of Marvell OUI for random MAC address generation logic Signed-off-by: Prafulla Wadaskar Signed-off-by: Ben Warren commit ecbd2078a1f56c85b6c56afaaed862bf92ccd3f3 Author: Roy Zang Date: Tue Aug 11 03:48:05 2009 +0800 Fix E1000 build warning on AP1000 board Fix E1000 build warning on AP1000 board Fix the build warning on AP1000 board: e1000.c:131: warning: 'e1000_read_eeprom' used but never defined e1000.c:2012: warning: 'e1000_set_phy_mode' defined but not used Signed-off-by: Roy Zang Signed-off-by: Ben Warren commit b3af1d698b031e721bacaee8715d79daaf823de6 Author: Sandeep Paulraj Date: Mon Aug 10 12:24:40 2009 -0400 ARM: Davinci DM355: Enabling DM9000 on DM355 EVM Due to recent changes to the NET support on U-boot, DM9000 is no longer detected on the DM355 EVM. This minor update enables DM9000 on the DM355 EVM. Tested on the DM355 EVM Signed-off-by: Sandeep Paulraj Signed-off-by: Ben Warren commit 08c2df33f1cd5935938486e968696f94ad406313 Author: Prafulla Wadaskar Date: Mon Aug 10 19:23:19 2009 +0530 net: phy: bugfixes: mv88E61xx compiler warnings fixed 1. mv88E61xx driver compiler warnings fixed 2. idstr if-else statements changed to switch() construct and added default case too. This fixed idstr may be uninitialized warning Signed-off-by: Prafulla Wadaskar Signed-off-by: Ben Warren commit 750326e5d540885e3ec36bda9464b8269249f6ce Author: Po-Yu Chuang Date: Mon Aug 10 11:00:00 2009 +0800 arm: A320: driver for FTMAC100 ethernet controller This patch adds an FTMAC100 ethernet driver for Faraday A320 evaluation board. Signed-off-by: Po-Yu Chuang Signed-off-by: Ben Warren commit f90dc43fd67eea71124b999a7d5e617d0d86795b Author: Kumar Gala Date: Mon Aug 10 16:40:55 2009 -0500 85xx: Removed BEDBUG support from FSL 85xx boards For some reason the MPC8544 enabled BEDBUG if PCI was enabled and that got copied int the MPC8536, MPC8572 and P2020 DS boards. The BEDBUG support has never been made to work completely on e500/85xx so we just disable it to save space and match the other FSL 85xx boards. Signed-off-by: Kumar Gala commit eb1a4d0a471505c169bef19a73a60f8641f0b875 Author: Wolfgang Denk Date: Mon Aug 10 10:39:12 2009 +0200 Prepare 2009.08-rc2 Update CHANGELOG Signed-off-by: Wolfgang Denk commit 53cc18c71b2b920cca171874c6663e274fa80556 Author: Wolfgang Denk Date: Mon Aug 10 10:38:34 2009 +0200 Minor coding style cleanup. Signed-off-by: Wolfgang Denk commit d371708a1beda0f529756e614af785b30461379e Author: Wolfgang Denk Date: Mon Aug 10 09:59:10 2009 +0200 net/tftp.c: fix warning: pointer targets differ in signedness tftp.c:294: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness This was only visible for the utx8245 board which seems to have DEBUG enabled. Signed-off-by: Wolfgang Denk commit 3ed9e943fdfe51174b23989d48563b8c1b7d2ea8 Author: Dirk Behme Date: Sat Aug 8 16:06:47 2009 +0200 ARM Cortex A8: Remove bogus config.mk entries Remove bogus config.mk entry, fix newline and remove redundant omap3/config.mk Signed-off-by: Dirk Behme commit cd3dcba1422d3441503251fbc69cf2437c440781 Author: Dirk Behme Date: Sat Aug 8 12:46:09 2009 +0200 OMAP3: Fix missing GPMC_CONFIG_CS0_BASE Applying two indepenent OMAP3 patches resulted in missing GPMC_CONFIG_CS0_BASE. Patch "omap3: embedd gpmc_cs into gpmc config struct" removes GPMC_CONFIG_CS0_BASE, independent patch "omap3: bug fix for NOR boot support" introduces it's usage. Re-introduce GPMC_CONFIG_CS0_BASE. Signed-off-by: Dirk Behme commit ba3dbaf281130029ecb970a922551902c1d80b50 Author: Ilya Yanok Date: Mon Jun 8 04:12:49 2009 +0400 mxc-mmc: sdhc host driver for MX2 and MX3 proccessor This is a port of Linux driver for SDHC host controller hardware found on Freescale's MX2 and MX3 processors. Uses new generic MMC framework (CONFIG_GENERIC_MMC) and it looks like there are some problems with a framework (at least on LE cpus). Some of these problems are addressed in the following patches. Signed-off-by: Ilya Yanok commit 642d7b63c343633dcafc4e23a20e32604a05ff13 Author: Alessandro Rubini Date: Fri Aug 7 12:35:47 2009 +0200 kirkwood/gpio.h: remove duplicate definition Signed-off-by: Alessandro Rubini commit 3ac374c0f0b7d856f1a43317a286f2079106bd6a Author: Albin Tonnerre Date: Fri Aug 7 12:37:36 2009 +0200 Add driver for the ST M95xxx SPI EEPROM This chip is used in a number of boards manufactured by Calao-Systems which should be supported soon. This driver provides the necessary spi_read and spi_write functions necessary to communicate with the chip. Signed-off-by: Albin Tonnerre commit 30951960bae9a2c33e324a7165962a082e913f9e Author: Prafulla Wadaskar Date: Fri Aug 7 22:27:32 2009 +0530 arm: Sheevaplug: Fixed NAND specific warning It is recommended to define the macro CONFIG_SYS_64BIT_VSPRINTF for NAND specific warning removal, same is done in this patch Signed-off-by: Prafulla Wadaskar commit 317734966e763fdee183898c0ed940c9bada2541 Author: Josh Boyer Date: Fri Aug 7 13:53:20 2009 -0400 Dual-license IBM code contributions It was brought to our attention that U-Boot contains code derived from the IBM OpenBIOS source code originally provided with some of the older PowerPC 4xx development boards. As a result, the original license of this code has been carried in the various files for a number of years in the U-Boot project. IBM is dual-licensing the IBM code contributions already present in U-Boot under either the terms of the GNU General Public License version 2, or the original code license already present. Signed-off-by: Josh Boyer commit cfd700be9f5ed289fd57a9bd61e266319badcb0d Author: Kumar Gala Date: Wed Aug 5 09:03:54 2009 -0500 fdt: Fix fdt_pci_dma_ranges handling of 64-bit ranges If the size of a region equal to 4G it can't be represnted in a 32-bit BAR so we should have marked that case as MEM64. Additionally bump the number of inbound windows up to 4 to handle the fact that Freescale PPCs that have an implicit window for CCSRBAR. Signed-off-by: Kumar Gala commit 59b4d7471c42e955bd9846892a0cc7478171778d Author: Wolfgang Denk Date: Thu Aug 6 21:29:59 2009 +0200 ARM EABI: add new helper functions resp. function names The ARM EABI defines new names for GCC helper functions, and GCC seems to need some new functions as well. This patch is a minimal-invasive approach to fix problems with EABI conformant tool chains (to be used with "USE_PRIVATE_LIBGCC=yes"). Signed-off-by: Wolfgang Denk Tested-by: Dirk Behme commit 197324d7d998a791e5137b8176981b4af25220ae Author: Peter Tyser Date: Wed Aug 5 16:18:44 2009 -0500 hush: Fix bogus free() call An off-by-one error in hush.c resulted in an unintentional free() call every time a command was executed Signed-off-by: Peter Tyser commit ff27650bb255e2275a212357b78c3b77cbf1d2e9 Author: Detlev Zundel Date: Wed Aug 5 18:37:45 2009 +0200 digsy_mtc: Update default environment Signed-off-by: Detlev Zundel commit 0b40bd439a33bde9e3cccf1acb5744225d0c6103 Author: Detlev Zundel Date: Wed Aug 5 18:37:44 2009 +0200 digsy_mtc: Add delay in SPI transfers to the companion controller. While at it, remove initialization of variables which will be set before usage in all cases. Signed-off-by: Detlev Zundel commit 0bf00750e082a004e5fb058925622ae72890cc56 Author: Anatolij Gustschin Date: Wed Aug 5 18:37:43 2009 +0200 digsy_mtc: minor fixes for mtc command help Add mtc state subcommand description to the help of mtc command. Remove some newlines in description of commands for proper help formating. Signed-off-by: Anatolij Gustschin commit 5cc69084189bf49aa99d13d57515be72d1844bdf Author: Grzegorz Bernacki Date: Wed Aug 5 18:37:42 2009 +0200 digsy_mtc: Add mtc state command. Signed-off-by: Grzegorz Bernacki commit 716655288a53c95fad203ebf21d0b8ffdc2f7525 Author: Wolfgang Denk Date: Tue Jul 28 22:35:39 2009 +0200 Partition support: remove newline from partition name Remove bogus newline character that got added to the .name field of the disk_partition_t structure. Signed-off-by: Wolfgang Denk commit 3f1649fb0dfb1e5c8890de154c332c394db5cdb5 Author: Luigi 'Comio' Mantellini Date: Tue Jul 28 09:33:17 2009 +0200 Fix LZMA string.h header inclusion issue and remove unused variables. Signed-off-by: Luigi 'Comio' Mantellini commit 1c6232f1e2eae87e0e36d489611eb6891dff21e1 Author: Jens Scharsig Date: Mon Jul 27 15:28:42 2009 +0200 bus_vcxk.c: fix warning: unused variable 'lineptr' Signed-off-by: Jens Scharsig commit 18304f7675e84252965b4e24cba279071f1da472 Author: Mike Frysinger Date: Fri Jul 24 17:51:27 2009 -0400 env: kill off default_environment_size The only environment type that uses this variable is spi flash, and that is only because it is reimplementing the common set_default_env() function. So fix the spi flash code and kill off the default_environment_size in the process. Signed-off-by: Mike Frysinger commit bedd8403f77f790e9876578885eab1200ba2f8d8 Author: Mike Frysinger Date: Thu Jul 23 16:37:48 2009 -0400 export SPI functions to standalone apps While we're here, fix the broken #ifdef handling in _exports.h. Signed-off-by: Mike Frysinger commit 3b9043a7c03290c9bdbef03848307263f5f3472c Author: Penda Naveen Kumar Date: Fri Jul 31 00:06:36 2009 +0530 omap3: bug fix for NOR boot support This patch provides bug fix, when omap3 uses nor boot. Signed-off-by: Penda Naveen Kumar Acked-by: Dirk Behme commit 61c68ae0b43bb5d6ab32958c45289aa197b1a2d1 Author: Michael Evans Date: Mon Jul 13 20:13:45 2009 +0100 Fix examples for OMAP3 boards... The attached patch corrects an error in the examples/Makefile which causes the applications in the examples directory to hang on OMAP3 based boards. The current Makefile sets -Ttext during linking to 0x0c100000 which is outside of addressable SDRAM memory. The script corrects the existing ifeq...else...endif logic to look at the VENDOR tag rather than the CPU tag. The patch affects the following configs: omap3_beagle_config, omap3_overo_config, omap3_evm_config, omap3_pandora_config, omap3_zoom1_config and omap3_zoom2_config. Signed-off-by: Michael Evans Edited commit message. Signed-off-by: Wolfgang Denk commit a3d1421dfd0bb1a729e171f8a093ac837f92cec6 Author: Dirk Behme Date: Sat Aug 8 09:30:23 2009 +0200 omap3: use only fixed-size types inside ctrl_structs replace variable types in ctrl_structs for omap3 by those with fixed size (u8, u16, u32). Additional ifndef-protection is needed by examples which do not compile when including asm/types.h Signed-off-by: Matthias Ludwig Signed-off-by: Dirk Behme commit 894113529e3a04871544dde977d6d7adee05d3bf Author: Dirk Behme Date: Sat Aug 8 09:30:22 2009 +0200 omap3: replace all instances of gpmc config struct by one global Signed-off-by: Matthias Ludwig Signed-off-by: Dirk Behme commit 97a099eaa48d5c762c4f73c52c3090c513b8b877 Author: Dirk Behme Date: Sat Aug 8 09:30:21 2009 +0200 omap3: remove typedefs for configuration structs Signed-off-by: Matthias Ludwig Signed-off-by: Dirk Behme commit aa0707897c49c330b7d6b8d8362e44f60f224732 Author: Roy Zang Date: Fri Jul 31 13:34:02 2009 +0800 Add Intel E1000 PCIE card support Based on Intel PRO/1000 Network Driver 7.3.20-k2 Add Intel E1000 PCIE card support. The following cards are added: INTEL_82571EB_COPPER INTEL_82571EB_FIBER, INTEL_82571EB_SERDES INTEL_82571EB_QUAD_COPPER INTEL_82571PT_QUAD_COPPER INTEL_82571EB_QUAD_FIBER INTEL_82571EB_QUAD_COPPER_LOWPROFILE INTEL_82571EB_SERDES_DUAL INTEL_82571EB_SERDES_QUAD INTEL_82572EI_COPPER INTEL_82572EI_FIBER INTEL_82572EI_SERDES INTEL_82572EI INTEL_82573E INTEL_82573E_IAMT INTEL_82573L INTEL_82546GB_QUAD_COPPER_KSP3 INTEL_80003ES2LAN_COPPER_DPT INTEL_80003ES2LAN_SERDES_DPT INTEL_80003ES2LAN_COPPER_SPT INTEL_80003ES2LAN_SERDES_SPT 82571EB_COPPER dual ports, 82572EI single port, 82572EI_COPPER single port PCIE cards and 82545EM_COPPER, 82541GI_LF pci cards are tested on both P2020 board and MPC8544DS board. Signed-off-by: Roy Zang Signed-off-by: Ben Warren commit 86848a74c3c8eb2f8dd179d039ee604dc45288cf Author: Mike Frysinger Date: Wed Jul 15 21:31:28 2009 -0400 net: sync env ethaddr to device enetaddr in eth_init() In the previous enetaddr refactoring, the assumption with commit 56b555a644 was that the eth layer would handle the env -> device enetaddr syncing. This was not the case as eth_initialize() is called only once and the sync occurs there. So make sure the eth_init() function does the env -> device sync with every network init. Reported-by: Andrzej Wolski Signed-off-by: Mike Frysinger Signed-off-by: Ben Warren commit 0ebf04c607b54a352629dcf7e76b76f1785dae54 Author: Robin Getz Date: Thu Jul 23 03:01:03 2009 -0400 minor debug cleanups in ./net Minor ./net cleanups - no functional changes - change #ifdef DEBUG printf(); #endif to just debug() - changed __FUNCTION__ to __func__ - got rid of extra whitespace between function and opening brace - removed unnecessary braces on if statements gcc dead code elimination should make this functionally/size equivalent when DEBUG is not defined. (confirmed on Blackfin, with gcc 4.3.3). Signed-off-by: Robin Getz Signed-off-by: Ben Warren commit 187af954cf7958c24efcf0fd62289bbdb4f1f24e Author: Matthias Ludwig Date: Tue May 19 09:09:31 2009 +0200 omap3: embedd gpmc_cs into gpmc config struct Embedd chip select configuration into struct for gpmc config instead of having it completely separated as suggested by Wolfgang Denk on http://lists.denx.de/pipermail/u-boot/2009-May/052247.html Signed-off-by: Matthias Ludwig commit 06bffc6ea52d4b390843d295d438b2037d12e5fd Author: David Brownell Date: Thu Jul 16 18:40:55 2009 -0700 rm9200 lowevel_init: don't touch reserved/readonly registers For some reason the AT91rm9200 lowlevel init writes to a bunch of reserved or read-only addresses. All the boards seem to define the value-to-be-written values as zero ... but they shouldn't actually be writing *anything* there. No documented erratum justifies these accesses. It looks like maybe some pre-release BDI-2000 setup code has been carried along by cargo cult programming since at least late 2004 (per GIT history). Here's a patch disabling what seems to be bogosity. Tested on a csb337; there were no behavioral changes. Signed-off-by: David Brownell on RM9200ek Tested-by: Jean-Christophe PLAGNIOL-VILLARD commit 301b7db88fbdf7d118efb79b371b2527a2c31868 Author: David Hunter Date: Thu Jul 30 14:32:49 2009 -0700 pxa: Fix typo in GCDR(x) Fix a typo in the GCDR(x) macro. It's a good thing no one was using it. Signed-off-by: David Hunter commit 3c448e648221879ae0e030e94508b4f9f63b7ab8 Author: Eric Benard Date: Sat Jul 18 23:45:15 2009 +0200 Add AT91SAM9260 to at91's lowlevel_init.S Needed for AT91SAM9260 NOR Boot on Eukrea's CPU9260. Signed-off-by: Eric Benard commit 56bdfa961242fc6acaeebc800640a12b28db3899 Author: Dirk Eibach Date: Thu Jul 30 09:36:33 2009 +0200 ppc4xx: Remove check for PPC460EX from CompactCenter Signed-off-by: Dirk Eibach Signed-off-by: Stefan Roese commit c3fa4f0c8684c862ecd3fb622fab1e17e44e82e1 Author: Stefan Roese Date: Wed Jul 29 08:46:10 2009 +0200 ppc4xx: Add support for PPC460EX/460GT rev B chip to AMCC Canyonlands This patch is based on a diff created by Phong Vo from AMCC. Signed-off-by: Phong Vo Signed-off-by: Stefan Roese commit 89bcc4875007ef6608297dc11e7a0d1fbd9900d2 Author: Stefan Roese Date: Wed Jul 29 08:45:27 2009 +0200 ppc4xx: Add basic support for AMCC PPC460EX/460GT rev B chips This patch is based on a diff created by Phong Vo from AMCC. Signed-off-by: Phong Vo Signed-off-by: Stefan Roese commit 82a7edc7ea8f5fe55fed4ff7e127469569e539c4 Author: Stefan Roese Date: Tue Jul 28 15:12:04 2009 +0200 ppc4xx: Canyonlands-NAND-boot: Support 2 Crucial 512MByte SODIMM's Some Canyonlands boards are equipped with different SODIMM's. This is no problem with the "normal" NOR booting Canyonlands U-Boot, since it automatically detects the SODIMM's via SPD data and correctly configures them. But the NAND booting version is different. Here we only have 4k of image size to completely setup the hardware, including DDR2 setup. So we need to use a fixed DDR2 setup here. This doesn't work for different SODIMM's right now. Currently only this Crucial SODIMM is support: CT6464AC667.8FB (dual ranked) Now some boards are shipped with this SODIMM: CT6464AC667.4FE (single ranked) This patch now supports both SODIMM's by configuring first for the dual ranked DIMM. A quick shows, if this module is really installed. If this test fails, the DDR2 controller is re-configured for the single ranked SODIMM. Tested with those SODIMM's: CT6464AC667.8FB (dual ranked) CT6464AC667.4FE (single ranked) Signed-off-by: Stefan Roese commit 27dd5f8e1062684f1ba685760409d9b2ab6691bf Author: Stefan Roese Date: Tue Jul 28 10:56:03 2009 +0200 ppc4xx: amcc: Move "kernel_addr_r" etc to higher locations (> 16MB) This patch moves the load addresses for kernel, fdt and ramdisk to higher addresses (>= 16MB). This enables booting of bigger kernel images (e.g. lockdep enabled). Signed-off-by: Stefan Roese commit 6942efc2be1b90054fa4afa5cda7023469fe08b9 Author: Stefan Roese Date: Tue Jul 28 10:50:32 2009 +0200 ppc4xx: amcc: Set CONFIG_SYS_BOOTMAPSZ to 16MB for big kernels This patch changes CONFIG_SYS_BOOTMAPSZ from 8MB to 16MB which is the initial TLB on 40x PPC's in the Linux kernel. With this change even bigger Linux kernels (> 8MB) can be booted. This patch also sets CONFIG_SYS_BOOTM_LEN to 16MB (default 8MB) to enable decompression of bigger images. Signed-off-by: Stefan Roese commit 901be89a27e11b2627c132ee87c7761bd6886091 Author: Heiko Schocher Date: Tue Jul 28 14:53:44 2009 +0200 83xx, kmeter1, fix: update in the DTS the correct size for the first flash When updating the "reg" in the "/localbus/flash@f0000000,0" node size was wrong updated for the first flash, because the total size was filled in, instead of the right size for it. Signed-off-by: Heiko Schocher Signed-off-by: Kim Phillips commit 4c2e3da82dc2b7f8b39b7f1d57f570e4bc5caa6d Author: Kumar Gala Date: Tue Jul 28 21:49:52 2009 -0500 Update Freescale copyrights to remove "All Rights Reserved" "All Rights Reserved" conflicts with the GPL. Signed-off-by: Kumar Gala commit bb4291e62579dbc611e84eaaf973631e0bf129c7 Author: Alessandro Rubini Date: Fri Jul 24 11:27:14 2009 +0200 arm nomadik: add i2c Signed-off-by: Alessandro Rubini Acked-by: Andrea Gallo Acked-by: Jean-Christophe PLAGNIOL-VILLARD commit 60cbfbfd0fbebb4682f10ba96f622bfe17317598 Author: Alessandro Rubini Date: Fri Jul 24 11:27:03 2009 +0200 arm nomadik: add gpio support Signed-off-by: Alessandro Rubini Acked-by: Andrea Gallo Acked-by: Jean-Christophe PLAGNIOL-VILLARD commit 549b98306d897ae5991362d6096a36df50efe686 Author: Tom Rix Date: Sun Jun 28 12:52:32 2009 -0500 OMAP3 Remove twl4030 defines These defines have been subplanted by the equivelent defines in include/twl4030.h Signed-off-by: Tom Rix Acked-by: Jean-Christophe PLAGNIOL-VILLARD Acked-by: Heiko Schocher commit fccc0fcaaae5154612f8259365d26d04f204859f Author: Tom Rix Date: Sun Jun 28 12:52:31 2009 -0500 OMAP3 Move twl4030 mmc function Because twl4030 now has its own device files, move and rename twl4030_mmc_config. twl4030_mmc_config initializes the twl4030 power setting to the mmc device. Because it is in the twl4030 power domain, move it out of drivers/mmc/omap3_mmc.c and into drivers/power/twl4030.c. The function was renamed to twl4030_power_mmc_init because all the functions in this file are to have the format twl4030_power__ In this case the suffix is mmc_init so device : mmc action : init Signed-off-by: Tom Rix Acked-by: Jean-Christophe PLAGNIOL-VILLARD Acked-by: Heiko Schocher commit 2c15513010493435c78f83202940ac3be11de2c3 Author: Tom Rix Date: Sun Jun 28 12:52:30 2009 -0500 OMAP3 Move twl4030 power and led functions Because twl4030 now has its own device files, move exiting omap3 power_init_r to a new location. power_init_r is the only function in board/omap3/common. It initializes the twl4030 power for the board and enables the led. The power part of the the function is moved to twl4030_power_init in drivers/power/twl4030.c The power compilation is conditional on the existing config variable CONFIG_TWL4030_POWER. The led part is moved to twl4030_led_init in the new file drivers/misc/twl4030_led.c The led compilation is conditional on the new config variable CONFIG_TWL4030_LED The directory board/omap3/common was removed because power_init_r was the only function in it. Signed-off-by: Tom Rix Acked-by: Jean-Christophe PLAGNIOL-VILLARD Acked-by: Heiko Schocher commit 3cb7a4805fc8fb4c09e4801e1c7d531186f20190 Author: Wolfgang Denk Date: Tue Jul 28 22:13:52 2009 +0200 TQM8xx* boards: set larger SMC Rx buffer len Commit 2b3f12c2 added support for configurable SMC Rx buffer length on 8xx systems. Enable this feature on TQM8xx* based boards. This fixes the problem that pasting text in the middle of a line (i. e. inserting in edit mode) did not work - only the first two characters got inserted, the rest was lost. Signed-off-by: Wolfgang Denk commit 4b7511478b62a539e5b066d19a986b75e5d9a527 Author: Wolfgang Denk Date: Tue Jul 28 22:07:37 2009 +0200 Fix ext2load return code Make the ext2load command return 0 on success (instead of the file length). Also fix output format (get rid of random newlines) and some coding style issues (long lines etc.). Signed-off-by: Wolfgang Denk commit 56fdaadc124a8ef9ec0fd8ff578233ec3b1137be Author: Weirich, Bernhard Date: Wed Jun 10 14:00:37 2009 +0200 ext2: fix inode size and calculations Signed-off-by: unsik Kim Signed-off-by: Bernhard Weirich Signed-off-by: Wolfgang Denk Tested-by: Wolfgang Denk commit cd7826359ee71e8f6f3d68331930ab9cbe1c990e Author: Tom Rix Date: Sun Jun 28 12:52:29 2009 -0500 TWL4030 Add power reset button The Zoom2 power reset button is on the top right side of the main board. Press and hold for about to 8 seconds to completely reset the board. Some of the beta boards have a hardware problem that prevents using this feature. If is difficult to further characterize the boards that fail. So disable resetting for all beta boards. The Zoom1 reset button is the red circle on the top right, front of the board. Press and hold the button for 8 seconds to completely reset the board. After analyzing beagle, it was determined that other boards that use the twl4030 for power managment can also make use this function. The resetting is done by the power management part of the twl4030. Since there is no existing drivers/power, add one. The compilation of power/twl4030.h is controlled by the config variable CONFIG_TWL4030_POWER Signed-off-by: Tom Rix Acked-by: Jean-Christophe PLAGNIOL-VILLARD Acked-by: Heiko Schocher commit 8966eb4c1c2d894b2a76174ba904c26c5af815b8 Author: Tom Rix Date: Sun Jun 28 12:52:28 2009 -0500 TWL4030 Add initial support The TWL4030 supplies many peripherals for OMAP3 boards. These include power management, usb and, keyboard. The product description is found here: http://focus.ti.com/docs/prod/folders/print/tps65950.html Product reference document, tps65950.pdf, is found here: http://www.ti.com/lit/gpn/tps65950 Signed-off-by: Tom Rix Acked-by: Jean-Christophe PLAGNIOL-VILLARD Acked-by: Heiko Schocher commit 7f79dfb48b7419d5caa1cf932fcff4e2fb7040af Author: Tom Rix Date: Sun Jun 28 12:52:27 2009 -0500 OMAP I2C Fix the sampling clock. This problem is seen on Zoom1 and Zoom2 in the startup and when i2c probe is used Before : In: serial Out: serial Err: serial timed out in wait_for_bb: I2C_STAT=1000 timed out in wait_for_bb: I2C_STAT=1000 timed out in wait_for_bb: I2C_STAT=1000 timed out in wait_for_pin: I2C_STAT=1000 I2C read: I/O error timed out in wait_for_bb: I2C_STAT=1000 timed out in wait_for_bb: I2C_STAT=1000 Die ID #327c00020000000004013ddd05026013 Hit any key to stop autoboot: 0 OMAP3 Zoom1# i2c probe Valid chip addresses:timed out in wait_for_bb: I2C_STAT=1000 02 03 04 05 06 07 08 09 0A 0B 0C 0D After : In: serial Out: serial Err: serial Die ID #327c00020000000004013ddd05026013 Hit any key to stop autoboot: 0 OMAP3 Zoom1# i2c probe Valid chip addresses: 48 49 4A 4B The addresses are for the twl4030. The prescalar that converts the function clock to the sampling clock is hardcoded to 0. The reference manual recommends 7 if the function clock is 96MHz. Instead of just changing the hardcoded values, the prescalar is calculated from the value I2C_IP_CLK. The i2c #defines are in kHz. The speed passed into the i2c init routine is in Hz. To be consistent, change the defines to be in Hz. The timing calculations are based on what is done in the linux 2.6.30 kernel in drivers/i2c/buses/i2c_omap.c as apposed to what is done in TRM. The major variables in the timing caculations are specified as #defines that can be overriden as required. The variables and their defaults are I2C_IP_CLK SYSTEM_CLOCK_96 I2C_INTERNAL_SAMPLING_CLK 19200000 I2C_FASTSPEED_SCLL_TRIM 6 I2C_FASTSPEED_SCLH_TRIM 6 I2C_HIGHSPEED_PHASE_ONE_SCLL_TRIM I2C_FASTSPEED_SCLL_TRIM I2C_HIGHSPEED_PHASE_ONE_SCLH_TRIM I2C_FASTSPEED_SCLH_TRIM I2C_HIGHSPEED_PHASE_TWO_SCLL_TRIM I2C_FASTSPEED_SCLL_TRIM I2C_HIGHSPEED_PHASE_TWO_SCLH I2C_FASTSPEED_SCLH_TRIM This was runtime verified on Zoom1, Zoom2, Beagle and Overo. The 400kHz and 3.4M cases were verifed on test Zoom1, Zoom2, Beagle and Overo configurations. Testing for omap2 will be done in a second step as Nishanth and Jean-Christophe commented. Signed-off-by: Tom Rix Acked-by: Jean-Christophe PLAGNIOL-VILLARD Acked-by: Heiko Schocher commit 4ce5a72851ff2960543b125866c6132e0094e1ee Author: Heiko Schocher Date: Mon Jul 20 09:59:37 2009 +0200 arm, i2c: added support for the TWSI I2C Interface Signed-off-by: Heiko Schocher commit 042d01c72e0ea95731708dd24bb8b6cf42e75c80 Author: Stefan Roese Date: Mon Jul 27 09:13:38 2009 +0200 ppc4xx: Fix problem with NOR range assignment in Canyonlands ft_board_setup This patch fixes the problem, that the current fdt board fixup code only set's one range, the one for NOR. By this it's overwriting the already correctly configured values done in __ft_board_setup(). Just remove this now unneeded NOR fixup and all the ranges are correctly defined. Signed-off-by: Stefan Roese Cc: Dirk Eibach Cc: Felix Radensky commit 11a1604f8d0a8d936b42f6435d004b4aa33a5d87 Author: Stefan Roese Date: Mon Jul 27 07:42:48 2009 +0200 ppc4xx: Add some NAND-booting bootstrap entries to Kilauea chip_config cmd This patch adds some I2C bootstrap setting for NAND booting to the Kilauea chip_config command ("533-nand" and "600-nand"). Additionally some incorrectly indented lines are fixed. Signed-off-by: Stefan Roese commit 5b34691ff87821891375b28ec5bcf5154575a735 Author: Stefan Roese Date: Mon Jul 27 07:42:37 2009 +0200 ppc4xx: Kilauea: Fix SDRAM init in NAND booting version DDR2 Auto-calibration needs to be disabled on the NAND booting PPC4xx targets. Otherwise the configured fixed init values for some DDR2 controller registers (e.g. RQDC) are not initialized at all resulting in a non working SDRAM. Signed-off-by: Stefan Roese commit f3ed3c9b7441cde936d06a1ff7b1490ff0d600e6 Author: Stefan Roese Date: Mon Jul 27 10:53:43 2009 +0200 ppc4xx: Fix Arches DDR2 initialization Testing on AMCC Arches with the latest U-Boot version yielded that DDR2 initialization is currently broken. U-Boot hangs upon relocation to SDRAM or crashes with random traps. This patch fixes this problem. Arches now uses a different WRDTR and CLKTR default setting than Canyonlands/Glacier. Signed-off-by: Stefan Roese commit ab4c62c1ba788bf7f673a985d99a76d9c2fd7eca Author: Dirk Eibach Date: Mon Jul 27 08:49:48 2009 +0200 ppc4xx: Add GDsys CompactCenter board support. Board support for the Guntermann & Drunck CompactCenter and DevCon-Center. Based on the AMCC Canyonlands board support by Stefan Roese. Signed-off-by: Dirk Eibach Signed-off-by: Stefan Roese commit c2e49f706ba13213f3c8da3a33e88010214e1997 Author: Reinhard Arlt Date: Sat Jul 25 06:19:12 2009 +0200 mpc83xx: Add esd VME8349 board support This patch adds support for the esd VME8349 board equipped with the MPC8349. It's a VME PMC carrier board equipped with the Tundra TSI148 VME-bridge. Signed-off-by: Reinhard Arlt Signed-off-by: Stefan Roese Signed-off-by: Kim Phillips commit fe613cdd4eb2c5b257a60d8dfb7759742318c28a Author: Paul Gortmaker Date: Thu Jul 23 17:10:55 2009 -0400 sbc8349: combine HRCW flash and u-boot image flash Up to this point in time, the sbc8349 board was storing the u-boot image in flash 2x. One for the HRCW value at the beginning of flash (0xff80_0000), and once close to the end of flash (0xfff8_0000) for the actual image that got executed. This moves the TEXT_BASE to be the beginning of flash, which makes the second copy of the image redundant, and frees up the flash from the end of the environment storage to the end of the flash device itself. Signed-off-by: Paul Gortmaker Signed-off-by: Kim Phillips commit be9b56df02168ca97562d6b9ec791136e4cd925a Author: Kim Phillips Date: Thu Jul 23 14:09:38 2009 -0500 mpc83xx: CONFIG_83XX_GENERIC_PCI is now synonymous with CONFIG_PCI; remove the former Signed-off-by: Kim Phillips commit 94978e19f31d225b4f7d97c4acbac1ecfaeb8f69 Author: Wolfgang Denk Date: Mon Jul 27 10:37:37 2009 +0200 Prepare 2009.08-rc1 (again, after fixing last minute issues). Update CHANGELOG Signed-off-by: Wolfgang Denk commit 9689ddcca6e01f3637b4442fa8575f29ef4d7aa3 Author: Wolfgang Denk Date: Mon Jul 27 10:06:39 2009 +0200 cpu/arm920t/start.S: include to have ROUND() defined Commit fcd3c87e made include/common.h usable by assembler code but failed to update cpu/arm920t/start.S Signed-off-by: Wolfgang Denk commit c9ed38cb6de50fdb4aaa60b668c555002903b211 Author: Wolfgang Denk Date: Mon Jul 27 10:01:11 2009 +0200 at91cap9adk: fix #ifdef/#endif pairing (2nd try) Commit 7024aa14 was supposed to fix the #ifdef/#endif pairing in include/configs/at91cap9adk.h, but did not cate all problems. Signed-off-by: Wolfgang Denk commit fb364bec5f29164d3ee681fcd9d187be8435db12 Author: Wolfgang Denk Date: Mon Jul 27 09:58:14 2009 +0200 Fix include/common.h for boards with CONFIG_STATUS_LED The reordering of include/common.h by commit fcd3c87e495f3c48 broke boards with status LED support, resulting in error: #error Status LED configuration missing errors. Undo this reordering to avoid this issue. Signed-off-by: Wolfgang Denk commit 942828a0980b3cea7db698784cc7f6a3e7740b2b Author: Wolfgang Denk Date: Mon Jul 27 09:19:15 2009 +0200 ABI: fix build problems due to now needed div64 routine. Signed-off-by: Wolfgang Denk commit 85d6bf0bdc8ccad2d67a9160472f6f8c6bb482fb Author: Wolfgang Denk Date: Mon Jul 27 08:50:59 2009 +0200 PMC405DE: fix out of tree building Signed-off-by: Wolfgang Denk commit 10c7604d021949464b1e4ba903df95e6b2f0d2ff Author: Wolfgang Denk Date: Mon Jul 27 00:24:55 2009 +0200 Prepare 2009.08-rc1 Update CHANGELOG, minor coding style fix. Signed-off-by: Wolfgang Denk commit fafbb2c3e4b35b60ca303ed2ad1c6cf400cd9a22 Author: rhabarber1848@web.de Date: Fri Jul 24 08:16:30 2009 +0200 add WATCHDOG_RESET to allow LZMA kernel decompression on slow machines Signed-off-by: rhabarber1848@web.de commit 3c972849f2becbf19c13a24f090d293f37ecf616 Author: Niklaus Giger Date: Thu Jul 23 23:31:58 2009 +0200 Less verbose output when loading vxworks 6.x images Loading vxWorks 5.x images resulted just into 3 or 4 lines of output. With vxWorks 6.x and the new GCC it emits about 30 lines, which is far too noisy in my opinion. Signed-off-by: Niklaus Giger commit fcd3c87e495f3c48b70c919869fb1e0b93d4880b Author: Wolfgang Denk Date: Fri Jul 24 00:17:48 2009 +0200 Make include/common.h usable by assembler code Commit 70ebf316 factored out the ROUND() macro into include/common.h, not realizing that the primary use of this macro on AT91 systems was in start.S where common.h was not included, and could not be included because it contains a lot of C code which the assembler doesn't understand. This patch wraps such code in common.h in a "#ifndef __ASSEMBLY__" construct, and then adds an include to cpu/arm926ejs/start.S thus solving the problem. Signed-off-by: Wolfgang Denk commit deec15b3064d3bb0189aede3c2921fd7ee401a0f Author: Heiko Schocher Date: Thu Jul 23 13:27:04 2009 +0200 arm: add _lshrdi3.S Signed-off-by: Heiko Schocher commit 52b1bf2c5cd2f8af880dab503d0039b35570665b Author: Wolfgang Denk Date: Thu Jul 23 13:15:59 2009 +0200 Make linking against libgcc configurable Many (especially ARM) tool chains seem to come with broken or otherwise unusable (for the purposes of builing U-Boot) run-time support libraries `libgcc.a'. By using the "USE_PRIVATE_LIBGCC" setting we allow to use alternative libraries instead. "USE_PRIVATE_LIBGCC" can either be set as an environment variable in the shell, or as a command line argument when running "make", i. e. $ make USE_PRIVATE_LIBGCC=yes or $ USE_PRIVATE_LIBGCC=yes $ export USE_PRIVATE_LIBGCC $ make The value of "USE_PRIVATE_LIBGCC" is the name of the directory which contains the alternative run-time support library `libgcc.a'. The special value "yes" selects the directory $(OBJTREE)/lib_$(ARCH) . Note that not all architectures provide an alternative `libgcc.a' in their lib_$(ARCH) directories - so far, only ARM does. Signed-off-by: Wolfgang Denk Cc: Jean-Christophe PLAGNIOL-VILLARD Cc: Prafulla Wadaskar cc: Stefan Roese commit 479105065d965121f57b55dcfe83a940cba46ac1 Author: Dirk Behme Date: Wed Jul 22 17:51:56 2009 +0200 Use do_div from div64.h for vsprintf Use do_div from div64.h for vsprintf in case of 64bit division. For 32bit division, do_div from div64.h can't be used as it needs a 64bit parameter. Signed-off-by: Dirk Behme Acked-by: Stefan Roese CC: Simon Kagstrom commit 48287792384a93d77d43aaaa1c06cac275bbe1bb Author: Kyungmin Park Date: Mon Jul 20 09:47:47 2009 +0900 Fix compiler warnings after loff_t change Now 'env_addr' type is loff_t so use correct field type. Signed-off-by: Kyungmin Park commit 9c67352f727a5b5eff531c852f9cff59fcb17f7f Author: Wolfgang Denk Date: Sun Jul 26 23:28:02 2009 +0200 Revert "ppc: Unlock cache-as-ram in a consistent manner" This reverts commit 982adfc610669482a32127282fe489857a92cfe3. This patch causes problems on MPC83xx boards - flash recognition stops working. Signed-off-by: Wolfgang Denk commit 35cf3b57eafe3ee1f693e24267e0ecfefab60251 Author: Jens Scharsig Date: Fri Jul 24 10:31:48 2009 +0200 update the EB+MCF-EV123 board support This patch updates the support for EB+MCF-EV123 board and needs the [PATCH 1/2 V3] new video driver for bus vcxk framebuffers * remove the board framebuffer driver * use the common bus_vcxk framebuffer driver * adds bmp support * adds splashimage support * fix serveral cosmetical errors Signed-off-by: Jens Scharsig [agust@denx.de: fixed some style issues before applying] Signed-off-by: Anatolij Gustschin commit 04538cdb752eeea8fd23cf7ac3394439f189fb77 Author: Anatolij Gustschin Date: Sun Jul 26 12:05:25 2009 +0200 video: bus_vcxk.c: fix style issues added by 50217dee Signed-off-by: Anatolij Gustschin commit 50217deeb07911d686790d34d468eb9a5245f68d Author: Jens Scharsig Date: Fri Jul 24 10:09:02 2009 +0200 new video driver for bus vcxk framebuffers This patch adds a new video driver * adds common bus_vcxk framebuffer driver Signed-off-by: Jens Scharsig [agust@denx.de: fixed lots of style issues before applying] Signed-off-by: Anatolij Gustschin commit 60e97419246d0a3615758ad6af40680aefb5f7f1 Author: Alessandro Rubini Date: Tue Jul 21 14:09:45 2009 +0200 lcd.h: define extern vidinfo_t for all cases include/lcd.h has different vidinfo for different platforms, and several extern declaration, but one for the default case was missing. This makes them a single extern declaration for everyone. Signed-off-by: Alessandro Rubini commit bcf0b5248952c6b03081dc5cc4ff9e0b2299c5fa Author: Anatolij Gustschin Date: Sun Jul 26 11:04:59 2009 +0200 mimc200.c: fix too long lines added by f68378d6 Signed-off-by: Anatolij Gustschin commit f68378d60a905d43155f2e89bf81999d3c93a90a Author: Mark Jackson Date: Tue Jul 21 11:35:22 2009 +0100 Add LCD support to MIMC200 board This patch updates the MIMC200 files to enable the LCD. Signed-off-by: Mark Jackson commit 69f32e6c24d41fcdf347ff64e9c13b25059ace58 Author: Mark Jackson Date: Tue Jul 21 11:18:44 2009 +0100 Add 16bit colour support in lcd.h This patch adds support for LCD_COLOR16 in include/lcd.h. Signed-off-by: Mark Jackson commit bdc873ea063b8cc6d44c6ab748b7723a97d8d7b3 Author: Anatolij Gustschin Date: Sun Jul 26 10:34:58 2009 +0200 lib_avr32/board.c: fix too long line added by 716ece1d Signed-off-by: Anatolij Gustschin commit 716ece1de9a7d43a61d8698ac41b71b64f66f9e9 Author: Mark Jackson Date: Tue Jul 21 11:11:37 2009 +0100 Add AVR32 LCD support This patch adds support for the AVR32 LCD controller. This patch is based off the latest u-boot-video. A quick summary of what's going on:- Enable LCDC pixel clock Enable LCDC port pins Add framebuffer pointer to global_data struct Allocate framebuffer To use the new code, update your board config to include something like this:- #define CONFIG_LCD 1 #if defined(CONFIG_LCD) #define CONFIG_CMD_BMP #define CONFIG_ATMEL_LCD 1 #define LCD_BPP LCD_COLOR16 #define CONFIG_BMP_16BPP 1 #define CONFIG_FB_ADDR 0x10600000 #define CONFIG_WHITE_ON_BLACK 1 #define CONFIG_VIDEO_BMP_GZIP 1 #define CONFIG_SYS_VIDEO_LOGO_MAX_SIZE 262144 #define CONFIG_ATMEL_LCD_BGR555 1 #define CONFIG_SYS_CONSOLE_IS_IN_ENV 1 #define CONFIG_SPLASH_SCREEN 1 #endif The standard U-Boot BMP and Splash-screen features should just work. Signed-off-by: Mark Jackson [agust@denx.de: fixed some style issues] Signed-off-by: Anatolij Gustschin commit 6111722a9281c6e04a7304d502556afff6a5a1f8 Author: Alessandro Rubini Date: Sun Jul 19 17:52:27 2009 +0200 video: move extern declarations from C to headers This moves some extern declaration from lcd.c to lcd.h, removing unneeded ifdef around a pair of them. Additionally, since gunzip_bmp() was declared static in cmd_bmp.c but extern in lcd.c, I removed the static. The extra "#include " in cmd_bmp.c is added to ensure the header is consistent with the source. This has been compile-tested on both ARM (at91 boards) and PowerPC (HH405_config, TQM823L_LCD_config, mcc200_config), to test all use combinations. Signed-off-by: Alessandro Rubini [agust@denx.de: removed gunzip_bmp() fixes as commit c01171ea did it] Signed-off-by: Anatolij Gustschin commit f51e001143c58447eb50e7aefa2b09eb4cc1410c Author: Mike Frysinger Date: Thu Jul 23 16:26:58 2009 -0400 Blackfin: restore EVT1 handling in linker script Sadly, the Blackfin linker script unification lost a small #ifdef logic needed on older parts. Restore that CONFIG_BFIN_BOOTROM_USES_EVT1 logic. Signed-off-by: Mike Frysinger commit f33b325af666b12eafa9ab235b2cd59832d6e51c Author: Wolfgang Denk Date: Fri Jul 24 14:24:07 2009 +0200 Revert "zlib: updated to v.1.2.3" This reverts commit b201171f2b4d509f3ad510b214bee70ff902e3d6. The commit caused problems for example when unpacking kernel images: Uncompressing Kernel Image ... Error: inflate() returned -2 GUNZIP: uncompress, out-of-mem or overwrite error - must RESET board to recover Conflicts: include/u-boot/zlib.h lib_generic/zlib.c Signed-off-by: Wolfgang Denk commit 4b1389e0ceb19e9b50b96fd3908483a6c2274fb0 Author: Stefan Roese Date: Tue Jul 21 14:06:29 2009 +0200 ppc4xx: Add chip_config command to AMCC Kilauea eval board This patch removes the "alterpll" command and replaces it with the now ppc4xx standard "chip_config" command to configure the I2C bootstrap EEPROM. Signed-off-by: Stefan Roese commit f6af8ce0c80327cb6aaa347642026ad838335c23 Author: Stefan Roese Date: Tue Jul 21 14:33:52 2009 +0200 ppc4xx: Fix EEPROM configuration on Kilauea Kilauea has an AT24C02 EEPROM which has an 8 byte page. Without defining CONFIG_SYS_EEPROM_PAGE_WRITE_BITS to 3 the "eeprom" command doesn't work correctly. Additionally the page write delay (CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS) is set to a more defensive value of 10ms. Signed-off-by: Stefan Roese commit 99d8b23bc7e2be04fcbf49c5cec9f5ae76df290c Author: Matthias Fuchs Date: Wed Jul 22 13:56:21 2009 +0200 ppc4xx: Add 405EP based PMC405DE board Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit da799f66ad1d4fc36dd20cc2d7e584493fda8546 Author: Matthias Fuchs Date: Mon Jul 20 12:15:38 2009 +0200 ppc4xx: Add struct for 4xx GPIO controller registers Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit 58ea142fb2e969f32306c8da1dabfaebd6fa141a Author: Matthias Fuchs Date: Wed Jul 22 17:27:56 2009 +0200 ppc4xx: Replace 4xx lowercase SPR references Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit 87c0b72908e05662b8b415e26e1042f4779629da Author: Stefan Roese Date: Mon Jul 20 06:57:27 2009 +0200 Add "chip_config" command for PPC4xx bootstrap configuration This patch adds a generic command for programming I2C bootstrap eeproms on PPC4xx. An implementation for Canyonlands board is included. The command name is intentionally chosen not to be PPC4xx specific. This way other CPU's/SoC's can implement a similar command under the same name, perhaps with a different syntax. Usage on Canyonlands: => chip_config Available configurations (I2C address 0x52): 600-nor - NOR CPU: 600 PLB: 200 OPB: 100 EBC: 100 600-nand - NAND CPU: 600 PLB: 200 OPB: 100 EBC: 100 800-nor - NOR CPU: 800 PLB: 200 OPB: 100 EBC: 100 800-nand - NAND CPU: 800 PLB: 200 OPB: 100 EBC: 100 1000-nor - NOR CPU:1000 PLB: 200 OPB: 100 EBC: 100 1000-nand - NAND CPU:1000 PLB: 200 OPB: 100 EBC: 100 1066-nor - NOR CPU:1066 PLB: 266 OPB: 88 EBC: 88 *** 1066-nand - NAND CPU:1066 PLB: 266 OPB: 88 EBC: 88 => chip_config 600-nor Using configuration: 600-nor - NOR CPU: 600 PLB: 200 OPB: 100 EBC: 100 done (dump via 'i2c md 52 0.1 10') Reset the board for the changes to take effect Other 4xx boards will be migrated to use this command soon as well. Signed-off-by: Stefan Roese Signed-off-by: Dirk Eibach Acked-by: Matthias Fuchs commit 10c1b218556ed9871f36bc0c407f4f2f6196353b Author: Peter Tyser Date: Fri Jul 17 19:01:16 2009 -0500 xpedite1k: Move to X-ES vendor directory The XPedite1000 is an X-ES product thus it can be put in board/xes along with other X-ES boards. Along with the move, the board was renamed to XPedite1000 from XPedite1K to fit X-ES's standard naming convention. Maintainership was also transfered to Peter Tyser. Signed-off-by: Peter Tyser Signed-off-by: Stefan Roese commit 54381b79d268e1bead5d78ed8423df31a3cb0e2c Author: Peter Tyser Date: Fri Jul 17 19:01:15 2009 -0500 xpedite1k: Sync checkboard() with other X-ES boards Signed-off-by: Peter Tyser Signed-off-by: Stefan Roese commit 9b4ef1f5dc0daab64f46249a32e67279c4d44fd2 Author: Peter Tyser Date: Fri Jul 17 19:01:14 2009 -0500 xpedite1k: Sync up board config options with other X-ES boards Signed-off-by: Peter Tyser Signed-off-by: Stefan Roese commit 4cdad5f43ae67e4ceeac69ef4af4392bd2f7381f Author: Peter Tyser Date: Fri Jul 17 19:01:13 2009 -0500 xpedite1k: Sync organization of board config with other X-ES boards This change should have no functional effect Signed-off-by: Peter Tyser Signed-off-by: Stefan Roese commit c4ae1a0257a0f5008ee2686e8aa92fba3992f279 Author: Peter Tyser Date: Fri Jul 17 19:01:12 2009 -0500 xpedite1k: Sync up commands and environment with other X-ES boards Signed-off-by: Peter Tyser Signed-off-by: Stefan Roese commit fbc7951ea84c2fe6da0f6007b672ed35bae91acb Author: Peter Tyser Date: Fri Jul 17 19:01:11 2009 -0500 xpedite1k: Disable unused ethernet port 1 The XPedite1000 only has 2 available ethernet ports: ppc_4xx_eth2 (EMAC2) and ppc_4xx_eth3 (EMAC3) Signed-off-by: Peter Tyser Signed-off-by: Stefan Roese commit 767e32ad369d83f55f950e6938e68b6dba7fa65f Author: Peter Tyser Date: Fri Jul 17 19:01:10 2009 -0500 xpedite1k: Store environment in flash Previously an I2C EEPROM was used. The EEPROM had size, reliability, and access issues which are resolved by storing the environment in flash. Signed-off-by: Peter Tyser Signed-off-by: Stefan Roese commit b88da157f9990cd2cb081e4faea4b9581b5d0e2f Author: Peter Tyser Date: Fri Jul 17 19:01:09 2009 -0500 xpedite1k: Add support for additional GPIO pins Enable GPIO pins for an I2C EEPROM write protect, a system reset pin, and a PMC #MONARCH pin. These pins are not currently used in U-Boot, but are used in OSes and may be used in U-Boot in the future. Signed-off-by: Peter Tyser Signed-off-by: Stefan Roese commit 42735815dd9ba39efe51203868aebce04053c8de Author: Peter Tyser Date: Fri Jul 17 19:01:08 2009 -0500 xpedite1k: Add support for optional flashes The XPedite1000 can be built with 4 total flashes: - 512KB AMD socketed - 16MB Intel soldered - 2 x 32MB AMD MirrorBit flashes Add support for the optional 2 32MB CFI-compliant AMD flashes Signed-off-by: Peter Tyser Signed-off-by: Stefan Roese commit e02990764c7415c84668823a0fc8c5b4dd8d8cf0 Author: Peter Tyser Date: Fri Jul 17 19:01:07 2009 -0500 xpedite1k: Cleanup coding style Signed-off-by: Peter Tyser Signed-off-by: Stefan Roese commit 086ff34a3a7e5e595630d658c1c13778399452d1 Author: Peter Tyser Date: Fri Jul 17 19:01:06 2009 -0500 xpedite1k: Remove support for reading MACs from EEPROM By default, the XPedite1000 comes installed with xMon, a proprietary bootloader. xMon stores its MAC address in an onboard EEPROM. Rather than requiring a non-standard location in the EEPROM to be reserved for MAC addresses, store the MAC addresses in U-Boot's standard environment. A U-Boot application or OS application can be used to migrate xMon MAC addresses to U-Boot's environment if necessary. Signed-off-by: Peter Tyser Signed-off-by: Stefan Roese commit 108d6d0099372f9f6532c3198fbaacabc121c9b3 Author: Peter Tyser Date: Fri Jul 17 19:01:05 2009 -0500 xpedite1k: Remove support for fixed SDRAM configuration All XPedite1000's have SPD EEPROMs present and no fixed configuration parameters are currently defined or used Signed-off-by: Peter Tyser Signed-off-by: Stefan Roese commit c86d00a2ed923002f1ab0bfb0a925522628302e9 Author: Peter Tyser Date: Fri Jul 17 19:01:04 2009 -0500 xpedite1k: Remove CONFIG_SYS_DRAM_TEST support POST or command line tests provide similar functionality Signed-off-by: Peter Tyser Signed-off-by: Stefan Roese commit 11ad309c183b176d8866944026a63c0f1c626f56 Author: Peter Tyser Date: Fri Jul 17 19:01:03 2009 -0500 xpedite1k: Use standard CFI flash driver Using the CFI flash driver will allow write access to the 16MB Intel StrataFlash present on the XPedite1000. The 512KB socketed (non CFI-compliant flash) will no longer be writable. The mapping of the 16MB Strata flash was moved to 0xff000000 and the 512KB AMD socketed flash was moved to 0xfe000000. Signed-off-by: Peter Tyser Signed-off-by: Stefan Roese commit d4d2e79bb433fc7ec18c68cc49cc6b7433d1320c Author: Matthias Fuchs Date: Thu Jul 16 22:13:57 2009 +0200 ppc4xx: Cleanup PLU405 board code Some Coding style cleanup (braces, whitespaces, long lines) Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit b209a114829dc8a7a0e39a9335b6e4aebf9742cb Author: Dirk Eibach Date: Fri Jul 17 14:16:40 2009 +0200 ppc4xx: Add DL-Vision 405EP board support Board support for the Guntermann & Drunck DL-Vision. Signed-off-by: Dirk Eibach Signed-off-by: Stefan Roese commit 9b1b8c8a1bf52e9b65e1958e5205838576066cbc Author: Dirk Eibach Date: Fri Jul 10 14:47:32 2009 +0200 ppc4xx: Fix missing freqOPB for 405EP In cpu/ppc4xx/speed.c initialization of sysInfo->freqOPB for 405EP was left out for no obvious reason. Signed-off-by: Dirk Eibach Signed-off-by: Stefan Roese commit 0a371ca08908c9b2a58171223a79bffea1f7c6f5 Author: Stefan Roese Date: Tue Jul 14 15:53:08 2009 +0200 ppc4xx: Fix TLB reset problem with recent 44x images Patch d873133f [ppc4xx: Add Sequoia RAM-booting target] broke "normal" booting on some 44x platforms. This breakage is only noticed in some cases while powercycling. As it seems, the code in question in start.S didn't invalidate TLB #0. This makes sense since this TLB is used for the bootrom mapping. With the patch mentioned above even TLB #0 got invalidated resulting in an error later on. This patch now fixes this issue by only invalidating TLB #0 in the RAM- booting case. Tested succesfully on Sequoia and Canyonlands. Signed-off-by: Stefan Roese Cc: Dirk Eibach commit 44259bb9e696d22bf1773181111855a29f00cf33 Author: Prafulla Wadaskar Date: Fri Jul 17 19:56:30 2009 +0530 usb: bugfix driver/usb/host/ehci-hcd.c function ehci_submit_root This change is cheked in Linux source and fix found to be in sync. This patch is tested for USB host interface on Kirkwood based Sheevaplug platform (ARM little endian board) Risk: the impact of this patch is not validated on big endian board. This need to be checked... Signed-off-by: Prafulla Wadaskar Signed-off-by: Remy Bohmer commit 28958b8bea4c66629c5a22fd3c8b0d49df90383d Author: Wolfgang Denk Date: Thu Jul 23 22:23:23 2009 +0200 Coding Style cleanup; update CHANGELOG. Signed-off-by: Wolfgang Denk commit 2632c008e2c2cd61fefb622ed671ea3e6bd2e2a6 Author: Mike Frysinger Date: Tue Jul 21 22:59:36 2009 -0400 autoconf.mk: include before config.mk for top level files By including autoconf.mk before config.mk, all top level files can use any config options it sets up (like _config.mk) or the Makefile itself without being forced to use lazy evaluation. commit c01171eaecc963d2c1f56a0984a0cbcdd8a3ab3c Author: Mark Jackson Date: Tue Jul 21 11:30:53 2009 +0100 Remove static declaration from gunzip_bmp() This patch removes the static declaration from gunzip_bmp() Without it, the gunzip_bmp() function is not visible to common/lcd.c and fails to compile with an error. Signed-off-by: Mark Jackson commit 2d4a43e230a3c8bfd03b9beaa0eb2a95e779c03b Author: Peter Tyser Date: Mon Jul 20 21:51:38 2009 -0500 cmd_tsi148: General cleanup - Fix command help message - Disable DEBUG by default - Fix whitespace issues - Fix lines > 80 characters Signed-off-by: Peter Tyser Acked-by: Stefan Roese commit 9aef73888509d10193615ee5cd9cf439ca44e937 Author: Mike Frysinger Date: Sun Jul 19 15:17:03 2009 -0400 unify HOST_CFLAGS and HOSTCFLAGS The top build system sets up HOSTCFLAGS a bit and exports it, but other places use HOST_CFLAGS instead. Unify the two as HOSTCFLAGS so that the values stay in sync. Signed-off-by: Mike Frysinger commit 2e9393f500065f940e5e4ac7fe375e4c0b77b936 Author: Wolfgang Denk Date: Thu Jul 23 21:16:59 2009 +0200 Update CHANGELOG Signed-off-by: Wolfgang Denk commit e3b39f84e974df70065fa248f0f63993b1708c9d Author: André Schwarz Date: Fri Jul 17 14:50:24 2009 +0200 update config for mvBC-P (MPC5200) This patch adds I2C support for mvBC-P and defines flash layout matching the shipped product. Signed-off-by: André Schwarz commit cb6d0b72c2c4f13c0075a7ae92e11682ec94a311 Author: Kumar Gala Date: Mon Jul 13 09:24:00 2009 -0500 ahci: Fix gcc 4.4 compiler warning ahci.c: In function 'ata_scsiop_read_capacity10': ahci.c:616: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Kumar Gala commit 51d91e1a253c97713c7f3e5c0b910a4db4979283 Author: Kumar Gala Date: Mon Jul 13 09:23:59 2009 -0500 drivers/bios_emulator: Fix gcc 4.4 compiler warning biosemu.c: In function 'BE_setVGA': biosemu.c:147: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Kumar Gala commit f97ec30bb3c5a4a456159eb2b75b3bc68772bf2a Author: Detlev Zundel Date: Mon Jul 13 16:01:19 2009 +0200 Re-add support for image type 'Standalone Program' Support for this type was lost during the bootm refactoring. Signed-off-by: Detlev Zundel commit ca95c9df0280f40e8e4befadbaae21fa67d92331 Author: Detlev Zundel Date: Mon Jul 13 16:01:18 2009 +0200 Add error checking for unsupported OS types. Signed-off-by: Detlev Zundel commit 982adfc610669482a32127282fe489857a92cfe3 Author: Peter Tyser Date: Fri Jul 10 18:46:10 2009 -0500 ppc: Unlock cache-as-ram in a consistent manner Previously, non-e500 architectures only unlocked their data cache which was used as early RAM when booting to Linux using the "bootm" command. This change causes all PPC boards with CONFIG_SYS_INIT_RAM_LOCK defined to unlock their data cache during U-Boot's initialization. This improves U-Boot performance and provides a common cache state when booting to different OSes. Signed-off-by: Peter Tyser commit b201171f2b4d509f3ad510b214bee70ff902e3d6 Author: Giuseppe CONDORELLI Date: Thu Jul 23 04:54:45 2009 -0400 zlib: updated to v.1.2.3 This patch updates zlib to the latest stable version. Only relevant zlib parts were ported to u-boot tree, as was done for the previously used version of zlib (0.95). New zlib gives faster inflate performance and other improvements, see www.zlib.net Signed-off-by: Giuseppe Condorelli Reviewed-by: Angelo Castello Edited commit message Signed-off-by: Wolfgang Denk commit 97cfe86163505ea18e7ff7b71e78df5bb03dad57 Author: Robin Getz Date: Tue Jul 21 12:15:28 2009 -0400 Save server's MAC address in environment Linux's netconsole works much better when you can pass it the MAC address of the server. (otherwise it just uses broadcast, which everyone else on my network complains about :) This sets the env var "serveraddr" (to match ethaddr), so that you can pass it to linux with whatever bootargs you want to.... addnetconsole=set bootargs $(bootargs) netconsole=@$(ipaddr)/eth0,@$(serverip)/$(serveraddr) Signed-of-by: Robin Getz Signed-off-by: Ben Warren commit 0b23fb368d08c9669fac647971ff249c3f9fee8f Author: Ilya Yanok Date: Tue Jul 21 19:32:21 2009 +0400 fec_mxc: driver for FEC ethernet controller on i.MX27 Signed-off-by: Ilya Yanok Signed-off-by: Ben Warren commit 0544c63681d2ea3607faf374e9c56f101e365b42 Author: Alessio Centazzo Date: Sat Jul 11 11:56:06 2009 -0700 ppc4xx: Fixed compilation warning in 4xx_enet.c This patch fixes a compilation warning for some Ethernet PHY-less PPC4xx platforms (440SPE based ones) and a potential compilation error for 440SP platforms (use of undefined 'ethgroup' variable). In the original code and in case of 440SPE platforms, 'ethgroup' is initialized to -1 and never modified. Later in the function, within an #ifdef statement, an 'if statement' executes code only if 'ethgroup' is set to 4, therefore it is harmless to avoid executing the 'if statement' by removing the CONFIG_440SPE from the affected #ifdefs. In case of 440SP platforms with on-board Ethernet PHY, 'ethgroup' is undefined but used (there are not such platforms in the repository yet). All other architectures are not affected by this change. Signed-off-by: Alessio Centazzo acpatin@yahoo.com Acked-by: Stefan Roese Signed-off-by: Ben Warren commit 09133f8580f0106429ba3600f1855bd3577ae58b Author: Michael Zaidman Date: Tue Jul 14 23:37:12 2009 +0300 DHCP regression on 2009-06 Fixed the DHCP/BOOTP/RARP regression introduced in u-boot-2009.06 by initializing our IP addr to 0 in order to accept any IP addr assigned to us by the DHCP/BOOTP/RARP server. Ack-by: Robin Getz Signed-off-by: Michael Zaidman Signed-off-by: Ben Warren commit 443ce4ac9d1138ae5ae6863b2d40a96fd6edf523 Author: Prafulla Wadaskar Date: Thu Jul 16 20:58:02 2009 +0530 net: phy: bugfixes: mv88E61xx multichip addressing support With these fixes, this driver works properly for multi chip addressging mode Bugfixes: 1. Build error fixed for function mv88e61xx_busychk_multic-fixed 2. PHY dev address error detection- fixed 3. wrong busy bit was refered in function mv88e61xx_busychk -fixed 4. invalid data read ptr was refered for RD_PHY in case of multichip addressing mode -fixed The Multichip Address mode is tested with RD6281A board having MV88E6165 switch on it Signed-off-by: Prafulla Wadaskar Signed-off-by: Ben Warren commit 16025ea45539219f2a7c750c6f0ae983ea5c2737 Author: Simon Kagstrom Date: Wed Jul 8 13:05:11 2009 +0200 arm: Kirkwood: Check the error summary bit for error detection The Marvell documentation for the 88f6281 states that the error coding is only valid if the error summary and last frame bits in the transmit descriptor status field are set. This patch adds checks for these for transmit (I would get transmit errors on bootp with the current check, which I believe are spurious). Signed-off-by: Simon Kagstrom Signed-off-by: Ben Warren commit 7b05f5e027b81cd3a9a41c6c6d3fe09c72fa93f6 Author: Simon Kagstrom Date: Wed Jul 8 13:03:18 2009 +0200 arm: Kirkwood: Fix compiler optimization bug for kwgbe_send kwgbe_send/recv both have loops waiting for the hardware to set a bit. GCC 4.3.3 cleverly optimizes the send case to ... a while(1); loop. This patch uses readl to force a read from device memory. Other volatile accesses have also been replaced with readl/writel where appropriate (as per suggestions on the U-boot mailing list). Signed-off-by: Simon Kagstrom Signed-off-by: Ben Warren commit 3f6b18ffd94621625de961bc566022b0266790f5 Author: Richard Retanubun Date: Thu Jul 2 13:21:22 2009 -0400 MIIPHYBB: Return 0xFFFF if the PHY is not asserting TA. This patch sets the returned value to 0xFFFF if the PHY does not exist and does not assert Transfer Acknowledge. A NULL check for the value pointer is also added for buffer overflow protection. Without this patch 'mii info' will show 'phantom' devices because the value will be not be initialized and return with some random value. Signed-off-by: Richard Retanubun Signed-off-by: Ben Warren commit 736fead8fdbf8a8407048bebc373cd551d01ec98 Author: Ben Warren Date: Mon Jul 20 22:01:11 2009 -0700 Convert SMC911X Ethernet driver to CONFIG_NET_MULTI API All in-tree boards that use this controller have CONFIG_NET_MULTI added Also: - changed CONFIG_DRIVER_SMC911X* to CONFIG_SMC911X* - cleaned up line lengths - modified all boards that override weak function in this driver - added Signed-off-by: Ben Warren Tested-by: Mike Frysinger commit 3bd0a877b74b9c005ae7cb892480ccedfa308c20 Author: Ben Warren Date: Fri Jul 17 00:50:15 2009 -0700 Add warning about upcoming removal of old Ethernet API Signed-off-by: Ben Warren commit b7fe25d2a8d1cede401d09e1f9c84f8fe47bdbb1 Author: Poonam Aggrwal Date: Thu Jul 2 16:15:13 2009 +0530 P2020RDB Added support of Vitesse PHYs VSC8641(RGMII) and VSC8221(SGMII) These PHYs are on P2020RDB platform. Also revamped Freescale copyright message in drivers/net/tsec.c. Signed-off-by: Poonam Aggrwal Signed-off-by: Ben Warren commit 1a32bf41881b5dbe3119cb77a33572b4d462cabf Author: Robin Getz Date: Mon Jul 20 14:53:54 2009 -0400 Add DNS support On 04 Oct 2008 Pieter posted a dns implementation for U-Boot. http://www.mail-archive.com/u-boot-users@lists.sourceforge.net/msg10216.html > > DNS can be enabled by setting CFG_CMD_DNS. After performing a query, > the serverip environment var is updated. > > Probably there are some cosmetic issues with the patch. Unfortunatly I > do not have the time to correct these. So if anybody else likes DNS > support in U-Boot and has the time, feel free to patch it in the main tree. Here it is again - slightly modified & smaller: - update to 2009-06 (Pieter's patch was for U-Boot 1.2.0) - README.dns is added - syntax is changed (now takes a third option, the env var to store the result in) - add a random port() function in net.c - sort Makefile in ./net/Makefile - dns just returns unless a env var is given - run through checkpatch, and clean up style issues - remove packet from stack - cleaned up some comments - failure returns much faster (if server responds, don't wait for timeout) - use built in functions (memcpy) rather than byte copy. Signed-off-by: Robin Getz Signed-off-by: Pieter Voorthuijsen Signed-off-by: Ben Warren commit 88ad3fd91c83a4343b25385fd78fd8e29ebb723f Author: Kim Phillips Date: Fri Jul 17 12:17:00 2009 -0500 net: tsec - fix dereferencing type-punned pointer will break strict-aliasing rules warning fix this gcc 4.4 warning: tsec.c: In function 'tsec_init': tsec.c:200: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Kim Phillips Signed-off-by: Ben Warren commit d9bec9f42ab34383737c8a94429aa02fe76d7946 Author: Mike Frysinger Date: Sat Jul 18 21:04:08 2009 -0400 net: rename NetRxPkt to NetRxPacket The net code is mostly consistent in using 'Packet' rather than 'Pkt', so rename the minor detractor to follow suite. Signed-off-by: Mike Frysinger Signed-off-by: Ben Warren commit 88a4c2e77cd5674db745d0c2ebbad68c9baf760c Author: Nobuhiro Iwamatsu Date: Thu Jun 25 16:33:04 2009 +0900 sh: sh_eth: Remove garbage from printf Signed-off-by: Nobuhiro Iwamatsu CC: Nobuhiro Iwamatsu Signed-off-by: Ben Warren commit 2ea20efa47da9d98ff38223ff51dea5439ad8708 Author: Andreas Pretzsch Date: Thu Jul 9 21:50:05 2009 +0200 smc911x: add support for LAN9221 Signed-off-by: Andreas Pretzsch Signed-off-by: Ben Warren commit 7168eba729b9e6d730db7cd1028767f7b1a6128b Author: David Brownell Date: Tue Jun 9 11:14:24 2009 -0700 rm9200 ethernet driver: board-specific quirk (csb337) CSB337 boards originally shipped with MicroMonitor, not U-Boot; and with a version using a different convention for recording Ethernet addresses than anyone else. To avoid breaking Linux when it uses U-Boot, have it use the same convention on that hardware. Signed-off-by: David Brownell Signed-off-by: Ben Warren commit 57215cd2e59fd403248df8f2f195e382900d5fc2 Author: Heiko Schocher Date: Thu Jul 16 09:58:31 2009 +0200 arm, kirkwood: added kw_gpio_set_valid() in gpio.h Signed-off-by: Heiko Schocher commit ec16441085f471c03a8c0909579463e31e5b947a Author: Dieter Kiermaier Date: Mon Jun 29 14:45:08 2009 +0200 Kirkwood: add Marvell Kirkwood gpio driver Signed-off-by: Dieter Kiermaier Acked-by: Prafulla Wadaskar Tested-by: Heiko Schocher commit 688b6a0ff2dcbb0c7e63ef63cbbcc291f14f321f Author: Heiko Schocher Date: Thu Jul 16 09:59:10 2009 +0200 arm, kirkwood: added KW_TWSI_BASE in kirkwood.h Signed-off-by: Heiko Schocher commit fbc8365ad7ab0afd4143bdbffab2fd0b24df004f Author: Prafulla Wadaskar Date: Thu Jul 16 21:02:24 2009 +0530 Marvell RD6281A Board support This is Marvell's 88F6281_A0 based reference design board This patch is tested for- 1. Boot from DRAM/NAND flash/NFS 2. File transfer using tftp and loadb 3. NAND flash read/write/erase Signed-off-by: Prafulla Wadaskar Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 2906e6d654fcc7f2451fde225e4e8b3f20c9555f Author: Piotr Ziecik Date: Fri Jul 17 16:35:19 2009 +0200 api: Fix broken build on ARM. This patch fixes broken build introduced by commit 84bf7ca522e94ec402a1264b01971b924b7e268f (api: remove un-needed ifdef CONFIG_API already handle by the Makefile). Signed-off-by: Piotr Ziecik commit 48677a1ef5f82adca49145a7baf11ece77f51945 Author: Wolfgang Denk Date: Wed Jul 22 23:53:23 2009 +0200 Fix "ld: cannot find -lstubs" build error Commit 1bc15386 moved the examples/ to examples/standalone but failed to adapt the Makefiles that need to link against libstubs.a Signed-off-by: Wolfgang Denk Cc: Signed-off-by: Peter Tyser commit ae71121a111ddf9dd057cacbbdd0f51054be428a Author: Wolfgang Denk Date: Sat Jul 18 20:47:36 2009 +0200 at91cap9adk: fix #ifdef/#endif pairing The #ifdef/#endif pairing in this file was obviously messed up. Signed-off-by: Wolfgang Denk commit 6b96a20d512b04a808438553874c00cf40812c44 Author: Minkyu Kang Date: Mon Jul 20 11:40:01 2009 +0900 ARM Cortex A8: Move OMAP3 specific reset handler Because of the reset_cpu is soc specific, should be move to soc Cc: Dirk Behme Signed-off-by: Minkyu Kang commit 048e7efe91f66094f868281c12e488ce2bae8976 Author: Kumar Gala Date: Wed Jul 22 10:12:39 2009 -0500 85xx/86xx: Replace in8/out8 with in_8/out_8 on FSL boards The pixis code used in8/out8 all over the place. Replace it with in_8/out_8 macros. Signed-off-by: Kumar Gala commit 0a6d0c6320b77bd6572393a93e6b8ccdf39c7100 Author: Peter Tyser Date: Tue Jul 21 13:51:08 2009 -0500 xpedite5370: Enable NAND command support Use the MPC8572's eLBC to access 1 GB (or greater) onboard NAND flash via the 'nand' command. Previously, the XPedite5370's NAND chip selects were properly configured, but NAND support was not enabled. Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit 39121c0896a6760bd436d88c17892f49a97902d0 Author: Peter Tyser Date: Tue Jul 21 13:51:07 2009 -0500 xes: Increase CONFIG_SYS_BOOTM_LEN to 16MB Increasing CONFIG_SYS_BOOTM_LEN from 8 MB to 16 MB is necessary to support uncompressing images larger than 8 MB when using the bootm command. Note that recent Linux kernels for the 85xx and 86xx map greater than 16MB of memory on bootup, but we use 16MB to maintain compatibility with older Linux kernels for now. Signed-off-by: Nate Case Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit 58f31b602dfd52eb7836ab82caa587514e046f02 Author: Peter Tyser Date: Sun Jul 19 19:17:41 2009 -0500 xpedite5370: Fix I2C GPIO initialization typo Signed-off-by: Peter Tyser Acked-by: Heiko Schocher Signed-off-by: Kumar Gala commit 5ff821006c6e7647d183ea95817044943bb22e7e Author: Peter Tyser Date: Sun Jul 19 19:17:40 2009 -0500 xpedite5200,5370: Use buffered NOR flash writes Buffered writes are possible on the XPedite5200 and XPedite5370 and greatly improve NOR flash write speeds Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit d9c147f371800a479a507a816b2fe572c97da197 Author: Peter Tyser Date: Fri Jul 17 10:14:48 2009 -0500 85xx, 86xx: Add common board_add_ram_info() Previously, 85xx and 86xx boards would display DRAM information on bootup such as: ... I2C: ready DRAM: Memory controller interleaving enabled: Bank interleaving! 2 GB FLASH: 256 MB ... This patch moves the printing of the DRAM controller configuration to a common board_add_ram_info() function which prints out DDR type, width, CAS latency, and ECC mode. It also makes the DDR interleaving information print out in a more sane manner: ... I2C: ready DRAM: 2 GB (DDR2, 64-bit, CL=4, ECC on) DDR Controller Interleaving Mode: bank FLASH: 256 MB ... Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit 12a440ae6d09445140f1a0c2023dba76a9f1a617 Author: Peter Tyser Date: Fri Jul 17 10:14:47 2009 -0500 tqm85xx: Remove board_add_ram_info() This is in preparation for adding one common 8xxx board_add_ram_info() function for all 8xxx boards Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit ed2c9488bbe389b7b25cada1e42bdae5d0976327 Author: Peter Tyser Date: Fri Jul 17 10:14:46 2009 -0500 xes: Remove 8xxx board_add_ram_info() function This is in preparation for adding one common 8xxx board_add_ram_info() fuction for all 8xxx boards Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit e7ee23ec1788d8cf269a4cf6b9cd3722cbc7d592 Author: Peter Tyser Date: Fri Jul 17 10:14:45 2009 -0500 86xx: Rename ccsr_ddr's sdram_mode_1, sdram_cfg_1 fields Rename sdram_mode_1 to sdram_mode and sdram_cfg_1 to sdram_cfg to match the 86xx user's manual and other Freescale architectures Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit f6155c6fbb1d85f517b7c160570f0995ef14c43f Author: Roy Zang Date: Thu Jul 9 10:05:48 2009 +0800 85xx: Add pci/pcie E1000 ethernet support for MPC8544DS and MPC8536 boards Signed-off-by: Roy Zang Signed-off-by: Kumar Gala commit 6bb5b412291177e6edd42f9a80e5c5afe57a6a0f Author: Kumar Gala Date: Tue Jul 14 22:42:01 2009 -0500 85xx: Report which "bank" of NOR flash we are booting from on FSL boards The p2020DS, MPC8536DS, MPC8572DS, MPC8544DS boards are capable of swizzling the upper address bits of the NOR flash we boot out of which creates the concept of "virtual" banks. This is useful in that we can flash a test of image of u-boot and reset to one of the virtual banks while still maintaining a working image in "bank 0". The PIXIS FPGA exposes registers on LBC which we can use to determine which "bank" we are booting out of (as well as setting which bank to boot out of). Signed-off-by: Kumar Gala commit 9af9c6bdc16da53772c56b1a79c2c91701fe94e6 Author: Kumar Gala Date: Wed Jul 15 13:45:00 2009 -0500 86xx: Report which "bank" of NOR flash we are booting from on MPC8641HPCN The MPC8641HPCN board is capable of swizzling the upper address bit of the NOR flash we boot out of which creates the concept of "virtual" banks. This is useful in that we can flash a test of image of u-boot and reset to one of the virtual banks while still maintaining a working image in "bank 0". The PIXIS FPGA exposes registers on LBC which we can use to determine which "bank" we are booting out of (as well as setting which bank to boot out of). Signed-off-by: Kumar Gala commit caf72ff329759b4da71352ab098537c7698c0e9f Author: Luigi 'Comio' Mantellini Date: Tue Jul 21 10:45:49 2009 +0200 Refresh LZMA-lib to v4.65 Signed-off-by: Luigi 'Comio' Mantellini commit 70ebf31633f372a24505e47846b2628e8435ea37 Author: Wolfgang Denk Date: Fri Jul 17 23:35:29 2009 +0200 AT91: factor out ROUND() macro A large number of boards (all AT91 based) duplicated the ROUND() macro in their board specific config files. Add the definition to include/common.h and clean up the board config files. Signed-off-by: Wolfgang Denk commit 89188a62333c0841a7166783d2ebdd39d7044eb2 Author: Kumar Gala Date: Wed Jul 15 08:54:50 2009 -0500 85xx: Bump up the BOOTMAP to 16M on FSL 85xx boards We have always mapped at least 16M in the kernel and we have seen cases with new kernel features that a kernel image needs more than 8M of memory. Signed-off-by: Kumar Gala commit d4abc757c26c531293f5bbc4262ade44a317eec9 Author: Peter Tyser Date: Mon Jul 20 19:02:21 2009 -0500 Move api_examples to examples/api Also add a rule to remove demo.bin which was previously leftover after a "make clean" Signed-off-by: Peter Tyser commit af1d7d984a23a0faa1f436ebfeb55c876b1a99e1 Author: Heiko Schocher Date: Tue Jul 21 06:37:28 2009 +0200 83xx, kmeter: fix compile error CONFIG_SYS_MALLOC_LEN is defined in the board config, and the keymile-common.h, which collects common options used by all keymile-boards. This results in a compile error when compiling the kmeter1 board. So remove this define in the board config file. Signed-off-by: Heiko Schocher commit 39df00d9aecfb465b9eec9af593f9b763fb5209a Author: Heiko Schocher Date: Thu Jul 9 12:04:26 2009 +0200 i2c, mpc83xx: add CONFIG_SYS_I2C_INIT_BOARD for fsl_i2c This patch adds the possibility to call a board specific i2c bus reset routine for the fsl_i2c bus driver, and adds this option for the keymile kmeter1 board. The deblock sequence for this board is implemented and tested in the following way: CR = 0x20 (release SDA and SCL pin) CR = 0xa0 (start read) dummy read dummy read if 2. dummy read == 0x00 3. dummy read CR = 0x80 (SDA and SCL now 1 SR = 0x86) CR = 0x00 (Modul reset SR=0x81) CR = 0x80 (SDA and SCL = 1, SR = 0x81) Signed-off-by: Heiko Schocher commit 1bc1538613d66cef3cbce680fc8d7c3561a0fbd0 Author: Peter Tyser Date: Fri Jul 10 11:03:19 2009 -0500 Move examples/ to examples/standalone The current files in examples are all standalone application examples, so put them in their own subdirectory for organizational purposes Signed-off-by: Peter Tyser commit b220c64d86f7c705a183302c3b50076d7e5d876c Author: Peter Tyser Date: Fri Jul 10 11:03:15 2009 -0500 Move architecture specific config.mk files into subdirs This cleans up U-Boot's toplevel directory a bit and makes the architecture 'config.mk' file naming and location similar to board and cpu 'config.mk' files Signed-off-by: Peter Tyser commit 082becd0d546399637fa94fdf9f1730a0f7bf348 Author: Po-Yu Chuang Date: Fri Jul 10 18:25:34 2009 +0800 Add "tags" to .gitignore file. Signed-off-by: Po-Yu Chuang Signed-off-by: Wolfgang Denk commit dc71b248ef0d5e12b19f33c6efb873e31df91fa9 Author: Heiko Schocher Date: Thu Jul 9 12:04:18 2009 +0200 powerpc: updates for the keymile boards - CONFIG_SYS_MAX_I2C_BUS changed to 1 We use only one I2C hardwarecontroller on this boards, so change the CONFIG_SYS_MAX_I2C_BUS to 1. - common: dont print errormsg if second IVM Block lacks. - 82xx, mgcoge: fix double mtdpart entry in environment - 82xx, mgcoge: activate on second Flash the second bank. - common: CONFIG_ENV_SIZE 0x4000 for all keymile boards - common: Change malloc size to 1MByte for all Keymile boards We need a bigger malloc area for the environment support (128k) on some Keymile boards (kmeter1) and the upcoming UBI support. Change it to 1MB for all Keymile boards to be on the save side. Also define CONFIG_SYS_64BIT_VSPRINTF which is needed for UBI/UBIFS support. - Add UBI support to all Keymile boards - change manner of writing "/localbus/ranges" node instead of writting the complete "/localbus/ranges" node before booting Linux, only update the ranges entries which gets dynamical detected (size of flashes). This is needed, because keymile adds in the DTS "/localbus/ranges" node entries, which u-boot must not overwrite/delete. - kmeter, mgcoge: define 2 seperate regions needed for the Intel P30 chips The Intel P30 chip has 2 non-identical chips on one die, so we need to define 2 seperate regions that are scanned by physmap_of independantly. - kmeter1: Add MTD concat support to Keymile boards - 82xx, mgcoge: add "unlock=yes" to default environment - added CONFIG_MTD_DEVICE to get in sync with mainline code Signed-off-by: Heiko Schocher Signed-off-by: Stefan Roese commit f14d81050a9e0fa57aedb1bc746c60a07c1ad67f Author: galak Date: Tue Jul 7 15:53:21 2009 -0500 fsl_sata: Fix compiler warnings shown by gcc-4.4 Update fsl_sata to use common structures instead of casting back and forth between the fsl specific ones and the common ones (which are identical). fsl_sata.c: In function 'scan_sata': fsl_sata.c:550: warning: dereferencing pointer 'cfis' does break strict-aliasing rules fsl_sata.c:549: warning: dereferencing pointer 'cfis' does break strict-aliasing rules fsl_sata.c:548: warning: dereferencing pointer 'cfis' does break strict-aliasing rules fsl_sata.c:545: note: initialized from here fsl_sata.c:592: warning: dereferencing pointer 'cfis' does break strict-aliasing rules fsl_sata.c:590: warning: dereferencing pointer 'cfis' does break strict-aliasing rules fsl_sata.c:588: warning: dereferencing pointer 'cfis' does break strict-aliasing rules fsl_sata.c:586: warning: dereferencing pointer 'cfis' does break strict-aliasing rules fsl_sata.c:579: warning: dereferencing pointer 'cfis' does break strict-aliasing rules ... Signed-off-by: Kumar Gala commit 20938e54a207472a090f04f20f30c9e32b14137e Author: Simon Kagstrom Date: Tue Jul 7 15:58:51 2009 +0200 Add unaligned.h for arm This patch adds unaligned.h for ARM (needed to build with LZO compression). The file is taken from the linux kernel, but includes u-boot headers instead. Signed-off-by: Simon Kagstrom Acked-by: Stefan Roese commit 433ea8abd6adfae3138dd4ce238237a037e1e537 Author: Peter Tyser Date: Sun Jul 19 19:17:42 2009 -0500 Remove last remanants of unused CONFIG_I2C_CMD_TREE Signed-off-by: Peter Tyser commit f6ca3b70949790ab5438d6c9a592216cc3616110 Author: Andrzej Wolski Date: Fri Jul 17 22:26:54 2009 +0200 ubi: help message correction Fix incorrect information about size units and correct typo. Signed-off-by: Andrzej Wolski Signed-off-by: Stefan Roese commit 22f2017c31bc682e9b15612a5c2580ab5b84418e Author: Peter Tyser Date: Sun Jul 19 19:17:42 2009 -0500 Remove last remanants of unused CONFIG_I2C_CMD_TREE Signed-off-by: Peter Tyser commit f99a292aa6083057f5db8283d2ce4a2be22b8856 Author: Andrzej Wolski Date: Fri Jul 17 22:26:54 2009 +0200 ubi: help message correction Fix incorrect information about size units and correct typo. Signed-off-by: Andrzej Wolski Signed-off-by: Stefan Roese commit b86b85e2611d57d834795a92453431a1a340c3c9 Author: Ilya Yanok Date: Mon Jun 29 17:53:16 2009 +0400 mmc: set bus width to 1 and clock to minimum early during initialization We need to switch back to 1-bit before initialization or SD 2.0 cards will fail to send SCR if we've switched to 4-bit already. Signed-off-by: Ilya Yanok commit cff80f2cd12bf9767509b5334ecfc90cd7de5502 Author: Shinya Kuribayashi Date: Sat Jun 20 19:14:33 2009 +0900 config.mk: Remove unused HPATH This variable is not unused anywhere. Signed-off-by: Shinya Kuribayashi commit a781de12700e2cb3d3011fc83b47f7dd8cc3c154 Author: Grzegorz Bernacki Date: Wed Jun 17 16:20:14 2009 +0200 digsy mtc: Enable command line history. Signed-off-by: Grzegorz Bernacki commit 37566090766d61beef70c62986b90749920255d8 Author: Mike Frysinger Date: Thu Jul 2 19:23:25 2009 -0400 compiler.h: unify system ifdef cruft here Shove a lot of the HOSTCC and related #ifdef checking crap into the new compiler.h header so that we can keep all other headers nice and clean. Also introduce custom uswap functions so we don't have to rely on the non standard implementations that a host may (or may not in the case of OS X) provide. This allows mkimage to finally build cleanly on an OS X system. Signed-off-by: Mike Frysinger commit 2a2ed845c085eb093b69fa6382fcf7534bb1f4b0 Author: Kim Phillips Date: Mon Jun 15 11:50:40 2009 -0500 common: fix 'dummy' is used uninitialized in this function warning fix this gcc 4.4 warning: xyzModem.c: In function 'xyzModem_stream_open': xyzModem.c:564: warning: 'dummy' is used uninitialized in this function Signed-off-by: Kim Phillips commit 1ea6bcd8590b3ff9fe2bfbb0eb29a3b0edaa9460 Author: Mike Frysinger Date: Sun Jun 14 23:33:14 2009 -0400 push CROSS_COMPILE out to $(ARCH)_config.mk Each arch should handle setting a proper default CROSS_COMPILE value in their own config.mk file rather than having to maintain a large ugly list in the Makefile. By using conditional assignment, we don't have to worry about the variable already being set (env/cmdline/etc...). The common config.mk file takes care of exporting CROSS_COMPILE already, and while a few variables (toolchain ones) utilize CROSS_COMPILE before including the arch config.mk, they do so with deferred assignment. Signed-off-by: Mike Frysinger commit 60a3f404acbf8238a3138fe1f80a6bac75da4582 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat Jun 13 12:55:37 2009 +0200 malloc.h: protect it against multiple include Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 7640f41988a456a0b1f05263d2e2dc5cd7d93984 Author: Wolfgang Denk Date: Sun Jul 19 19:37:24 2009 +0200 Fix boards broken after removal of legacy NAND and DoC support Commit 2419169f removed support for legacy NAND and disk on chip but missed to update the code for a few boards. This patch fixes the resulting build issues. Signed-off-by: Wolfgang Denk commit 1a4664b53aaf23687b52d64b94be06a9aa260b86 Author: Wolfgang Denk Date: Sun Jul 19 19:32:37 2009 +0200 cmd_flash.c: fix fix compile error for boards with DataFlash Commit 5669ed45 ("cmd_flash.c: fix warning: unused variable 'addr_first'/'addr_last'") changed the #ifdef logic areound the declaration of these variables and missed a combination of settings of HAS_DATAFLASH with SYS_NO_FLASH; this patch fixes this. Also spotted by Alessandro Rubini Signed-off-by: Wolfgang Denk commit 341245a28830d3261c41b09d958eeea7bb93587a Author: Wolfgang Denk Date: Sun Jul 19 12:05:15 2009 +0200 pcm030: fix out-of-tree building Commit 0a87dd90 that was supposed to fix out-of-tree building for the pcm030 board was unfortunately incomplete. Signed-off-by: Wolfgang Denk commit 8bf29b59fce8cc381114929082202d800e313ad5 Author: Simon Kagstrom Date: Tue Jul 7 13:58:51 2009 +0200 Add unaligned.h for arm This patch adds unaligned.h for ARM (needed to build with LZO compression). The file is taken from the linux kernel, but includes u-boot headers instead. Signed-off-by: Simon Kagstrom Acked-by: Stefan Roese commit e405afab1dda66c9df3733f6b779d72fc36a0162 Author: Kazuaki Ichinohe Date: Fri Jun 12 18:10:12 2009 +0900 Canyonlands SATA harddisk driver This patch adds a SATA harddisk driver for the canyonlands. This patch is kernel driver's porting. This patch corresponded to not cmd_scsi but cmd_sata. This patch divided an unused member with ifndef __U_BOOT__ in the structure. [environment variable, boot script] setenv bootargs root=/dev/sda7 rw setenv bootargs ${bootargs} console=ttyS0,115200 ext2load sata 0:2 0x400000 /canyonlands/uImage ext2load sata 0:2 0x800000 /canyonlands/canyonlands.dtb fdt addr 0x800000 0x4000 bootm 0x400000 - 0x800000 If you drive SATA-2 disk on Canyonlands, you must change parts from PI2PCIE212 to PI2PCIE2212 on U25. We confirmed to boot by using following disks: 1.Vendor: Fujitsu Type: MHW2040BS 2.Vendor: Fujitsu Type: MHW2060BK 3.Vendor: HAGIWARA SYS-COM:HFD25S-032GT 4.Vendor: WesternDigital Type: WD3200BJKT (CONFIG_LBA48 required) 5.Vendor: WesternDigital Type: WD3200BEVT (CONFIG_LBA48 required) 6.Vendor: Hitachi Type: HTS543232L9A300 (CONFIG_LBA48 required) 7.Vendor: Seagate Type: ST31000333AS (CONFIG_LBA48 required) 8.Vendor: Transcend Type: TS32GSSD25S-M 9.Vendor: MTRON Type: MSD-SATA1525-016 Signed-off-by: Kazuaki Ichinohe commit 52a0e2dee90c17e39634de814b16b96061cfb472 Author: Reinhard Arlt Date: Wed Jun 10 19:09:40 2009 +0200 Add support for the Tundra TSI148 VME-bridge From: Reinhard Arlt This patch adds support for the Tundra TSI148 VME-bridge. It's used on the upcoming esd VME8349 board. Signed-off-by: Reinhard Arlt Signed-off-by: Stefan Roese commit 8d1fea2c4041e665c96944e3f6fcffbde55db34b Author: Mike Frysinger Date: Thu Jul 16 19:05:30 2009 -0400 Blackfin: bf537-{minotaur,srv1}: do not hardcode CONFIG_ETHADDR MAC addresses should not be hardcoded in boards to avoid random link level conflicts. Signed-off-by: Mike Frysinger commit baf357050353aee30c04f3f4b868426cb54468ca Author: Mike Frysinger Date: Fri Jul 10 10:42:06 2009 -0400 Blackfin: bf533-stamp: back down SCLK a bit While the 1.0 and 1.2 spin of the bf533-stamp boards can handle the higher SCLK speeds just fine, the 1.1 spin cannot due to the bugs introduced with the shortened SDRAM traces. So lower the SCLK speed down to a value that all three can handle. Signed-off-by: Mike Frysinger commit 490fe7349102012c48730f6fc14ef36c8d155068 Author: Mike Frysinger Date: Thu Jul 9 20:56:56 2009 -0400 Blackfin: split cpu COBJS into multilines Signed-off-by: Mike Frysinger commit 909878fd3fda056d19b8b51a5cc51cb1c0b563d1 Author: Mike Frysinger Date: Thu Jul 9 01:15:05 2009 -0400 Blackfin: add os log functions Part of the mini Blackfin ABI with operating systems is that they can use 0x4f0-0x4f8 to pass log buffers to/from bootloaders. So add support to U-Boot for reading the log buffer. Signed-off-by: Mike Frysinger commit 9993e196da707a0a1cd4584f1fcef12382c1c144 Author: Kim Phillips Date: Sat Jul 18 18:42:13 2009 -0500 mpc83xx: convert all remaining boards over to 83XX_GENERIC_PCI Signed-off-by: Kim Phillips commit d39041fcadb1231430201d298c31f6be03d654f7 Author: Wolfgang Denk Date: Sun Jul 19 01:15:52 2009 +0200 PATI board: fix compiler warnings Fix these: pati.c: In function 'checkboard': pati.c:358: warning: pointer targets in passing argument 2 of 'getenv_r' differ in signedness ../common/flash.c: In function 'write_word': ../common/flash.c:824: warning: dereferencing type-punned pointer will break strict-aliasing rules cmd_pati.c: In function 'do_pati': cmd_pati.c:279: warning: 'value' may be used uninitialized in this function Signed-off-by: Wolfgang Denk commit 28c345042eafc550a34b9f52431bd4a22af6ac25 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat May 16 12:14:56 2009 +0200 mpl: printing current stdio devices cleanup Currently the mpl boards duplicate the code to print the current devices from common/console.c; use stdio_print_current_devices() instead Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Edited commit message. Signed-off-by: Wolfgang Denk commit 7e3be7cf3bb344f717b6ec3d47a081269ea67ead Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat May 16 12:14:55 2009 +0200 console: unify printing current devices Create stdio_print_current_devices() for this purpose Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 5669ed4557edf2714203aa8625c9fcd5a753b338 Author: Wolfgang Denk Date: Sat Jul 18 23:18:14 2009 +0200 cmd_flash.c: fix warning: unused variable 'addr_first'/'addr_last' Signed-off-by: Wolfgang Denk commit 6bb6e6c75ec4ef496f00f7f530e549d3e073c5de Author: Tom Rix Date: Tue Jun 30 15:04:13 2009 -0500 OMAP3 Fix compiler warning for v7_flush_dcache_all On build of omap3 targets in MAKEALL, the *.ERR files have cpu.c: In function 'cleanup_before_linux': cpu.c:64: warning: implicit declaration of function 'v7_flush_dcache_all' cpu.c:64: warning: implicit declaration of function 'get_device_type The functions v7_flush_dcache_all and get_device_type are declared in include/asm-arm/arch-omap3/sys_proto.h, so use this file to declare the functions. Signed-off-by: Tom Rix commit dba107b967332fc8a35867f4d58038626c968800 Author: Wolfgang Denk Date: Sat Jul 18 22:09:38 2009 +0200 ARM: make split_by_variant.sh output more useful The board/armltd/integrator/split_by_variant.sh script used to print "Configuring for integrator*p board..." no matter which board name was being compiled. This made it difficult to match MAKEALL output to board names. This patch fixes this. Signed-off-by: Wolfgang Denk commit 2eb99ca8029b44c988d5f6312f97e68d3b9cb2bd Author: Wolfgang Denk Date: Sat Jul 18 21:52:24 2009 +0200 NAND: Part 2: Fix warning Please define CONFIG_SYS_64BIT_VSPRINTF... Commit 8d2effea added a warning for configurations that use NAND without defining the (then necessary) CONFIG_SYS_64BIT_VSPRINTF but failed to fix the affected boards. This patch covers the non-PPC boards that were missed in the previous patch (commit 170c1972). Signed-off-by: Wolfgang Denk commit 7024aa14df2981b4e65c6189909da9aadb1c22da Author: Wolfgang Denk Date: Sat Jul 18 20:46:38 2009 +0200 at91cap9adk: fix #ifdef/#endif pairing The #ifdef/#endif pairing in this file was obviously messed up. Signed-off-by: Wolfgang Denk commit 4abc5bffea244589fa1097e4c899a63efc609c8e Author: Prafulla Wadaskar Date: Thu Jul 16 20:58:01 2009 +0530 Marvell MV88F6281GTW_GE Board support This is Marvell's 88F6281_A0 based custom board developed for wireless access point product This patch is tested for- 1. Boot from DRAM/SPI flash/NFS 2. File transfer using tftp and loadb 3. SPI flash read/write/erase 4. Booting Linux kernel and RFS from SPI flash 5. Boot from USB supported Reviewed-by: Ronen Shitrit Signed-off-by: Prafulla Wadaskar commit 55dd4ba5413b14e8ee24058c89ac5c05376c331c Author: Prafulla Wadaskar Date: Thu Jul 16 20:58:00 2009 +0530 Marvell Sheevaplug Board support Reference: http://plugcomputer.org/ http://openplug.org/plugwiki/index.php/Das_U-boot_plug_support This patch is tested for- 1. Boot from DRAM/NAND flash 2. File transfer using tftp 3. NAND flash read/write/erase 4. Linux kernel and RFS Boot from NAND 5. Enabled USB PHY init for kernel need 6. Boot from USB supported Note: to boot Kirkwood kernel with USB support, you should add "usb start" in the boot sequence Signed-off-by: Prafulla Wadaskar commit 0a87dd90a75d034301496285026fbd8106c7c6d5 Author: Wolfgang Denk Date: Sat Jul 18 18:00:25 2009 +0200 pcm030: fix out-of-tree building Commit c9969947, which added support for the pcm030 board (aka phyCORE-MPC5200B-tiny), broke out-of-tree building. Signed-off-by: Wolfgang Denk commit 9ff59601c71e800b9d0dfde22fa70d12c71c12b4 Author: Wolfgang Denk Date: Sat Jul 18 16:36:11 2009 +0200 MPC837XERDB: fix warning: "CONFIG_SYS_MONITOR_LEN" redefined Signed-off-by: Wolfgang Denk commit 2b5243fc24a724e83409c0b70caa1a3180e997ae Author: Wolfgang Denk Date: Sat Jul 18 16:13:18 2009 +0200 8xxx: fix warning: implicit declaration of function 'uec_standard_init' Commit 8e55258f created function uec_standard_init() to initialize all UEC interfaces for 83xx and 85xx but failed to provide a prototype for it. Signed-off-by: Wolfgang Denk commit 5b54df2674fdad5e7d316484c67efc68e79f3f0d Author: Wolfgang Denk Date: Sat Jul 18 15:46:02 2009 +0200 MIP405T: fix compile problem The "stdio/device: rework function naming convention" patch (commit 52cb4d4f) broke the MIP405T board; this patch fixes it. Signed-off-by: Wolfgang Denk commit 170c19725ecd3a0e2e517dfd49979ca8822edec0 Author: Wolfgang Denk Date: Sat Jul 18 15:32:10 2009 +0200 NAND: Fix warning Please define CONFIG_SYS_64BIT_VSPRINTF... Commit 8d2effea added a warning for configurations that use NAND without defining the (then necessary) CONFIG_SYS_64BIT_VSPRINTF but failed to fix the affected boards. Signed-off-by: Wolfgang Denk commit 6e897a661fb9968ce354165a12cce82e4b889e04 Author: Wolfgang Denk Date: Sat Jul 18 15:05:44 2009 +0200 CPCI750: fix compile problem Commit bc0d3296 removed ppc_error_no.h from Marvell boards but forgot to update board/esd/cpci750/mv_eth.h Signed-off-by: Wolfgang Denk commit 6aee3048348f1b19ab89156da98bfa4f7babf24b Author: Alessandro Rubini Date: Fri Jul 17 14:42:11 2009 +0200 cmd_i2c: bugfix: add missing brace The sub-command parser missed a brace, so "return 0;" is always taken and no error message is diplayed if you say "i2c scan" instead of "i2c probe", for example. Proper brace is added. Also, a misleading and unneeded else is removed. Signed-off-by: Alessandro Rubini commit 52cb4d4fb3487313f5a72ea740f527a4aefaa365 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat May 16 12:14:54 2009 +0200 stdio/device: rework function naming convention So far the console API uses the following naming convention: ======Extract====== typedef struct device_t; int device_register (device_t * dev); int devices_init (void); int device_deregister(char *devname); struct list_head* device_get_list(void); device_t* device_get_by_name(char* name); device_t* device_clone(device_t *dev); ======= which is too generic and confusing. Instead of using device_XX and device_t we change this into stdio_XX and stdio_dev This will also allow to add later a generic device mechanism in order to have support for multiple devices and driver instances. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Edited commit message. Signed-off-by: Wolfgang Denk commit f732a7598fa36d48241df20b1a1f4cdbf09f75ee Author: Peter Tyser Date: Wed Jul 15 00:01:08 2009 -0500 ppc: Fix compile error for boards with CONFIG_DDR_ECC A bug was introduced by commit e94e460c6e8741f42dab6d8dd4b596ba5d9d79ae which affected non-MPC83xx/85xx/86xx ppc boards which had CONFIG_DDR_ECC defined and resulted in errors such as: Configuring for canyonlands board... fsl_dma.c:50:2: error: #error "Freescale DMA engine not supported on your processor" make[1]: *** No rule to make target `.depend', needed by `libdma.a'. Stop. Signed-off-by: Peter Tyser commit 18e067de9b6ed087fa60496e64887f0b7458dbaa Author: Prafulla Wadaskar Date: Thu Jul 16 20:57:59 2009 +0530 include/config_cmd_default.h cleanup arranged configurations in alphabetical order CONFIG_CMD_FLASH moved under ifndef CONFIG_SYS_NO_FLASH Signed-off-by: Prafulla Wadaskar commit 569460ebf14b87bd8fdb2352bde95d35ee96e13b Author: Mike Frysinger Date: Sun Jun 14 21:35:22 2009 -0400 sata: namespace curr_device variable The curr_device variable really should be namespaced with a "sata_" prefix since it is only used by the sata code. It also avoids random conflicts with other pieces of code (like cmd_mmc): common/libcommon.a(cmd_sata.o):(.data.curr_device+0x0): multiple definition of `curr_device' common/libcommon.a(cmd_mmc.o):(.data.curr_device+0x0): first defined here Signed-off-by: Mike Frysinger commit 02e22c2de1ce2312f2636fa473a60c8d8f18d8aa Author: Mike Frysinger Date: Sun Jun 14 21:35:21 2009 -0400 cmd_mmc: make curr_device static The curr_device variable isn't used outside of cmd_mmc, so mark it static to avoid conflicts with other pieces of code (like sata which also exports a curr_device). Otherwise we end up with stuff like: common/libcommon.a(cmd_sata.o):(.data.curr_device+0x0): multiple definition of `curr_device' common/libcommon.a(cmd_mmc.o):(.data.curr_device+0x0): first defined here Signed-off-by: Mike Frysinger commit 2d8d2adde3fce1152e4ad9f47238f07e70793c53 Author: Mike Frysinger Date: Sun Jun 14 21:35:16 2009 -0400 envcrc: add missing dependencies on env storage When the envcrc building was made conditional, it missed a bunch of env storage types, so add all currently supported types. Signed-off-by: Mike Frysinger commit 2419169f5749d7af501b3b77a5336d1d535320de Author: Scott Wood Date: Thu Jul 16 19:08:04 2009 -0500 Remove legacy NAND and disk on chip references from boards. Signed-off-by: Scott Wood commit 12e9043c7ed961b60df865f45d9a3c74d6a38199 Author: Shinya Kuribayashi Date: Sat Jun 20 19:10:14 2009 +0900 config.mk: Remove $(PCI_CLOCK) reference The following commit introduced $(PCI_CLOCK) reference so that we could tweak `PCI_66M' definition via an environment variable. > commit f046ccd15c8bc9613bfd72916b761a127d36e5c6 > Author: Eran Liberty > Date: Thu Jul 28 10:08:46 2005 -0500 > > * Patch by Eran Liberty > Add support for the Freescale MPC8349ADS board. But I suggest a removal of it for the following reasons: * In 2006, MPC8349ADS was merged into MPC8349EMDS port, and it seems that MPC8349EMDS port is PCI_66M free. * OTOH, PCI_66M is used by MPC832XEMDS an MPC8360EMDS ports, but they don't need $(PCI_CLOCK) environment variable at all. PCI_66M is automatically configured via $(BOARD)_config names with the help of $(findstring _66_,$@). * Unfortunately $(PCI_CLOCK) has been undocumented anywhere, so only a few people know the existence of it these days. * Keep config.mk independent from $(BOARD) as much as possible. Signed-off-by: Shinya Kuribayashi Acked-by: Kim Phillips commit 3db75d9c11d37cc1d28bebd91b19f4e548b68155 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat May 23 21:42:36 2009 +0200 fix: missing autoconfig.mk from general Makefile At the first run of make we generate the autoconf.mk and autoconf.mk.dep if not already the case and we currently include only to .dep In order to use these autogenerated values we need to include it also even if it's included in config.mk but it's done before their generation Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Mike Frysinger commit 1ca298ced07327749b54321815f76fcddb2f9479 Author: Matthias Weisser Date: Thu Jul 9 16:07:30 2009 +0200 Added support for splash screen positioning This patch adds support splash image positioning by adding an additional variable "splashpos" to the environment. Please see README for details. Signed-off-by: Matthias Weisser Acked-by: Matthias Fuchs Signed-off-by: Anatolij Gustschin commit 9d173e0233493113c9b1aa81bd2208d0057ab9db Author: Anatolij Gustschin Date: Tue Jul 7 13:11:36 2009 +0200 video: mb862xx: replace printf with puts Signed-off-by: Anatolij Gustschin commit cce99b2a7dd80683d61360aee56a6ece344950b2 Author: Anatolij Gustschin Date: Tue Jul 7 13:27:07 2009 +0200 video: mb862xx: use macros instead of magic numbers Signed-off-by: Anatolij Gustschin commit e86528671ece6d5c1162656a37fc68a8e0bf67f8 Author: Anatolij Gustschin Date: Tue Jul 7 13:24:08 2009 +0200 video: mb862xx: fix coding style and remove dead code Signed-off-by: Anatolij Gustschin commit 292ed489dba8cc97b458579003a8001cd4703cd8 Author: Michal Simek Date: Tue Jun 30 12:03:50 2009 +0200 microblaze: Remove ignored return type for __arch__swab16 function This change remove compilation warnings. Signed-off-by: Michal Simek commit e2776587c0eac131954ae100fda89cc3e7ed8b57 Author: Michal Simek Date: Tue Jun 30 12:02:45 2009 +0200 microblaze: Removed unused variables Signed-off-by: Michal Simek commit be33b046b549ad88c204c209508cd7657232ffbd Author: Scott Wood Date: Wed Apr 1 15:02:13 2009 -0500 Remove legacy NAND and disk on chip code. Legacy NAND had been scheduled for removal. Any boards that use this were already not building in the previous release due to an #error. The disk on chip code in common/cmd_doc.c relies on legacy NAND, and it has also been removed. There is newer disk on chip code in drivers/mtd/nand; someone with access to hardware and sufficient time and motivation can try to get that working, but for now disk on chip is not supported. Signed-off-by: Scott Wood commit fbdaafaee71e2c7f2c31b3582ab6d8679efee8d3 Author: Stefan Roese Date: Thu Jun 4 16:40:36 2009 +0200 nand: Change NAND_MAX_OOBSIZE to 218 as needed for some 4k page devices This is needed for the MPC512x NAND driver (fsl_nfc_nand.c) which already defines such a 4k plus 218 bytes ECC layout. Signed-off-by: Stefan Roese Cc: Scott Wood Signed-off-by: Scott Wood commit f2f376ab956c17d4a0c42a993133ca25cdc87278 Author: Stefan Roese Date: Thu Jul 16 15:13:04 2009 +0200 nand: ndfc: Remove unnecessary #ifdef's Now that the 4xx NAND driver ndfc is moved to the common NAND driver directory we don't need this #ifdef's anymore. Signed-off-by: Stefan Roese Cc: Scott Wood Signed-off-by: Scott Wood commit 12582ac771b0bf3852817c3bfa4be326522a0665 Author: Stefan Roese Date: Thu Jul 16 15:12:48 2009 +0200 nand/ppc4xx: Move PPC4xx NAND driver to common NAND driver directory Signed-off-by: Stefan Roese Cc: Scott Wood Signed-off-by: Scott Wood commit 3ebf70db5452d3d47c316ddef09f40e76553bcba Author: Valeriy Glushkov Date: Tue Jul 14 13:51:10 2009 +0300 nand: fixed failed reads on corrected ECC errors in nand_util.c Signed-off-by: Valeriy Glushkov Signed-off-by: Paulraj, Sandeep Signed-off-by: Scott Wood commit ed727d394c5ab139033719772dc95dc25cfa14f7 Author: David Brownell Date: Mon Jul 13 16:29:04 2009 -0700 Typo fix: use CONFIG_SOC_DM644X, not CONFIG_SOC_DM646. Signed-off-by: David Brownell Signed-off-by: Scott Wood commit 937076f84c5064f0a79105fce352ac7cf7b33643 Author: Kyungmin Park Date: Sat Jul 11 16:49:55 2009 +0900 MTD: OneNAND: Increase the environment size to 4KiB Also use mtd operation instead of onenand functions Signed-off-by: Kyungmin Park Signed-off-by: Scott Wood commit bfadb17f69c256196620c32164775f063a59c34f Author: Anton Vorontsov Date: Wed Jun 10 00:25:38 2009 +0400 mpc83xx: MPC837xEMDS: Use hwconfig instead of pci_external_arbiter variable Since we have simple hwconfig interface now, we don't need pci_external_arbiter variable any longer. Signed-off-by: Anton Vorontsov Acked-by: Kim Phillips commit b8b71ffbc35fde6905e65ffdbf4e4b87efc26b7e Author: Anton Vorontsov Date: Wed Jun 10 00:25:36 2009 +0400 mpc83xx: MPC8315ERDB: Use hwconfig for board type selection This patch simply converts the board to the hwconfig infrastructure. Signed-off-by: Anton Vorontsov Acked-by: Kim Phillips commit c78c678354c8321737aa07e86831ff14176f4ed5 Author: Anton Vorontsov Date: Wed Jun 10 00:25:31 2009 +0400 mpc83xx: MPC837XEMDS: Fixup eSDHC nodes in device tree fdt_fixup_esdhc() will either disable or enable eSDHC nodes, and also will fixup clock-frequency property. Plus, since DR USB and eSDHC are mutually exclusive, we should only configure the eSDHC if asked through hwconfig. Signed-off-by: Anton Vorontsov Acked-by: Kim Phillips commit c9646ed758804fa1fa6c1425369a4eee5d618b1d Author: Anton Vorontsov Date: Wed Jun 10 00:25:30 2009 +0400 mpc83xx: MPC837XERDB: Add support for FSL eSDHC This patch adds support for eSDHC on MPC837XERDB boards. The WP switch doesn't seem to work on RDB boards though, the WP pin is always asserted (can see the pin state when it's in GPIO mode). FSL DR USB and FSL eSDHC are mutually exclusive because of pins multiplexing, so user should specify 'esdhc' or 'dr_usb' options in the hwconfig environment variable to choose between the devices. p.s. Now we're very close to a monitor len limit (196 bytes left using gcc-4.2.0), so also increase the monitor len by one sector (64 KB). Signed-off-by: Anton Vorontsov Acked-by: Kim Phillips commit b33433a63fe08c9e723ea15a7c7c7143bf527c6d Author: Anton Vorontsov Date: Wed Jun 10 00:25:29 2009 +0400 fsl_esdhc: Add device tree fixups This patch implements fdt_fixup_esdhc() function that is used to fixup the device tree. The function adds status = "disabled" propery if esdhc pins muxed away, otherwise it fixups clock-frequency for esdhc nodes. Signed-off-by: Anton Vorontsov Acked-by: Kim Phillips commit 93f9dcf9e8b8182e97aeb7965c687176cbd0b933 Author: Anton Vorontsov Date: Wed Jun 10 00:25:27 2009 +0400 Add simple hwconfig infrastructure This patch implements simple hwconfig infrastructure: an interface for software knobs to control a hardware. This is very simple implementation, i.e. it is implemented via `hwconfig' environment variable. Later we could write some "hwconfig " commands, ncurses interface for Award BIOS-like interface, and frame-buffer interface for AMI GUI[1] BIOS-like interface with mouse support[2]. Current implementation details/limitations: 1. Doesn't support options dependencies and mutual exclusion. We can implement this by integrating apt-get[3] into the u-boot. But I didn't bother yet. 2. Since we don't implement hwconfig command, i.e. we're working with the environement directly, there is no way to tell that toggling a particular option will need a reboot to take an effect. So, for now it's advised to always reboot the target after modifying hwconfig variable. 3. We support hwconfig options with arguments. For example, set hwconfig dr_usb:mode=peripheral,phy_type=ulpi That means: - dr_usb - enable Dual-Role USB controller; - dr_usb:mode=peripheral - USB in Function mode; - dr_usb:phy_type=ulpi - USB should work with ULPI PHYs; The purpose of this simple implementation is to define some internal API and then we can continue improving user experience by adding more mature interface, like hwconfig command with bells and whistles. Or not adding, if we feel that current interface fits its needs. [1] http://en.wikipedia.org/wiki/American_Megatrends [2] Regarding ncurses and GUI with mouse support -- I'm just kidding. [3] The comment regarding apt-get is also a joke, meaning that dependency tracking could be non-trivial. For example, for enabling HW feature X we may need to disable Y, and turn Z into reduced mode (like RMII-only interface for ethernet, no MII). It's quite trivial to implement simple cases though. Signed-off-by: Anton Vorontsov Acked-by: Kim Phillips commit 6c3fef28b9fff0d7f3fa4c51c3ee0ae8c2a3b043 Author: Jerry Van Baren Date: Wed Jul 15 20:42:59 2009 -0400 Improve U-Boot Porting Guide in the README Update for... * BDI2000 -> BDI3000 (BDI2000 is obsolete). * Add a line to read the doc/README.* files * Fix coding standard violations Signed-off-by: Gerald Van Baren commit 9578718c1b085cac73017d834001bc5cb0b2f73f Author: Kim Phillips Date: Tue Jul 14 16:00:24 2009 -0500 mtd: cfi - if defined, use MAX_FLASH_BANKS_DETECT for static declarations a.k.a cfi_mtd.c does as cfi_flash.c does. This also prevents the TQM834x build from doing a: cfi_mtd.c:36: error: variably modified 'cfi_mtd_info' at file scope cfi_mtd.c:37: error: variably modified 'cfi_mtd_names' at file scope using gcc 4.4. Signed-off-by: Kim Phillips Signed-off-by: Stefan Roese commit 4a9932a4364b548773bc131bf85e24a2ec15f2b0 Author: Kim Phillips Date: Tue Jul 7 18:04:21 2009 -0500 mpc83xx: increase MONITOR_LEN to offset growing pains Saving the environment leads to overwriting u-boot itself, bricking boards. Increase u-boot's image size so the environment base address doesn't end up overlapping u-boot text. Signed-off-by: Kim Phillips commit c31e13260bcd048a94412a47b004386ea6112acf Author: Valeriy Glushkov Date: Tue Jun 30 15:48:41 2009 +0300 usb: mpx8349itx: added support of loading images from USB storage (MPH/DR) Signed-off-by: Valeriy Glushkov Signed-off-by: Kim Phillips commit d89e1c36891de793a20a929282acc0fc7b98feac Author: Valeriy Glushkov Date: Tue Jun 30 15:48:40 2009 +0300 usb: mpc834x: added support of the MPH USB controller in addition to the DR one Signed-off-by: Valeriy Glushkov Signed-off-by: Kim Phillips commit d9ac3d5a17ecef0beb70073018925e011b11684e Author: Kim Phillips Date: Mon Jun 15 11:51:47 2009 -0500 mpc83xx: set 64BIT_VSPRINTF for boards using nand_util When enabling NAND support for a board, one must also define CONFIG_SYS_64BIT_VSPRINTF because this is needed in nand_util.c for correct output. Signed-off-by: Kim Phillips Cc: Dave Liu Cc: Ron Madrid Cc: Anton Vorontsov commit 052c08916532d1d9c2f69eb9229709c7b2fc1f02 Author: TsiChung Liew Date: Wed Jul 8 07:41:24 2009 +0000 ColdFire: Update bootargs Add a bootargs for M53017EVB and update bootargs for M54451EVB Signed-off-by: TsiChung Liew commit 6e8d58d36691520f8da74cd948661d28d5a5dc66 Author: TsiChung Liew Date: Tue Jun 30 14:30:19 2009 +0000 Command for accessing serial flash update Change strtoul number base of argv 3 from 0 to 16 Signed-off-by: TsiChung Liew commit ee0a8462466dd284968536eb57c6eef4be0d6aad Author: TsiChung Liew Date: Tue Jun 30 14:18:29 2009 +0000 ColdFire: Add DSPI support for MCF5227x and MCF5445x Remove individual CPU specific DSPI driver. Add required feature for the common DSPI driver in cpu_init and in platform configuration file. Signed-off-by: TsiChung Liew commit dec61c7851baa72151ef1d3657e7bb3b68907d48 Author: TsiChung Liew Date: Tue Jun 30 14:09:47 2009 +0000 Coldfire: Consolidate DSPI driver Unify both MCF5227x and MCF5445x DSPI driver in CPU to driver/spi folder for common use. Signed-off-by: TsiChung Liew commit 11d88b26a68bd4bf98b1c962fde6257a50978231 Author: TsiChung Liew Date: Fri Jun 12 13:03:34 2009 +0000 ColdFire: Remove compiler warning messages Remove unused variables and printf type mismatch in lib_m68k/board.c Signed-off-by: TsiChung Liew commit 4567c7bff2503fb1a7c738ff9b9f0bd00d274d9a Author: TsiChung Liew Date: Fri Jun 12 11:31:31 2009 +0000 ColdFire: Fix M53017EVB flash size Increase the flash size from 8MB to 16MB Signed-off-by: TsiChung Liew commit bf9a521529e484b15e8fdb583a607cf7945d2f6b Author: TsiChung Liew Date: Fri Jun 12 11:29:00 2009 +0000 ColdFire: Add M5208EVB and MCF520x CPU support Signed-off-by: TsiChung Liew commit 709b384b6493d9726dce20663ebe31bf7cab2925 Author: TsiChung Liew Date: Thu Jun 11 15:39:57 2009 +0000 ColdFire: Update for M54451EVB Update serial boot DRAM's Internal RAM, vector table and DRAM in start.S, serial flash's read status command over SPI and NOR flash. Signed-off-by: TsiChung Liew commit bbf6bbffcaf694c03504c661e58fbd1aefe5bf64 Author: TsiChung Liew Date: Thu Jun 11 12:50:05 2009 +0000 ColdFire: Update configuration file to use flash buffer write Update M52277EVB, M53017EVB and M54455EVB platform configuration file to use flash buffer write Signed-off-by: TsiChung Liew commit 7d4450a9773673052fcd7fdf0a4a88c089126ac1 Author: Wolfgang Denk Date: Sun Jun 14 20:58:53 2009 +0200 mpc5121ads: add JFFS2 and MTDPARTS support; adjust flash map Signed-off-by: Wolfgang Denk commit 1f1f82f3de1660f398bf42bfd709b9859582ce5e Author: Wolfgang Denk Date: Sun Jun 14 20:58:52 2009 +0200 aria: add JFFS2 and MTDPARTS support; adjust flash map Signed-off-by: Wolfgang Denk commit a6d6d46a4fef876455e11b45ed699c0fb3bd1ca1 Author: Wolfgang Denk Date: Sun Jun 14 20:58:51 2009 +0200 aria: enable NAND flash support Signed-off-by: Wolfgang Denk commit 13946925e850db5351982acb691d51716fc754e2 Author: Wolfgang Denk Date: Sun Jun 14 20:58:50 2009 +0200 MPC512x: fix typo in comment listing the NAND driver name Signed-off-by: Wolfgang Denk Cc: Stefan Roese Cc: Reinhard Arlt commit 2ca6f74d09653f8041b52cafd0d650fdc2a56c51 Author: Wolfgang Denk Date: Sun Jun 14 20:58:49 2009 +0200 mecp5123: cleanup - remove dead code Remove dead code that was obviously a left-over from copy & paste. Signed-off-by: Wolfgang Denk Cc: Stefan Roese Cc: Reinhard Arlt commit 25671c8672f2d7b39555416a6b7a6b7b39b810bf Author: Wolfgang Denk Date: Sun Jun 14 20:58:48 2009 +0200 aria: adjust memory controller initialization Needed for Rev. 2 silicon at 400 MHz Signed-off-by: Wolfgang Denk commit 7629f1c06b6dea36bbc7bf70820b824e9b6d2227 Author: Wolfgang Denk Date: Sun Jun 14 20:58:47 2009 +0200 MPC512x: factor out common code Now that we have 3 boards for the MPC512x it turns out that they all use the very same fixed_sdram() code. This patch factors out this common code into cpu/mpc512x/fixed_sdram.c and adds a new header file, include/asm-ppc/mpc512x.h, with some macros, inline functions and prototype definitions specific to MPC512x systems. Signed-off-by: Wolfgang Denk Cc: Stefan Roese Cc: Reinhard Arlt commit 0549353a6ba5aa03420c0962b9072e9cf1fa49d9 Author: Wolfgang Denk Date: Sun Jun 14 20:58:46 2009 +0200 mecp5123: fix build error The mecp5123 board did not compile because the MSCAN Clock Control Registers were missing; these got added, but as an array instead of 4 individual registers. Adapt the code so it builds. Signed-off-by: Wolfgang Denk Cc: Stefan Roese Cc: Reinhard Arlt commit a9905db5d29a56aedd7db5bcb56b0385873aa6a3 Author: Wolfgang Denk Date: Sun Jun 14 20:58:45 2009 +0200 MPC512x: Add MSCAN1...4 Clock Control Registers Signed-off-by: Wolfgang Denk Cc: Stefan Roese Cc: Reinhard Arlt commit f5489c4200b37c9a1d6dbde116f5adc0539610de Author: Wolfgang Denk Date: Sun Jun 14 20:58:44 2009 +0200 MPC512x: enabling NAND support requires CONFIG_SYS_64BIT_VSPRINTF When enabling NAND support for a board, one must also define CONFIG_SYS_64BIT_VSPRINTF because this is needed in nand_util.c for correct output. Signed-off-by: Wolfgang Denk Cc: Stefan Roese Cc: Reinhard Arlt commit b4db4a7638ef90cf0aacf7b954d9bf3043dda780 Author: Po-Yu Chuang Date: Fri Jul 10 18:03:57 2009 +0800 issue write command to base for JEDEC flash For JEDEC flash, we should issue word programming command relative to base address rather than sector base address. Original source makes SST Flash fails to program sectors which are not on the 0x10000 boundaries. e.g. SST39LF040 uses addr1=0x5555 and addr2=0x2AAA, however, each sector is 0x1000 bytes. Thus, if we issue command to "sector base (0x41000) + offset(0x5555)", it sends to 0x46555 and the chip fails to recognize that address. This patch is tested with SST39LF040. Signed-off-by: Po-Yu Chuang Signed-off-by: Stefan Roese commit 986922714ffd21ad39f48522d285fffc7aed56b1 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat May 2 11:53:50 2009 +0200 versatile: update config and merge to cfi flash driver Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Peter Pearse Cc: Catalin Marinas commit d6e8ed832b25d5db4fdd3fb91e73028e494dcd6e Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat May 2 11:53:49 2009 +0200 versatile: specify the board type on the prompt Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Peter Pearse Cc: Catalin Marinas commit 5ccc2d99d61c81805348b0cd9f79731b271f7daf Author: Sedji Gaouaou Date: Thu Jun 25 17:04:15 2009 +0200 at91: Introduction of at91sam9g10 SOC. AT91sam9g10 is an ARM 926ej-s SOC. It is an evolution of the at91sam9261 with a faster clock speed: 266/133MHz. Signed-off-by: Sedji Gaouaou commit 22ee647380c42f44528f99b7c1b423725e542102 Author: Sedji Gaouaou Date: Thu Jul 9 10:16:29 2009 +0200 at91: Introduction of at91sam9g45 SOC. AT91sam9g45 series is an ARM 926ej-s SOC family clocked at 400/133MHz. It embeds USB high speed host and device, LCD, DDR2 RAM, and a full set of peripherals. The first board that embeds at91sam9g45 chip is the AT91SAM9G45-EKES. On the board you can find 2 USART, USB high speed, a 480*272 LG lcd, ethernet, gpio/joystick/buttons. Signed-off-by: Sedji Gaouaou commit c33c5990cec7ced9ef1ef148debbca34adafa12b Author: Daniel Mack Date: Tue Jun 23 17:30:05 2009 +0200 pxa: fix CKEN_B register bits The current defition for CKEN_B register bits is nonsense. Adding 32 to the shifted value is equal to '| (1 << 5)', and this bit is marked 'reserved' in the PXA docs. Signed-off-by: Daniel Mack commit bd876be46f28b5fc2896537f6d01353f332789f7 Author: Daniel Mack Date: Tue Jun 23 17:30:04 2009 +0200 pxa: add clock for system bus 2 arbiter This clock is needed for systems using the USB2 device unit or the 2d graphics accelerator. Signed-off-by: Daniel Mack commit b016000a95514c08cab50e1cba00b019c0801bc4 Author: Grazvydas Ignotas Date: Wed Jul 8 00:30:01 2009 +0300 OMAP3 pandora: Fix CKE1 MUX setting to allow self-refresh Pandora is using both SDRC CSes. The MUX setting is needed for the second CS clock signal to allow the 2 RAM parts to be put in self-refresh correctly. Based on similar patch for beagle and overo by Jean Pihet and Steve Sakoman. commit 8672c288703f3c51c829851c8fe6608c7869faaa Author: Grazvydas Ignotas Date: Wed Jul 8 00:30:00 2009 +0300 OMAP3 pandora: setup pulls for various GPIOs Set pullups or pulldowns for GPIOs which need them. Disable them for others, which have external pulls. Also make disabled pull setting consistent (some pins had type set to "up" even if pull type selection was disabled). commit 5ff78122f229946862a3f67a2f50a329e8e1bcf5 Author: Grazvydas Ignotas Date: Wed Jul 8 00:29:59 2009 +0300 OMAP3 pandora: setup pin mux for pins used on rev3 boards Setup pin mux for GPIO pins connected on rev3 or later boards. Also change NUB2 IRQ pin. This should not affect older boards because they don't have any nubs (analog controllers) attached to them. commit 67c97c346b27c586a7263564f7afff6d1f8d8d0a Author: Grazvydas Ignotas Date: Wed Jul 8 00:29:58 2009 +0300 OMAP3 pandora: pin mux cleanup Remove configuration of not unused pins, effectively leaving them in safe mode. commit b996165f5a1623a055c03b22d64d6d5da81835d0 Author: Prafulla Wadaskar Date: Mon Jul 6 15:50:47 2009 +0530 arm: Kirkwood: bugfix: UART1 bar correction Signed-off-by: Prafulla Wadaskar commit 50243e3e7a96a96c5418ce6c90b7252d26fdd5b0 Author: Kumar Gala Date: Tue Jul 7 15:48:58 2009 -0500 usb: Fix compiler warning with gcc4.4 ehci-hcd.c: In function 'ehci_submit_root': ehci-hcd.c:719: warning: value computed is not used ehci-hcd.c:748: warning: value computed is not used Signed-off-by: Kumar Gala Signed-off-by: Remy Bohmer commit 04366d070a1a3f7affddf15aaaea87bcf44cdbb0 Author: Nobuhiro Iwamatsu Date: Wed Jul 8 11:42:19 2009 +0900 sh: Update pci config for Renesas r7780mp board Signed-off-by: Nobuhiro Iwamatsu commit 74d9c16a681aa24bb4125191fe39dc7c75cde56a Author: Nobuhiro Iwamatsu Date: Thu Jun 25 16:31:26 2009 +0900 sh: Add support ESPT-GIGA borad ESPT-Giga is SH7763-based reference board. Board support is relatively sparse, presently supporting serial, gigabit ethernet, USB host, and MTD. More information (in Japanese) available at: http://www.cente.jp/product/cente_hard/ESPT-Giga.html Signed-off-by: Nobuhiro Iwamatsu Signed-off-by: Nobuhiro Iwamatsu commit dae4e0148a1146a5610025ae4b445e841410b659 Author: Matthias Fuchs Date: Fri Jul 3 16:06:37 2009 +0200 Add ESD PCI vendor ID Signed-off-by: Matthias Fuchs commit 876b3cef537aab2cba8c19505db2876f6057f818 Author: Peter Tyser Date: Mon Jun 22 18:01:41 2009 -0500 api_examples/Makefile: General cleanup * Remove symlinking of files located outside api_examples/ * Auto generate dependencies for files located outside api_examples/ * Update names of variables to be similar to those in tools/Makefile * Fix out of tree build error Dependencies are calculated for all files in the SRCS variable. Previously, the SRCS variable contained files which were symlinked into the api_examples/ directory. These symlinked files did not exist when dependencies were calculated when building out of tree. This resulted in errors such as: make[1]: *** No rule to make target `/work/wd/tmp-ppc/api_examples/.depend', needed by `_depend'. Stop. make[1]: Leaving directory `/home/wd/git/u-boot/work/api_examples' make: *** [depend] Error 2 Since symlinked source files are no longer used, this bug no longer exists. Signed-off-by: Peter Tyser Acked-by: Rafal Jaworowski commit 522f6f02adb93194e337016fe2e4e53c58d5d5ea Author: Peter Tyser Date: Mon Jun 22 18:01:40 2009 -0500 api_examples/Makefile: Get rid of unnecessary intermediate LIB target Signed-off-by: Peter Tyser Acked-by: Rafal Jaworowski commit 117d0ab5e6f3b3dd48fc346df4919555a78afd39 Author: Peter Tyser Date: Mon Jun 22 18:01:39 2009 -0500 api_examples/Makefile: Combine ELF and BIN targets Combining the two rules cleans up the Makefile a bit Signed-off-by: Peter Tyser Acked-by: Rafal Jaworowski commit 644cb38108b8dc22e0ef3cf5f404fe310d1995f8 Author: Peter Tyser Date: Mon Jun 22 18:01:38 2009 -0500 api_examples/Makefile: Split up variable declarations This cleans up the Makefile a bit and simplifies future changes Signed-off-by: Peter Tyser Acked-by: Rafal Jaworowski commit 890d242facc4079ed21e979ced2e8c6d6974f6d3 Author: Timur Tabi Date: Fri Jun 19 14:10:52 2009 -0500 remove _IO_BASE and KSEG1ADDR from board configuration files The KSEG1ADDR macro used to be necessary for the RTL8139 Ethernet driver, but the code that used that macro was removed over a year ago, so board configuration files no longer need to define it. The _IO_BASE macro is also automatically defined to 0 if it isn't already set, so there's no need to define that macro either in the board configuration files. Signed-off-by: Timur Tabi Acked-by: Nobuhiro Iwamatsu Acked-by: Andy Fleming Acked-by: Andre Schwarz Acked-by: Kim Phillips commit c9969947a4687de90e2bb58e76842b491aa0e0b9 Author: Jon Smirl Date: Sun Jun 14 18:21:28 2009 -0400 board support patch for phyCORE-MPC5200B-tiny Add support for the Phytec phyCORE-MPC5200B-tiny. Code originally from Pengutronix.de. Created CONFIG_SYS_ATA_CS_ON_TIMER01 define for when IDE CS is on Timer 0/1 Signed-off-by: Jon Smirl Acked-by: Grant Likely commit 7bd49ad12cc36a4de6995ddabbc65ffa1aa1933d Author: Mike Frysinger Date: Mon Jun 15 13:37:20 2009 -0400 kallsyms: fix escaping of NUL char in strings The current kallsyms code is using \\0 to escape the backslash in the awk code, but the shell too needs escaping. This way we make sure gcc is passed the \0. Then gcc itself will consume this as an octal, so we have to use 000 so gcc will create the final NUL. Signed-off-by: Mike Frysinger commit ed540f07b8ad86909704e9806c1762462cb4995a Author: Harald Krapfenbauer Date: Fri Jun 26 10:18:49 2009 -0400 Blackfin: cm-bf561: add example settings for EXT-BF5xx-USB-ETH2 add-on The cm-bf561 module can easily hook up to the EXT-BF5xx-USB-ETH2 extender board, so add a simple example of how to do that in the board config. Signed-off-by: Harald Krapfenbauer Signed-off-by: Mike Frysinger commit f8bf54b4081c3c3d518830df0017a23ec672a841 Author: Mike Frysinger Date: Thu Jun 25 19:40:28 2009 -0400 Blackfin: blackstamp: update spi flash settings The latest blackstamp boards can only run the SPI flash at 15MHz before they start to crap out, so lower the max speeds accordingly. The new SPI flash also has different sector requirements, so update the environment sizes as well. Signed-off-by: Mike Frysinger commit 286070ddc8339666c09bd7912e960b850a8a0318 Author: Mike Frysinger Date: Mon Oct 6 03:31:52 2008 -0400 Blackfin: add cache_dump commands A few debug-type commands used to dump the raw icache/dcache data. Useful when trying to track down cache-related bugs. Signed-off-by: Mike Frysinger commit 632e9b671efb0a6c900499f7a49fe5b63292b5fc Author: Matthias Fuchs Date: Wed Jul 8 15:31:57 2009 +0200 ppc4xx: Set default PCI device ID for 405EP boards Current code only sets the PCI vendor id to 0x1014 and leaved device id to 0x0000. Ths patch .... a) uses the correct PCI_VENDOR_ID_IBM macro for this b) sets the default device ID as stated in the UM to 0x0156 by using PCI_DEVICE_ID_IBM_405GP for this. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit 123f102ec093fba6967066acdf9beb637df2e2d1 Author: Matthias Fuchs Date: Wed Jul 8 13:43:55 2009 +0200 ppc4xx: Move 405EP pci code from cpu_init_f() to __pci_pre_init() This patch moves some basic PCI initialisation from the 4xx cpu_init_f() to cpu/ppc4xx/4xx_pci.c. The original cpu_init_f() function enabled the 405EP's internal arbiter in all situations. Also the HCE bit in cpc0_pci is always set. The first is not really wanted for PCI adapter designs and the latter is a general bug for PCI adapter U-Boots. Because it enables PCI configuration by the system CPU even when the PCI configuration has not been setup by the 405EP. The one and only correct place is in pci_405gp_init() (see "Set HCE bit" comment). So for compatibility reasons the arbiter is still enabled in any case, but from weak pci_pre_init() so that it can be replaced by board specific code. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit c71103f9dc66dfcce8ad6df942364043bf27ade8 Author: Matthias Fuchs Date: Wed Jul 8 13:43:23 2009 +0200 ppc4xx: Make is_pci_host() available for all 440 and 405 CPUs Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit 1d8937a469bfeb55ca1f6d89a4e7cd2dfee3cf17 Author: Prafulla Wadaskar Date: Mon Jun 29 20:56:43 2009 +0530 usb: add Marvell Kirkwood ehci host controller driver This driver is tested on Sheevaplug platform Signed-off-by: Prafulla Wadaskar Signed-off-by: Remy Bohmer commit db7b43e4681f6f93c336132708157a8a0cca1f8b Author: Vivek Mahajan Date: Wed Jun 24 10:08:40 2009 +0530 mpc83xx: USB: fix: access of ehci struct elements It fixes the access to the 'ehci' struct elements for mpc83xx which should have been taken care of in 4ef01010aa4799c759d75e67007fdd3a38c88c8a Sorry about that. Signed-off-by: Vivek Mahajan Signed-off-by: Remy Bohmer commit 08066152735417fc55a5c9de2cec0714c529e4f3 Author: Vivek Mahajan Date: Fri Jun 19 17:56:00 2009 +0530 mpc8xxx: USB: fix: access of ehci struct elements This patch fixes the access to the 'ehci' struct elements which should have been taken care off in 4ef01010aa4799c759d75e67007fdd3a38c88c8a Sorry about that. Signed-off-by: Vivek Mahajan Signed-off-by: Remy Bohmer commit c3a012ce65818beb274195cd47f31ed80d0fbaa5 Author: Bryan Wu Date: Tue Jun 16 05:26:27 2009 -0400 usb: musb: add timeout via CONFIG_MUSB_TIMEOUT Signed-off-by: Bryan Wu Signed-off-by: Mike Frysinger Signed-off-by: Remy Bohmer commit 7984967a9405672db1581402d2c2cfae268d1a67 Author: Mike Frysinger Date: Tue Jun 16 05:26:25 2009 -0400 usb: musb: drop old musb read/write prototypes These functions are no longer defined, so remove their prototypes. Signed-off-by: Mike Frysinger Signed-off-by: Remy Bohmer commit 4e04f16020115ab5ccf53158e100de58bcaf29bd Author: Kim Phillips Date: Mon Jun 15 11:50:07 2009 -0500 usb: fix CONFIG_SYS_MPC83xx_USB_ADDR not defined error fix a stray CONFIG_MPC83XX that escaped commit 0f898604945af4543c1525fc33b6bae621a3b805. Signed-off-by: Kim Phillips Signed-off-by: Remy Bohmer commit bc0d3296f1780b50e6b9630aee5eb368f2afb6cb Author: Michal Simek Date: Tue Jun 30 23:47:30 2009 +1000 asm-generic: Consolidate errno.h to asm-generic/errno.h This patch use blackfin errno.h implementation which correspond Linux kernel one. MIPS implemetation is different that's why I keep it. I removed ppc_error_no.h from Marvell boards which was the same too. I have got ack from ppc40x, blackfin, arm, coldfire and avr custodians. Acked-by: Stefan Roese Signed-off-by: Michal Simek commit 2896b5851f0430bf16529376a4193630e966c788 Author: Simon Kagstrom Date: Tue Jul 7 16:01:02 2009 +0200 Command improvements for ubifs Check that an argument is passed to ubifsmount and that addresses and sizes are actually numbers for ubifsload. Also improve the instructions a bit. Signed-off-by: Simon Kagstrom Signed-off-by: Stefan Roese commit 25c8f4005979ab2d190713ba341d96a5fa905cdb Author: Simon Kagstrom Date: Tue Jul 7 16:59:46 2009 +0200 Handle VID header offset in ubi part command The VID header offset is sometimes needed to initialize the UBI partition. This patch adds it (optionally) to the command line for the ubi part command. (Lines have been properly wrapped since last version) Signed-off-by: Simon Kagstrom Acked-by: Stefan Roese Signed-off-by: Stefan Roese commit 3672cd5c3b53d219d33345eebad4e25ad5bf6d52 Author: Wolfgang Denk Date: Thu Jul 9 09:56:16 2009 +0200 MAINTAINERS: fix sorting, remove duplicates. Signed-off-by: Wolfgang Denk commit efbf14e9a2394a154b12643d4a011994b5096b5a Author: Heiko Schocher Date: Wed Dec 10 08:27:01 2008 +0100 all platforms: make show_boot_progress() work again Signed-off-by: Heiko Schocher commit 205a0988d8fd778c60746c34c2f17dbd2b7cd0d2 Author: Prafulla Wadaskar Date: Mon Jun 29 15:25:18 2009 +0530 nand: Add Marvell Kirkwood NAND driver This patch adds a NAND driver for the Marvell Kirkwood SoC's Signed-off-by: Prafulla Wadaskar Acked-by: Scott Wood commit 0580e48f53f972783e56fcedadb9ce6e5b0b6f32 Author: Matthias Fuchs Date: Mon Jul 6 16:27:33 2009 +0200 ppc4xx: Make pll_write global This patch makes pll_write on PPC405EP boards global and callable from C code. pll_write can be used to dynamically modify the PLB:PCI divider as it is required for 33/66 MHz pci adapters based on the 405EP. board_early_init_f() is a good place to do that (check M66EN signal and call pll_write() when it is required). Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit 20b3c4b528606d51799aed5e4c71783720cd2b72 Author: Stefan Roese Date: Mon Jul 6 11:44:33 2009 +0200 ppc4xx: Remove compilation warning "pci_async_enabled defined but not used" Signed-off-by: Stefan Roese commit d0a1364f91c80d29daff6b27a7904a50cdc00b35 Author: Matthias Fuchs Date: Fri Jul 3 16:06:06 2009 +0200 ppc4xx: Implement is_pci_host() for 405 CPUs This patch implements the is_pci_host() function in a similiar way as it is used on 440 targets. The former path with CONFIG_PCI_HOST == PCI_HOST_AUTO does not build on 405EP targets because checking the PCI arbiter is different. So putting the fixed code into a separate function makes the code more readable. Also using is_pci_host() on 405 brings 405 and 440 PCI code a little bit closer. In preparation for an upcoming 405EP based PMC module I made this function weak so that it can be overwritten from board specific code. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit 04ddae915f295dee301f15c32100533a48e3b433 Author: Alessio Centazzo Date: Wed Jul 1 22:20:51 2009 -0700 ppc4xx: Fixed PPC4xx debug compilation error in uic.c This patch fixes a debug compilation error for PPC4xx platforms, all other architectures are not affected by this change. The 'handler' pointer was undefined. The fix is exercised and has effect only if DEBUG is defined. Signed-off-by: Alessio Centazzo acpatin@yahoo.com Signed-off-by: Stefan Roese commit 48e2b535a0dd3a7b77b674130934a24f9de6f48d Author: Felix Radensky Date: Wed Jul 1 11:37:46 2009 +0300 4xx: Fix compilation warnings and MQ registers dump in SPD DDR2 code This patch fixes printf format string compilation warnings in several debug statements. It also fixes the dump of DDR controller MQ registers found on some 44x and 46x platforms. The current register dump code uses incorrect DCRs to access these registers. Signed-off-by: Felix Radensky Signed-off-by: Stefan Roese commit 26d37f0061ad05e5c383c910f00e6006f3c89a3a Author: Felix Radensky Date: Mon Jun 22 15:30:42 2009 +0300 ppc4xx: Fix FDT EBC mappings on Canyonlands This patch fixes 2 problems with FDT EBC mappings on Canyonlands. First, NAND EBC mapping was missing, making Linux NAND driver unusable on this board. Second, NOR remapping code assumed that NOR is always on CS0, however when booting from NAND NOR is on CS3. Signed-off-by: Felix Radensky Signed-off-by: Stefan Roese commit baa9f9ba4345ed6dc5c403871c32e6295316ea52 Author: Nobuhiro Iwamatsu Date: Tue Jun 16 22:29:15 2009 +0900 sh: Revised the build with newest compiler The check of data became severe from newest gcc. This patch checked in gcc-4.2 and 4.3 . Signed-off-by: Nobuhiro Iwamatsu commit be45c632568ba76343c1453b3951ad793f482fd5 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Thu Jun 4 12:06:48 2009 +0200 sh3/sh4: rename config option TMU_CLK_DIVIDER to CONFIG_SYS_TMU_CLK_DIV Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: Nobuhiro Iwamatsu Signed-off-by: Nobuhiro Iwamatsu commit 8dd29c87ba370072a8464b8cc19e0a1e6e0497b4 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Thu Jun 4 12:06:47 2009 +0200 sh3/sh4: fix CONFIG_SYS_HZ to 1000 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: Nobuhiro Iwamatsu Signed-off-by: Nobuhiro Iwamatsu commit add380f51f34ed1e2678c2abac8d53c91d652f26 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Thu Jun 4 12:06:46 2009 +0200 sh: introduce clock framework Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: Nobuhiro Iwamatsu Signed-off-by: Nobuhiro Iwamatsu commit 3931a375de2c381d9ff5ec2767b2da9f62a41aef Author: Jean-Christophe PLAGNIOL-VILLARD Date: Thu Jun 4 12:06:45 2009 +0200 sh: unify linker script all sh boards use the same cpu linker script so move it to cpu/$(CPU) that could be overwrite in following order SOC BOARD via the corresponding config.mk tested on r2dplus Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: Nobuhiro Iwamatsu Signed-off-by: Nobuhiro Iwamatsu commit 236aad875817771eb1f25ed32784b3cd7760b2e6 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Thu Jun 4 12:06:44 2009 +0200 sh: make the linker scripts more generic currently we need to sync the linker script enty and TEXT_BASE manualy and the reloc_dst is based on it instead provide it now from the ldflags tested on r2dplus Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: Nobuhiro Iwamatsu Signed-off-by: Nobuhiro Iwamatsu commit ce29817212792113cd2d67a9767049a2e262c406 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Thu Jun 4 12:06:43 2009 +0200 sh7785lcr: fix out of tree build Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: Nobuhiro Iwamatsu Signed-off-by: Nobuhiro Iwamatsu commit 2e8a6f551cba550e9220dca4d8504066203b1f74 Author: HeungJun Kim Date: Tue Jun 30 14:42:22 2009 +0900 env_onenand: change env_address type from unsigned long to loff_t If use the onenand boot, the env_relocate_spec() calls mtd->read(), and the type of the argument #2 of mtd->read() was changed to loff_t. But, the "env_addr" type is still unsigned long, thus this patch change the type from unsigned long to loff_t. Acked-by: Kyungmin Park Signed-off-by: HeungJun, Kim Signed-off-by: Scott Wood commit 66372fe2ab11cdeb0e841ad9eb6ba79769db4909 Author: Mingkai Hu Date: Thu Jun 18 18:23:27 2009 +0800 fsl_elbc_nand: redirect the pointer of bbt pattern to RAM The bbt descriptors contains the pointer to the bbt pattern which are statically initialized memory struct. When relocated to RAM, these pointers will continue point to NOR flash(or L2 SRAM, or other boot device). If the contents of NOR flash changed or L2 SRAM disabled, it'll hang the system. Signed-off-by: Mingkai Hu Signed-off-by: Scott Wood commit 1dac3a51875967f32641bbc0d26dc382ef02330a Author: Scott Wood Date: Wed Jun 24 17:23:49 2009 -0500 nand_spl: Fix cmd_ctrl usage in nand_boot.c. When adding large page NAND support to this file, I had a misunderstanding about the exact semantics of NAND_CTRL_CHANGE (which isn't documented anywhere I can find) -- it is apparently just a hint to drivers, which aren't required to preserve the old value for subsequent non-"change" invocations. This change makes nand_boot.c no longer assume this. Note that this happened to work by chance with some NAND drivers, which don't preserve the value, but treat 0 equivalently to NAND_CTRL_ALE. I don't have hardware to test this, so any testing is appreciated. Signed-off-by: Scott Wood commit 98713d2663d5d30dde74f48f547114a2bfd9d463 Author: kevin.morfitt@fearnside-systems.co.uk Date: Thu Jun 18 18:41:03 2009 +0100 Bug-fix in drivers mtd nand Makefile The S3C2410 NAND driver source file is included in the makefile instead of the object file. Signed-off-by: Kevin Morfitt Signed-off-by: Scott Wood commit b74ab737369bbbe66c15cbe6c0d0b6a351b00c96 Author: Guennadi Liakhovetski Date: Mon May 18 16:07:22 2009 +0200 nand_spl: read environment early, when booting from NAND using nand_spl Currently, when booting from NAND using nand_spl, in the beginning the default environment is used until later in boot process the dynamic environment is read out. This way environment variables that must be interpreted early, like the baudrate or "silent", cannot be modified dynamically and remain at their default values. Fix this problem by reading out main and redundand (if used) copies of the environment in the nand_spl code. Signed-off-by: Guennadi Liakhovetski Signed-off-by: Scott Wood commit 378adfcdf4bbd77ee4cbc3276d4733e218308a21 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat May 16 14:27:40 2009 +0200 mtd: nand: use loff_t for offset nand_util currently uses size_t which is arch dependent and not always a unsigned long. Now use loff_t, as does the linux mtd layer. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Scott Wood commit 8360b66bac9567701027a0087274d0c9b2fe8d6b Author: Wolfgang Denk Date: Sun May 24 17:34:33 2009 +0200 nand/onenand: Fix missing argument checking for "markbad" command The "nand markbad" and "onenand markbad" commands did not check if an argument was passed; if this was forgotten, no error was raised but block 0 was marked as bad. While fixing this bug, clean up the code a bit and allow to pass more than one block address, thus allowing to mark several blocks as bad in a single command invocation. Signed-off-by: Wolfgang Denk Signed-off-by: Scott Wood commit cd84423a09f3a08029fe41c1db96168debd0b51f Author: Mike Frysinger Date: Mon May 25 22:42:28 2009 -0400 mtd: nand: new base driver for memory mapped nand devices The BF537-STAMP Blackfin board had a driver for working with NAND devices that are simply memory mapped. Since there is nothing Blackfin specific about this, generalize the driver a bit so that everyone can leverage it. Signed-off-by: Mike Frysinger Signed-off-by: Scott Wood commit d27bc728cf35e7d7996fbd77154335e66615b213 Author: Guennadi Liakhovetski Date: Mon May 18 16:06:45 2009 +0200 env_nand: remove unused variable. Remove an unused "total" variable in multiple functions. Signed-off-by: Guennadi Liakhovetski Signed-off-by: Scott Wood commit 154b5484ac7dcbcd0fb5ba388d930b02f87fa302 Author: David Brownell Date: Sun May 10 15:43:01 2009 -0700 davinci_nand chipselect/init cleanup Update chipselect handling in davinci_nand.c so that it can handle 2 GByte chips the same way Linux does: as one device, even though it has two halves with independent chip selects. For such chips the "nand info" command reports: Device 0: 2x nand0, sector size 128 KiB Switch to use the default chipselect function unless the board really needs its own. The logic for the Sonata board moves out of the driver into board-specific code. (Which doesn't affect current build breakage if its NAND support is enabled...) Signed-off-by: David Brownell Signed-off-by: Scott Wood commit 496863b2440dd7cd69a1ad2443a9badd5f8968d1 Author: Sandeep Paulraj Date: Sat May 9 12:35:20 2009 -0400 NAND DaVinci: Update to ALE/CLE Mask values All DaVinci SOC's use a CLE mask of 0x10 and an ALE mask of 0x8 except the DM646x. This was decided by the design team driving the design. This patch updates the CLE and ALE values for DM646x. Updated patches for DM646x will be sent shortly. This applies to u-boot-nand-flash git Signed-off-by: Sandeep Paulraj Signed-off-by: Scott Wood commit 0c1684437ef810c503df29e8d73f63191aa63862 Author: Sandeep Paulraj Date: Wed Apr 29 09:47:09 2009 -0400 ARM DaVinci: Changing ALE Mask Value The ALE mask used by DaVinci SOCs is wrong. The patch changes the mask value from '0xa' to '0x8'. This is the mask we use for all TI releases. Signed-off-by: Sandeep Paulraj Signed-off-by: Scott Wood commit 6e29ed8e576a6900c5d8dcde36b423ac576894dc Author: David Brownell Date: Tue Apr 28 13:19:53 2009 -0700 davinci_nand: cleanup II (CONFIG_SYS_DAVINCI_BROKEN_ECC) Remove CONFIG_SYS_DAVINCI_BROKEN_ECC option. It's not just nasty; it's also unused by any current boards, and doesn't even match the main U-Boot distributions from TI (which use soft ECC, or 4-bit ECC on newer chips that support it). DaVinci GIT kernels since 2.6.24, and mainline Linux since 2.6.30, match non-BROKEN code paths for 1-bit HW ECC. The BROKEN code paths do seem to partially match what MontaVista/TI kernels (4.0/2.6.10, and 5.0/2.6.18) do ... but only for small pages. Large page support is really broken (and it's unclear just what software it was trying to match!), and the ECC layout was making three more bytes available for use by filesystem (or whatever) code. Since this option itself seems broken, remove it. Add a comment about the MV/TI compat issue, and the most straightforward way to address it (should someone really need to solve it). Signed-off-by: David Brownell Signed-off-by: Scott Wood commit fcb774777562bb7bcdc53c608d0e6bae906ce0f6 Author: David Brownell Date: Tue Apr 28 13:19:50 2009 -0700 davinci_nand: cleanup I (minor) Minor cleanup for DaVinci NAND code: - Use I/O addresses from nand_chip; CONFIG_SYS_NAND_BASE won't be defined when there are multiple chipselect lines in use (as with common 2 GByte chips). - Cleanup handling of EMIF control registers * Only need one pointer pointing to them * Remove incorrect and unused struct supersetting them - Use the standard waitfunc; we don't need a custom version - Partial legacy cleanup: * Don't initialize every board like it's a DM6446 EVM * #ifdef a bit more code for BROKEN_ECC Sanity checked with small page NAND on dm355 and dm6446 EVMs; and large page on dm355 EVM (packaged as two devices, not one). Signed-off-by: David Brownell Signed-off-by: Scott Wood commit 8e5e9b940cdede0debe528cdd7edccccbb3ebf2a Author: Wolfgang Denk Date: Tue Jul 7 22:35:02 2009 +0200 Coding style cleanup; update CHANGELOG Signed-off-by: Wolfgang Denk commit d318d0c44d8e91e937c4dad0c5b1d2f6bb9d9fd8 Author: Stefan Roese Date: Mon Jun 29 13:30:50 2009 +0200 UBI: Fix build problem noticed on Apollon (arm/testing repo) This patch fixes a build problem noticed on Apollon by using mtd_dev_by_eb() instead of "/" as done in the Linux UBI version. So this brings the U-Boot UBI version more in sync with the Linux version again. Signed-off-by: Stefan Roese commit 2efee52b09657e9353655b9dae9e1d1a67a2abe4 Author: Prafulla Wadaskar Date: Mon Jul 6 20:29:15 2009 +0530 sf: Macronix additional chips supported new chips supported:- MX25L1605D, MX25L3205D, MX25L6405D, MX25L12855E out of which MX25L6405D and MX25L12855E tested on Kirkwood platforms Modified the Macronix flash support to use 2 bytes of device id instead of 1 This was required to support MX25L12855E Signed-off-by: Piyush Shah Signed-off-by: Prafulla Wadaskar Signed-off-by: Mike Frysinger commit dd54126715b89ed0c43322aa78b0dad306f043b6 Author: Mike Frysinger Date: Fri Jun 19 03:27:28 2009 -0400 sf: sst: add sst25vf###b ids Signed-off-by: Mike Frysinger commit 7d907f0ea993b179a197d8db2a36f122bc673c2d Author: Mike Frysinger Date: Fri Jun 19 03:20:06 2009 -0400 sf: sst: fix sector size Looks like when I was encoding the sector sizes, I forgot to divide by 8 (due to the stupid marketing driven process that declares all sizes in useless megabits and not megabytes). Signed-off-by: Mike Frysinger commit ceb70b466e75ceb1a621b6163f7e31116bfc8094 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Jul 5 01:06:06 2009 +0200 nhk8815: fix MAKEALL Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit d08e5ca301b69ab77ecdd34e2b06aee30d6057d1 Author: Magnus Lilja Date: Sat Jul 4 10:31:24 2009 +0200 MX31: Add NAND SPL boot support to i.MX31 PDK board. Signed-off-by: Magnus Lilja commit 78eabb90b793fafe875a7469526d1715fa56cbb4 Author: Prafulla Wadaskar Date: Mon Jun 29 20:55:54 2009 +0530 arm: Kirkwood: arch specific updated for ehci-Kirkwood driver support This patch abstracts Kirkwood arch specific changes to support ehci-kirkwood driver Signed-off-by: Prafulla Wadaskar commit 095a460b49022e64df76134300643606e3acb4e9 Author: Alessandro Rubini Date: Mon Jun 29 10:52:37 2009 +0200 arm nomadik: use 1000 as HZ value and rewrite timer code This sets CONFIG_SYS_HZ to 1000 as required, and completely rewrites timer code, which is now both correct and much smaller. Unused functions like udelay_masked() have been removed as no driver uses them, even the ones that are not currently active for this board. mtu.h is copied literally from the kernel sources. Signed-off-by: Alessandro Rubini Acked-by: Andrea Gallo Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit f7aa59b29a451cc502078a9e4ba32345a4250c05 Author: Alessandro Rubini Date: Mon Jun 22 09:18:57 2009 +0200 arm nomadik: allow Nand and OneNand to coexists The evaluation kit has both Nand and OneNand, both drivers are there and the two configurations only select a different default for the jffs partition. This adds the OneNand driver and cleans up storage. Signed-off-by: Alessandro Rubini Acked-by: Andrea Gallo commit fd14c41a861cd38ee2fe3abd61d59b57b4eb23c9 Author: Alessandro Rubini Date: Mon Jun 22 09:18:47 2009 +0200 arm nomadik: cleanup reset There is only one public release of the Nomadik chip, so the ifdef in reset code as well as a define in the config file are not needed Signed-off-by: Alessandro Rubini Acked-by: Andrea Gallo commit ee1363f2da3996bafdecdd8f4e48862ebff3f271 Author: Alessandro Rubini Date: Mon Jun 22 09:18:37 2009 +0200 arm nomadik: rename board to nhk8815 This is an error in my side in the initial submission: nobody calls it ""nmdk8815", it's "nomadik hardware kit", nhk8815, instead. Signed-off-by: Alessandro Rubini Acked-by: Andrea Gallo commit 040f8f63e922bbfb8ba0958bf637f11a917f5c38 Author: Stefano Babic Date: Wed Jul 1 20:40:41 2009 +0200 xscale: add support for the polaris board The Polaris board is based on the TrizepsIV module of Keith & Koep (http://www.keith-koep.com). Signed-off-by: Stefano Babic commit 88bd97501314683b87f3f1edcf55b347c041b722 Author: Stefano Babic Date: Wed Jul 1 04:33:56 2009 +0200 xscale: fix USB initialization for Trizepsiv module Due to change in the usb_board_init() prototype, the USB for the TrizepsIV was not correctly initialized. Removed dummy print from usb_board_stop(). Signed-off-by: Stefano Babic commit 0b785ddd60120cfb74d18e58c56054238219f6db Author: Prafulla Wadaskar Date: Wed Jul 1 20:34:51 2009 +0200 net: merge bugfix: Marvell Kirkwood gigabit ethernet driver This patch looks okay on u-boot-net.git/next branch but when it was merged to u-boot.git/master the last line is missing Signed-off-by: Prafulla Wadaskar Acked-by: Ben Warren commit 33b1d3f43a16fbb79004075ce89ae4e618b288a2 Author: Daniel Gorsulowski Date: Tue Jun 30 21:03:37 2009 +0200 at91: Add esd gmbh MEESC board support This patch adds support for esd gmbh MEESC board. The MEESC is based on an Atmel AT91SAM9263 SoC. Signed-off-by: Daniel Gorsulowski commit 21761540b43c7086c75ee9afb412da1e5ddde2e9 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Tue Jun 30 21:03:35 2009 +0200 ARM: Update mach-types update against linux v2.6.30 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 45627fce18139a74e0755124d27376b520db156c Author: Daniel Gorsulowski Date: Tue Jun 30 23:03:33 2009 +0200 at91: Add CAN init function To enable CAN init, CONFIG_CAN has to be defined in the board config file and at91_can_hw_init() has to be called in the board specific code. CAN is available on AT91SAM9263 and AT91CAP9 SoC. Signed-off-by: Daniel Gorsulowski commit 2e23008e5dbde7fe4c4758bee5a393e1db796cdf Author: Simon Kagstrom Date: Tue Jun 30 23:03:31 2009 +0200 arm: Kirkwood: Correct header define Correct define typo (. -> ,) Signed-off-by: Simon Kagstrom commit 8449f287f5c53d59db13c3c512e6bd1750b692d1 Author: Magnus Lilja Date: Wed Jul 1 01:07:55 2009 +0200 MX31: Add basic support for Freescale i.MX31 PDK board. Add support for Freescale's i.MX31 PDK board (a.k.a. 3 stack board). This patch assumes that some other program performs the actual NAND boot. Signed-off-by: Magnus Lilja Acked-by: Fabio Estevam Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 8d460a573e2a2ac4834636903865a0428ad0e629 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Tue Jun 23 00:12:01 2009 +0200 S3C24x0: extract interrupts from timer Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit c8badbe500a752f42049e51042767ee62ea714e0 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Jun 28 14:14:21 2009 +0200 dm355/pm9261: add missing CONFIG_NET_MULTI Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 798bf9a9ade1cfbe85a16d180cad720927d8e10a Author: Jean-Christophe PLAGNIOL-VILLARD Date: Tue Jun 23 00:12:01 2009 +0200 arm920t/interrupts: Move conditional compilation to Makefile Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 06e758e75c79ce8761866bf8165c443584a20893 Author: Kim, Heung Jun Date: Sat Jun 20 11:02:17 2009 +0200 move L2 cache enable/disable function to cache.c in the omap3 SoC directory Signed-off-by: HeungJun, Kim CC: Dirk Behme Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit d583ef5147066d3609de21f3beebbab99a19bad4 Author: Thomas Lange Date: Sat Jun 20 11:02:17 2009 +0200 ARM DaVinci: EMIF settings NAND module should not modify EMIF registers unrelated to CS2 that is used for NAND, i.e. do not modify EWAIT config register or registers for other Chip Selects. Without this patch, EMIF configurations made in board_init() will be invalidated. Signed-off-by: Thomas Lange commit 2600b8571a26c10c1c43401d7af38e2333cc5381 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat Jun 20 11:02:17 2009 +0200 versatile: config coding style cleanup Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: Peter Pearse commit 4efb77d41f9c5d93f0f92dda60e742023fa03c72 Author: Prafulla Wadaskar Date: Sat Jun 20 11:01:53 2009 +0200 arm: Kirkwood: Basic SOCs support Kirkwood family controllers are highly integrated SOCs based on Feroceon-88FR131/Sheeva-88SV131/arm926ejs cpu core. SOC versions supported:- 1) 88F6281-A0 define CONFIG_KW88F6281_A0 2) 88F6192-A0 define CONFIG_KW88F6192_A0 Other supported features:- 1) get_random_hex() fucntion 2) PCI Express port initialization 3) NS16550 driver support Contributors: Yotam Admon Michael Blostein Acked-by: Stefan Rose Signed-off-by: Prafulla Wadaskar commit 5c3d5817e5e68b828c165c501c215e793dc63aac Author: Prafulla Wadaskar Date: Sat Jun 20 11:01:52 2009 +0200 arm: generic cache.h for ARM architectures This patch is required for Kirkwood SoC support may be used by other ARM architectures Signed-off-by: Prafulla Wadaskar commit 9c8c706c92e53433a871a563946c38075d76504d Author: Matthias Ludwig Date: Sat Jun 20 11:01:50 2009 +0200 OMAP3EVM: fix typo. replace CS6 by CS5, no functionality change Signed-off-by: Matthias Ludwig commit 0aafde1dc76d6d65d6be10bf499ec86d9ffee8b9 Author: Sedji Gaouaou Date: Wed Jun 24 08:32:09 2009 +0200 at91sam9260/9263: add back up for the rst(reset controller). On the boards at91sam9260ek, at91sam9263ek and afed9260, the rstc register was set to 0 after being set to 500 ms for the PHY reset. Do backup the old reset length and restore it after the MACB initialisation. Signed-off-by: Sedji Gaouaou Signed-off-by: Stelian Pop commit afb0b1315c048ce2b1f35f0183b8b118ad0c14e1 Author: Kumar Gala Date: Fri Jul 3 12:45:44 2009 -0500 fsl: Fix compiler warnings from gcc-4.4 in sys_eeprom code sys_eeprom.c: In function 'do_mac': sys_eeprom.c:323: warning: dereferencing type-punned pointer will break strict-aliasing rules sys_eeprom.c: In function 'mac_read_from_eeprom': sys_eeprom.c:395: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Kumar Gala commit e94e460c6e8741f42dab6d8dd4b596ba5d9d79ae Author: Peter Tyser Date: Tue Jun 30 17:15:51 2009 -0500 83xx: Add support for fsl_dma driver Signed-off-by: Peter Tyser Reviewed-by: Ira W. Snyder Tested-by: Ira W. Snyder Acked-by: Kim Phillips Signed-off-by: Kumar Gala commit 9adda5459ca62120c0c50b82b766fe1cf6925bbf Author: Peter Tyser Date: Tue Jun 30 17:15:50 2009 -0500 83xx: Replace CONFIG_ECC_INIT_VIA_DDRC references Update 83xx architecture's CONFIG_ECC_INIT_VIA_DDRC references to CONFIG_ECC_INIT_VIA_DDRCONTROLLER, which other Freescale architectures use Signed-off-by: Peter Tyser Acked-by: Kim Phillips Signed-off-by: Kumar Gala commit 039594a4301dadceb267db5e8b9c8c78b1bb86b5 Author: Poonam Aggrwal Date: Thu Jul 2 16:15:01 2009 +0530 8xxx: Second UART port added for MPC85xx, MPC83xx, MPC86xx processors Defining the next two configs allows to switch the serial port from the console using the setenv stdin and stdout 1. #define CONFIG_SERIAL_MULTI 1 /* Enable both serial ports */ 2. #define CONFIG_SYS_CONSOLE_IS_IN_ENV /* determine from environment */ Signed-off-by: Poonam Aggrwal Signed-off-by: Ed Swarthout Signed-off-by: Kumar Gala commit 546b1032907df70f2dd0f98f3ad09885a88411e5 Author: Poonam Aggrwal Date: Thu Jul 2 16:14:40 2009 +0530 85xx: Adds GPIO registers to MPC85xx Memory Map. Signed-off-by: Poonam Aggrwal Signed-off-by: Kumar Gala commit 5da6f806b400372b8a0664f3282c9e83a402eb66 Author: Peter Tyser Date: Tue Jun 30 17:26:01 2009 -0500 86xx: XPedite5170 board support Initial support for Extreme Engineering Solutions XPedite5170 - a MPC8640-based 3U VPX single board computer with a PMC/XMC site. Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit e66f38da8434425aca8df08d06d9ef41b3478d3b Author: Timur Tabi Date: Wed Jul 1 16:51:59 2009 -0500 fsl_ddr: Fix DDR3 calculation of rank density with 8GB or more The calculate for rank density in compute_ranksize() for DDR3 used all integers for the expression, so the result was also a 32-bit integer, even though the 'bsize' variable is a u64. Fix the expression to calculate a true 64-bit value. Signed-off-by: Timur Tabi Signed-off-by: Kumar Gala commit 6af015b86b86d94de7ca1b23a3890bc93a50c2ab Author: Peter Tyser Date: Tue Jun 30 17:15:49 2009 -0500 fsl_dma: Make DMA transactions snoopable Make DMA transactions snoopable so that CPUs can keep caches up-to-date. This allows dma transactions to be used for operations such as memory copies without any additional cache control operations. Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit 0d595f76bc9c7c8dff5bd31dffed87a840a03c56 Author: Peter Tyser Date: Tue Jun 30 17:15:48 2009 -0500 fsl_dma: Break out common memory initialization function Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit 79f4333ceb059049b3ee560167d6cbaec493695f Author: Peter Tyser Date: Tue Jun 30 17:15:47 2009 -0500 8xxx: Move dma_init() call to common code Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit 191c7118592cd182f2dc7f46b4f72d9bed0e2c76 Author: Peter Tyser Date: Tue Jun 30 17:15:46 2009 -0500 fsl_dma: Move dma function prototypes to common header file Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit 7892f619d40f4196e41e7114c5dfee9fad0f572f Author: Peter Tyser Date: Tue Jun 30 17:15:45 2009 -0500 8xxx: Rename dma_xfer() to dmacpy() Also update dmacpy()'s argument order to match memcpy's and use phys_addr_t/phy_size_t for address/size arguments Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit 484919cf3351212ebf748b9b13ece1ddaf7e7d1c Author: Peter Tyser Date: Tue Jun 30 17:15:44 2009 -0500 fsl_dma: Fix Channel Start bug in dma_check() The Channel Start (CS) bit in the Mode Register (MR) should actually be cleared as the comment in the code suggests. Previously, CS was being set, not cleared. Assuming normal operation of the DMA engine, this change shouldn't have any real affect. Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit 51402ac12be9a0025f16db51fbde7c050a54e5fe Author: Peter Tyser Date: Tue Jun 30 17:15:43 2009 -0500 fsl_dma: Add support for arbitrarily large transfers Support DMA transfers larger than the DMA controller's limit of (2 ^ 26 - 1) bytes Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit a730393a362741c318b21771b8d7b2647e546c3e Author: Peter Tyser Date: Tue Jun 30 17:15:42 2009 -0500 fsl_dma: Use proper I/O access functions Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit 9c06071a6077ba95e9d43226156e39567d5d064a Author: Peter Tyser Date: Tue Jun 30 17:15:41 2009 -0500 fsl_dma: Add bitfield definitions for common registers Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit 017f11f68ef543e866be033bcb7b8058a8a380d8 Author: Peter Tyser Date: Tue Jun 30 17:15:40 2009 -0500 8xxx: Break out DMA code to a common file DMA support is now enabled via the CONFIG_FSL_DMA define instead of the previous CONFIG_DDR_ECC Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit 6bbced671719518d0e28ff422623cd7ce396cbda Author: Mark Jackson Date: Mon Jun 29 15:59:10 2009 +0100 Atmel LCD driver GUARDTIME fix This patch allows the guard time parameter to be set in the Atmel LCDC driver. By default, the previous value of 1 is used, unless the setting is defined elsewhere. Signed-off-by: Mark Jackson commit 29c35182462feea09f322e51913759a53359a3e0 Author: Roy Zang Date: Tue Jun 30 13:56:23 2009 +0800 85xx: Add pci e1000 Ethernet support for P2020 board Signed-off-by: Roy Zang Signed-off-by: Kumar Gala commit 156984a3611c28093919d3e3c042f722b5548253 Author: Kumar Gala Date: Thu Jun 18 08:39:42 2009 -0500 8xxx: Fix PCI bus address setup for 36-bit configs We want the outbound PCI memory map to end at the 4G boundary so we can maximize the amount of space available for inbound mappings if we have large amounts of memory. This matches the device tree setup in the kernel for the 36-bit physical configs for the platforms that have one (MPC8641 HPCN & MPC8572 DS). Signed-off-by: Kumar Gala commit 480f61790565d77432b70b4016b73f2ae27d530f Author: Kumar Gala Date: Thu Jun 18 08:23:01 2009 -0500 86xx: Add CPU_TYPE_ENTRY support Unify with 83xx and 85xx and use CPU_TYPE_ENTRY. We are going to use this to convey the # of cores and DDR width in the near future so its good to keep in sync. Signed-off-by: Kumar Gala commit 98ab14e858bf60306d0aa3f0df5a7a5f88264aff Author: Peter Meerwald Date: Mon Jun 29 15:48:33 2009 -0400 Blackfin: TWI/I2C: fix pure writes If doing a pure write with register address and data (not a read/write combo transfer), we don't set the initial transfer length properly which ends up causing only the register address to be transferred. While we're here, fix the i2c_write() parameter description of the buffer. Signed-off-by: Peter Meerwald Signed-off-by: Mike Frysinger commit 5710de45808eb8f1cc34b51dc3e67e2422113249 Author: Prafulla Wadaskar Date: Sat May 30 01:13:33 2009 +0530 spi: Add Marvell Kirkwood SPI driver This patch adds a SPI driver for the Marvell Kirkwood SoC's. Signed-off-by: Prafulla Wadaskar commit 6bde171a4c4116cee179167cb65335a28f99932d Author: Minkyu Kang Date: Thu Jun 25 19:21:33 2009 +0900 s3c64xx: move the reset_cpu function Because of the reset_cpu is soc specific, should be move to soc And read reset value from SYS_ID register instead of hard code this patch also supports s3c6410 Signed-off-by: Minkyu Kang commit 576afd4faeba1519bcb8c0083c3e4d45e5643a48 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun May 17 00:58:37 2009 +0200 integrator: merge integratorap and integratorcp Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Acked-by: Peter Pearse commit 46937b27427688a56bf7f5944a92d962dc43c3fa Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun May 17 00:58:36 2009 +0200 integratorap/cp: use cfi driver Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Acked-by: Peter Pearse commit de7a01abd8aeb167946f391327e1e0d1e01f90c9 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun May 17 00:58:36 2009 +0200 integratorap/cp/versatile: remove non used functions Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Acked-by: Peter Pearse commit f54851a6e3844b7e01581b5a9681f294118b7529 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun May 17 00:58:36 2009 +0200 integratorcp: split timer support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Acked-by: Peter Pearse commit 2bcef0723ea11c4e9bfbcfff2a93ec2da520b5f1 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun May 17 00:58:36 2009 +0200 integratorap: split timer support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Acked-by: Peter Pearse commit 86baa085c52a7f3377a88074679c5aca9b9e4d38 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun May 17 00:58:36 2009 +0200 integratorap: split pci support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Acked-by: Peter Pearse commit 379e9fc0a319b8f6ae16d763590bf023f3afb87c Author: Ilya Yanok Date: Mon Jun 8 04:12:50 2009 +0400 arm: add support for CONFIG_GENERIC_MMC Signed-off-by: Ilya Yanok commit 47d19da4d3f9ac4787abe9dee32406478424be52 Author: Ilya Yanok Date: Mon Jun 8 04:12:46 2009 +0400 serial_mx31: allow it to work with mx27 too and rename to serial_mxc UART hardware on i.MX27 is the same as on the i.MX31 so we just need to provide the driver with correct address of the registers. Signed-off-by: Ilya Yanok commit 1dc4da749dbde27ec862f5b65703e8e4541fbba3 Author: Ilya Yanok Date: Mon Jun 8 04:12:45 2009 +0400 mx27: basic cpu support This patch adds generic code to support Freescale's i.MX27 SoCs. Signed-off-by: Ilya Yanok commit dd2f6965a6c71f6f711ec98827880152e022c236 Author: Magnus Lilja Date: Sat Jun 13 20:50:03 2009 +0200 i.MX31: Create a common device file. Signed-off-by: Magnus Lilja commit 958f7da7887fea4a2091ae60944d62c1708c2c55 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat Jun 13 20:50:02 2009 +0200 ARM: Add macros.h to be used in assembler file. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 40c642bc19b9fa2906e3172487a522fee456340b Author: Magnus Lilja Date: Sat Jun 13 20:50:01 2009 +0200 MX31: Add NAND SPL for i.MX31. This patch adds the NAND SPL framework needed to boot i.MX31 boards from NAND. It has been tested on a i.MX31 PDK board with large page NAND. Small page NANDs should work as well, but this has not been tested. Note: The i.MX31 NFC uses a non-standard layout for large page NANDs, whether this is compatible with a particular setup depends on how the NAND device is programmed by the flash programmer (e.g. JTAG debugger). The patch is based on the work by Maxim Artamonov. Signed-off-by: Maxim Artamonov Signed-off-by: Magnus Lilja commit df81238b3e27a791da996a9208402ac8f40b9862 Author: Magnus Lilja Date: Sat Jun 13 20:50:00 2009 +0200 ARM1136: Introduce CONFIG_PRELOADER macro. Currently CONFIG_ONENAND_IPL is used in a number of #ifdef's in start.S. In preparation for adding support for NAND SPL the macro CONFIG_PRELOADER is introducted and replaces the CONFIG_ONENAND_IPL in start.S. Signed-off-by: Magnus Lilja commit 8096c51fd4e611ed666dbe77767e81af5d94fc7b Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat Jun 13 12:50:04 2009 +0200 at91: unify nor boot support the lowlevel init sequence is the same so unify it Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 1b3b7c640d04df2ba9a9d947117d112a75fee7f4 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat Jun 13 12:48:36 2009 +0200 at91sam9263ek: add nor flash support this will allow you to store use it for the env and to boot directly U-Boot from Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 329492329700812c6df275aa0fda09d609cd0fd4 Author: Ilko Iliev Date: Fri Jun 12 21:20:39 2009 +0200 at91: add support for the PM9261 board of Ronetix GmbH The PM9261 board is based on the AT91SAM9261-EK board. Here is the page on Ronetix website: http://www.ronetix.at/starter_kit_9261.html Signed-off-by: Ilko Iliev Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 01550a2b650fbabc03334f9eadcc6083601a2414 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri Jun 12 21:20:38 2009 +0200 pm9263: use macro instead of hardcode value for the lowlevel_init optimize a few the RAM init Signed-off-by: Ilko Iliev Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 7a11c7f9747240dc770954d320569596c0fbcb50 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri Jun 12 21:20:37 2009 +0200 pm9263: lowlevel init update move PSRAM init to pm9263.c this will allow us after to make the nor lowlevel_init generic Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 3e88337b225bf796f6df21d0a7f591530e9d4ce0 Author: Mike Frysinger Date: Mon Jun 15 00:25:19 2009 -0400 Blackfin: move ALL += u-boot.ldr to blackfin_config.mk The way the ALL variable is used allows for config.mk's to add more targets themselves without having to clutter up the top level Makefile. Signed-off-by: Mike Frysinger commit afac8b07172d7e4a65f86ce1ec4c783a6165ba1f Author: Mike Frysinger Date: Sun Jun 14 22:29:35 2009 -0400 Blackfin: fix SPI flash speed define name The SPI flash define is named CONFIG_SF_DEFAULT_SPEED, not CONFIG_SF_DEFAULT_HZ, so fix the typos in the Blackfin boards. Signed-off-by: Mike Frysinger commit 9ae55ccf601de7a5b75eb418f3fc3d5eca92c106 Author: Mike Frysinger Date: Sun Jun 14 22:26:31 2009 -0400 Blackfin: enable -O2 in lib_generic/ for ADI/Bluetechnix boards Building the compression code in lib_generic/ with -O2 rather than -Os gives a nice speed boost without too much code size increase. Signed-off-by: Mike Frysinger commit fea63e2a44f0db51d2e39ee7793e8c6d7f3cf5d4 Author: Mike Frysinger Date: Sun Jun 14 21:23:27 2009 -0400 Blackfin: bf548-ezkit: bump up monitor size The latest version of U-Boot got a bit fatter in the BSS section which caused overflows in the RAM region, so increase the monitor size. Signed-off-by: Mike Frysinger commit bc43a8d8994c2f0be29e09b13b15da7f79e2c081 Author: Vivi Li Date: Fri Jun 12 10:53:22 2009 +0000 Blackfin: bf533-stamp/bf537-stamp: fix env settings for SPI flash The SPI flash layer is much stricter about sector usage than the eeprom layer we used to use, so update the env settings to better match the sector alignment of the flashes we use. Signed-off-by: Vivi Li Signed-off-by: Mike Frysinger commit 63cb0f4eb2d3cf15e7a1add19d1289f4ae75816c Author: Vivi Li Date: Fri Jun 12 10:33:23 2009 +0000 Blackfin: bump up default JTAG console timeout The debug tools that interface with the other side of the JTAG console got much slower when generalizing things, so bump up the default timeout value on the U-Boot side to cope. Hopefully at some point we can improve the debug tools to speed things back up. Signed-off-by: Vivi Li Signed-off-by: Mike Frysinger commit c11ff779f4e0e0c7edc322e84dd229ad28709595 Author: Mike Frysinger Date: Mon Jun 1 19:08:33 2009 -0400 Blackfin: add jtagconsole helper script This script is similar to the netconsole script, but instead works with the JTAG console device driver that exists on Blackfin parts. Signed-off-by: Mike Frysinger commit 60f61e6d7655400bb785a2ef637581679941f6d1 Author: Remy Bohmer Date: Sat May 2 21:49:18 2009 +0200 Convert DM9000 driver for CONFIG_NET_MULTI All drivers need to be converted to CONFIG_NET_MULTI. This patch converts the dm9000 driver. Signed-off-by: Thomas Smits Signed-off-by: Remy Bohmer Signed-off-by: Ben Warren commit 9131589ada4dda0718604d0a425ca46e52775f6e Author: Prafulla Wadaskar Date: Sun Jun 14 22:33:46 2009 +0530 net: Add Marvell Kirkwood gigabit ethernet driver This patch adds a egiga driver for the Marvell Kirkwood SoC's. Contributors: Yotam Admon Michael Blostein Acked-by: Stefan Rose Signed-off-by: Prafulla Wadaskar Signed-off-by: Ben Warren commit 7835f4b94927ecb5affd99aad62592108db606ad Author: s-paulraj@ti.com Date: Tue May 12 11:45:34 2009 -0400 DaVinci Network Driver Updates Different flavours of DaVinci SOC's have differences in their EMAC IP This patch does the following 1) Updates base addresses for DM365 2) Updates MDIO frequencies for DM365 and DM646x 3) Update EMAC wrapper registers for DM365 and DM646x Patch applies to u-boot-net git. the EMAC driver itself will be updated shortly to add support for DM365 and DM646x Signed-off-by: Sandeep Paulraj Signed-off-by: Ben Warren commit 44578bea14e49035331a8f0e000e935e0d830ff4 Author: Richard Retanubun Date: Tue May 26 08:29:29 2009 -0400 Subject: [PATCH] [repost] Standardize the use of MCFFEC_TOUT_LOOP as a udelay(1) loop counter. From 584b5fbd4abfc43f920cc1c329633e03816e28be Mon Sep 17 00:00:00 2001 From: Richard Retanubun Date: Wed, 20 May 2009 18:26:01 -0400 Subject: [PATCH] Standardize the use of MCFFEC_TOUT_LOOP as a udelay(1) loop counter. Signed-off-by: Richard Retanubun Signed-off-by: Ben Warren commit c9a2aab1512fb2d132670fff9c27656d2eb949cd Author: Norbert van Bolhuis Date: Thu Jun 4 09:39:48 2009 +0200 A VLAN tagged DHCP request/discover is 4 bytes short The problem is that BOOTP_SIZE uses ETHER_HDR_SIZE which is 14 bytes. If sending a VLAN tagged frame (when env variable vlan is set) this should be VLAN_ETHER_HDR_SIZE=18 which is what NetSetEther returns. Signed-off-by: Norbert van Bolhuis Signed-off-by: Ben Warren commit 6e0d2fc7fe0dcfa2f51ab8931d706940ee364193 Author: Ben Warren Date: Tue Apr 28 16:39:19 2009 -0700 Remove support for non-CONFIG_NET_MULTI on PPC4xx EMAC Signed-off-by: Ben Warren commit 8453587ef9137daf98b7c9cf4f3b865f4039cea0 Author: Ben Warren Date: Tue May 26 00:34:07 2009 -0700 Switched davinci_emac Ethernet driver to use newer API Added CONFIG_NET_MULTI to all Davinci boards Removed all calls to Davinci network driver from board code Added cpu_eth_init() to cpu/arm926ejs/cpu.c Signed-off-by: Ben Warren commit 8cc13c13f1d154c8fa8fff56cea357ed38af76bf Author: Ben Warren Date: Mon Apr 27 23:19:10 2009 -0700 Initial cleanup of Davinci Ethernet driver Removed pointless #ifdefs Moved functions around in file in preparation for switch to newer API Signed-off-by: Ben Warren commit 09cdd1b9b01450e91786d26ff3c866dc9c8d8d6b Author: Ben Warren Date: Tue May 26 00:17:59 2009 -0700 Moved Davinci Ethernet driver to drivers/net This driver has been renamed davinci_emac.c Signed-off-by: Ben Warren commit 6f51deb7f298413cfcb0a36d24c97ef7dd69d48f Author: Prafulla Wadaskar Date: Tue May 19 01:40:16 2009 +0530 Marvell MV88E61XX Switch Driver support Chips supported:- 1. 88E6161 6 port gbe swtich with 5 integrated PHYs 2. 88E6165 6 port gbe swtich with 5 integrated PHYs 2. 88E6132 3 port gbe swtich with 2 integrated PHYs Platform specific configuration supported for:- default or router port vlan configuration led_init configuration mdip/n polarity reversal configuration Note: This driver is supported and tested against kirkwood egiga interface Contributors: Yotam Admon Michael Blostein Signed-off-by: Prafulla Wadaskar Signed-off-by: Ben Warren commit 091dc9f6adaf572b067ae91af92c4e7db33d7903 Author: Zach LeRoy Date: Fri May 22 10:26:33 2009 -0500 tsec: Add support for BCM5482S PHY Signed-off-by: Zach LeRoy Acked-by: Kumar Gala Signed-off-by: Ben Warren commit 9ff67e5e4c719556d57f136a6453f8e4798d85c0 Author: Mike Frysinger Date: Sun Jun 14 06:29:07 2009 -0400 Blackfin: unify u-boot linker scripts All the Blackfin linker scripts were duplicated across the board dirs with no difference save from the semi-often used ENV_IS_EMBEDDED option. So unify all of them in the lib_blackfin/ dir and for the few boards that need to embedded the environment directly, add a LDS_BOARD_TEXT define for them to customize via their board config file. This is much simpler than forcing them to duplicate the rest of the linker script. Signed-off-by: Mike Frysinger commit f52efcae98cbb8a39f1d0535df8d9646a776af9e Author: Mike Frysinger Date: Fri May 29 17:02:37 2009 -0400 Blackfin: bf518f-ezbrd: enable SST SPI flash driver The BF51xF parts have an internal SST SPI flash, so make sure the driver is enabled by default so we can access it. Signed-off-by: Mike Frysinger commit f348ab85f741dc98b2d202c04b5f430eace94925 Author: Mike Frysinger Date: Fri Apr 24 17:22:40 2009 -0400 Blackfin: convert specific pre/post config headers to common method The Blackfin port was using asm/blackfin-config-{pre,post}.h to setup common Blackfin board defines. The common method now is to use config.h, so convert blackfin-config-post.h to that. Rename the still Blackfin specific blackfin-config-pre.h to config-pre.h so the naming conventions at least line up. Signed-off-by: Mike Frysinger commit 7c7503ee6cd03c0f3b16e98d33d5aa23b30d65b1 Author: Mike Frysinger Date: Fri Apr 24 17:11:47 2009 -0400 Blackfin: enable LZMA for all ADI boards Signed-off-by: Mike Frysinger commit 0e63dc0679451d48f8b727c543ce48b488f7a33f Author: Mike Frysinger Date: Mon Apr 13 05:52:45 2009 -0400 Blackfin: make default ADI env more flexible Allow boards to easily override the root= and default bootcmd, allow people to tweak the file used in default bootcmds at runtime via one env var, and add a stock nandboot command. Signed-off-by: Mike Frysinger commit 0f52b560f19623ec651f9b9b40405d138ec251d3 Author: Hoan Hoang Date: Sun Jan 18 22:44:17 2009 -0500 Blackfin: ibf-dsp561: new board port Signed-off-by: Hoan Hoang Signed-off-by: Mike Frysinger commit 3088189a15d219c48fd7e71623ca4daa08b80b59 Author: Mike Frysinger Date: Sun Oct 12 23:28:33 2008 -0400 Blackfin: blackstamp: new board port Signed-off-by: Mike Frysinger commit 59ac9729700db1d4446c1a6db3ffe38398b7abb2 Author: Mike Frysinger Date: Sun Oct 12 23:22:25 2008 -0400 Blackfin: bf537-srv1: new board port Signed-off-by: Mike Frysinger commit d7fdc1410b5fa5ef623b35a283733b6bcee3753b Author: Mike Frysinger Date: Sun Oct 12 23:16:52 2008 -0400 Blackfin: bf537-minotaur: new board port Signed-off-by: Mike Frysinger commit cb4b5e874f3c9b882a6f4394bbebbbd91fd01bbf Author: Mike Frysinger Date: Sun Oct 12 23:08:03 2008 -0400 Blackfin: bf537-pnav: new board port Signed-off-by: Mike Frysinger commit 59e4be945b6469e31eee721e0bcdccf4940d75ac Author: Mike Frysinger Date: Sun Oct 12 21:55:45 2008 -0400 Blackfin: cm-bf527: new board port Signed-off-by: Mike Frysinger commit 8b219cf07c186cc9d97354cf4b14f24a53d193c5 Author: Mike Frysinger Date: Sun Oct 12 21:54:07 2008 -0400 Blackfin: cm-bf548: new board port Signed-off-by: Mike Frysinger commit 9417d9a21384279308abe5b4dd8dfd418742484c Author: Mike Frysinger Date: Sun Oct 12 21:49:28 2008 -0400 Blackfin: tcm-bf537: new board port Signed-off-by: Mike Frysinger commit e548321af00e869af7194896576beb9b68457ff7 Author: Mike Frysinger Date: Sun Oct 12 21:45:05 2008 -0400 Blackfin: cm-bf561: new board port Signed-off-by: Mike Frysinger commit 8a9bab08a6fe93e5f3bf57b90438f1d2a67fad3c Author: Mike Frysinger Date: Sun Oct 12 21:41:06 2008 -0400 Blackfin: cm-bf537e: new board port Signed-off-by: Mike Frysinger commit e82d8a1f028bedb12c4ab88a35a935010d92898c Author: Mike Frysinger Date: Sun Oct 12 21:36:22 2008 -0400 Blackfin: cm-bf533: new board port Signed-off-by: Mike Frysinger commit dd14af7640f7d48d8e9768eeeb09592e6f94ed38 Author: Mike Frysinger Date: Thu Nov 27 16:50:32 2008 -0500 Blackfin: new spibootldr command Newer Blackfin parts can an on-chip ROM that can boot LDRs over SPI flashes, so add a new 'spibootldr' command to take advantage of it. Signed-off-by: Mike Frysinger commit 67c2829b646bb5b859088b36fbc89e971b9c1960 Author: Mike Frysinger Date: Mon Oct 6 04:42:33 2008 -0400 Blackfin: support embedding the environment into loader files (LDRs) For the most part, the Blackfin processor boots files in the LDR format rather than binary/ELF files. So we want to export the environment as a raw blob to the LDR utility so it can embed it at the right location. Signed-off-by: Mike Frysinger commit 31f30c9eb60d9ab0bd702e31f66345f99b34bdc6 Author: Mike Frysinger Date: Sun Jun 14 11:03:48 2009 -0400 add %.c->%.i and %.c->%.s rules The Linux kernel has some helper rules which allow you to quickly produce some of the intermediary files from C source. Specifically, you can create .i files which is the preprocessed output and you can create .s files which is the assembler output. This is useful when you are trying to track down header/macro expansion errors or inline assembly errors. Signed-off-by: Mike Frysinger Acked-by: Jean-Christophe PLAGNIOL-VILLARD commit 6d1ce387874c1060f27656f70151a52c511cd0e3 Author: Mike Frysinger Date: Sat May 30 01:02:03 2009 -0400 make sure toplevel $(SUBDIRS) is always declared The $(SUBDIRS) variable is only declared when U-Boot has been configured, but it gets used all the time. In the non-configured case, it is used to generate a helpful error message, but it needs to be set properly for that to occur. Signed-off-by: Mike Frysinger commit 1260233982f7dfbdfd1adee12daa95a0c0e84a43 Author: Grzegorz Bernacki Date: Fri Jun 12 11:33:55 2009 +0200 digsy mtc: Add description to GPIO initial configuration. Signed-off-by: Grzegorz Bernacki commit 12304871bc7839145f2b4238923e9023616d7399 Author: Grzegorz Bernacki Date: Fri Jun 12 11:33:54 2009 +0200 digsy MTC: Add 'mtc' command. New command allows to: o check FW version o set LED status o set digital output status o get digital input status Signed-off-by: Grzegorz Bernacki commit f1f66edfc76f4a9f5b9f63972d90309784a8cae5 Author: Grzegorz Bernacki Date: Fri Jun 12 11:33:53 2009 +0200 digsy MTC: Add SPI support. Signed-off-by: Grzegorz Bernacki commit 6325b7780dad8be26ba6fc25ef88ba338c50205b Author: Grzegorz Bernacki Date: Fri Jun 12 11:33:52 2009 +0200 mpc52xx: Add SPI driver. Signed-off-by: Grzegorz Bernacki commit 5ec5529b82f314ca2cf9c262cdfc985d5fc468a0 Author: Mike Frysinger Date: Sun Jun 14 09:33:00 2009 -0400 allow boards to customize compiler options on a per-file/dir basis With our Blackfin boards, we like to build the compression routines with -O2 as our tests show a pretty good size/speed tradeoff. For the rest of U-Boot though, we want to stick with the default -Os as that is mostly control code. So in our case, we would add a line like so to the board specific config.mk file: CFLAGS_lib_generic += -O2 Now all files under lib_generic/ will have -O2 appended to their build. Signed-off-by: Mike Frysinger Acked-by: Jean-Christophe PLAGNIOL-VILLARD commit 6b1f78ae6ad037382ad430b07064105c88f7ac02 Author: Wolfgang Denk Date: Sun Jun 14 21:30:39 2009 +0200 Prepare v2009.06 Update CHANGELOG, fix minor coding stylke issue. Update Makefile. Signed-off-by: Wolfgang Denk commit c3147c1762f8caf99649051116a2411bdf887c10 Author: Wolfgang Denk Date: Sun Jun 14 20:31:36 2009 +0200 Revert "SMC911x driver fixed for NFS boot" This reverts commit ca9c8a1e10fac01e6a1129f82a7ce18bd818fa43, which causes compile warnings ("large integer implicitly truncated to unsigned type") on all systems that use this driver. The warning results from passing long constants (TX_CFG, RX_CFG) into smc911x_set_mac_csr() which is declared to accept "unsigned character" arguments only. Being close to a release, with nobody available to actually test the code or the suggested fixes, it seems better to revert the patch. commit 388517e4b745b00256c2fa201ce7bccb67b4f245 Author: Peter Tyser Date: Fri May 22 10:26:37 2009 -0500 xes: Update Freescale clock code to work with 86xx processors Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit 25623937bb81cae788d767e6c59a11c96fc82866 Author: Peter Tyser Date: Fri May 22 10:26:36 2009 -0500 xes: Update Freescale DDR code to work with 86xx processors Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit bef3013908bbc68f24084174a3ca86cc2a3eb986 Author: Peter Tyser Date: Fri May 22 10:26:35 2009 -0500 xes: Update Freescale PCI code to work with 86xx processors Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit 6442b71b522face775c1c31bd43121db3b4bf7d6 Author: Peter Tyser Date: Fri May 22 10:26:32 2009 -0500 85xx: Add PORBMSR and PORDEVSR shift defines Add defines similar to those already used for the the 86xx architecture. This will ease sharing of PCI code between the 85xx and 86xx architectures. Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit 2f21ce4d546d31289ac49a680f78bcc9a792c6ec Author: Peter Tyser Date: Thu May 21 12:10:00 2009 -0500 fsl/85xx, 86xx: Sync up DMA code The following changes were made to sync up the DMA code between the 85xx and 86xx architectures which will make it easier to break out common 8xxx DMA code: 85xx: - Don't set STRANSINT and SPCIORDER fields in SATR register. These bits only have an affect when the SBPATMU bit is set. - Write 0xffffffff instead of 0xfffffff to clear errors in the DMA status register. We may as well clear all 32 bits of the register... 86xx: - Add CONFIG_SYS_MPC86xx_DMA_ADDR define to address DMA registers - Add clearing of errors in the DMA status register when initializing the controller - Clear the channel start bit in the DMA mode register after a transfer Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit b1f12650d332eadac1306a772cab6096abee6ddd Author: Peter Tyser Date: Thu May 21 12:09:59 2009 -0500 fsl: Create common fsl_dma.h for 85xx and 86xx cpus Break out DMA structures for the Freescale MPC85xx and MPC86xx cpus to reduce a large amount of code duplication Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit 3bd8e532b5de20647aeaff94a1cbf33fb8b897b9 Author: Haiying Wang Date: Wed May 20 12:30:41 2009 -0400 85xx: Add UEC6 and UEC8 at SGMII mode for MPC8569MDS On MPC8569MDS board, UCC6 and UCC8 can be configured to work at SGMII mode via UEM on PB board. Since MPC8569 supports up to 4 Gigabit Ethernet ports, we disable UEC6 and UEC8 by default. Signed-off-by: Haiying Wang Signed-off-by: Kumar Gala commit e8efef7c1b457442583a8b9d38d8a5b667661616 Author: Haiying Wang Date: Thu Jun 4 16:12:42 2009 -0400 drivers/qe: add sgmii support in for UEC driver Signed-off-by: Haiying Wang Signed-off-by: Kumar Gala commit 8e55258f144764de8902e9f078a7ad4c6c022c2f Author: Haiying Wang Date: Thu Jun 4 16:12:41 2009 -0400 qe: Pass in uec_info struct through uec_initialize The uec driver contains code to hard code configuration information for the uec ethernet controllers. This patch creates an array of uec_info structures, which are then parsed by the corresponding driver instance to determine configuration. It also creates function uec_standard_init() to initialize all UEC interfaces for 83xx and 85xx. Signed-off-by: Haiying Wang Signed-off-by: Kumar Gala commit 9a6110897fc9282ade598bbba70ad72b940436e3 Author: Haiying Wang Date: Thu Jun 4 16:12:40 2009 -0400 fsl: Update the number of ethxaddr in reading system eeprom We support up to 8 mac addresses in system eeprom, so we define the macro MAX_NUM_PORTS to limit the mac_count to 8, and update the number of ethxaddr according to mac_count. Signed-off-by: Haiying Wang Signed-off-by: Kumar Gala commit f82107f637f167a77803c0933f9b24741a91c711 Author: Haiying Wang Date: Wed May 20 12:30:37 2009 -0400 85xx: Add RMII support for MPC8569MDS This patch supports UCC working at RMII mode on PIB board, fixup fdt blob to support rmii in kernel. It also changes the name of enable_mpc8569mds_qe_mdio to enalbe_mpc8569mds_qe_uec which is more accurate. Signed-off-by: Haiying Wang Signed-off-by: Kumar Gala commit 750098d33bc362ac4263863e92da158cf011063f Author: Haiying Wang Date: Wed May 20 12:30:36 2009 -0400 85xx: Add UEC3 and UEC4 support for MPC8569MDS Signed-off-by: Haiying Wang Signed-off-by: Kumar Gala commit 4e7b25e4fe777f525e426cbd58c3a3976c564f2e Author: Haiying Wang Date: Wed May 20 12:30:35 2009 -0400 drivers/qe: Add more SNUM number for QE Some QE chips like 8569 need more SNUM numbers for supporting 4 UECs in RGMII- 1000 mode. Signed-off-by: Haiying Wang Acked-by: Timur Tabi Signed-off-by: Kumar Gala commit 7211fbfa18f3061858696150ee6e9e093d9eceae Author: Haiying Wang Date: Thu May 21 15:34:14 2009 -0400 drivers/qe: Change QE RISC ALLOCATION to support 4 RISCs Also define the QE_RISC_ALLOCATION_RISCs to MACROs instead of using enum, and define MAX_QE_RISC for QE based silicons. Signed-off-by: Haiying Wang Acked-by: Timur Tabi Signed-off-by: Kumar Gala commit b3d7f20f43a0f8d11c65e2f92153b5512b11580c Author: Haiying Wang Date: Wed May 20 12:30:29 2009 -0400 85xx: Add QE clk support Signed-off-by: Haiying Wang Acked-by: Timur Tabi Signed-off-by: Kumar Gala commit 71b358cc26792889bbac35054d8e89d59b3fabc4 Author: Kumar Gala Date: Wed May 20 01:11:33 2009 -0500 85xx: Added MPC8535/E identifiers Signed-off-by: Kumar Gala commit 22419d77976bbd0df9fcf45513f1b96bd73e50d1 Author: Kumar Gala Date: Thu May 21 08:36:43 2009 -0500 85xx: Always attempt ethernet device tree fixup Its reasonable that we may have ethernet devices but dont have drivers or support enabled for them in u-boot and want the device tree fixed up. Unconditionally calling the ethernet fixup is fine since if we dont have ethernet nodes that match (or aliases) we will not attempt to do anything. Signed-off-by: Kumar Gala Acked-by: Timur Tabi commit 52d6ad5ecfb22938441c8e3e62935fbd7b0f0920 Author: Haiying Wang Date: Thu May 21 15:32:13 2009 -0400 drivers/qe: Rename the camel-case identifiers in uec Rename riscRx/riscTx to risc_rx/risc_tx to comply with Codingstyle. Signed-off-by: Haiying Wang commit feb7838f979ec2b581df3c791b9ae3284c36bb47 Author: Srikanth Srinivasan Date: Fri Apr 3 15:36:13 2009 -0500 85xx: Add P2020DS support The patch adds support for P2020DS reference platform. DDR3 interface uses hard-coded initialization rather than SPD for now and was tested at 667Mhz. Some PIXIS register definitions and associated code sections need to be fixed. TSEC1/2/3, NOR flash, MAC/SYS ID EEPROM, PCIE1/2/3 are all tested under u-boot. Signed-off-by: Srikanth Srinivasan Signed-off-by: Travis Wheatley Signed-off-by: Kumar Gala commit 229549a56d9ae413c00f64fd7c728c6879a1b54b Author: Stefan Roese Date: Tue Jun 9 16:57:47 2009 +0200 mpc512x: MPC5121ADS: Add NAND support This patch adds NAND support to the MPC5121ADS board. Please note that the image size increased since NAND support didn't fit in the current image size (256k). Signed-off-by: Stefan Roese Signed-off-by: Wolfgang Denk Cc: Wolfgang Denk commit 35f2edbb6cad043ccd5ea6e78fe9b7aa21d8395f Author: Stefan Roese Date: Tue Jun 9 16:57:03 2009 +0200 nand/mpc512x: Add MPC512x NAND support (NFC) This patch adds NAND Flash Controller driver for MPC5121 revision 2. All device features, except hardware ECC and power management, are supported. This NFC driver replaces the one orignally posted by John Rigby: "[PATCH] Freescale NFC NAND driver" It's a port of the Linux driver version posted by Piotr Ziecik a few weeks ago. Using this driver has the following advantages (from my point of view): - Compatibility with the Linux NAND driver (e.g. ECC usage) - Better code quality in general - Resulting U-Boot image is a bit smaller (approx. 3k) - Better to sync with newer Linux driver versions The only disadvantage I can see, is that HW-ECC is not supported right now. But this could be added later (e.g. port from Linux driver after it's supported there). Using HW-ECC on the MCP5121 NFC has a general problem because of the ECC usage in the spare area. This collides with JFFS2 for example. Signed-off-by: Stefan Roese Cc: Piotr Ziecik Cc: Wolfgang Denk Cc: John Rigby Cc: Scott Wood commit e53b507cee5d976953134a565c72fd32c967d7dd Author: Stefan Roese Date: Tue Jun 9 11:50:40 2009 +0200 mpc512x: Add esd gmbh mecp5123 board support MECP5123 is a MPC5121E based module by esd gmbh. Signed-off-by: Stefan Roese Cc: Reinhard Arlt commit 6bd55cc65d0c3aa84d719518254fb3c650239ed9 Author: Stefan Roese Date: Tue Jun 9 11:50:05 2009 +0200 mcp512x: Add macros for SCFR LPC divisor access Thos macros will be used by the esd mecp5123 board. Signed-off-by: Stefan Roese commit c60dc8527dbb2a1318c03bc18bdebcfbd0164551 Author: Stefan Roese Date: Mon Jun 8 09:38:07 2009 +0200 mpc512x: Fix problem with I2C access before relocation This is needed for the upcoming esd MECP5123 board port which uses I2C EEPROM for environment storage. Signed-off-by: Stefan Roese Cc: Reinhard Arlt Acked-by: Heiko Schocher commit 58f10460b05e0928d986b15edd4f2e1e99403f7e Author: Stefan Roese Date: Thu Jun 4 13:35:39 2009 +0200 74xx_7xx: CPCI750: Add CPCI adapter/target support The CPCI750 can be built as CPCI host or adapter/target board. This patch adds support for runtime detection of those variants. Signed-off-by: Stefan Roese Cc: Reinhard Arlt commit ae7a2739d7a0704437376e229bb21940952c55be Author: Stefan Roese Date: Fri Jun 5 05:45:41 2009 +0200 74xx_7xx: CPCI750: Enable access to PCI function > 0 The Marvell bridge 64360 supports serveral PCI functions, not only 0. This patch enables access to those functions. Signed-off-by: Stefan Roese Cc: Reinhard Arlt commit e5b563e9ec54c3f6d702c8fa2b711b4a6150243a Author: Stefan Roese Date: Thu Jun 4 13:35:37 2009 +0200 74xx_7xx: CPCI750: Minor coding style cleanup of cpci750.c Signed-off-by: Stefan Roese Cc: Reinhard Arlt commit 0e5ef07d0d91bd3d87ebea0534f538561aa974d5 Author: Stefan Roese Date: Thu Jun 4 13:35:36 2009 +0200 74xx_7xx: CPCI750: Add loadpci command This command is used to load/boot an OS-image which is transferred from the CPCI host to the CPCI target/adapter. Signed-off-by: Stefan Roese Cc: Reinhard Arlt commit 0a14d6b8f4d21ff59a9b7686a49a77069a9fcd2a Author: Stefan Roese Date: Thu Jun 4 13:35:35 2009 +0200 74xx_7xx: CPCI750: Add commandline editing/history Signed-off-by: Stefan Roese Cc: Reinhard Arlt commit 60cfe87bd39e6f07f2b92eb4bff82bfd105f4724 Author: Stefan Roese Date: Thu Jun 4 16:55:34 2009 +0200 UBI: Add compile-time check for correct malloc area configuration UBI is quite memory greedy and requires at least approx. 512k of malloc area. This patch adds a compile-time check, so that boards will not build with less memory reserved for this area (CONFIG_SYS_MALLOC_LEN). Signed-off-by: Stefan Roese commit 7ce6031afc8671c8b47c6135b3678d43fcd02852 Author: Prafulla Wadaskar Date: Mon Apr 6 21:24:43 2009 +0530 sf: new Macronix MX25xx SPI flash driver Added macronix SF driver for MTD framework MX25L12805D is supported and tested TBD: sector erase implementation, other deivces support Signed-off-by: Prafulla Wadaskar Signed-off-by: Mike Frysinger commit 2a6cc58869305f346e389eefdfa96dea5146cb0c Author: Todor I Mollov Date: Sat Apr 4 07:14:44 2009 -0400 sf: atmel: implement power-of-two write/erase funcs Signed-off-by: Todor I Mollov Signed-off-by: Mike Frysinger CC: Haavard Skinnemoen commit 4bc6eb79be2a7317425575184324b94e3b43fbc2 Author: Vivek Mahajan Date: Mon May 25 17:23:18 2009 +0530 mpc85xx: 8536ds: Add USB related CONFIGs This patch adds CONFIGs for enabling USB in mpc8536ds and also adds usb_phy_type in CONFIG_EXTRA_ENV_SETTINGS. Also revamps its Copyright. Signed-off-by: Vivek Mahajan Signed-off-by: Remy Bohmer commit 6823e9b01290977c4d9c90381459c01f66e12e79 Author: Vivek Mahajan Date: Mon May 25 17:23:17 2009 +0530 mpc83xx: 8315erdb: Add USB related CONFIGs This patch adds CONFIGs for enabling USB in mpc8315erdb and also adds usb_phy_type in CONFIG_EXTRA_ENV_SETTINGS. Also revamps its Copyright. Signed-off-by: Vivek Mahajan Signed-off-by: Remy Bohmer commit a07bf180efc3c0de4a89a3bd49a7c7584dfb95a8 Author: Vivek Mahajan Date: Thu May 21 17:32:48 2009 +0530 mpc85xx: USB: Add support The following patch adds 85xx-specific USB support and also revamps Copyright in immap_85xx.h Signed-off-by: Vivek Mahajan Signed-off-by: Remy Bohmer commit 4ef01010aa4799c759d75e67007fdd3a38c88c8a Author: Vivek Mahajan Date: Mon May 25 17:23:16 2009 +0530 mpc83xx: USB: Reorganized its support The following patch reorganizes/reworks the USB support for mpc83xx as under:- * Moves the 83xx USB clock init from drivers/usb/host/ehci-fsl.c to cpu/mpx83xx/cpu_init.c * Board specific usb_phy_type is read from the environment * Adds USB EHCI specific structure in include/usb/ehci-fsl.h * Copyrights revamped in most of the following files Signed-off-by: Vivek Mahajan Signed-off-by: Remy Bohmer commit ed90d2c87158e5114b6009fa95bb6417e4b27b3e Author: Vivek Mahajan Date: Thu May 21 17:32:27 2009 +0530 mpc8xxx: USB: Relocates ehci-fsl.h to include/usb The following patch moves 8xxx-specifc USB #defines from drivers/usb/host/ehci-fsl.h to include/usb. Signed-off-by: Vivek Mahajan Signed-off-by: Remy Bohmer commit cfd39cdf9422d3d25e9b3c058865f4c1f66f34da Author: Vivek Mahajan Date: Thu May 21 17:32:15 2009 +0530 mpc8xxx: USB: Removed reenablement of its interface To prepare for the 85xx USB support, which requires interface enablement only once in (specified) order, no different than instructions for enabling the interface under 83xx. It is unknown why the original author enabled the interface twice (checked for references in errata, etc). Signed-off-by: Vivek Mahajan Signed-off-by: Remy Bohmer commit 2c7920afaf96d9779304202cd8a355b4f7576a83 Author: Peter Tyser Date: Fri May 22 17:23:25 2009 -0500 83xx: Replace CONFIG_MPC83[0-9]X with MPC83[0-9]x Use the standard lowercase "x" capitalization that other Freescale architectures use for CPU defines to prevent confusion and errors Signed-off-by: Peter Tyser Signed-off-by: Kim Phillips commit 0f898604945af4543c1525fc33b6bae621a3b805 Author: Peter Tyser Date: Fri May 22 17:23:24 2009 -0500 83xx: Replace CONFIG_MPC83XX with CONFIG_MPC83xx Use the standard lowercase "xx" capitalization that other Freescale architectures use for CPU defines to prevent confusion and errors Signed-off-by: Peter Tyser Signed-off-by: Kim Phillips commit ba4feae90ca71de1681d5808f17e73224d8f03c4 Author: Stefan Roese Date: Tue Jun 2 16:53:16 2009 +0200 mpc512x: Use serial_setbrg() in serial_init() to not duplicate the code This patch removes the duplicated code for baudrate generator configuration in the PSC serial_init() implementation by calling serial_setbrg() instead of duplicating the code. Signed-off-by: Stefan Roese commit b8c1d6a54ff8195488b68e163de8ec31f1603496 Author: Stefan Roese Date: Tue Jun 2 16:53:15 2009 +0200 mpc512x: Fix PSC divisor calculation for baudrate setting The wrong input frequency was used in serial_setbrg(). This patch fixes this by using ips_clk as input frequency for the PSC baudrate generator. Signed-off-by: Stefan Roese commit 52568c3654b2b257016d52167805ae132faac14e Author: Wolfgang Denk Date: Sat May 16 10:47:46 2009 +0200 MPC512x: add support for ARIA board ARIA is a MPC5121E based COM Express module by Dave/DENX. Signed-off-by: Wolfgang Denk Cc: John Rigby commit 3b74e7ec58e2cc352b0a396a614065cfeb8d138f Author: Wolfgang Denk Date: Sat May 16 10:47:45 2009 +0200 MPC512x: remove include/mpc512x.h Move needed definitions (register descriptions etc.) from include/mpc512x.h into include/asm-ppc/immap_512x.h. Instead of using a #define'd register offset, use a function that provides the PATA controller's base address. All the rest of include/mpc512x.h are register offset definitions which can be eliminated by proper use of C structures. There are only a few register offsets remaining that are needed in cpu/mpc512x/start.S; for these we provide cpu/mpc512x/asm-offsets.h which is intended as a temporary workaround only. In a later patch this file will be removed, too, and then auto-generated from the respective C structs. Signed-off-by: Wolfgang Denk Cc: John Rigby commit a927e491b2a326c1e9c4313e3ce4042988422697 Author: Wolfgang Denk Date: Sat May 16 10:47:44 2009 +0200 MPC512x FEC: get rid of duplicated struct ethernet_regs Use existing struct fec512x instead. Signed-off-by: Wolfgang Denk Cc: John Rigby Acked-by: Ben Warren commit 843efb1192cc8fd4f904a23dbab4e0fe3e1c5bc2 Author: Wolfgang Denk Date: Sat May 16 10:47:43 2009 +0200 MPC512x: use I/O accessors instead of pointer accesses This commit changes the MPC512x code to use I/O accessor calls (i.e. out_*() and in_*()) instead of using deprecated pointer accesses. Signed-off-by: Wolfgang Denk Cc: John Rigby commit 19dc7e179268be148e550c36203208c662610d76 Author: Wolfgang Denk Date: Sat May 16 10:47:42 2009 +0200 MPC512x: add more hardware description to immap_512x.h - add GPIO module description - add Address Latch Timing Register description - add IO Control Memory Map - add FEC Memory Map Also change board/freescale/mpc5121ads/mpc5121ads.c and cpu/mpc512x/iopin.c as needed. Signed-off-by: Wolfgang Denk Cc: John Rigby commit 72601d04fdfdd4c7597afcf1f6aab654bd99366c Author: Wolfgang Denk Date: Sat May 16 10:47:41 2009 +0200 Rename ads5121 board into mpc5121ads We rename the board so we use a consistent name in U-Boot and in Linux. Also, we use this opportunity to move the board into the Freecale vendor directory. Signed-off-by: Wolfgang Denk Cc: John Rigby commit debf87415579c0f50aab9e0832976d4506babe0f Author: Wolfgang Denk Date: Sat May 16 10:47:40 2009 +0200 cpu/mpc512x/diu.c: fix warning: assignment from incompatible pointer type Signed-off-by: Wolfgang Denk Cc: John Rigby commit 8b251263191ec554967dd1add6237c1ba7f7eb25 Author: Wolfgang Denk Date: Sat May 16 10:47:39 2009 +0200 cpu/mpc512x/pci.c: minor coding style cleanup Get rid of variable declaration in the middle of the code. Signed-off-by: Wolfgang Denk Cc: John Rigby commit de26ef99bddbce4ed225f93afcf0bee99c3b6f87 Author: Wolfgang Denk Date: Sat May 16 10:47:38 2009 +0200 mpc512x: Move common files to share them by several boards We will soon see several new MPC521x based boards added. This patch moves files that are not board specific to a common directory so they can be shared by all such ports. It also splits off common IDE code into a new file, cpu/mpc512x/ide.c . Signed-off-by: Wolfgang Denk Cc: John Rigby commit 03e069dc0a765d506f78a68319acf33d432e035b Author: Wolfgang Denk Date: Sat May 16 10:47:37 2009 +0200 mpc512x: change cpu/mpc512x/Makefile to use Kconfig style Signed-off-by: Wolfgang Denk Cc: John Rigby commit a89c33db96a1e55319a286dd4c3c05ca64ac6bfd Author: Wolfgang Denk Date: Sun May 24 17:06:54 2009 +0200 General help message cleanup Many of the help messages were not really helpful; for example, many commands that take no arguments would not print a correct synopsis line, but "No additional help available." which is not exactly wrong, but not helpful either. Commit ``Make "usage" messages more helpful.'' changed this partially. But it also became clear that lots of "Usage" and "Help" messages (fields "usage" and "help" in struct cmd_tbl_s respective) were actually redundant. This patch cleans this up - for example: Before: => help dtt dtt - Digital Thermometer and Thermostat Usage: dtt - Read temperature from digital thermometer and thermostat. After: => help dtt dtt - Read temperature from Digital Thermometer and Thermostat Usage: dtt Signed-off-by: Wolfgang Denk commit 94796d8544d4248028141bad11c6a74b840e9d6e Author: Wolfgang Denk Date: Sun May 24 19:17:29 2009 +0200 Make "usage" messages more helpful. In case of incorrect command invocations U-Boot used to print pretty useless "usage" messages, for example: => nand markbad Usage: nand - NAND sub-system In the result, the user would have to run the "help" command to get the (available) information about correct command usage. Change this, so that this information gets always printed. Note that this changes the user interface of all commands, but hopefully to the better. Signed-off-by: Wolfgang Denk commit 4c94f6c54bbc4dc5f418da01d8ec01e2adf636be Author: Mike Frysinger Date: Sun May 24 02:26:19 2009 -0400 nvedit: speed up printing of environment The printing code would check the same environment byte multiple times and write to the console one byte at a time. For some devices (such as the Blackfin JTAG console which operates in 8 bytes at a time), this is pretty damned slow. So create a small 16 byte buffer to fill up and send to puts as needed. In the process, unify the different print functions, shrink the resulting code (source and compiled), and avoid excess env reads as those too can be somewhat expensive depending on the board. Signed-off-by: Mike Frysinger commit 3112030a430553768de5d30c05bedf8710784452 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri May 22 19:28:52 2009 +0200 config.mk: remove un-needed REMOTE_BUILD check as $(obj) is empty when in tree build %.s: %.S $(CPP) $(AFLAGS) -o $@ $< and $(obj)%.s: %.S $(CPP) $(AFLAGS) -o $@ $< are the same Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Acked-by: Mike Frysinger commit 651351fe980b20217b014b9a888398f18d77951c Author: Tom Rix Date: Wed May 20 07:55:41 2009 -0500 FAT replace compare_sign with strncmp. The static function compare_sign is only used to compare the fs_type string and does not do anything more than what strncmp does. The addition of the trailing '\0' to fs_type, while legal, is not needed because the it is never printed out and strncmp does not depend on NULL terminated strings. Signed-off-by: Tom Rix commit ecb1dc892297d5d99876907328fed732feefeab2 Author: Mike Frysinger Date: Wed May 20 04:35:14 2009 -0400 Add support for Linux-like kallsysms The kernel stores address<->symbol names in it so things can be decoded at runtime. Do it in U-Boot, and we get nice symbol decoding when crashing. Signed-off-by: Mike Frysinger commit 36c9169aa6f79ddf604a3bca64e145654f94888b Author: Wolfgang Denk Date: Sun May 17 16:01:54 2009 +0200 cmd_mtdparts.c: allow to omit definitions for default settings There is actually no good reason to enforce that all board configuations must define default settings for "mtdids" and "mtdparts". Actually this may be difficult to handle, especially on boards where different sizes of flash chips can be fit, so there is no real "default" partition map for all boards. Lift this arbitrary limitation. Signed-off-by: Wolfgang Denk commit 864aa034f3a0e10ce710e8bbda171df3cab59414 Author: Stefan Roese Date: Tue May 12 14:31:56 2009 +0200 cmd_mtdparts: Move to common handling of FLASH devices via MTD layer This patch removes all references to the direct CFI FLASH interface (via flash_info[]). Now that all FLASH types currently handled in mtdparts are available (if selected, see below) via the MTD infrastructure. This is NOR, NAND and OneNAND right now. This can be achieved by defining the following options: CONFIG_MTD_DEVICE (for all FLASH types) plus CONFIG_FLASH_CFI_MTD (for NOR FLASH) So we need to add those defines to the board config headers currently using the mtdparts commands. This is done via another patch, so we shouldn't break mtdparts compatibility. One big advantage from this solution is that the cmd_mtdparts.c is *much* cleaner now. Lot's of #ifdef's are removed and the code itself is smaller. Additionally the newly added MDT concatenation feature can new be used via the mtdparts infrastructure and therefor via UBI etc. Signed-off-by: Stefan Roese Cc: Ladislav Michl Cc: Scott Wood commit d558107c18708050f05b6639b2192efb67c905dc Author: Stefan Roese Date: Tue May 12 14:31:18 2009 +0200 mtd: Introduce CONFIG_MTD_DEVICE to select compilation of mtdcore.o This new define enables mtdcore.c compilation and with this we can select the MTD device infrastructure needed for the reworked mtdparts command. We now have the 2 MTD infrastructure defines, CONFIG_MTD_DEVICE and CONFIG_MTD_PARTITIONS. CONFIG_MTD_DEVICE is needed (as explained above) for the "mtdparts" command and CONFIG_MTD_PARTITIONS is needed for UBI. Signed-off-by: Stefan Roese Cc: Scott Wood commit 942556a92a8c1eb1bd76584a5143f6f57dcb25ad Author: Stefan Roese Date: Tue May 12 14:32:58 2009 +0200 mtd: MTD related config header changes (mtdparts command) By changing the cmd_mtdparts to only use the MTD infrastructure and not the direct interface to the CFI NOR FLASH driver we now need to add the MTD infrastructure to all boards using those mtdparts commands. This patch adds those components: CONFIG_MTD_DEVICE (for all FLASH types) plus CONFIG_FLASH_CFI_MTD (for NOR FLASH) To all board maintainers: Please test this on your platforms and report any problems/issues found. Thanks. Signed-off-by: Stefan Roese Cc: Wolfgang Denk Cc: Ron Madrid Cc: Georg Schardt Cc: Michal Simek Cc: Ladislav Michl Cc: Martin Krause Cc: Gary Jennejohn Cc: Ricardo Ribalda commit 8d2effea23e938631126a7888008a0637e13b389 Author: Stefan Roese Date: Mon May 11 16:03:55 2009 +0200 mtd: Update MTD infrastructure to support 64bit device size This patch brings the U-Boot MTD infrastructure in sync with the current Linux MTD version (2.6.30-rc3). Biggest change is the 64bit device size support and a resync of the mtdpart.c file which has seen multiple fixes meanwhile. Signed-off-by: Stefan Roese Cc: Scott Wood Cc: Kyungmin Park commit 0a57265533c412adf6024f4b4955141f4346b2b9 Author: Stefan Roese Date: Tue May 12 14:29:39 2009 +0200 mtd: Add MTD concat support to concatenate multiple MTD NOR devices This patch adds concatenation support to the U-Boot MTD infrastructure. By enabling CONFIG_MTD_CONCAT this MTD CFI wrapper will concatenate all found NOR devices into one single MTD device. This can be used by e.g by UBI to access a partition that spans over multiple NOR chips. Signed-off-by: Stefan Roese commit 55e0ed6078b10b0d425b6a0677f38a015c277df6 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat Apr 25 14:57:52 2009 +0200 make MODEM SUPPORT generic instead of duplicate it and fix comment Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Adjusted Copyright message. Signed-off-by: Wolfgang Denk commit a30f519bd0cde78ba46b424314de94fdab863726 Author: Tom Rix Date: Tue Jun 2 20:53:56 2009 -0500 ZOOM2 detect the version of the zoom2 board at runtime. There are currently 3 versions of the zoom2 board. The production board, that is currently being released. The beta board, similar in form to the production board but not released. The alpha board, a set of PCBs with a very limited circulation. GPIO 94 is used to determine the version of the board. If GPIO 94 is clear, the board is a production board, otherwise it is a beta board. The alpha board will likely be mistaken for a beta board. An alpha board was unavailible for testing. This has been tested on the beta and production boards. Signed-off-by: Tom Rix Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 718763c4745fd3d987a5576d2a67325e9444f9d4 Author: Tom Rix Date: Wed Jun 3 01:53:57 2009 -0500 Beagle Convert the board version detection to use the OMAP3 GPIO interface. There is no new functionality in the change. This change is a conversion from the using raw register access to using the OMAP3 GPIO API described in doc/README.omap3. Signed-off-by: Tom Rix Acked-by: Dirk Behme commit 7caa13fdd2d3dc957b4e0a228810a3a4a8ba499b Author: Tom Rix Date: Wed Jun 3 01:53:55 2009 -0500 Fix a typo in the instructions on using omap3's gpio interface. Using the example for reading a gpio, shows the problem. NULL should be the gpio number. Signed-off-by: Tom Rix Acked-by: Dirk Behme commit 0c9520efd651ce13451654a35307ec87d4a13a69 Author: Tom Rix Date: Fri May 29 18:57:32 2009 -0500 ZOOM2 Define GPIO banks used. Enable the function and interface clocks for banks 2,3,5 and 6. Signed-off-by: Tom Rix Acked-by: Dirk Behme commit 708cfb74b7c6df9c37d3c48988a154be79daefeb Author: Tom Rix Date: Fri May 29 18:57:31 2009 -0500 OMAP3 Turn on the GPIO bank clocks The function and interface clocks for each GPIO bank, except the first, must be explicitly turned on. These are controlled by the config level defines CONFIG_OMAP3_GPIO_n where n is from 2 to 6. Signed-off-by: Tom Rix Acked-by: Dirk Behme commit 59272620c24549b5bcd03c94ba12ec302c1476a2 Author: Richard Retanubun Date: Thu Mar 26 15:26:01 2009 -0400 Coldfire M5271: Activate u-boot system timer interrupt. This patch assigns the u-boot system timer interrupt to interrupt level 3, priority 6. Without this patch the interrupt will be a level 0, priority 0, which disables it and cause u-boot functions that relies on the timer (e.g. sleep command) to never return. Signed-off-by: Richard Retanubun commit dc26965ad3acdfb18780361d77a276b2843a90af Author: Richard Retanubun Date: Mon Mar 23 13:35:48 2009 -0400 Compier warning cleanup Follow up to git commit: 19b5b533ccd522abeb501d510750693c35e20456 Cleanup on compiler warnings on unused variables now that bd->bi_enetaddr is no longer used. Signed-off-by: Richard Retanubun commit 42a83765d54f042b4079e05a3438789542429981 Author: Richard Retanubun Date: Fri Mar 20 15:30:10 2009 -0400 Adds WATCHDOG_RESET() function call to lib_m68k dtimer_interrupt. Ported from lib_ppc/interrupts.c, this adds the ability for the coldfire system timer to auto-reset the watchdog when dtimer_interrupts is called. Signed-off-by: Richard Retanubun commit a24d96e40e1ca66dde6e6c158e7ecffafc5a2199 Author: Prafulla Wadaskar Date: Sun May 31 14:53:20 2009 +0200 arch_misc_init support for ARM architectures This patch is required for Kirkwood support may be used by other ARM architectures Signed-off-by: Prafulla Wadaskar commit b2403589b4d9996394bafc73eca3623f43ac2c31 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun May 31 14:53:18 2009 +0200 at91: move cpu info print to cpu Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit b32e189079fa16e1b647ac6b949fd4e0a9435343 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun May 31 12:44:46 2009 +0200 at91: move cpu name define to arm/arch/ cpu header Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 5bb59b3c906ee01adfaac9565443e5236a793079 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun May 31 12:44:45 2009 +0200 at91: extract reset from timer Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 61cf851b09cf8b67009ec11fc47c16add6b142a5 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun May 31 12:44:43 2009 +0200 omap24xx: rename reset file Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 9d4fc99dbdbfda1260aad478e83fca7cdf0e1a32 Author: Dirk Behme Date: Sun May 31 12:44:42 2009 +0200 OMAP3: Fix CKE1 MUX setting to allow self-refresh The Beagle rev Cx and Overo boards are using both SDRC CSes. The MUX setting is needed for the second CS clock signal to allow the 2 RAM parts to be put in self-refresh correctly. This also works on rev B Beagle boards with 128M of RAM. From: Steve Sakoman From: Jean Pihet Signed-off-by: Jean Pihet Signed-off-by: Steve Sakoman Signed-off-by: Dirk Behme commit 3962c4f9fc4482a6547f3c3d3d5e986e625abb8a Author: Dirk Behme Date: Sun May 31 12:44:41 2009 +0200 OMAP3: Zoom2: Enable Board and CPU info With other OMAP3 boards we recently switched to CPU and Board info API. From parallel merge, this is missing for Zoom2. Enable it for Zoom2, too. Signed-off-by: Dirk Behme Acked-by: Tom Rix commit 83ae698ff26b81b569ca32f7f2b008ad0da15e66 Author: Tom Rix Date: Sun May 31 12:44:39 2009 +0200 ZOOM2 Add led support. This patch controls the large LED on the top left of the zoom2. Signed-off-by: Tom Rix commit 660888b7fb8840ce169dcd2589e49ab44c46b87b Author: Tom Rix Date: Sun May 31 12:44:37 2009 +0200 ZOOM2 Add serial support. Zoom2 serial is in general supplied by one of the 4 UARTS on the debug board. The default serial is from the USB connector on left side of the debug board. The USB connector will produce 2 of the 4 UARTS. On your host pick the first enumeration. The details of the setting of the serial gpmc setup are not available. The values were provided by another party. The serial port set up is the same with Zoom1. Baud rate 115200, 8 bit data, no parity, 1 stop bit, no flow. The kernel bootargs are console=ttyS3,115200n8 Signed-off-by: Tom Rix commit 3ea201b016ab259a5ac8824af767569522768c47 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun May 31 12:44:27 2009 +0200 lh7a40x: move serial driver to drivers/serial Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 379be585eb2343d8814a5cee5fb3da930d846bee Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat May 16 22:48:46 2009 +0200 pxa: move serial driver to drivers/serial Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit ad7e8aac6920f8b8a85b3cc2e93bca7458e99aa1 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat May 9 13:21:19 2009 +0200 arm: remove cpu_init move s3c44b0 to arch_cpu_init and as noone use cpu_init remove it Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit c358d9c3f16571e8f825e81b75eaf32e228cb669 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat May 9 13:21:18 2009 +0200 arm: unify interrupt init all arm init the IRQ stack the same way so unify it in lib_arm/interrupts.c and then call arch specific interrupt init Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 10a451cd57cffbca875c97bbd8929059c5627ec6 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri May 8 20:24:12 2009 +0200 arm: unify linker script all arm boards except a few use the same cpu linker script so move it to cpu/$(CPU) that could be overwrite in following order SOC BOARD via the corresponding config.mk Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 9475c63c7855edd863c93a9bb0f4b8e240d9d212 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat May 16 10:02:05 2009 +0200 afeb9260: fix macb device init uses PA10, PA11 for ETX2 and ETX3. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 1bbae2b816d4ed38db2ebf42166a973b1ffc0df7 Author: Stefan Roese Date: Wed May 27 10:34:32 2009 +0200 ppc4xx: Remove PCI async bootup message if PCI is not used Signed-off-by: Stefan Roese commit a3455c00510c5abf1e91743c4a02d8393b6df18d Author: Wolfgang Denk Date: Fri May 15 09:19:52 2009 +0200 TQM834x: use buffered writes to accelerate writing to flash Also enable display of 'E'mpty sectors in "flinfo" output. Signed-off-by: Wolfgang Denk Signed-off-by: Kim Phillips commit 4681e673a51c48f4c096aa3c8fae5e6217ffd58d Author: Wolfgang Denk Date: Thu May 14 23:18:34 2009 +0200 TQM834x: add FDT support Signed-off-by: Wolfgang Denk Signed-off-by: Kim Phillips commit 929b79a0b5e48303ab04aae9d0abceb0c707f111 Author: Wolfgang Denk Date: Thu May 14 23:18:33 2009 +0200 TQM834x: fix environment size; add redundant env. Also reserve more space for U-Boot as it will probably grow soon. Signed-off-by: Wolfgang Denk Signed-off-by: Kim Phillips commit 2ae0f35fd60c7345446835b95a4daff356e1f031 Author: Thomas Lange Date: Sun May 3 20:07:33 2009 +0200 ARM DaVinci: Reset with watchdog enabled Once the Davinci watchdog has been enabled, the timeout value cannot be changed. If the timeout in use is long, it can take a long time for card to reset. By writing an invalid service key, we can trigger an immediate reset. Signed-off-by: Thomas Lange commit 6cc7ba9ed43106946aa9aa868302aa2faf1d17be Author: Wolfgang Denk Date: Fri May 15 10:07:43 2009 +0200 video: Add an option to skip video initialization This patch adds an option to skip the video initialization on for all video drivers. This is needed for the CPCI750 which can be built as CPCI host and adapter/target board. And the adapter board can't access the video cards located on the CompactPCI bus. Signed-off-by: Stefan Roese Cc: Anatolij Gustschin Rebased against simplifying patch. Signed-off-by: Wolfgang Denk commit f62f64692ff7f6226ad221d5df6487ea5ef39bdd Author: Wolfgang Denk Date: Fri May 15 10:07:42 2009 +0200 drv_video_init(): simplify logic Simplify nesting of drv_video_init() and use a consistent way of indicating failure / success. Before, it took me some time to realize which of the returns was due to an error condition and which of them indicated success. Signed-off-by: Wolfgang Denk Cc: Anatolij Gustschin commit 1699da6297b8c22da16cf85b3c79192f1a6d70ca Author: Jean-Christophe PLAGNIOL-VILLARD Date: Wed May 13 21:01:13 2009 +0200 at91: regroup IP hw init in one file per soc Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 28b00324becf3552134ae1e086509dc9c3d6e932 Author: David Brownell Date: Fri May 15 23:48:37 2009 +0200 dm355 evm support Initial U-Boot support for the DaVinci DM355 EVM. This is a board from Spectrum Digital. Board docs include schematic and firmware for its microcontroller: http://c6000.spectrumdigital.com/evmdm355/revd/ Most of the DM355 chip is fully documented by TI, the most notable exception being the MPEG/JPEG coprocessor (programmable using codecs available at no cost from TI), which is omitted from its DM335 sibling: http://focus.ti.com/docs/prod/folders/print/tms320dm355.html This version can boot from the on-board DM9000 Ethernet chip, after being loaded (from NAND, MMC/SD, or UART). In the near future, NAND and USB support could be added ... NAND support is being held back until the support for the 4-bit ECC hardware is ready. Signed-off-by: David Brownell commit 136cf92dc9e84c9a1bf567f1fe741092bf765495 Author: Sanjeev Premi Date: Fri May 15 23:48:37 2009 +0200 OMAP3EVM: Set default bootfile The current configuration doesn't define default bootfile; leading to this warning at execution: OMAP3_EVM # dhcp ... ... DHCP client bound to address 192.168.1.11 *** Warning: no boot file name; using 'AC18BE16.img' TFTP from server 0.0.0.0; our IP address is 192.168.1.11; sending through gateway 192.168.1.1 Filename 'AC18BE16.img'. Load address: 0x82000000 Loading: * TFTP error: 'File not found' (1) Signed-off-by: Sanjeev Premi commit 1a09d05abfc6d4d4f1fce9f6bd0275bd1c08d4f5 Author: s-paulraj@ti.com Date: Fri May 15 23:48:36 2009 +0200 ARM DaVinci: Minor Updates to base addresses Patch adds base addresses for DaVinci DM365. Updated patches for DM365 will be posted soon. Signed-off-by: Sandeep Paulraj commit de193e8e369f5f029ed3b6e2fc60341098eea766 Author: Tom Rix Date: Fri May 15 23:48:36 2009 +0200 ZOOM2 Add support for debug board detection. The logicpd web site is a good source for general information on this board. Please start looking here if the below links are broken. http://www.logicpd.com This is a pdf of the product http://www.logicpd.com/sites/default/files/1012659A_Zoom_OMAP34x-II_MDP_Brief.pdf This is a pdf of the product quick start guide. The debug board is described here. http://support.logicpd.com/downloads/1165/ This is a wiki showing the debug board in use https://omapzoom.org/gf/project/omapzoom/wiki/?pagename=GettingStartedWithZoomII_AKA_OMAP34XII_MDP The zoom2 has an auxillary board that contains the serial, net, jtag and battery simulator. This change supports a runtime check if the debug board is connected. Signed-off-by: Tom Rix commit 0c872ecd01d6782ae9d37b6eb721404a4a48f356 Author: Tom Rix Date: Fri May 15 23:48:36 2009 +0200 OMAP3 Port kernel omap gpio interface. Port version 2.6.27 of the linux kernel's omap gpio interface to u-boot. The orignal source is in linux/arch/arm/plat-omap/gpio.c See doc/README.omap3 for instructions on use. Signed-off-by: Tom Rix commit 376aee78dd66ae0dc4ce496cbe93ecc80aaad48e Author: Tom Rix Date: Fri May 15 23:48:36 2009 +0200 ZOOM2 Add initial support for Zoom2 Zoom2 is a new board from Texas Instruments and LogicPD The logicpd web site is a good source for general information on this board. Please start looking here if the below links are broken. http://www.logicpd.com This is a pdf of the product http://www.logicpd.com/sites/default/files/1012659A_Zoom_OMAP34x-II_MDP_Brief.pdf This is the product description web page http://www.logicpd.com/products/development-kits/texas-instruments-zoom%E2%84%A2-omap34x-ii-mdp This patch provides a zoom2 base target by copying zoom1 and by making some obvious changes. To configure, run make omap3_zoom2_config Signed-off-by: Tom Rix commit 53925acf1b5c1a1e6230cda2697640cd05bd1104 Author: Sandeep Paulraj Date: Fri May 15 23:48:33 2009 +0200 ARM DaVinci:Consolidate common u-boot.lds The u-boot.lds is common for all DaVinci boards. The patch removes multiple instances and moves the u-boot.lds to /cpu/arm926ejs/davinci folder. This addresses one of the comments i received while submitting patches for DM3xx Signed-off-by: Sandeep Paulraj commit 68a531fd465f5c0b3d373e0010afed32e88d37c4 Author: Tom Rix Date: Fri May 15 23:47:52 2009 +0200 OMAP Consolidate common u-boot.lds to cpu layer. The u-boot.lds file is common for all omap boards. Move a cleaned up version to the cpu layer and add makefile logic to use it. Signed-off-by: Tom Rix commit 65a76d4f947a193e57bb8f8093c481f27e059f8f Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri May 15 23:47:14 2009 +0200 arm/dcc: add xscale support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 66e8f9da6879fe37f3159b3997bff874842dc51d Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri May 15 23:47:14 2009 +0200 arm/dcc: use static support to allow to use it at anytime the dcc can be used at the start of the cpu Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 7893aa1eb6f52c3957efc301b436f1fa11e91a00 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri May 15 23:47:13 2009 +0200 ARM: Update mach-types update against linux v2.6.29 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 2907798926ee932f453ac8538e7a6c05c18428a5 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri May 15 23:47:13 2009 +0200 arm920/926/926: remove non needed header Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 269dfea017b09c5a999d3053d00505c19789c350 Author: David Brownell Date: Fri May 15 23:47:13 2009 +0200 davinci dm6446evm NAND update This updates the optional (non-default!) NAND support for the DaVinci DM6446 EVM: - include MTD partitioning, defaulting to what Linux uses - use a flash-based BBT, which among other things speeds bootup This matches code that's now queued for mainline Linux, and might even merge in an upcoming 2.6.30-rc; and the MTIDS are set up so that the U-Boot $mtdparts environment variable can be passed as-is on the kernel command line as a cmdlinepart override. Signed-off-by: David Brownell commit 7a4f511b59f08f51dde4ceacbd45f49b8bf2a5cc Author: David Brownell Date: Fri May 15 23:47:12 2009 +0200 davinci: display correct clock info Move the clock-rate dumping code into the cpu/.../davinci area where it should have been, enabled by CONFIG_DISPLAY_CPUINFO, updating the format and showing the DSP clock (where relevant). Switch boards to use the cpuinfo() hook for this stuff. Remove a few now-obsolete PLL #defines. Signed-off-by: David Brownell commit daea928829098cae3c9ec6b801e52ba616725034 Author: Tom Rix Date: Fri May 15 23:47:12 2009 +0200 ZOOM1 Remove more legacy NAND defines. These legacy NAND defines are no longer needed by this target. Signed-off-by: Tom Rix commit 65fd21c80fcaca2bbfe3ab06ab6ac68207408078 Author: Tom Rix Date: Fri May 15 23:47:12 2009 +0200 LED Add documentation describing the status_led and colour led API. This document describes the u-boot status LED API. This allows common u-boot commands to use a board's leds to provide status for activities like booting and downloading files. Signed-off-by: Tom Rix commit 7cdf804f34378b910b4c4edd2dac7e3ca61c0825 Author: Tom Rix Date: Fri May 15 23:47:12 2009 +0200 ARM Add blue colour LED to status_led. There is exiting support for red,yellow,green but no blue. The main LED on the zoom2 is a blue LED. Signed-off-by: Tom Rix commit b54384e3ba6b5535751f317fcd3940a53eed0d3a Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri May 15 23:47:02 2009 +0200 arm: timer and interrupt init rework actually the timer init use the interrupt_init as init callback which make the interrupt and timer implementation difficult to follow so now rename it as int timer_init(void) and use interrupt_init for interrupt btw also remane the corresponding file to the functionnality implemented as ixp arch implement two timer - one based on interrupt - so all the timer related code is moved to timer.c Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 5b4bebe1d20c4f2b70d48b06aed1016785efcc25 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri May 15 23:45:22 2009 +0200 OMAP3: Reorganize Makefile style Reformat COBJS handling. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Dirk Behme commit b1966982718347f67317b3fb356439743ca68a37 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri May 15 23:45:22 2009 +0200 OMAP3: Remove dublicated interrupt code Remove duplicated interrupt code. Original, identical code can be found in lib_arm/interrupts.c Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Dirk Behme commit ac7260a4190315eba4a6e526c764f6cad0bbf8c5 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri May 15 23:45:22 2009 +0200 at91rm9200: move reset code to reset.c Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 2c75c78d94574ee996db2aa9b511258519471dd6 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri May 15 23:45:22 2009 +0200 ixp/interrupts: Move conditional compilation to Makefile Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 8fc3bb4b0603516ad641e2de252a400b85fd869b Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri May 15 23:45:20 2009 +0200 arm: cleanup remaining CONFIG_INIT_CRITICAL Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit c20e28f49aaf38c7dede46d8f8fe8234fe90822c Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri May 15 23:45:12 2009 +0200 arm946es: remove non used timer Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit f1d944e30eb8ff89080fa03fb98d8fb5c82388d2 Author: David Brownell Date: Fri May 15 23:44:09 2009 +0200 davinci: add basic dm355/dm350/dm335 support Add some basic declarations for DaVinci DM355/DM350/DM335 support, keyed on CONFIG_SOC_DM355. (DM35X isn't quite right because the DM357 is very different; while the DM355 is like a DM355 without the MPEG/JPEG coprocessor). These have different peripherals than the DM6446, and some of the peripherals are at different addresses. Notably for U-Boot, there's no EMAC, and the NAND controller address is different Signed-off-by: David Brownell commit bd36fdc146654f9de4e2ad346126e6bd2990fb19 Author: David Brownell Date: Fri May 15 23:44:09 2009 +0200 davinci: fix dm644x buglets Fix two buglets in the dm644x support: don't set two must-be-zero bits in the UART management register; and only include the I2C hooks if the I2C driver is being included. Signed-off-by: David Brownell commit f79043681ff44bae435c06f830e51e1546db7e19 Author: David Brownell Date: Fri May 15 23:44:08 2009 +0200 davinci: split out some dm644x-specific bits from psc Split out DaVinci DM6446-specific bits from more generic bits: - Add a CONFIG_SOC_DM644X. All current boards use DM6446 chips; DM6443 and DM6441 chips differ in available peripherals. - Move most DM644X-specific bits from psc.c to a new dm644x.c file, which is conditionally built. It provides device-specific setup. Plus minor coding style and comment updates with respect to the PSC. Signed-off-by: David Brownell commit 48ef5729555f41f51618b6a3016ac5c53c7c75dc Author: David Brownell Date: Fri May 15 23:44:08 2009 +0200 davinci: cpu-specific build uses conditional make syntax Update cpu/arm926ejs/davinci/Makefile to use COBJ-y type syntax. Add the first conditional: for EMAC driver support. Not all chips have an EMAC; and boards might not use it, anyway. This doesn't touch PHY configuration; that should eventually become conditional too. Signed-off-by: David Brownell commit 7b7808ae6dace59287f565e9323cda7b098a5612 Author: David Brownell Date: Fri May 15 23:44:06 2009 +0200 davinci: move psc support board-->cpu Move DaVinci PSC support from board/* to cpu/* where it belongs. The PSC module manages clocks and resets for all DaVinci-family SoCs, and isn't at all board-specific. Signed-off-by: David Brownell commit 84f7411cb901b8df2391cf7e967ad0737f6194aa Author: David Brownell Date: Tue Apr 14 08:52:58 2009 -0700 DaVinci now respects SKIP_LOWLEVEL_INIT Don't needlessly include lowlevel init code; that's only really needed with boot-from NOR (not boot-from-NAND). The 2nd stage loader (UBL) handles that before it loads U-Boot. Signed-off-by: David Brownell commit 641e0925e4bf7adf8e2e04e3ad81b840fd71cadd Author: David Brownell Date: Sun Apr 12 22:49:26 2009 -0700 DaVinci Ethernet cleanup Chips without the EMAC controller won't need the utilities it uses to read an Ethernet address from EEPROM; so don't include them needlessly. Use is_valid_ether() to validate the address from EEPROM. All-zero addresses aren't the only invalid addresses. A fully erased EEPROM returns all-ones, also invalid... Switch those Ethernet utilities to use "%pM" for printing MAC addresses; and not say ROM when they mean EEPROM. Signed-off-by: David Brownell Acked-by: Ben Warren commit c790b04d230363d03939dc008bcc80f3ba4de1ae Author: Stefan Roese Date: Mon May 11 15:50:12 2009 +0200 lib_arch/board.c: Move malloc initialization before flash_init() This patch moves the malloc initialization before calling flash_init(). Upcoming changes to the NOR FLASH common CFI driver with optional MTD infrastructure and MTD concatenation support will call malloc(). And nothing really speaks against enabling malloc just a little earlier in the boot stage. Some architectures already enable malloc before calling flash_init() so they don't need any changes here. Signed-off-by: Stefan Roese Cc: Wolfgang Denk Cc: Mike Frysinger Cc: Scott McNutt Cc: Shinya Kuribayashi Cc: Nobuhiro Iwamatsu Cc: Daniel Hellstrom Cc: Jean-Christophe PLAGNIOL-VILLARD Cc: John Rigby commit d873133f2ba9bd613d5f6552c31cc70fb13f15d3 Author: Stefan Roese Date: Mon May 11 13:46:14 2009 +0200 ppc4xx: Add Sequoia RAM-booting target This patch adds another build target for the AMCC Sequoia PPC440EPx eval board. This RAM-booting version is targeted for boards without NOR FLASH (NAND booting) which need a possibility to initially program their NAND FLASH. Using a JTAG debugger (e.g. BDI2000/3000) configured to setup the SDRAM, this debugger can load this RAM- booting image to the target address in SDRAM (in this case 0x1000000) and start it there. Then U-Boot's standard NAND commands can be used to program the NAND FLASH (e.g. "nand write ..."). Here the commands to load and start this image from the BDI2000: 440EPX>reset halt 440EPX>load 0x1000000 /tftpboot/sequoia/u-boot.bin 440EPX>go 0x1000000 Please note that this image automatically scans for an already initialized SDRAM TLB (detected by EPN=0). This TLB will not be cleared. This TLB doesn't need to be TLB #0, this RAM-booting version will detect it and preserve it. So booting via BDI2000 will work and booting with a complete different TLB init via U-Boot works as well. Signed-off-by: Stefan Roese commit 837db3d87f4bfe9261629fb4a1bb433506a3056a Author: Mike Frysinger Date: Wed May 6 08:41:45 2009 -0400 tools/envcrc: add --binary option to export embedded env The --binary option to envcrc can be used to export the embedded env as a binary blob so that it can be manipulated/examined/whatever externally. Signed-off-by: Mike Frysinger commit 18cc7afd9a153a66854af862d14ba01c5496cf07 Author: Ben Warren Date: Tue Apr 28 16:50:53 2009 -0700 Enable CONFIG_NET_MULTI on all remaining PPC4xx boards All in-tree PPC4xx boards now use CONFIG_NET_MULTI Signed-off-by: Ben Warren Signed-off-by: Stefan Roese commit 70be6c2d40076f14062b892152649f9a62832fc9 Author: Matthias Fuchs Date: Wed Apr 29 09:51:01 2009 +0200 4xx: Add support for DP405 hardware variants Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit de47a34d4de1d007a8951efd072283516d580ffa Author: Matthias Fuchs Date: Wed Apr 29 09:51:00 2009 +0200 4xx: Remove binary cpld bitstream from DP405 board This patch removes the cpld binary bitstream that is used by esd's cpld command on DP405 boards. Because u-boot with an external cpld bitstream may not take more space in flash than before the u-boot binary is shrinked a little bit. Some unused featues have been removed therefore. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit 700d553fd3afe804086de8f73d95153315eb0c32 Author: Matthias Fuchs Date: Wed Apr 29 09:50:59 2009 +0200 4xx: Remove binary cpld bitstream from VOM405 board This patch removes the cpld binary bitstream that is used by esd's cpld command on VOM405 boards. Because u-boot with an external cpld bitstream may not take more space in flash than before the u-boot binary is shrinked a little bit. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit 0bb10630364c48d9857cbf5353da609fc4dd6751 Author: Matthias Fuchs Date: Wed Apr 29 09:50:58 2009 +0200 4xx: Remove binary cpld bitstream from PMC405 board This patch removes the cpld binary bitstream that is used by esd's cpld command on PMC405 boards. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit 7cc635fb35f5b94e304fa2243d56758f57f6416b Author: Matthias Fuchs Date: Wed Apr 29 09:50:57 2009 +0200 4xx: Remove binary cpld bitstream from CMS700 board This patch removes the cpld binary bitstream that is used by esd's cpld command on CMS700 boards. Because u-boot with an external cpld bitstream may not take more space in flash than before the u-boot binary is shrinked a little bit. Some unused featues have been removed therefore. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit c1b2f79788deec75773b1d944d8aaf4a6d5baf9e Author: Matthias Fuchs Date: Wed Apr 29 09:50:56 2009 +0200 esd/common: extend cpld command with address parameter This patch adds support for an address parameter to esd's cpld command. This is in preparation to remove compiled-in binary cpld (xsvf) bitstreams. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit 9166b776350d16460c7330bfb0a50154ea0a1903 Author: Peter Tyser Date: Sat Apr 18 22:34:06 2009 -0500 cmd_i2c: Fix i2c help command output when CONFIG_I2C_MUX When CONFIG_I2C_MUX was defined the output of 'help i2c' was not correct, eg: => help i2c i2c bus [muxtype:muxaddr:muxchannel] - add a new bus reached over muxes. speed [speed] - show or set I2C bus speed i2c dev [dev] - show or set current I2C bus ... It has been changed to: i2c speed [speed] - show or set I2C bus speed i2c bus [muxtype:muxaddr:muxchannel] - add a new bus reached over muxes i2c dev [dev] - show or set current I2C bus ... Signed-off-by: Peter Tyser commit 0a45a6357b02e5ce5bf899a60db09def6a129fee Author: Peter Tyser Date: Sat Apr 18 22:34:05 2009 -0500 cmd_i2c: Clean up trivial helper functions Signed-off-by: Peter Tyser commit e96ad5d3aba42f8ffe99f7cc5ec1bb9f21810035 Author: Peter Tyser Date: Sat Apr 18 22:34:04 2009 -0500 cmd_i2c: Clean up i2c command argument parsing argc and argv should only be modified once instead of once for every i2c sub-command Signed-off-by: Peter Tyser commit 0f89c54be92773b23d66ac401ba6acb6144100c3 Author: Peter Tyser Date: Sat Apr 18 22:34:03 2009 -0500 i2c: Update references to individual i2c commands The individual i2c commands imd, imm, inm, imw, icrc32, iprobe, iloop, and isdram are no longer available so all references to them have been updated to the new form of "i2c ". Signed-off-by: Peter Tyser commit d48eb5131d287f52bb85b4c58c8680a2e8e3b641 Author: Peter Tyser Date: Sat Apr 18 22:34:02 2009 -0500 i2c: Remove deprecated individual i2c commands The following individual I2C commands have been removed: imd, imm, inm, imw, icrc32, iprobe, iloop, isdram. The functionality of the individual commands is still available via the 'i2c' command. This change only has an impact on those boards which did not have CONFIG_I2C_CMD_TREE defined. Signed-off-by: Peter Tyser commit 655b34a78adf60ef260981688837904208883ae9 Author: Peter Tyser Date: Sat Apr 18 22:34:01 2009 -0500 i2c: Create common default i2c_[set|get]_bus_speed() functions New default, weak i2c_get_bus_speed() and i2c_set_bus_speed() functions replace a number of architecture-specific implementations. Also, providing default functions will allow all boards to enable CONFIG_I2C_CMD_TREE. This was previously not possible since the tree-form of the i2c command provides the ability to display and modify the i2c bus speed which requires i2c_[set|get]_bus_speed() to be present. Signed-off-by: Peter Tyser commit 8229e9c04f7019ddd76aea05d4dca044cbc9a34a Author: Peter Tyser Date: Sat Apr 18 22:34:00 2009 -0500 cm5200: Make function test command names more unique Add "_test" to cm5200's function test command names to prevent overlap with common, global function names. Originally, the "do_i2c" function test command interfered with common/cmd_i2c.c's "do_i2c" when CONFIG_I2C_CMD_TREE was defined. The functions were also made static as they are not globally accessed. Signed-off-by: Peter Tyser commit f0722ee762e8dada9d7f74ac2745e043f83aae85 Author: Peter Tyser Date: Fri Apr 24 15:34:09 2009 -0500 tsi108_i2c: Add i2c_init() stub function Add the i2c_init() function so that the tsi108_i2c.c driver fits U-Boot's standard I2C API which is utilized by cmd_i2c.c Signed-off-by: Peter Tyser commit 8d907e79bc9babb27396e34be54cfdc36ff62fb9 Author: Peter Tyser Date: Fri Apr 24 15:34:08 2009 -0500 mpc7448hpc2: Add CONFIG_SYS_I2C_SPEED define Add standard CONFIG_SYS_I2C_SPEED define for the mpc7448hpc2 so that it can use the common 'i2c speed' command. Note that the I2C controller utilized by the mpc7448hpc2 has a fixed speed and cannot be changed dynamically. Signed-off-by: Peter Tyser commit a056b1ce9e19b4d4ab3dd01c3f897dcd832cd37f Author: Peter Tyser Date: Fri Apr 24 15:34:07 2009 -0500 Marvell: i2c cleanup The following changes were made, primarily to bring the Marvell i2c driver in line with U-Boot's current I2C API: - Made i2c_init() globally accessible - Made i2c_read() and i2c_write() return an integer - Updated i2c_init() calls to pass in CONFIG_SYS_I2C_SLAVE in the offhand chance someone adds slave support in the future Signed-off-by: Peter Tyser commit 54afc6ee10c8cd09598d814d49e601359b005e49 Author: Peter Tyser Date: Fri Apr 24 15:34:06 2009 -0500 cpci750: i2c cleanup The following changes were made, primarily to bring the cpci750 i2c driver in line with U-Boot's current I2C API: - Made i2c_init() globally accessible - Made i2c_read() and i2c_write() return an integer - Updated i2c_init() calls to pass in CONFIG_SYS_I2C_SLAVE in the offhand chance someone adds slave support in the future Signed-off-by: Peter Tyser commit 9c90a2c8e87414007a016b7cd099ac1e32fd301b Author: Peter Tyser Date: Fri Apr 24 15:34:05 2009 -0500 i2c.h: Provide a default CONFIG_SYS_I2C_SLAVE value Many boards/controllers/drivers don't support an I2C slave interface, however CONFIG_SYS_I2C_SLAVE is used in common code so provide a default Signed-off-by: Peter Tyser commit e7563aff174f77aa61dab1ef5d9b47bebaa43702 Author: Kumar Gala Date: Thu Jun 11 23:42:35 2009 -0500 fsl-ddr: Fix handling of >4G of memory when !CONFIG_PHYS_64BIT The ddr code computes most things as 64-bit quantities and had some places in the middle that it was using phy_addr_t and phys_size_t. Instead we use unsigned long long through out and only at the last stage of setting the LAWs and reporting the amount of memory to the board code do we truncate down to what we can cover via phys_size_t. This has the added benefit that the DDR controller itself is always setup the same way regardless of how much memory we have. Its only the LAW setup that limits what is visible to the system. Signed-off-by: Kumar Gala commit d4b130dc80761b430dc5b410159cd158fca1a348 Author: Kumar Gala Date: Thu Jun 11 23:40:34 2009 -0500 85xx: Use print_size to report amount of memory not mapped by TLBs Signed-off-by: Kumar Gala commit 6e2aebc33fa740c068fe28d40eaf0319b7c7287e Author: Haiying Wang Date: Wed May 20 12:30:42 2009 -0400 85xx: Add README for MPC8569MDS Signed-off-by: Haiying Wang Signed-off-by: Kumar Gala commit b2aab386e957ba684d4f2a466bfaa91770e5058a Author: Haiying Wang Date: Wed May 20 12:30:33 2009 -0400 85xx: Add UART1 support for MPC8569MDS MPC8569 UART1 signals are muxed with PortF bit[9-12], we need to define those pins before using UART1. Signed-off-by: Haiying Wang Signed-off-by: Kumar Gala commit 399b53cbab0b377ac4c5c16c19c6e41b68a9c719 Author: Haiying Wang Date: Wed May 20 12:30:32 2009 -0400 85xx: Add PIB support at CS4/CS5 for MPC8569MDS Signed-off-by: Haiying Wang Signed-off-by: Yu Liu Signed-off-by: Kumar Gala commit fb27949059f1bc84381a6216a819090f0cdbaa70 Author: Haiying Wang Date: Thu Jun 4 16:12:39 2009 -0400 85xx: Fix some settings for MPC8569MDS board - Increase the size of malloc to 512KB because MPC8569MDS needs more memory for malloc to support up to eight Ethernet interfaces. - Move Environment address out of uboot thus the saved environment variables will not be erased after u-boot is re-programmed. Signed-off-by: Haiying Wang Signed-off-by: Kumar Gala commit c7f60fd29f2d638d080cdf1a49ad985b85f9429d Author: Haiying Wang Date: Wed May 20 12:30:30 2009 -0400 85xx: Fix MURAM size for MPC8569 MPC8569 has 128K bytes MURAM. Signed-off-by: Haiying Wang Signed-off-by: Kumar Gala commit a53c997dd7fc858f2a27f5a47b200567b9343ae5 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri May 22 20:23:51 2009 +0200 at91/cpu.c: add missing Copyright & GPL header Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit aa446a591aca46ef2b53cc6598ea8091feb45444 Author: Shinya Kuribayashi Date: Sun Jun 7 21:45:16 2009 +0900 apollon: Fix a OBJCFLAGS typo Signed-off-by: Shinya Kuribayashi commit 580611cb0932143fc2d7a735cfa9ce1ef34d6002 Author: Wolfgang Denk Date: Wed Jun 10 00:19:28 2009 +0200 Prepare 2009.06-rc3 Update CHANGELOG Signed-off-by: Wolfgang Denk commit 3a76ab5c166d5956885f803ce975e7151cc0ca0e Author: Wolfgang Denk Date: Wed Jun 10 00:15:11 2009 +0200 rmu board: fix error: 'CONFIG_ENV_SECT_SIZE' undeclared Signed-off-by: Wolfgang Denk commit 165f9859b64ff59f0cfae3cc70a7e7ded7aaa4a7 Author: Daniel Mack Date: Thu Jun 4 19:44:12 2009 +0200 ubifs: fix small error path mismatch In do_readpage(), don't free 'dn' if its allocation failed. Signed-off-by: Daniel Mack commit de7cf709ebd3c01fbd094e8853dabb410c0370a1 Author: Wolfgang Denk Date: Thu Jun 4 00:31:07 2009 +0200 EP88x: fix broken linker script Signed-off-by: Wolfgang Denk Tested-by: Mikhail Zaturenskiy commit 7a2063bd80d3b58b2dd5d5e58f4411f8d250576c Author: Wolfgang Denk Date: Fri May 15 00:16:02 2009 +0200 TQM85xx: minor config file cleanup Remove "saveenv" from "update" definition: the environment is outside the U-Boot image on TQM85xx and therefor not affected by updates. Also "beautify" code a bit (vertical alignment). Signed-off-by: Wolfgang Denk commit c0296b1801fc9426d772fa75fe58458db605dfee Author: Wolfgang Denk Date: Fri May 15 00:16:01 2009 +0200 TQM85xx: adapt for new flash types Old TQM85xx boards had 'M' type Spansion Flashes from the S29GLxxxM series while new boards have 'N' type Flashes from the S29GLxxxN series, which have bigger sectors: 2 x 128 instead of 2 x 64 KB. We now change the configuration to the new flash types for all boards; this also works on old boards - we just waste two flash sectors for the environment which could be smaller there. Signed-off-by: Wolfgang Denk commit 6735104924f06340071a6914a9ee3345607fc102 Author: Dave Liu Date: Mon May 18 17:49:23 2009 +0800 85xx: Fix the wrong SYS_CLK_IN for 8569MDS The SYS_CLK_IN of MPC8569MDS is 66.66MHz, The DDR_CLK_IN is same with SYS_CLK_IN in 8569 processor. so, change the SYS_CLK_IN from 66MHz to 66.66MHz. Signed-off-by: Dave Liu commit 16e7559c08b6f29db4596d795b92914c01e6a1b3 Author: Dave Liu Date: Fri May 15 10:27:44 2009 +0800 85xx: Fix the wrong BCSR address of 8569MDS The BCSR17[7] = 1 will unlock the write protect of FLASH. The WP# pin only controls the write protect of top/bottom sector, That is why we can save env, but we can't write the first sector before the patch. Signed-off-by: Dave Liu commit 90d13b8ac3d515349626d7c8a3dc34ef38c43fa6 Author: Fredrik Arnerup Date: Tue Jun 2 16:27:10 2009 -0500 85xx: bugfix for reading maximum TLB size on mpc85xx The MAXSIZE field in the TLB1CFG register is 4 bits, not 8 bits. This made setup_ddr_tlbs() try to set up a TLB larger than the e500 maximum (256 MB) which made u-boot hang in board_init_f() when trying to create a new stack in RAM. I have an mpc8540 with one 1GB dimm. Signed-off-by: Fredrik Arnerup Signed-off-by: Andy Fleming Acked-by: Kumar Gala commit 1b5291dddf5f16c7ae10e3cb165882fa96038b26 Author: Dave Liu Date: Fri Mar 27 14:32:43 2009 +0800 85xx: Fix the clock adjust of mpc8569mds board Currently the clk_adj is 6 (3/4 cycle), The settings will cause the DDR controller hang at the data init. Change the clk_adj from 6 to 4 (1/2 cycle), make the memory system stable. Signed-off-by: Dave Liu commit faa14babd7466dfade358f9cac128ae246b9bf1b Author: RONETIX - Ilko Iliev Date: Fri Jun 5 16:54:31 2009 +0200 at91: fix a USB problem for AT91SAM9261 This patch corrects the missing PLLB initialization in usb_cpu_init() for AT91SAM9261. Because of the missing PLLB initialization, the USB support for all AT91SAM9261 based boards will work only if the PLLB is configured by a precedent bootloader. Signed-off-by: Ilko Iliev Acked-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Remy Bohmer commit 0c24dec550ddb7d86b8bfdd8645b18479f73e6e2 Author: Felix Radensky Date: Sun May 31 20:44:15 2009 +0300 ppc4xx/net: Fix MDIO clock setup This patch fixes MDIO clock setup in case when OPB frequency is 100MHz. Current code assumes that the value of sysinfo.freqOPB is 100000000 when OPB frequency is 100MHz. In reality it is 100000001. As a result MDIO clock is set to incorrect value, larger than 2.5MHz, thus violating the standard. This in not a problem on boards equipped with Marvell PHYs (e.g. Canyonlands), since those PHYs support MDIO clocks up to 8.3MHz, but can be a problem for other PHYs (e.g. Realtek ones). Signed-off-by: Felix Radensky Signed-off-by: Ben Warren commit d65e34d12514de2bbe3b8f519761d641c081bad0 Author: Yoshihiro Shimoda Date: Wed Feb 25 14:27:29 2009 +0900 rtl8169: fix PCI system memory address When PCI device use system memory, some PCI host controller should be set physical memory address. Signed-off-by: Yoshihiro Shimoda Signed-off-by: Ben Warren commit ca9c8a1e10fac01e6a1129f82a7ce18bd818fa43 Author: Manikandan Pillai Date: Wed Apr 8 09:14:35 2009 +0530 SMC911x driver fixed for NFS boot eth_halt() function in the smc911x drivers used to call the smc911x_reset() function. eth_halt() used to be called after tftp transfers. This used to put the ethernet chip in reset while the linux boots up resulting in the ethernet driver not coming up. NFS boot used to fail as a result. This patch calls smc911x_shutdown() instead of smc911x_reset(). Some comments received has also been fixed. Signed-off-by: Manikandan Pillai Signed-off-by: Ben Warren commit e5a3bc2401a23f1890611f020f57f94824a534db Author: Remy Bohmer Date: Sun May 3 12:11:40 2009 +0200 Add config option for disabling DM9000-SROM support. Some boards do not have SROM support for the DM9000 network adapter. Instead of listing these board names in the driver code, make this option configurable from the board config file. It also removes a build warning for the at91sam9261ek board: 'dm9000x.c:545: warning: 'read_srom_word' defined but not used' And it repaires the trizepsiv board build which was broken around the same routines Signed-off-by: Remy Bohmer Signed-off-by: Ben Warren commit 3c9b1ee17e19bd6d80344678d41a85e52b0be713 Author: Kim Phillips Date: Fri Jun 5 14:11:33 2009 -0500 mpc83xx: don't set SICRH_TSOBI1 to RMII/RTBI operation In GMII mode (which operates at 3.3V) both SICRH TSEC1/2 output buffer impedance bits should be clear, i.e., SICRH[TSIOB1] = 0 and SICRH[TSIOB2] = 0. SICRH[TSIOB1] was erroneously being set high. U-Boot always operated this PHY interface in GMII mode. It is assumed this was missed in the clean up by the original board porters, and copied along to the TQM and sbc boards. Signed-off-by: Kim Phillips Acked-by: Ira Snyder Reviewed-by: David Hawkins Tested-by: Paul Gortmaker CC: Dave Liu commit 2c0234fa79122a5aa77c4e17c33eb2fe184b61a7 Author: Daniel Mack Date: Wed Apr 8 13:23:37 2009 +0200 smc911x: write back the manually set MAC address If the MAX address is given by the environment, write it back to the hardware. Signed-off-by: Daniel Mack Cc: Sascha Hauer Signed-off-by: Ben Warren commit dfcd7f21607fd847236b04bb1a8d59a7c10ab99c Author: Wolfgang Denk Date: Fri May 15 00:16:03 2009 +0200 Redundant Environment: protect full sector size Several boards used different ways to specify the size of the protected area when enabling flash write protection for the sectors holding the environment variables: some used CONFIG_ENV_SIZE and CONFIG_ENV_SIZE_REDUND, some used CONFIG_ENV_SECT_SIZE, and some even a mix of both for the "normal" and the "redundant" areas. Normally, this makes no difference at all. However, things are different when you have to deal with boards that can come with different types of flash chips, which may have different sector sizes. Here we may have to chose CONFIG_ENV_SECT_SIZE such that it fits the biggest sector size, which may include several sectors on boards using the smaller sector flash types. In such a case, using CONFIG_ENV_SIZE or CONFIG_ENV_SIZE_REDUND to enable the protection may lead to the case that only the first of these sectors get protected, while the following ones aren't. This is no real problem, but it can be confusing for the user - especially on boards that use CONFIG_ENV_SECT_SIZE to protect the "normal" areas, while using CONFIG_ENV_SIZE_REDUND for the "redundant" area. To avoid such inconsistencies, I changed all sucn boards that I found to consistently use CONFIG_ENV_SECT_SIZE for protection. This should not cause any functional changes to the code. Signed-off-by: Wolfgang Denk Cc: Paul Ruhland Cc: Pantelis Antoniou Cc: Stefan Roese Cc: Gary Jennejohn Cc: Dave Ellis Acked-by: Stefan Roese commit b81830f6e3b3e6ed114d071eb107965e49fa9b5a Author: Ilya Yanok Date: Thu May 14 14:03:09 2009 +0400 mmc: it's safe to ignore mmc_send_if_cond() return value Return value of mmc_send_if_cond() can be safely ignored (as it is done in Linux). This makes older cards work with MXC MCI controller. Signed-off-by: Ilya Yanok commit dba6fcf6517faa5dda7df8109febe03c9c72a6f5 Author: Stefan Roese Date: Mon May 11 15:54:13 2009 +0200 cfi_mtd: Fix bug in last sector detection This patch now enabled this cfi-mtd wrapper to correctly detect and erase the last sector in an NOR FLASH device. Signed-off-by: Stefan Roese commit 4e3d89ba948eef801ffd46ef862cdede5b3f8320 Author: Yauhen Kharuzhy Date: Thu May 7 00:43:30 2009 +0300 mmc: Fix decoding of SCR & function switch data on little-endian machines SCR & switch data are read from card as big-endian words and should be converted to CPU byte order. Signed-off-by: Yauhen Kharuzhy Signed-off-by: Andy Fleming commit f33cb34b3971dabe3720d577b0e1b8601c09fe17 Author: Yauhen Kharuzhy Date: Thu May 7 13:08:53 2009 +0300 mmc: Remove return from mmc_init for non SD 2.0 compatible cards. Cards which are not compatible with SD 2.0 standard, may return response for CMD8 command, but it will be invalid in terms of SD 2.0. We should accept this case as admissible, just like Linux does. Signed-off-by: Yauhen Kharuzhy Signed-off-by: Andy Fleming commit 998be3dd59ed0af4bec38324047fecfa88ac45db Author: Rabin Vincent Date: Sun Apr 5 13:30:56 2009 +0530 mmc: drop unnecessary casts Now that response is a uint, we can drop all the casts. Signed-off-by: Rabin Vincent commit 0b453ffe28bb9227d86ddbe0893bd19c93f04ed7 Author: Rabin Vincent Date: Sun Apr 5 13:30:55 2009 +0530 mmc: fix response decoding on little endian The mmc code defines the response as an array of chars. However, it access the response bytes both as (i) an array of four uints (with casts) and (ii) as individual chars. The former case is used more often, including by the driver when it assigns the response. The char-wise accesses are broken on little endian systems because they assume that the bytes in the uints are in big endian byte order. This patch fixes this by changing the response to be an array of four uints and replacing the char-wise accesses with equivalent uint-wise accesses. Signed-off-by: Rabin Vincent commit 9b1f942c09dd942e6de3185caa81c111b14de567 Author: Rabin Vincent Date: Sun Apr 5 13:30:54 2009 +0530 mmc: use lldiv to fix arm eabi build The generic MMC core uses direct long long divisions, which do not build with ARM EABI toolchains. Use lldiv() instead, which works everywhere. Signed-off-by: Rabin Vincent commit e85649c7e683faea1ccfddc9fa9abc62f38e4201 Author: Rabin Vincent Date: Sun Apr 5 13:30:53 2009 +0530 mmc: check find_mmc_device return value find_mmc_device returns NULL if an invalid device number is specified. Check for this to avoid dereferencing NULL pointers. Signed-off-by: Rabin Vincent commit ac0865ff33870cdf2cd480165045e1bc311e9fa2 Author: Rabin Vincent Date: Sun Apr 5 13:30:52 2009 +0530 mmc: clean up help texts Remove some repeated words and superfluous newlines in the mmc command help entries. Signed-off-by: Rabin Vincent commit 7d6900ebe16d679c0e03f8d1584b64057a64ce39 Author: Mike Frysinger Date: Fri May 29 17:01:48 2009 -0400 Blackfin: spi: fix pin handling of SPI0 SSEL4 CS4 on SPI0 has a dedicated PH8 pin which needs to be enabled as a peripheral in order to work. Signed-off-by: Mike Frysinger commit 2157359dad2533987f5eb0181ef543693fad6a33 Author: Mike Frysinger Date: Tue May 26 02:51:57 2009 -0400 Blackfin: fix if() logic in bootrom evt1 check A missing set of parenthesis caused the silicon revision to apply only to the BF533 and not the BF531/BF532 variants. Signed-off-by: Mike Frysinger commit 76b5883da2cf049cd410901c04ea450e5f5c27c3 Author: Stefan Roese Date: Sat May 16 12:04:22 2009 +0200 jffs2/mtdparts: Fix problem with usage from JFFS2 and MTDPARTS together Currently using JFFS2 with MTDPARTS enabled doesn't work. This is because mtdparts_init() is available in both files, cmd_mtdparts.c and cmd_jffs2.c. Please note that in the original cmd_jffs2.c file (before the jffs2/mtdparts command/file split those 2 different versions already existed. So this is nothing new. The main problem is that the variables "current_dev" and "current_partnum" are declared in both files now. This doesn't work. This patch now changes the names of those variable to more specific names: "current_mtd_dev" and "current_mtd_partnum". This is because this patch also changes the declaration from static to global, so that they can be used from both files. Please note that my first tests were not successful. The MTD devices selected via mtdparts are now accessed but I'm failing to see the directory listed via the "ls" command. Nothing is displayed. Perhaps I didn't generate the JFFS2 image correctly (I never used JFFS2 in U-Boot before). Not sure. Perhaps somebody else could take a look at this as well. I'll continue looking into this on Monday. Signed-off-by: Stefan Roese Cc: Wolfgang Denk Cc: Detlev Zundel Cc: Ilya Yanok Cc: Renaud barbier commit ab687907980fa28940a1a992d3f1c5d17cdbbf5d Author: Graf Yang Date: Sun May 24 02:34:34 2009 -0400 Blackfin: bf518f-ezbrd: setup portmux for async flash The pins for async memory where parallel flash lives are not enabled by default, so make sure we mux them as needed. Signed-off-by: Graf Yang Signed-off-by: Mike Frysinger commit f40f6db278f602b55820693634a7256b0b4e4b80 Author: Stefan Roese Date: Wed May 20 10:58:03 2009 +0200 nand: Fix problem with ECC ordering for PPC4xx NDFC platforms This patch enables Smart Media (SMC) ECC byte ordering which is used on the PPC4xx NAND FLASH controller (NDFC). Without this patch we have incompatible ECC byte ordering to the Linux kernel NDFC driver. Signed-off-by: Stefan Roese Acked-by: Scott Wood commit 399aab7748bef053d59612211e1bd7a3fabfce18 Author: Stefan Roese Date: Wed May 20 10:58:02 2009 +0200 ppc4xx: Fix problem with ECC ordering for PPC4xx NDFC platforms This patch now uses the correct ECC byte order (Smart Media - SMC) to be used on the 4xx NAND FLASH driver. Without this patch we have incompatible ECC byte ordering to the Linux kernel NDFC driver. Please note that we also have to enable CONFIG_MTD_NAND_ECC_SMC in drivers/mtd/nand/nand_ecc.c for correct operation. This is done with a seperate patch. Signed-off-by: Stefan Roese Acked-by: Scott Wood commit 5d841fac8249a2b3f9a814da2140132be0a9f60d Author: Stefan Roese Date: Wed May 20 10:58:01 2009 +0200 ppc4xx: Move definition for PPC4xx NAND FLASH controller to header This patch moves the definition for the PPC4xx NAND FLASH controller (NDFC) CONFIG_NAND_NDFC into include/ppc4xx.h. This is needed for the upcoming fix for the ECC byte ordering of the NDFC driver. Signed-off-by: Stefan Roese Acked-by: Scott Wood commit 2df72b82bc9e17b88dc82735a067749220beb025 Author: Kim Phillips Date: Tue May 19 12:53:36 2009 -0500 common: fix inline--weak error spotted by gcc 4.4 cmd_ide.c:547: error: inline function 'ide_inb' cannot be declared weak removing the inline attribute fixes it. Signed-off-by: Kim Phillips commit 9fd9abedcc3c10cf89353265cbe05f58609d51f3 Author: Kim Phillips Date: Tue May 19 12:53:32 2009 -0500 TQM834x: remove defines causing gcc4.4 warnings Configuring for TQM834x board... cpu_init.c: In function 'cpu_init_f': cpu_init.c:262: warning: array subscript is above array bounds cpu_init.c:263: warning: array subscript is above array bounds cpu_init.c:270: warning: array subscript is above array bounds ... Signed-off-by: Kim Phillips commit 0850301747228a3327f2815a85284d26ade3de95 Author: Andreas Huber Date: Tue May 19 11:06:30 2009 +0200 UBI: fix return code in ubi_volume_read Return -ENODEV instead of 0 when trying to read from a non existing volume. Signed-off-by: Andreas Huber Signed-off-by: Stefan Roese commit ec01481ddc4cf302c7f6d760b776ca94819ec21e Author: Graf Yang Date: Tue May 19 04:40:08 2009 -0400 Blackfin: fix timer_init()/timer_reset() The timer_init() function was not using the right csync instruction, nor was it doing it right after disabling the core timer. The timer_reset() function would reset the timestamp, but not the actual timer, so there was a common edge case where get_timer() return a jump of one timestamp (couple milliseconds) right after resetting. This caused many functions to improperly timeout right away. Signed-off-by: Graf Yang Signed-off-by: Mike Frysinger commit c06326c73bf90e48a8e1cf8893ad31c575423f50 Author: Shinya Kuribayashi Date: Sat May 16 09:12:09 2009 +0900 MIPS: lib_mips/board.c: Remove unused variables This fixes the following build warnings: board.c: In function 'board_init_r': board.c:328: warning: unused variable 'i' board.c:326: warning: unused variable 'e' Signed-off-by: Shinya Kuribayashi commit 47f6a36cc3f3427cc8e4f1d0f3e6678be6f33769 Author: Shinya Kuribayashi Date: Sat May 16 09:12:09 2009 +0900 MIPS: Make all extern-ed functions in bitops.h static All these functions are expected to be static inline-ed. This patch also fixes the following build warnings on MIPS targets: include/asm/bitops.h: In function 'ext2_find_next_zero_bit': include/asm/bitops.h:862: warning: '__fswab32' is static but used in inline function 'ext2_find_next_zero_bit' which is not static include/asm/bitops.h:885: warning: '__fswab32' is static but used in inline function 'ext2_find_next_zero_bit' which is not static include/asm/bitops.h:887: warning: '__fswab32' is static but used in inline function 'ext2_find_next_zero_bit' which is not static Signed-off-by: Shinya Kuribayashi commit 87423d740b91329b8d1d0b73cafd6930993b558a Author: Thomas Lange Date: Fri Apr 24 16:22:16 2009 +0200 MIPS: Implement ethernet halt for au1x00 Implement ethernet halt() by putting MAC0 in reset. If we do not do this, we will get memory corruption when ethernet frames are received during early OS boot. Signed-off-by: Thomas Lange Signed-off-by: Shinya Kuribayashi commit a2e0ffcf2d9a22c582a93e84a4bef20fd3877f47 Author: Wolfgang Denk Date: Fri May 15 23:29:23 2009 +0200 Prepare v2009.06-rc2 Update CHANGELOG. Signed-off-by: Wolfgang Denk commit f4317ea91942f44cc1c433277927b61618e9b0a5 Author: Daniel Mack Date: Tue May 5 12:48:29 2009 +0200 ARM: fix PXA build by defining UP2OCR U-Boot does not currently build for PXA platforms with USB support enabled: usb.c:46: error: 'UP2OCR' undeclared (first use in this function) Signed-off-by: Daniel Mack Cc: Markus Klotzbuecher Edited commit message. Signed-off-by: Wolfgang Denk commit e26ad0eabd10a8cda51920fbcfe4da5b4ccf0c98 Author: Wolfgang Denk Date: Fri May 15 22:32:57 2009 +0200 Minor Coding Style fix; update CHANGELOG. Signed-off-by: Wolfgang Denk commit af75a45d23b72a59ac5cc0427696c7f634fdc94b Author: Wolfgang Denk Date: Fri May 15 09:27:58 2009 +0200 IDE: bail out of dev_print() for unknown device types Commit 574b319512 introduced a subtle bug by mixing a list of tests for "dev_desc->type" and "dev_desc->if_type" into one switch(), which then mostly did not work because "dev_desc->type" cannot take any "IF_*" type values. A later fix in commit 8ec6e332ea changed the switch() into testing "dev_desc->if_type", but at this point the initial test for unknown device types was completely lost, which resulted in output like that for IDE ports without device attached: Device 1: Model: Firm: Ser#: Type: # 1F # Capacity: not available This patch re-introduces the missing test for unknown device types. Signed-off-by: Wolfgang Denk Cc: Stefan Roese Cc: Detlev Zundel Tested-by: Stefan Roese commit c21f62d8483fbab44cd98d93ff2e9355a330d225 Author: Stefan Roese Date: Thu May 14 07:25:13 2009 +0200 74xx_7xx: Fix rounding problem in CPU frequency calculation This patch fixes a problem in the CPU frequency calculation. Without it a 798MHz CPU is displayed as 368.503 MHz. And with it it's 798 MHz. Signed-off-by: Stefan Roese commit 3ad8a0517b724782ab36f2b554a94de4c00c1adb Author: Jean-Christophe PLAGNIOL-VILLARD Date: Wed May 13 22:24:12 2009 +0200 console.h: remove unused prototype 'console_realloc' Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 84bf7ca522e94ec402a1264b01971b924b7e268f Author: Jean-Christophe PLAGNIOL-VILLARD Date: Wed May 13 22:16:31 2009 +0200 api: remove un-needed ifdef CONFIG_API already handle by the Makefile Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 792a09eb9d5d8c4f74b7e9f2e887316d511a4e80 Author: Detlev Zundel Date: Wed May 13 10:54:10 2009 +0200 Fix e-mail address of Gary Jennejohn. Signed-off-by: Detlev Zundel commit 5e2c08c3ac90808e9be64856916bfd6df984823c Author: Emil Medve Date: Tue May 12 13:48:32 2009 -0500 Remove inline qualifier from show_boot_progress() The 'inline' is conflicting with the semantic of 'weak' attribute and with the way the show_boot_progress() function is used. Also gcc 4.4 is complaining about it: main.c:51: error: inline function 'show_boot_progress' cannot be declared weak Signed-off-by: Emil Medve commit fe6da4837308aa33d537ac3e7f36c2d66e3d9a36 Author: Wolfgang Denk Date: Tue May 12 15:17:35 2009 +0200 MPC8260: fixup device tree by property instead of path cpu/mpc8260/cpu.c used to use do_fixup_by_path_u32() to update the clock frequencies in the device tree, using a CPU path "/cpus/OF_CPU", with OF_CPU beind defined in the board config file. However, this does not work when one board config file (here: MPC8260ADS.h) is intended to be used for several diffrent CPUs and therefor contains a generic definition like "cpu@0", as the device trees that will then be loaded will contain specific names like "PowerPC,8272@0". We switch to using do_fixup_by_prop_u32() instead, so we can search for device_type="cpu", as it is done in other architectures, too. Signed-off-by: Wolfgang Denk Cc: Heiko Schocher Acked-by: Heiko Schocher Tested-by: Heiko Schocher commit 12a6753155716e5c3c181a8f40e8b2d3d669aefd Author: Rohit Hagargundgi Date: Mon Mar 9 19:45:46 2009 +0530 Fix OneNAND ipl to read CONFIG_SYS_MONITOR_LEN Add CONFIG_SYS_MONITOR_LEN macro to apollon board config. CONFIG_SYS_MONITOR_LEN defines the U-Boot image size. and is used by OneNAND ipl when reading U-Boot image. Signed-off-by: Rohit Hagargundgi Acked-by: Kyungmin Park commit c404cc5884b0c82fd82d751dbd8e8b3f8919a23a Author: Ben Warren Date: Tue Apr 28 17:04:51 2009 -0700 Schedule removal of non-CONFIG_NET_MULTI net driver API This will make CONFIG_NET_MULTI the only net driver configuration and we'll be able to remove this option. Signed-off-by: Ben Warren commit 60bbcf0cc6e55095dd186e59a557d584b9b56eb1 Author: Detlev Zundel Date: Tue May 5 16:04:06 2009 +0200 powerpc/inka4x0: Remove left-over ide reset code. The pin which was used in preliminary versions of the board for ide reset is really connected to the rtc clock. Signed-off-by: Detlev Zundel commit f578a2da6770951239ad91ee9a1875fdc71dbe48 Author: Marco Stornelli Date: Tue Apr 28 19:04:02 2009 +0200 Add imls utility command This patch adds, under tools folder, a new command called imls. Its goal is the same of UBoot's imls but it can be used as Linux shell command. It reads from raw mtd partition and prints the list of the stored images. Signed-off-by: Marco Stornelli commit da95427ce431908714ae5e9f663ee6e2bc3bcc33 Author: Heiko Schocher Date: Tue Apr 28 08:36:11 2009 +0200 netloop: updates for NetLoop Fix some issues introduced from commit: 2f70c49e5b9813635ad73666aa30f304c7fdeda9 suggested by Mike Frysinger. - added some comment for the env_id variable in common_cmd_nvedit.c - moved some variables in fn scope instead of file scope - NetInitLoop now static void Signed-off-by: Heiko Schocher Acked-by: Ben Warren commit 3c1d89545de11822f8b5afb5646a57757620bd95 Author: Heiko Schocher Date: Tue Apr 28 07:48:39 2009 +0200 82xx, ids8247: added ids8247 board to MAKEALL script Signed-off-by: Heiko Schocher commit 890a017a8a995c921d1e889d360e8d6538ceecfe Author: Detlev Zundel Date: Thu May 7 13:08:55 2009 +0200 arm/imx31_phycore: Fix bi_arch_number Signed-off-by: Detlev Zundel Cc: Sascha Hauer commit ee47bfabefeb25bdfc83f49ef3bae0f325d3e69e Author: Sascha Hauer Date: Fri May 15 10:21:33 2009 +0200 remove myself as phycore/litekit Maintainer I never acked a patch that adds me as phycore i.MX31 maintainer nor was it me who pushed the patches, so remove myself from the maintainer list so that other people do not longer wait for my ack. Signed-off-by: Sascha Hauer commit c63254ef5628efe1c77cb2fdba20753f9666f55d Author: Sergey Lapin Date: Tue May 12 12:25:14 2009 +0400 AFEB9260 network fix AFEB9260 uses PA10, PA11 for ETX2 and ETX3. Also, due to extarnal pull-up on IRQ line, Micrel PHY ID is 1 after reset sequence, not 0. Signed-off-by: Sergey Lapin commit f8ddcd58221cab63dd25c2324dd2032487f748b1 Author: Graf Yang Date: Tue May 5 02:26:27 2009 -0400 Blackfin: bf518f-ezbrd: reset ethernet PHY during init We don't know what state the ethernet PHY is in when starting up, so make sure we set it to a sane state. This fixes troubles seen when Linux boots up, configures the PHY is a non-default state, and then the system reboots into U-Boot which previously expected a reset state only. Signed-off-by: Graf Yang Signed-off-by: Mike Frysinger commit 53310b88eaa27fb5cb83144d0b22389190ad87a1 Author: Mike Frysinger Date: Tue May 5 01:35:41 2009 -0400 Blackfin: bf527-ezkit: fix SPI flash env params The BF527-EZKIT settings for storing the environment in SPI flash wasn't using the correct sector settings for the SPI flash part that is actually on the board. Signed-off-by: Mike Frysinger commit f58bf804a14324c6c9186a7a664fa23281780e8b Author: Mike Frysinger Date: Fri Apr 24 23:54:19 2009 -0400 Blackfin: avoid get_sclk() with early serial debug When the clock functions were changed to use cached values (and thereby avoiding expensive math functions), early serial debug broke because the baud programming is called before external memory is available. Signed-off-by: Mike Frysinger commit 02778f2f1b4b1a28b492367477db27c58d45ae35 Author: Mike Frysinger Date: Fri Apr 24 23:39:41 2009 -0400 Blackfin: fix booting with older bootroms (no EVT1) When dropping jump block support, the assumption was that all bootroms supported entry point redirection via the EVT1 register. Unfortunately, this turned out to be incorrect for the oldest Blackfin parts (BF533-0.2 and older and BF561). No one really noticed earlier because these parts usually are booted by bypassing the bootrom entirely, and older BF533 parts are not supported at all (too many anomalies). Signed-off-by: Mike Frysinger commit af2c37378f203857d5e6c957e77a14c2da5b59d2 Author: Mike Frysinger Date: Fri Apr 24 23:22:48 2009 -0400 Blackfin: recurse with early serial initcode Make sure we recurse through serial_putc() rather than bang on the UART transmit register directly to avoid hardware overflows when using \n. Signed-off-by: Mike Frysinger commit 6b8edfde22acc574b5532e9f086e6a7287a9bc78 Author: Wolfgang Denk Date: Fri May 1 21:59:12 2009 +0200 Prepare v2009.06-rc1 Update CHANGELOG. Signed-off-by: Wolfgang Denk commit 6b2beb5626a143ca5347e7d2c6005be9936c1fbb Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri May 1 15:38:06 2009 +0200 at91: remove lowlevel_init.S lowlevel_init.S is not used any more so remove it. As consequence, we also don't have to generate u-boot.lds but can use a static version as before. This also fixes the out-of-tree build problem introduced with commit f0a2c7b4 "at91: add support for the PM9263 board" Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Wolfgang Denk commit 0ee7a310479640ef17ce2fc0f6c13cf7961d2330 Author: Wolfgang Denk Date: Fri May 1 00:16:11 2009 +0200 Update CHANGELOG; minor coding style cleanup. Signed-off-by: Wolfgang Denk commit d3a513c23ba4100d6983161cdc1f747dfd087bbd Author: Manikandan Pillai Date: Tue Apr 21 17:29:05 2009 +0200 OMAP3: Fix timer handling to 1ms and CONFIG_SYS_HZ to 1000 Signed-off-by: Dirk Behme Signed-off-by: Manikandan Pillai commit ac9140037a84629c5583066ff1a177396c47d89d Author: Dirk Behme Date: Fri Apr 17 14:27:56 2009 +0200 OMAP3: Beagle: Set pinmux conditionally for Rev C boards The Beagle Rev C boards pull UART2 from an alternate set of balls. Signed-off-by: Steve Sakoman Signed-off-by: Dirk Behme commit c1a0fd5f2864e9d381f4a3dc948942cac974e89a Author: Ricardo Ribalda Delgado Date: Mon Apr 27 18:33:33 2009 +0200 ubifs: BUG: Blocks commpressed with zlib Blocks compressed with zlib dont have the full gzip header. Without this patch, block compressed with zlib cannot be readed! Signed-off-by: Ricardo Ribalda Delgado commit 35f6a943f7d92145d607c1d55f5c2e2eae5be630 Author: Ricardo Ribalda Delgado Date: Mon Apr 27 18:33:32 2009 +0200 lib_generic: gunzip: New function zunzip Separate gunzip in gunzip: Find the end of the header and call zunzip. zunzip: Inflate gunzip block without header. UBI fs blocks can be compresed in lzo, zlib or no-compression. The current implementation of u-boot supported all the compressions but there was a bug in the implementation of the zlib blocks. UBIFS's Zlib blocks do not have header but they were compressed using gunzip, a function used to decompress gunzip files/sectors with a header. This patch adds a new function zunzip that uncompress a zlib block with no header. Signed-off-by: Ricardo Ribalda Delgado commit a1e5f93185d0d85a4b3fad3b6c743cddcd373b0c Author: Daniel Gorsulowski Date: Thu Apr 23 15:37:16 2009 +0200 at91: fixed plla calc when no USB support is active Signed-off-by: Daniel Gorsulowski Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 3791a1187c1401c33c9512595e6e89dbb46230c5 Author: Ladislav Michl Date: Wed Apr 22 01:12:04 2009 +0200 arm925t: Fix CONFIG_SYS_HZ to 1000 Let CONFIG_SYS_HZ to have value of 1000 effectively fixing all users of get_timer. Changes since original version: * Set PTV=2 (divisor 8) for boards using 12MHz timer clock source to improve timer resolution. Signed-off-by: Ladislav Michl commit 42bf4b2248146abdc592bde0009c6ea42067f437 Author: Dirk Behme Date: Tue Apr 14 20:15:17 2009 +0200 OMAP3: Remove legacy NAND defines Remove remaining legacy NAND defines for Beagle, EVM, Overo and Pandora. Signed-off-by: Dirk Behme commit cba0b778dd5f1ea32959b6825c7f0a31501a99d5 Author: Sanjeev Premi Date: Mon Apr 27 21:27:54 2009 +0530 OMAP3: Print correct silicon revision The function display_board_info() displays incorrect silicon revision - based on the return value from function get_cpu_rev(). This patch fixes the problem. Signed-off-by: Sanjeev Premi commit 90006e9b33bcdbf241b0295d186e3634137907a9 Author: Sanjeev Premi Date: Mon Apr 27 21:27:44 2009 +0530 OMAP3: Remove unused board-types The board-types defined in struct omap3_sysinfo seem to be unused. The function display_board_info() is passed board type as an argument; which is ignored. This patch removes all uses of board-type, related definitions and functions. Signed-off-by: Sanjeev Premi commit 6a6b62e3aa4b340c4f8fc67b1487ddb5436c684d Author: Sanjeev Premi Date: Mon Apr 27 21:27:27 2009 +0530 OMAP3: Use functions print_cpuinfo() and checkboard() Use the functions print_cpuinfo() and checkboard() to display the cpu and board specific information. These functions reuse content from the existing function display_board_info() - which has been removed. Also, updated the existig OMAP3 configurations to define: - CONFIG_DISPLAY_CPUINFO - CONFIG_DISPLAY_BOARDINFO Signed-off-by: Sanjeev Premi commit f8e2b3107ee00f2782f8ebf47e3f09cda4e2353a Author: Stefan Roese Date: Wed Mar 18 11:17:37 2009 +0100 MTD: Change cfi-mtd to accept non-uniform sector sizes With this patch non-uniform NOR FLASH chips (chips with multiple erase regions) can be exported via the cfi-mtd layer and therefor used by UBI. We select the largest sector size as erasesize. The cfi driver will make sure that the smaller sectors are handled correctly. Signed-off-by: Stefan Roese commit 3dcbe628d66b648e954bc8147d4faff2983206d9 Author: Anatolij Gustschin Date: Thu Apr 23 12:35:22 2009 +0200 video: fix bug in cfb_console.c code Fix bug in drawing long version/info strings: U-Boot version string like "U-Boot 2009.03-05647-g7c51e06 (Apr 23 2009 - 12:40:00) MPC83XX" is long and doesn't wrap around correctly while drawing beside the logo. Such long strings partially overwrite the logo. This patch is an attempt to fix it. Signed-off-by: Anatolij Gustschin commit 4d9eab89b3b2c2ed432b14d355a56f274d8aac75 Author: Wolfgang Denk Date: Tue Apr 28 08:50:31 2009 +0200 cmd_ext2.c: fix compile warnings Get rid of these warnings: cmd_ext2.c:247: warning: format '%ld' expects type 'long int', but argument 2 has type 'int' cmd_ext2.c:248: warning: format '%lX' expects type 'long unsigned int', but argument 3 has type 'int' Signed-off-by: Wolfgang Denk commit 28afe0160f87ff74574150d703055a965f91422a Author: Heiko Schocher Date: Mon Apr 27 10:48:20 2009 +0200 ids8247: Remove legacy NAND defines because legacy NAND support is deprecated converting to current NAND interface. !This just compile, because I have no more the hardware to test it. Signed-off-by: Heiko Schocher commit dbd33614404b65aa441c5620c3dbd560c4460c09 Author: Ricardo Ribalda Delgado Date: Mon Apr 27 09:13:31 2009 +0200 ubifs: BUG realpath string must be ended with NULL If the memory used to copy the link_make is "dirty" the string wont be ended with NULL, throwing out multiple memory bugs. Signed-off-by: Ricardo Ribalda Delgado Acked-by: Stefan Roese commit 65351a8793c51f3787efbbcf3aa1df0ad543c127 Author: Peter Tyser Date: Fri Apr 24 15:59:56 2009 -0500 bmp_logo: Check return value of fread() Add basic error handling to fread() function calls. This prevents compililation warnings such as: bmp_logo.c: In function ‘main’: bmp_logo.c:71: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result ... Signed-off-by: Peter Tyser commit eea8be86d1c2b570660d1f6c553845e13164231a Author: Peter Tyser Date: Fri Apr 24 15:59:46 2009 -0500 ncb: Check return value of write() This prevents the compilation warning: ncb.c: In function 'main': ncb.c:32: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result Signed-off-by: Peter Tyser commit dbe29e36a4c2775b69b5a63b0ce2bac89c08e691 Author: Stefan Roese Date: Fri Apr 24 15:59:35 2009 +0200 mtd: nand/onenand: Register mtd device upon device scanning With this patch the NAND and OneNAND devices are registered in the MTD subsystem and can then be referenced by the mtdcore code (e.g. get_mtd_device_nm()). This is needed for the new "ubi part" command syntax without the flash type parameter (nor|nand|onenand). Signed-off-by: Stefan Roese commit 10bb62d85a0850dbad1fdd34123378686373f166 Author: Stefan Roese Date: Fri Apr 24 15:58:33 2009 +0200 mtd: nand: Include linux/mtd/partitions.h in nand_base.h This patch removes this compilation warning when CONFIG_MTD_PARTITIONS is defined: nand_base.c: In function 'nand_release': nand_base.c:2922: warning: implicit declaration of function 'del_mtd_partitions' Signed-off-by: Stefan Roese commit 2d579e5060413af5a740cb396dc87e1ff31bf5a9 Author: Stefan Roese Date: Fri Apr 24 20:24:19 2009 +0200 ubi: Remove flash selection parameter (nor|nand|onenand) from "ubi part" This patch removes the now unnecessary flash type parameter from the "ubi part" command. Currently the user has to define the type of flash he will be using UBI on. Example: => ubi part nor partition1 With this patch this type parameter is not needed anymore. The user can now select the partition directly without the flash type paramter. Example: => ubi part partition1 This breaks backward compatibility right now because of the change in the command syntax. But UBI support is still quite fresh and the advantage of this new command is syntax big enough for this change. Additionally the code is much cleaner now. Signed-off-by: Stefan Roese CC: Kyungmin Park commit 294f10ca9ea82a15e135dcb0fc658382ab206940 Author: Detlev Zundel Date: Thu Apr 23 13:14:20 2009 +0200 mips/vcth: Use generic 16550 uart driver As the common code also handles baudrate switching, which the board specific vct.c driver did not support, this is one of the rare occassions where deleting code actually adds a feature :) Signed-off-by: Detlev Zundel Acked-by: Stefan Roese Acked-by: Shinya Kuribayashi commit 0c8a84916c5dacccdc5b27b63fc463e9f3b04f07 Author: Ladislav Michl Date: Tue Apr 21 02:26:31 2009 +0200 Separate mtdparts command from jffs2 On Thu, Mar 19, 2009 at 01:30:36PM +0100, Stefan Roese wrote: > Currently the mtdparts commands are included in the jffs2 command support. > This doesn't make sense anymore since other commands (e.g. UBI) use this > infrastructure as well now. This patch separates the mtdparts commands from > the jffs2 commands making it possible to only select mtdparts when no JFFS2 > support is needed. One more leftover... Let nboot command know about partitions even if JFFS2 support is not enabled. Signed-off-by: Ladislav Michl Acked-by: Stefan Roese commit 67c2e57c0875139dbfcd6f41c43e6ad0cb2e40c9 Author: Peter Tyser Date: Mon Apr 20 11:22:13 2009 -0500 cmd_ide: Remove unused AmigaOneG3SE code The output_data_short() and input_data_short() functions for the AmigaOneG3SE are unused and result in compiler warnings. Signed-off-by: Peter Tyser commit c93c102ace00764a56dbdf78bac134a23906721e Author: Peter Tyser Date: Mon Apr 20 11:21:40 2009 -0500 AmigaOneG3SE: Fix CONFIG_CMD_CONSOLE definition Signed-off-by: Peter Tyser commit 54e822f9590cc6c70411bd8cabd42236e07a2aa7 Author: Peter Tyser Date: Mon Apr 20 11:09:05 2009 -0500 Replace __asm references with __asm__ __asm__ follows gcc's documented syntax and is generally more common than __asm. This change is only asthetic and should not affect functionality. Signed-off-by: Peter Tyser commit f9a109b3adc5e8647535357500e2a38f0558b5c2 Author: Peter Tyser Date: Mon Apr 20 11:08:46 2009 -0500 Replace __attribute references with __attribute__ __attribute__ follows gcc's documented syntax and is generally more common than __attribute. This change is only asthetic and should not affect functionality. Signed-off-by: Peter Tyser commit 08f077da9298ff65cc6f85f90d2770000a1beee9 Author: David Brownell Date: Thu Apr 16 19:55:48 2009 -0700 mtdpart command: align output columns Make the headers in the "mtdparts" command output line up with their columns ... strike the extra TAB character. Signed-off-by: David Brownell commit 06f41f825c23344d889d5419bb5eaeceb3ed2a02 Author: Shinya Kuribayashi Date: Thu Apr 16 10:51:03 2009 +0900 Remove sa1100.h sa1100.h is not used anywhere, then remove it. $ find . -name '*.h' -empty -print ./include/sa1100.h $ git grep 'sa1100.h' . $ Signed-off-by: Shinya Kuribayashi Acked-by: Jean-Christophe PLAGNIOL-VILLARD commit 7d3d30b1b3fbd0a07db254ead99fa6fff4f4d992 Author: Stefan Roese Date: Tue Apr 14 17:51:21 2009 +0200 UBIFS: Remove tnc_commit.c which is not used in the read-only version I missed removing this file while implementing the UBIFS support. It's not referenced at all, so let's remove it. Thanks to Artem Bityutskiy for spotting. Signed-off-by: Stefan Roese commit 6356daff70867822bdb23cea49f98e65421a25b8 Author: Adrian Hunter Date: Tue Apr 14 17:50:38 2009 +0200 UBIFS: fix recovery bug UBIFS did not recovery in a situation in which it could have. The relevant function assumed there could not be more nodes in an eraseblock after a corrupted node, but in fact the last (NAND) page written might contain anything. The correct approach is to check for empty space (0xFF bytes) from then on. Signed-off-by: Adrian Hunter Signed-off-by: Stefan Roese commit 351f40caf2f7806b2cefb93e077ea619b9f684e8 Author: Gao Guanhua Date: Tue Apr 14 14:37:35 2009 +0800 fs: Fix the wrong type of var The filelen should be signed type, not unsigned type. otherwise, The condition as below never take. if (filelen < 0) Signed-off-by: Gao Guanhua Signed-off-by: Dave Liu commit 05f474c4d0469bebc0bb05df60a39dc7fdf28e62 Author: Wolfgang Denk Date: Tue Apr 28 00:29:34 2009 +0200 Update CHANGELOG Signed-off-by: Wolfgang Denk commit ad74cae9ff8790727bc81ee91c6bca7d50dca446 Author: David Brownell Date: Thu Apr 16 23:15:15 2009 -0700 dm9000 EEPROM reading bugfix Make the U-Boot dm9000 driver read addresses from EEPROM just like Linux does ... read six bytes, instead of reading twelve bytes and then discarding every other one. Using the right Ethernet address is a big win. Signed-off-by: David Brownell Acked-by: Jean-Christophe PLAGNIOL-VILLARD Acked-by: Ben Warren commit d4c02e6f5d49880123e7f584b88f857ffd874381 Author: Yoshihiro Shimoda Date: Wed Feb 25 14:27:24 2009 +0900 rtl8169: fix cache coherency problem Fix the problem that cannot access actual data when CPU data cache enabled. Signed-off-by: Yoshihiro Shimoda Tested-by: Nobuhiro Iwamatsu Acked-by: Ben Warren commit a85693b3bd4431b05b7df608b6f7733c0f80c53e Author: Dirk Behme Date: Tue Apr 21 17:30:51 2009 +0200 OMAP3: Fix changed mmc init command In recent U-Boot mmcinit changed to mmc init. Signed-off-by: Steve Sakoman Signed-off-by: Dirk Behme commit 34b76a14f676bc6501c27a96564e4dfb4793f033 Author: Wolfgang Denk Date: Sun Apr 26 20:39:26 2009 +0200 lib_arm/board.c: remove misleading "test-only" comment. For a long time, the print_cpuinfo() declaration in lib_arm/board.c had been marked as "test-only", which is plain wrong considering current usage. Delete this misleading comment. Signed-off-by: Wolfgang Denk commit 7239c5da5e9197accb3dfe395be4502c3b9bca8e Author: David Brownell Date: Sun Apr 12 15:40:16 2009 -0700 minor DaVinci clock cleanup Minor cleanup to clock-related defines for DaVinci DM6446 boards: - CONFIG_SYS_CLK_FREQ is unused; remove it. - CONFIG_SYS_NS16550_CLK must be the same as CONFIG_SYS_HZ_CLOCK On DM6446 both of those peripheral clocks actually come from the same source, the primary oscillator. Having them use the same symbol avoids bugs in the clone'n'modify development cycle. Signed-off-by: David Brownell commit ffd8c7170d55c34bbfcfd2c84093dcaff796cbf3 Author: Minkyu Kang Date: Mon Apr 6 19:59:29 2009 +0900 s3c64xx: remove unnecessary definition CONFIG_S3C6400 is must defined at config header file That definition is unnecessary at this file Signed-off-by: Minkyu Kang commit 14b9308d511b53042ef478936e367a67282df66a Author: Heiko Schocher Date: Fri Apr 24 06:50:45 2009 +0200 83xx: searching "muram-data" by compatible property if using CONFIG_BOOTCOUNT_LIMIT feature on a MPC8360 CPU in the muram-data node, the reg entry needs to be updated. This is done in fdt_fixup_muram(), but we should use the compatible "fsl,qe-muram-data" for searching the node instead of searching the muram-data node with an absolute path. Signed-off-by: Heiko Schocher Signed-off-by: Kim Phillips commit 8e15088794807944b221c11609d36789efc7f767 Author: Anatolij Gustschin Date: Thu Apr 23 21:29:34 2009 +0200 mpc83xx: MPC8360ERDK: fix environment offset configuration bug The size of U-Boot binary for MPC8360ERDK increased (> 2 flash sectors now), so 'saveenv' will partially overwrite U-Boot in flash and will brick the board. This patch moves environment offset to fourth flash sector and also fixes CONFIG_SYS_MONITOR_LEN. Signed-off-by: Anatolij Gustschin Signed-off-by: Kim Phillips commit 3c172c4fdbbb5858fae38478d6399be4a16be3fc Author: Michael Zaidman Date: Sat Apr 4 01:43:00 2009 +0300 NetLoop initialization bug The patch fixes the bug of partial initialization of global network parameters. Upon u-boot's start up the first ping command causes a failure of the consequent TFTP command. It happens in the recently added mechanism of the NetLoop initialization where initialization of global network parameters is separated in the NetInitLoop routine which is called per env_id change. Thus, ping request will initialize the network parameters necessary for ping operation only, afterwards the env_changed_id will be set to the env_id that will prevent all following initialization requests from other protocols. The problem is that the initialized by ping subset of network parameters is not sufficient for other protocols and particularly for TFTP which requires the NetServerIp also. Signed-off-by: Michael Zaidman Signed-off-by: Ben Warren commit b11f664f52c2855990107c18f242223377183575 Author: Timur Tabi Date: Thu Apr 9 10:27:05 2009 -0500 net: fix ULI 526x macro usage in netdev.h Change netdev.h to use CONFIG_ULI526X instead of CONFIG_ULI526. CONFIG_ULI526X is used everywhere else, so that's the correct macro name. Without this fix, Ethernet will not work on the Freescale MPC8610 HPCD. Signed-off-by: Timur Tabi Signed-off-by: Ben Warren commit 7ee38c044ca5041d3378d6507580ea4ec344af96 Author: David Brownell Date: Sun Apr 12 15:38:06 2009 -0700 fix DaVinci NS16550_REG_SIZE regression Update the DaVinci DM6446 boards to use the new convention for CONFIG_SYS_NS16550_REG_SIZE ... the size hasn't changed from the original 4 bytes, but these chips are little-endian. (Resolves a regression added recently by the include/ns16550.h patch to "Unify structure declaration for registers". The code previously worked just fine because the registers were accessed as host-endian words, not as bytes.) Signed-off-by: David Brownell commit dfc99e143fca44a492918ac6cf3f76ee9c2473a9 Author: Mike Frysinger Date: Sun Apr 12 22:29:20 2009 -0400 cmd_nand: drop duplicate NULL ptr check The first if statement checks for NULL ptrs, so there is no need to check it again in later else cases (such as .oob). Signed-off-by: Mike Frysinger CC: Scott Wood commit 7732cef2eeb4e339cfcd8553fab773af73a20805 Author: David Brownell Date: Mon Apr 13 08:03:38 2009 -0700 CMD_UBI != MTD_PARTITIONS Fix dependency goofage: it should certainly be possible to have the partition support without bringing in UBI commands. Signed-off-by: David Brownell Acked-by: Stefan Roese commit 6ebff365eb63093ca35b687316002535c6a18820 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Thu Apr 16 21:30:48 2009 +0200 at91sam9/at91cap: fix CONFIG_SYS_HZ to 1000 The timer has been rewrote with a precision at ~0,18% Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Tested-by: Sergey Lapin Tested-by: Eric BENARD commit f0a2c7b4b64eacd06bb272856bcc056be8719f5a Author: Ilko Iliev Date: Thu Apr 16 21:30:48 2009 +0200 at91: add support for the PM9263 board of Ronetix GmbH The PM9263 board is based on the AT91SAM9263-EK board. Here is the page on Ronetix website: http://www.ronetix.at/starter_kit_9263.html Signed-off-by: Ilko Iliev Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit dc39ae9513c32dfeb9e018dc0d22c6484514fefb Author: Jean-Christophe PLAGNIOL-VILLARD Date: Thu Apr 16 21:30:44 2009 +0200 at91sam9/at91cap: improve clock framework calculate dynamically the clock rate and pllb setting for usb Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit dd7c302099ef5590069bdbf292aaa8230cd59de7 Author: Stefan Roese Date: Wed Apr 15 14:08:48 2009 +0200 ppc4xx: Disable POST memory test on NAND-booting Kilauea Don't run the memory POST on the NAND-booting version. It will overwrite part of the U-Boot image which is already loaded from NAND to SDRAM. We were just lucky that it booted at all with this SDRAM test enabled. Signed-off-by: Stefan Roese commit 9a929170be89b27bce677504da27e88600c06c49 Author: Stefan Roese Date: Wed Apr 15 14:06:26 2009 +0200 ppc4xx: Disable POST memory test on NAND-booting Sequoia Don't run the memory POST on the NAND-booting version. It will overwrite part of the U-Boot image which is already loaded from NAND to SDRAM. We were just lucky that it booted at all with this SDRAM test enabled. Signed-off-by: Stefan Roese commit 17c1b0e89b8be7d90f605eb19af9218c6275bfb3 Author: Stefan Roese Date: Wed Apr 15 11:32:53 2009 +0200 ppc4xx: Remove unused code for Sequoia NAND booting version The current define of get_bus_freq() in the CONFIG_NAND_SPL #ifdef is not used at all. This patch changes it's define to the currently used value of 133333333 and removes the unnecessary code. Signed-off-by: Stefan Roese commit cf9409885cbe01405bad76790e99f8adf3351f4d Author: Stefan Roese Date: Wed Apr 15 10:50:48 2009 +0200 ppc4xx: Add "booting from NAND" to 4xx NAND-booting targets This additional text in the bootup log helps to see if the board is configured for NAND-booting. Especially helpful for boards that can boot from NOR and NAND (e.g. most of the AMCC eval boards). Signed-off-by: Stefan Roese commit 5132106a27b8fb302677852b26ffd319b40d17e2 Author: Stefan Roese Date: Wed Apr 8 10:36:22 2009 +0200 ppc4xx: Fixup chip-selects in dtb for NAND-booting Sequoia Currently the NOR & NAND support in Linux only works for the "standard" Sequoia, the version booting for NOR flash. The NAND-booting version has the chip-selects swapped. Here the chip-select mappings: "Standard" NOR-booting version: CS0 NOR CS3 NAND NAND-booting version: CS0 NAND CS3 NOR With this path the dtb gets fixed-up, so that the correct chip-select numbers are patched in the dtb enabling correct NOR & NAND support in Linux on the NAND-booting Sequoia version. Signed-off-by: Stefan Roese commit aad4eca4ba8d597747199d8af723426681557dda Author: Mike Frysinger Date: Sat Apr 4 09:10:27 2009 -0400 Blackfin: audit UART for all known anomalies There is no code change here, just new comments, but this keeps me from having to do another audit from scratch in the future. Signed-off-by: Mike Frysinger commit 8ef929afa43c77c9573caa57c6e17a97a33775c0 Author: Mike Frysinger Date: Sat Apr 4 08:40:13 2009 -0400 Blackfin: add check for anomaly 05000362 DESCRIPTION: The column address width settings for banks 2 and 3 are misconnected in the SDRAM controller. Accesses to bank 2 will result in an error if the Column Address Width for bank 3 (EB3CAW ) is not set to be the same as that of bank 2. WORKAROUND: If using bank 2, make sure that banks 2 and 3 have the same column address width settings in the EBIU_SDBCTL register. This must be the case regardless of whether or not bank 3 is enabled. Signed-off-by: Mike Frysinger commit c2e07449f546fb375289cdac1a608fdc20357873 Author: Mike Frysinger Date: Sat Apr 4 08:29:55 2009 -0400 Blackfin: add comment about anomaly 05000430 avoidance Signed-off-by: Mike Frysinger commit 48ab1509254a4c175e4f65c478a978928ffe09ec Author: Mike Frysinger Date: Sat Apr 4 08:10:22 2009 -0400 Blackfin: add workaround for anomaly 05000242 DESCRIPTION: If the DF bit is set prior to a hardware reset, the PLL will continue to divide CLKIN by 2 after the hardware reset, but the DF bit itself will be cleared in the PLL_CTL register. WORKAROUND: Reprogram the PLL with DF cleared if the desire is to not divide CLKIN by 2 after reset. Signed-off-by: Mike Frysinger commit ce1fe4ba6bb9df7c57351436fa17d1af8bbe7916 Author: Mike Frysinger Date: Sat Apr 4 08:09:24 2009 -0400 Blackfin: add workaround for anomaly 05000171 DESCRIPTION: The Boot ROM is executed at power up/reset and changes the value of the SICA_IWR registers from their default reset value of 0xFFFF, but does not restore them. WORKAROUND: User code should not rely on the default value of these registers. Set the desired values explicitly. Signed-off-by: Mike Frysinger commit 51ee6e057f7a920e2a125cd9f985d10f625e355f Author: Mike Frysinger Date: Sat Apr 4 08:22:36 2009 -0400 Blackfin: update anomaly sheets Signed-off-by: Mike Frysinger commit a343ba87ea0320ca0a4ecfa2c42cd9d4f18883df Author: Graf Yang Date: Sat Apr 4 07:45:57 2009 -0400 Blackfin: nand: flush peripheral before polling it We need to make sure the data written to the nand flash controller makes it there before we start polling its status register. Otherwise, we may get stale data and return before the controller is actually ready. Signed-off-by: Graf Yang Signed-off-by: Mike Frysinger Acked-by: Scott Wood commit 3ccbfb25f48af78e7092ac75f3115e924e76c748 Author: Remy Bohmer Date: Sun Apr 5 11:43:28 2009 +0200 Support for PXA27X UDC. This Patch adds Support for PXA27X UDC. (Rebased to drivers/usb reorganisation) Signed-off-by: Vivek Kutal Signed-off-by: Remy Bohmer commit 2731b9a86685190d26b1883f27afda5ac8e1a313 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri Apr 3 12:46:58 2009 +0200 drivers/usb: regorganisation move to linux usb driver organisation as following drivers/usb/gadget drivers/usb/host drivers/usb/musb Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Remy Bohmer commit d04371a116d102e587ba7aa4c329b441cdbea3f4 Author: Todor I Mollov Date: Sat Apr 4 06:53:06 2009 -0400 Blackfin: spi: make cs deassert function deterministic Blackfin SPI driver was not driving the SPI chip-select high before putting the chip-select signals into tri-state mode. This is probably something that slipped by unnoticed in most designs. If the signals are put directly into a tri-state mode, then the board is relying on the pull-up resistors to pull up the chip-select before the next transaction. Most of the time this is fine, except when you have two transactions that follow each other very closely, such as the flash erase and read status register commands. In this case I was seeing a 500ns separation between the transactions. In my setup, with a 10kOhm pull-up, it would meet timing spec about half the time and resulted in intermittent errors. (A stronger pull up would fix this, but our design is targeted for low power consumption and a 3.3kOhm @ 3.3v is 3.3mW of needless power consumption.) I modified the spi_cs_deactivate() function in bfin_spi.c to drive the chip-selects high before putting them into tri-state. For me, this resulted in a rise time of 5ns instead of the previous rise time of about 1us, and fully satisfied the timing spec of the chip. Signed-off-by: Todor I Mollov Signed-off-by: Mike Frysinger commit c6fadb9c73a6a3e0c7f20696e978304a593a8d2d Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat Dec 13 21:08:05 2008 +0100 integratorap: fix PCI support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 1c397508c836dfcb01fb2471c71de0727051f117 Author: Dirk Behme Date: Mon Mar 30 21:15:23 2009 +0200 OMAP3: Update Overo pin mux for new expansion board A new Overo expansion board uses GPIO 14, 21, 22 and 23 for LED's and switches. This patch changes the pinmux configuration for those pins. They were previously set up for unused MMC3_DAT4-7. Signed-off-by: Steve Sakoman Signed-off-by: Dirk Behme commit ab298231518675b3784aea88ee9b978438f99e63 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Apr 5 13:08:03 2009 +0200 arm: unify reset command Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit b3acb6cd4059dfb29a5e99095d802717f53ff784 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Apr 5 13:06:31 2009 +0200 arm: clean cache management unify arm cache management except for non standard cache as ARM7TDMI Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 677e62f43235de9a1701204d7bcea0fb3d233fa1 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Apr 5 13:02:43 2009 +0200 arm: update co-processor 15 access import system.h from linux Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 23e4af49e066a53cd3e3659b68ef90572d88de84 Author: Guennadi Liakhovetski Date: Sun Apr 5 00:42:02 2009 +0200 ARM: add the imx31_phycore_eet target to MAINTAINERS imx31_phycore_eet is a variant of the imx31_phycore board with a few extensions, which justifies a separate entry in the MAINTAINERS list, whereas normally all entries sharing a single configuration file and a board/ directory have only one entry in MAINTAINERS. Reported-by: Wolfgang Denk Signed-off-by: Guennadi Liakhovetski commit 69c5bf29908b3a7f8e23bd9891b7ecc5b21f23e5 Author: Guennadi Liakhovetski Date: Sun Apr 5 00:37:07 2009 +0200 ARM: fix out-of-tree build of imx31_phycore_eet Fix out-of-tree build of the imx31_phycore_eet target. Reported-by: Wolfgang Denk Signed-off-by: Guennadi Liakhovetski commit 3c853f31d6a8e4407f73a2ca2c63d383a245f237 Author: Jon Smirl Date: Sat Apr 4 17:44:51 2009 -0400 mpc5200: reduce delays in i2c The previous code waited 1000us before checking i2c status. Measurement shows i2c is usually ready in under 50us. Change the polling interval to 15us, loop 6,667 times to keep the polling timeout constant at 100ms. commit 36003268968949110ef145d9f2eaf8439c96d25b Author: Sanjeev Premi Date: Fri Apr 3 14:00:07 2009 +0530 OMAP: Fix compile issue Fixes this compile error: board.c: In function 'do_switch_ecc': board.c:339: error: 'cmd_tbl_t' has no member named 'help' make[1]: *** [board.o] Error 1 make[1]: Leaving directory `/db/psp_git/users/a0756819/u-boot/cpu/arm_cortexa8/omap3' make: *** [cpu/arm_cortexa8/omap3/libomap3.a] Error 2 This is due to the fact that current command uses long help for the usage print even if the CONFIG_SYS_LONGHELP is not enabled. (Thanks Jean-Christophe for explanation). Signed-off-by: Sanjeev Premi commit 342c1a5d9ab74febf3226a86216dc5aa05295d46 Author: Minkyu Kang Date: Fri Apr 3 09:56:16 2009 +0900 s3c64xx: fix the wrong gpio offset This patch fix the wrong gpio offset Signed-off-by: Minkyu Kang commit ab0689c316c9b2ee33f4de1c50263b64e539f12a Author: Kyungmin Park Date: Wed Nov 26 10:18:13 2008 +0900 Move machine specific code to board at s3c64xx (v2) Move machine specific code to smdk6400. Some board use OneNAND instead of NAND. Some register MP0_CS_CFG[5:0] are controled by both h/w and s/w. So it's better to use macro instead of hard-coded value. Signed-off-by: Kyungmin Park commit 767f3acd9f6e1dcb8ada926c333945382eddc7e8 Author: Tom Rix Date: Wed Apr 1 22:02:19 2009 -0500 ZOOM1 Remove legacy NAND defines Signed-off-by: Tom Rix commit 5891151707ee5902fe62d554c247f42865815757 Author: Tom Rix Date: Wed Apr 1 22:02:20 2009 -0500 OMAP3 Fix multiline formatting in board init files. Signed-off-by: Tom Rix commit c0a14aedc3440d6591b8c86d45861a0a8b46e11d Author: Wolfgang Denk Date: Sun Apr 5 00:27:57 2009 +0200 Update CHANGELOG, coding style cleanup. commit f63728c804ab7413a67d70f6774cd30c3f7b40fb Author: Wolfgang Denk Date: Sun Apr 5 00:18:44 2009 +0200 One more fix for building env_embedded.o In addition to the changes for CONFIG_ENV_IS_IN_FLASH as done in commit afcbce07, we also need to do the same for CONFIG_ENV_IS_IN_EEPROM and CONFIG_ENV_IS_IN_NVRAM. Signed-off-by: Wolfgang Denk commit e3d1ac7bb1955d36980d267cb4cec40b0f7d30b5 Author: Scott Wood Date: Thu Apr 2 16:15:10 2009 -0500 common/image.c: Relocate strings in tables. Without this, u-boot can crash or print garbage if the original link address no longer points to a valid string. Signed-off-by: Scott Wood commit 3a671fc06ae1d9e8eba76600372317c75ae0eb3e Author: Scott Wood Date: Thu Apr 2 16:10:36 2009 -0500 mpc8260: Fill in brg's clock-frequency in device tree. Signed-off-by: Scott Wood commit c73ed274a211699739d83c2cef92853dc6716e15 Author: Scott Wood Date: Thu Apr 2 18:20:43 2009 -0500 MPC8260ADS: Add nfsboot/ramboot to default environment. This brings it in line with other Freescale boards. Signed-off-by: Scott Wood commit c203ef5db0476a8c4f6dd86b2e9e9db0ea973f84 Author: Andreas Huber Date: Thu Apr 2 17:15:34 2009 +0200 UBI/cfi-mtd: Fix mtd name for multiple chips On platforms with multiple NOR chips, currently only the first one can be selected using the "ubi part" command. This patch fixes this problem by using different names for the NOR "mtd devices". It also changes the name of the NOR MTD device from "cfi-mtd" to "norX" (X indexing the device numer) to better match the mtdparts defaults. Signed-off-by: Stefan Roese Signed-off-by: Andreas Huber commit 6b6bb02f27fcabfb37ea717fb7e243248e1e2acf Author: Peter Korsgaard Date: Tue Mar 31 17:52:16 2009 +0200 tools/setlocalversion: use git svn instead of git-svn Use the new "git " syntax instead of the deprecated "git-". Signed-off-by: Peter Korsgaard commit 7fa96a9a54eb0d87d73888ec2565cda790ba0dff Author: Mingkai Hu Date: Tue Mar 31 14:09:40 2009 +0800 eSPI: add the eSPI register support Signed-off-by: Mingkai Hu commit 869f6bf4def5a053fbd1aecd8b2fc36f05196c0b Author: Minkyu Kang Date: Mon Mar 30 14:55:51 2009 +0900 cmd_mmc: add support for device command for selecting mmc device This patch improves device command for selecting mmc device Signed-off-by: Minkyu Kang commit 9abc9ef8fbe079bf75a634ce64b7dcdb7b0d8bdc Author: Alan Carvalho de Assis Date: Sat Mar 28 19:50:16 2009 -0300 Small fix to m5282evb This is just a small fix to get u-boot on m5282evb. Signed-off-by: Alan Carvalho de Assis commit febd7e4174e54579c9aa165c85c519fe5288f9d2 Author: Artem Bityutskiy Date: Fri Mar 27 10:21:14 2009 +0100 UBIFS: add R/O compatibility Now UBIFS is supported by u-boot. If we ever decide to change the media format, then people will have to upgrade their u-boots to mount new format images. However, very often it is possible to preserve R/O forward-compatibility, even though the write forward-compatibility is not preserved. This patch introduces a new super-block field which stores the R/O compatibility version. Signed-off-by: Artem Bityutskiy Acked-by: Adrian Hunter Signed-off-by: Stefan Roese commit 852dbfdd56f68eb67d138b306a64e4de58dabb91 Author: Mike Frysinger Date: Mon Mar 23 22:27:34 2009 -0400 more command usage cleanup Fix up a few dangling commands like in "Command usage cleanup" commit. Signed-off-by: Mike Frysinger commit b93b24bf76f8a8220b236df3a5f30b2204eb4edc Author: Ladislav Michl Date: Mon Mar 23 12:06:07 2009 +0100 Separate mtdparts command from jffs2 On Thu, Mar 19, 2009 at 01:30:36PM +0100, Stefan Roese wrote: > Currently the mtdparts commands are included in the jffs2 command support. > This doesn't make sense anymore since other commands (e.g. UBI) use this > infrastructure as well now. This patch separates the mtdparts commands from > the jffs2 commands making it possible to only select mtdparts when no JFFS2 > support is needed. ... and to make it useful for NAND chips as well, we should also remove now unrelated CONFIG_JFFS2_NAND. Note that struct part_info etc is in jffs2/load_kernel.h which is a bit misleading filename for that purpose, but that can be fixed later (tm). Signed-off-by: Ladislav Michl commit b196ca75503ce307c535b87bf47d51f05e7530df Author: Mike Frysinger Date: Sun Mar 22 22:18:01 2009 -0400 smc91111_eeprom: move board-specific init into SMC91111_EEPROM_INIT() Rather than sticking Blackfin-specific stuff into the eeprom example, use an indirect macro so that any board can override it with their own magic sauce in their board config file. Also fix some spurious semi-colons in defines while I'm at it ... Signed-off-by: Mike Frysinger CC: Ben Warren commit f5cf2ef2ad2a8bf321712ab460ed846120163d74 Author: Sascha Hauer Date: Sat Mar 21 09:38:46 2009 -0400 mpc52xx phy: initialize only when needed Do not initialize phy on startup, instead initialize it when we actually need it. Signed-off-by: Sascha Hauer commit 03bab0091948196b9558248684c04f60943ca4b5 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Mon Mar 30 16:51:40 2009 +0200 at91sam9263ek: enable hush and auto complete support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Acked-by: Stelian Pop commit 4758ebdd53571d4d183be5c2db8f0ee4ef368915 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri Mar 27 23:26:44 2009 +0100 at91: move dataflash spi driver to drivers/spi Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 2b7178afce59f71e95da657273f4132012098c1f Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri Mar 27 23:26:44 2009 +0100 at91: move usb driver to drivers/usb Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit f82518d7f443ebac5f8821103a3c521c963aa6ee Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri Mar 27 23:26:43 2009 +0100 at91rm9200: Reset update Update the rm9200 reset sequence to try executing a board-specific reset function and move specific board reset to board. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 3524049cd053746298e4cfab2449882e75c146fc Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri Mar 27 23:26:43 2009 +0100 at91rm9200: move serial shutdown code to serial drivers introduce serial_exit for this purpose. Use it only when the rm9200 serial driver is active Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit beebd851cdbc9dd070bcdfec1fd8f17e3cc91bc0 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri Mar 27 23:26:43 2009 +0100 at91rm9200: move serial driver to drivers/serial add CONFIG_AT91RM9200_USART to activate the driver Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit cb82a532669f6b02225ec3429ea4d49ff2b97d0a Author: Ulf Samuelsson Date: Fri Mar 27 23:26:43 2009 +0100 Add support for the AT91RM9200EK Board. The AT91RM9200-EK Evaluation Board supports the AT91RM9200 ARM9-based 32-bit RISC microcontroller and enables real-time code development and evaluation. Here is the chip page on Atmel website: http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3507 with - NOR (cfi driver) - DataFlash - USB OHCI - Net - I2C (hard) Signed-off-by: Ulf Samuelsson Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit b9c0e4c29e3ec12668ac50e954e7c9ba8f7aa10a Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri Mar 27 23:26:42 2009 +0100 add dataflash mmc mux missing support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 2a325ce3c705ab2d82760afc541c511328472df8 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri Mar 27 23:26:42 2009 +0100 at91rm9200dk: Move conditional compilation to Makefile Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 90a92a708d5180a20d600ba0fc2352ec76dc3829 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri Mar 27 23:26:42 2009 +0100 at91: rename DATAFLASH_MMC_SELECT to CONFIG_DATAFLASH_MMC_SELECT Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 843a2654bce74192de2b5a43474fdc27a572ab40 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri Mar 27 23:26:42 2009 +0100 at91sam9: add watchdog support Signed-off-by: Nicolas Ferre Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit a47492ac60657dd9d59c713aa049319ea6eabd52 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri Mar 27 13:14:52 2009 +0100 at91sam9/at91cap: spi init add hardware chip select support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 66932ac3929c7a145a6ef6574a96fd7535154951 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat Apr 4 19:15:40 2009 +0200 netstar: fix crc32.c dependancy location Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 42f9ebff2f758bef524780a00c712eb63a72d99b Author: Scott Wood Date: Fri Apr 3 15:24:40 2009 -0500 MPC8260ADS: Define CONFIG_HAS_ETH0. This is required so that the MAC address will be updated in the device tree. Signed-off-by: Scott Wood commit 8701eceffdf77e2908d0b58add0dabc16edf6087 Author: Scott Wood Date: Fri Apr 3 15:26:45 2009 -0500 PQ2FADS: Enable PCI. PCI on PQ2FADS is very similar to PCI on MPC8272ADS. Signed-off-by: Scott Wood commit 83863df04bd30bfe2430b0c43ca9f78596d3f0bc Author: Wolfgang Denk Date: Sat Apr 4 16:57:50 2009 +0200 Fix quoting bug introduced by commit 74de7aef Signed-off-by: Wolfgang Denk commit ecf3fb223a56e3c6aa696d94d694eeaca0f44d33 Author: Wolfgang Denk Date: Sat Apr 4 16:14:51 2009 +0200 Fix implicit declaration of function 'htons' Include instead of to get htons() prototpye. Signed-off-by: Wolfgang Denk commit e6a6789f41f0560ce280089fbd3f1bd0f0f64306 Author: Kumar Gala Date: Sat Apr 4 10:21:02 2009 -0500 fsl_law: Fix bug in calculation of LAW sizing In set_ddr_laws() when we determined how much of the size requested to be mapped was covered by the the first LAW we needed to recalculate the size based on what was actually mapped. Signed-off-by: Kumar Gala commit 32049b4048ff8e59bd5ba6160d6d5206d283b2a2 Author: Kumar Gala Date: Thu Apr 2 13:57:05 2009 -0500 fsl_pci: Move prototypes into fsl_pci.h and remove explicit externs Signed-off-by: Kumar Gala commit c8514622e2713d9c47919acfe23fce386782afe7 Author: Kumar Gala Date: Thu Apr 2 13:22:48 2009 -0500 fsl_pci: Renamed immap_fsl_pci.h to fsl_pci.h Rename the pci header for FSL HW so we can move some prototypes in there and stop doing explicit externs Signed-off-by: Kumar Gala commit afcbce07e9323c0e8aeb783ba7ce6104860fd7a7 Author: Wolfgang Denk Date: Sat Apr 4 16:10:40 2009 +0200 Fix building of env_embedded.o Since commit a706bfc7 common/env_embedded.o and tools/envcrc were only built when CONFIG_ENV_IS_EMBEDDED was set, but this breaks building for many boards. We always have to build these files when CONFIG_ENV_IS_IN_FLASH is set. Signed-off-by: Wolfgang Denk commit a31e091ad70915278fb15b79d6ae53ea2d44b251 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat Apr 4 12:49:11 2009 +0200 rename include/zlib.h to include/u-boot/zlib.h Some systems have zlib.h installed in /usr/include/. This isn't the desired file for u-boot code - we want the one in include/zlib.h. This rename will avoid the conflict. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Mike Frysinger commit ae644c178f097874a92a6d934f364985fc7e075a Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat Apr 4 12:46:31 2009 +0200 tools/Makefile: fix image.c dependancy location Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Mike Frysinger commit b074a7081124d7f05fd1651a3bc0b5579fdfa473 Author: Mike Frysinger Date: Sat Apr 4 07:42:25 2009 -0400 tools: add ncb to gitignore Signed-off-by: Mike Frysinger commit 453c0d7558215cbc8636d94af172886d84e0dbba Author: Detlev Zundel Date: Fri Apr 3 16:45:46 2009 +0200 include/ns16550.h: Unify structure declaration for registers Instead of special casing the different access patterns, use common code with light macros sprinkled in to accomodate for the different layouts of the register structure. Note that this also changes the types of the registers for the "positively packed (>1)" cases. As the registers truly are unsigned chars, this is surely the Right Thing, but it is a semantic change. Note that for this case depending on the endianness on the bus, we may see a change of behaviour. Signed-off-by: Detlev Zundel commit 0a145ce6e7075aa0f4869d6f6149a5ff205d95df Author: Peter Tyser Date: Fri Mar 13 18:54:52 2009 -0500 Delete now unused tools/Makefile.win32 Signed-off-by: Peter Tyser commit 2f8d396b9302eddcd8d552648e101a46b7a80acd Author: Peter Tyser Date: Fri Mar 13 18:54:51 2009 -0500 Add support for building native win32 tools Add support for compiling the host tools in the tools directory using the MinGW toolchain. This produces executables which can be used on standard Windows computers without requiring cygwin. One must specify the MinGW compiler and strip utilities as if they were the host toolchain in order to build win32 executables, eg: make HOSTCC=i586-mingw32msvc-gcc HOSTSTRIP=i586-mingw32msvc-strip tools Signed-off-by: Peter Tyser commit e50abf662efbf4ce0e731062c8d3c8ec54763ae2 Author: Peter Tyser Date: Fri Mar 13 18:54:50 2009 -0500 tools/Makefile: Simplify HOST_CFLAGS/HOST_LDFLAGS generation Signed-off-by: Peter Tyser commit b0d4d7219a4806e46affc96bd1f65397194a6e72 Author: Peter Tyser Date: Fri Mar 13 18:54:49 2009 -0500 tools/Makefile: Create generic build rules Create a few generic build rules to replace the current method which has 1 build target for each file Signed-off-by: Peter Tyser commit 273174ddbcce215c42f6c307470cd5580a3f72bf Author: Peter Tyser Date: Fri Mar 13 18:54:48 2009 -0500 tools/Makefile: Use auto-generated object file dependencies Files in the SRCS variable have their dependencies automatically generated so remove duplicate explicit dependencies Signed-off-by: Peter Tyser commit fb8b33c1e6d621ea3347a75ad3a42a386b44e589 Author: Peter Tyser Date: Fri Mar 13 18:54:47 2009 -0500 tools/Makefile: Remove symlinks for remaining source files Signed-off-by: Peter Tyser commit eed073315b6447eceadf7468a4c2b757442c7c6f Author: Peter Tyser Date: Fri Mar 13 18:54:46 2009 -0500 tools/Makefile: Dynamically generate libfdt object dependencies Add the libfdt files to the SRCS variable so that they have their dependencies automatically generated Signed-off-by: Peter Tyser commit c0170175393b94560fa7a5da6dd31377df5f4a72 Author: Peter Tyser Date: Fri Mar 13 18:54:45 2009 -0500 tools/Makefile: Remove symlinks for fdt targets Signed-off-by: Peter Tyser commit 45d6bdff68877ea214ff33cc1c89a29c76e96f51 Author: Peter Tyser Date: Fri Mar 13 18:54:44 2009 -0500 tools/Makefile: Add libfdt/ to the include search path This change makes the process of symlinking libfdt_internal.h unnecessary Signed-off-by: Peter Tyser commit fba0e3a0814f9bf48c32a4c8a7987c36ae96651b Author: Peter Tyser Date: Fri Mar 13 18:54:43 2009 -0500 tools: Remove unecessary symlinking of zlib.h crc32.c uses the zlib.h header in include/u-boot/zlib.h. The symlink was previously necessary to give U-Boot's version of zlib.h precedence over the host computer's version of zlib.h. Signed-off-by: Peter Tyser commit 40b8d909ace06f6f494dee08ffa64a82493e72e9 Author: Peter Tyser Date: Fri Mar 13 18:54:42 2009 -0500 tools/Makefile: Add tools/ to the include search path This change makes the process of symlinking mkimage.h and fdt_host.h unnecessary Signed-off-by: Peter Tyser commit 1cd300de5e19c9e8383ee2eb2b6bd3b8b9378c78 Author: Peter Tyser Date: Fri Mar 13 18:54:41 2009 -0500 tools/Makefile: Compile ncb when CONFIG_NETCONSOLE Also conditionally add ncb.o to OBJ_FILES list Signed-off-by: Peter Tyser commit 123c48a21ce08b4a33f36e96cc75f92324e761d7 Author: Peter Tyser Date: Fri Mar 13 18:54:40 2009 -0500 tools/Makefile: Make gen_eth_addr dependent upon CONFIG_CMD_NET Signed-off-by: Peter Tyser commit 4d93a0a807b8ca0289ba5da00c646cd2d54af120 Author: Peter Tyser Date: Fri Mar 13 18:54:39 2009 -0500 tools/Makefile: Make envcrc dependent upon CONFIG_ENV_IS_EMBEDDED Signed-off-by: Peter Tyser commit cd26a31a23f9a58ba52870f8ffb57d77d1baee20 Author: Peter Tyser Date: Fri Mar 13 18:54:38 2009 -0500 tools/Makefile: Make inca-swap-bytes dependent on CONFIG_INCA_IP Signed-off-by: Peter Tyser commit 7cd5cbc34699ccc15d0277f48375cad928d04faf Author: Peter Tyser Date: Fri Mar 13 18:54:37 2009 -0500 tools/Makefile: Make ubsha1 dependent upon CONFIG_SHA1_CHECK_UB_IMG Signed-off-by: Peter Tyser commit eeba8617908e33f7e7db3b1588c04ca65b856793 Author: Peter Tyser Date: Fri Mar 13 18:54:36 2009 -0500 tools/Makefile: Make img2srec dependent upon CONFIG_CMD_LOADS Signed-off-by: Peter Tyser commit 335ffe7e0e0a30e90ce409c3279016a582157d8e Author: Peter Tyser Date: Fri Mar 13 18:54:35 2009 -0500 tools/Makefile: Build bmp_logo only when LCD or VIDEO logos are enabled Signed-off-by: Peter Tyser commit ee3584a5970230ee96aae19505ad3226734ee4ff Author: Peter Tyser Date: Fri Mar 13 18:54:34 2009 -0500 tools/Makefile: Split variable declarations into multiple lines Split variable declarations into multiple lines and use the standard VAR-y convention. Also move object and binary variable declarations to after config.mk has been included to allow for these lists to utilize the CONFIG_XXX variables. These changes lay the groundwork for conditional compilation of files in the tools directory. Signed-off-by: Peter Tyser commit 21d28e95ed874ab1ed9787f939d8a53e99d30ddb Author: Peter Tyser Date: Fri Mar 13 18:54:33 2009 -0500 tools/Makefile: Remove inappropriate double-tabs Signed-off-by: Peter Tyser commit 652f4ba076689fd0acd447561a777b1c440a4b57 Author: Peter Tyser Date: Fri Mar 13 18:54:32 2009 -0500 tools/Makefile: Remove HOSTARCH HOSTOS defines The values of HOSTARCH and HOSTOS which are exported from the top-level Makefile should be used Signed-off-by: Peter Tyser commit 2eeb4e95fbfafe54645fae7ec0b2594101f0573b Author: Peter Tyser Date: Fri Mar 13 18:54:31 2009 -0500 gen_eth_addr: Use POSIX rand() and srand() Replace random()/srandom() use with rand()/srand() to support compilation with the mingw toolchain. The rand()/srand() functions are generally more common and are functionally equivalent to the original random()/srandom() calls. Signed-off-by: Peter Tyser commit 24d2ae5e9debe4b75151a55251031a14477fa875 Author: Peter Tyser Date: Fri Mar 13 18:54:28 2009 -0500 elf.h: Use stdint.h to provide standard typedefs for WIN32 The original code provided an incomplete set of typedefs for WIN32 compiles and replicated the standard typedefs that are already provided by stdint.h Signed-off-by: Peter Tyser commit a706bfc7d0e2d1935c5670045288e6cd1ffdfabc Author: Peter Tyser Date: Fri Mar 13 18:54:27 2009 -0500 common/Makefile: Conditionally compile env_embedded.o Signed-off-by: Peter Tyser commit 2b48f7d5f62835f87278efb498397b6ae9e2d117 Author: Peter Tyser Date: Fri Mar 13 18:54:26 2009 -0500 Makefile: Add removal of *.exe files to clean target Signed-off-by: Peter Tyser commit d0d6144e0e4a03a68311b781f3dde38dc9316b82 Author: Peter Tyser Date: Fri Mar 13 18:54:25 2009 -0500 Makefile: Make autoconf.mk a dependency of the depend target The original code did not generate autoconf.mk until after some targets dependencies had already been calculated, for example the directories in the SUBDIRS variable Signed-off-by: Peter Tyser commit 75eb82ec7cacb18d059d701b35677b93d2bb7596 Author: unsik Kim Date: Wed Feb 25 11:31:24 2009 +0900 mflash: Initial mflash support Mflash is fusion memory device mainly targeted consumer eletronic and mobile phone. Internally, it have nand flash and other hardware logics and supports some different operation (ATA, IO, XIP) modes. IO mode is custom mode for the host that doesn't have IDE interface. (Many mobile targeted SoC doesn't have IDE bus) This driver support mflash IO mode. Followings are brief descriptions about IO mode. 1. IO mode based on ATA protocol and uses some custom command. (read confirm, write confirm) 2. IO mode uses SRAM bus interface. Signed-off-by: unsik Kim commit 200779e3e2a9aeda7030b171a8c39d7797019917 Author: Detlev Zundel Date: Fri Apr 3 11:53:01 2009 +0200 Rename common ns16550 constants with UART_ prefix to prevent conflicts Fix problems introduced in commit 7b5611cdd12ca0cc33f994f0d4a4454788fc3124 [inka4x0: Add hardware diagnosis functions for inka4x0] which redefined MSR_RI which is already used on PowerPC systems. Also eliminate redundant definitions in ps2mult.h. More cleanup will be needed for other redundant occurrences though. Signed-off-by: Detlev Zundel commit 99067b08f4a0ce20ff337a35211239f334d8f451 Author: Scott Wood Date: Wed Apr 1 15:33:24 2009 -0500 Noisily disable the legacy NAND subsystem. Legacy NAND is marked for feature removal after April 2009 (i.e. this upcoming release). There are still several boards that reference it (though many do so only for disk-on-chip support which has been silently disabled for a while now). These boards will now fail to build with #error, though the code is still there if the user removes #error. The plan is to remove the code outright in the next release, along with any board code that refers to it (such as board/esd/common/auto_update.c). Also, remove the legacy NAND API description from README.nand. Signed-off-by: Scott Wood commit 69bcabb51686fdd133cb1848c0d3b0a4fc6ca5cf Author: apgmoorthy Date: Fri Mar 27 14:45:23 2009 +0530 Fix OneNAND ipl to read CONFIG_SYS_MONITOR_LEN Currently OneNAND initial program loader (ipl) reads only block 0 ie 128KB. However, u-boot image for apollon board is 195KB making the board unbootable with OneNAND. Fix ipl to read CONFIG_SYS_MONITOR_LEN. CONFIG_SYS_MONITOR_LEN macro holds the U-Boot image size. Signed-off-by: Rohit Hagargundgi Signed-off-by: Gangheyamoorthy Signed-off-by: Scott Wood commit 74de7aefd79690bae8cf5a5120f5962d444be089 Author: Wolfgang Denk Date: Wed Apr 1 23:34:12 2009 +0200 Add "source" command; prepare removal of "autoscr" command According to the doc/feature-removal-schedule.txt, the "autoscr" command will be replaced by the "source" command in approximately 6 months from now. This patch prepares this change and starts a 6 month transition period as follows: - The new "source" command has been added, which implements exactly the same functionlaity as the old "autoscr" command before - The old "autoscr" command name is kept as an alias for compatibility - Command sequences, script files atc. have been adapted to use the new "source" command - Related environment variables ("autoscript", "autoscript_uname") have *not* been adapted yet; these will be renamed resp. removed in a separate patch when the support for the "autoscr" command get's finally dropped. Signed-off-by: Wolfgang Denk commit 78237df55248034a2d7c2daea992b9dbe7ca8e96 Author: Wolfgang Denk Date: Thu Apr 2 17:31:09 2009 +0200 Add "GPL cleanup" task to feature-removal-schedule.txt Announce removal of all non-GPL or GPL-incompatible files after August 2009. Signed-off-by: Wolfgang Denk commit d9596ffbdc79cea285010b67dd20a4618303f624 Author: Mike Frysinger Date: Thu Apr 2 12:51:28 2009 -0400 sf: stmicro: dont send 4 bytes when reading status register I can't find anywhere in the datasheet that says the status register needs 3 dummy bytes sent to it before being able to read back the first real result. Tests on a Blackfin board show that after writing the opcode, the status register starts coming back immediately. So only write out the read status register opcode before polling the result. Signed-off-by: Mike Frysinger CC: Jason McMullan CC: TsiChung Liew commit 1abe365ffcfc29c061e8fd8b45551be5ad1428dd Author: Mike Frysinger Date: Thu Apr 2 08:11:31 2009 -0400 sf: set common timeouts in seconds, not milliseconds Since timeouts are only hit when there is a problem in the system, we don't want to prematurely timeout on a functioning setup. Thus having low timeouts (in milliseconds) doesn't gain us anything in the production case, but rather increases likely hood of causing problems where none otherwise exist. Signed-off-by: Mike Frysinger CC: Haavard Skinnemoen commit 2a6ce1115b3cbe746965cfa0058ce645b6c1ada1 Author: Mike Frysinger Date: Thu Apr 2 06:51:49 2009 -0400 sf: stmicro: use common page timeout define Signed-off-by: Mike Frysinger CC: Haavard Skinnemoen commit 0dcdbb172c2fdf60c5c578980308b312fd56496f Author: Mike Frysinger Date: Sat Mar 28 06:41:09 2009 -0400 sf: always read 5 bytes for the idcode Some SPI flash drivers like to have extended id information available (like the spansion flash), so rather than making it re-issue the ID cmd to get at the last 2 bytes, have the common code read 5 bytes rather than just 3. This also matches the Linux behavior where it always reads 5 id bytes from all flashes. Signed-off-by: Mike Frysinger Acked-by: Haavard Skinnemoen CC: Mingkai Hu commit 9726ba4abaa16cd6c385ad350d403f98a8eacf52 Author: Mike Frysinger Date: Fri Mar 27 16:34:21 2009 -0400 sf: stmicro: drop redundant id read The common SPI flash code reads the idcode and passes it down to the SPI flash driver, so there is no need to read it again ourselves. Signed-off-by: Mike Frysinger Acked-by: Haavard Skinnemoen CC: Jason McMullan CC: TsiChung Liew commit 1c5874374e091b4bb62917c519861f7682fe066e Author: Mike Frysinger Date: Fri Mar 27 19:27:58 2009 -0400 sf: add driver for SST flashes Signed-off-by: Mike Frysinger Acked-by: Haavard Skinnemoen commit f773a1bbdb8f3bf1ddab2874f36f043c4f8f044d Author: Mike Frysinger Date: Mon Mar 23 23:03:58 2009 -0400 sf: drop DEBUG defines Signed-off-by: Mike Frysinger Acked-by: Haavard Skinnemoen commit 6b850a9fa8a216f3692da2511cb1a6c16409b1af Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Jan 4 07:44:07 2009 +0100 mtd: add some at45 spi flash support - AT45DB321D - AT45DB161D - AT45DB081D - AT45DB041D - AT45DB021D - AT45DB011D Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Mike Frysinger commit 6805e4bf83e6f444f7411101228766c8a7aec5f7 Author: Mingkai Hu Date: Tue Mar 31 14:09:41 2009 +0800 mtd: SPI Flash: Support the Spansion Flash Add MTD SPI Flash support for S25FL008A, S25FL016A, S25FL032A, S25FL064A, S25FL128P. Signed-off-by: Mingkai Hu Signed-off-by: Mike Frysinger commit 40587701924aa0afc86b3840421b4cc6de42c748 Author: Mike Frysinger Date: Mon Mar 30 20:56:45 2009 -0400 Blackfin: force all boards to HZ of 1000 Since the Blackfin timer code requires HZ to be 1000, barf on any board that tries to use a different value. Signed-off-by: Mike Frysinger commit f4032d2eec9d71a59c6c724671e577f67a76839b Author: Mike Frysinger Date: Fri Mar 27 21:07:45 2009 -0400 Blackfin: bf533-stamp: drop old spi flash driver Now that the common SPI flash code supports all the flashes, we can stop using the old driver. Signed-off-by: Mike Frysinger commit bc72f50a659d0d1b551817e1910b9b2be1c7e496 Author: Mike Frysinger Date: Thu Mar 26 15:42:12 2009 -0400 Blackfin: add BF538/BF539 SPI portmux handling Signed-off-by: Mike Frysinger commit 46ac352f0f9406a5f9aa157ac62867fb4650dfd3 Author: Mike Frysinger Date: Mon Mar 23 22:36:10 2009 -0400 Blackfin: do not delay on output bytes Signed-off-by: Mike Frysinger commit dbc6ab9f75bd0c13d3f42692e9463f8ab65fc382 Author: Mike Frysinger Date: Mon Mar 23 22:17:27 2009 -0400 Blackfin: drop newline from OTP help Looks like I accidentally added a newline to the OTP help when merging and older change. Signed-off-by: Mike Frysinger commit d3c38d96b991d641a33f7748130dae008563cdc9 Author: Mike Frysinger Date: Sun Mar 22 23:43:31 2009 -0400 Blackfin: convert bfin_sdh to legacy mmc The Blackfin SDH controller is still using the legacy framework, so update the driver to use the renamed functions. Signed-off-by: Mike Frysinger commit d248cfb2d940b742f6bfdba9b832a3df96da3101 Author: Mike Frysinger Date: Sun Feb 22 16:30:38 2009 -0500 Blackfin: bf537-stamp: split CF/IDE code out into dedicated cf-ide.c Signed-off-by: Mike Frysinger commit ad9073211ca9e62162a39851e082b8d07a662fb6 Author: Mike Frysinger Date: Fri Feb 13 17:10:58 2009 -0500 Blackfin: fix crash when booting from external memory When testing a u-boot binary that hasn't been booted from the bootrom, we have to make sure the bootstruct structure has sane storage space. If we don't, the initcode will crash when it tries to dereference an invalid pointer. Signed-off-by: Mike Frysinger commit 84a9dda324c3faa56be14449d7519b993d9397a9 Author: Mike Frysinger Date: Sun Oct 12 21:32:52 2008 -0400 Blackfin: bf518f-ezbrd: new board port Signed-off-by: Mike Frysinger commit 0c31ddf7b70f77dede42dc82ecab7753a819acaa Author: Mike Frysinger Date: Sun Oct 12 21:30:48 2008 -0400 Blackfin: bf526-ezbrd: new board port Signed-off-by: Mike Frysinger commit 5c45f7cac2f74e2c14aa6b028cd969651cc9ac8e Author: Mike Frysinger Date: Sun Oct 12 21:25:33 2008 -0400 Blackfin: bf538f-ezkit: new board port Signed-off-by: Mike Frysinger commit d9a5d113b93583c984711127ab8503e136ed1e4a Author: Mike Frysinger Date: Sun Oct 12 20:59:12 2008 -0400 Blackfin: bf527-ezkit: new board port Signed-off-by: Mike Frysinger commit 76d21803ddd7dc4bcb81739ea2d3cd679e052f46 Author: Mike Frysinger Date: Sun Oct 12 05:05:42 2008 -0400 Blackfin: bf548-ezkit: new board port Signed-off-by: Mike Frysinger commit 67b89c79e72fe86b0ea0199425d880630beb95d8 Author: Laurent Gregoire Date: Tue Mar 3 14:23:59 2009 +0100 libfdt: Fix C++ compile-time cast error on gnu 4.2.1 Allow the inclusion of libfdt.h in C++ source. Signed-off-by: Laurent Gregoire Acked-by: David Gibson commit 13d93f38e86818739317b0206d597265cf9e675e Author: Emil Medve Date: Mon Feb 23 10:43:36 2009 -0600 Fix a possible overflow case detected by gcc 4.3.2 .../dtc/libfdt/fdt_sw.c: In function 'fdt_end_node': .../dtc/libfdt/fdt_sw.c:81: error: assuming signed overflow does not occur when assuming that (X + c) < X is always false Signed-off-by: Emil Medve commit a22d9cfbb5bcfb3dc6ffd64d391b568e8a0ce383 Author: David Gibson Date: Fri Feb 6 14:03:24 2009 +1100 libfdt: Rework/cleanup fdt_next_tag() Currently, callers of fdt_next_tag() must usually follow the call with some sort of call to fdt_offset_ptr() to verify that the blob isn't truncated in the middle of the tag data they're going to process. This is a bit silly, since fdt_next_tag() generally has to call fdt_offset_ptr() on at least some of the data following the tag for its own operation. This patch alters fdt_next_tag() to always use fdt_offset_ptr() to verify the data between its starting offset and the offset it returns in nextoffset. This simplifies fdt_get_property() which no longer has to verify itself that the property data is all present. At the same time, I neaten and clarify the error handling for fdt_next_tag(). Previously, fdt_next_tag() could return -1 instead of a tag value in some circumstances - which almost none of the callers checked for. Also, fdt_next_tag() could return FDT_END either because it encountered an FDT_END tag, or because it reached the end of the structure block - no way was provided to tell between these cases. With this patch, fdt_next_tag() always returns FDT_END with a negative value in nextoffset for an error. This means the several places which loop looking for FDT_END will still work correctly - they only need to check for errors at the end. The errors which fdt_next_tag() can report are: - -FDT_ERR_TRUNCATED if it reached the end of the structure block instead of finding a tag. - -FDT_BADSTRUCTURE if a bad tag was encountered, or if the tag data couldn't be verified with fdt_offset_ptr(). This patch also updates the callers of fdt_next_tag(), where appropriate, to make use of the new error reporting. Finally, the prototype for the long gone _fdt_next_tag() is removed from libfdt_internal.h. Signed-off-by: David Gibson commit 2c0b843e710aa1e2da25c2592e6dbe5d0b0ab7da Author: David Gibson Date: Fri Feb 6 14:01:56 2009 +1100 libfdt: Rework fdt_next_node() Currently fdt_next_node() will find the next node in the blob regardless of whether it is above, below or at the same level in the tree as the starting node - the depth parameter is updated to indicate which is the case. When a depth parameter is supplied, this patch makes it instead terminate immediately when it finds the END_NODE tag for a node at depth 0. In this case it returns the offset immediately past the END_NODE tag. This has a couple of advantages. First, this slightly simplifies fdt_subnode_offset(), which no longer needs to explicitly check that fdt_next_node()'s iteration hasn't left the starting node. Second, this allows fdt_next_node() to be used to implement _fdt_node_end_offset() considerably simplifying the latter function. The other users of fdt_next_node() either don't need to iterate out of the starting node, or don't pass a depth parameter at all. Any callers that really need to iterate out of the starting node, but keep tracking depth can do so by biasing the initial depth value. This is a semantic change, but I think it's very unlikely to break any existing library users. Signed-off-by: David Gibson commit c123098035be8bae3859bbfbd06861f197c07631 Author: Scott Wood Date: Tue Mar 31 17:49:36 2009 -0500 mpc83xx: Set guarded bit on BAT that covers the end of the address space The mpc8313erdb board currently sets DBAT6 to cover all of the final 256MiB of address space; however, not all of this space is covered by a device. In particular, flash sits at 0xfe000000-0xfe7fffff, and nothing is mapped at the far end of the address space. In zlib, there is a loop that references p[-1] if p is non-NULL. Under some circumstances, this leads to the CPU speculatively loading from 0xfffffff8 if p is NULL. This leads to a machine check. Signed-off-by: Scott Wood continuation to the remaining mpc83xx boards that suffer from the same problem. Signed-off-by: Kim Phillips commit c2eb8be7f760a2efe30a495bfb10857838dcf3fa Author: Kim Phillips Date: Mon Mar 30 14:28:05 2009 -0500 rtc: remove broken rtc_read and rtc_write declarations commit 04e11cf3 "rtc: add support for 4543 RTC (manufactured by e.g. EPSON)" introduces the following build error on boards configuring e.g, the ds1374 rtc: Configuring for MPC837XEMDS board... ds1374.c:103: error: static declaration of 'rtc_read' follows non-static declaration /home/r1aaha/git/u-boot/include/rtc.h:64: error: previous declaration of 'rtc_read' was here ds1374.c:104: error: conflicting types for 'rtc_write' /home/r1aaha/git/u-boot/include/rtc.h:65: error: previous declaration of 'rtc_write' was here this reverts the erroneous chunk. Signed-off-by: Kim Phillips Acked-by: Detlev Zundel CC: Detlev Zundel CC: Andreas Pfefferle commit fc39c2fd51e64707de4d61ed49479ebea2847e1b Author: Kumar Gala Date: Tue Mar 31 17:58:13 2009 -0500 85xx/86xx: Ensure MP boot page is not used We had a bug on 86xx in which the boot page used to bring up secondary cores was being overwritten and used for the malloc region in u-boot. We need to reserve the region of memory that the boot page is going to be put at so nothing uses it. Signed-off-by: Kumar Gala Acked-by: Becky Bruce commit c840d26c752141b94bbc24ac748ddd45752a955a Author: Kumar Gala Date: Tue Mar 31 23:11:05 2009 -0500 85xx: Introduce determine_mp_bootpg() helper. Match determine_mp_bootpg() that was added for 86xx. We need this to address a bug introduced in v2009.03 with 86xx MP booting. We have to make sure to reserve the region of memory used for the MP bootpg() so other u-boot code doesn't use it. Also added a comment about how cpu_reset() is dealing w/an errata on early 85xx MP HW. Signed-off-by: Kumar Gala commit 7649a590b53ee548f41428bf20780f74ce9fc099 Author: Kumar Gala Date: Tue Mar 31 23:02:38 2009 -0500 86xx: Cleanup MP support * Use CONFIG_MP instead of CONFIG_NUM_CPUS to match 85xx * Introduce determine_mp_bootpg() helper. We'll need this to address a bug introduced in v2009.03 with 86xx MP booting. We have to make sure to reserve the region of memory used for the MP bootpg() so other u-boot code doesn't use it. * Added dummy versions of cpu_reset(), cpu_status() & cpu_release() to allow cmd_mp.c to build and work. In the future we should look at implementing all these functions. This could be common w/85xx if we use spin tables on 86xx. Signed-off-by: Kumar Gala commit f6ef8b7a43ed7f68a4bb524faad5e4f75ea3e3e2 Author: Becky Bruce Date: Tue Mar 31 18:38:37 2009 -0500 mpc8641hpcn/sbc8641d: Add missing board_lmb_reserves We're missing the board_lmb_reserve definitions that allow cpu_mp_lmb_reserve to be called; this means that Linux is free to reallocate reserved pages. Linux currently boots because we're getting lucky - the page we've reserved is high enough in memory that it isn't allocated by Linux while we still need it to be in existence. Signed-off-by: Becky Bruce Signed-off-by: Kumar Gala commit 0fc4f64c59873a47d555dd66bad25797d4ecb0ed Author: Ladislav Michl Date: Tue Mar 31 13:43:10 2009 +0200 NetStar: fix NAND Fix NAND support broken during new NAND code merge. Move those few lines of code to board/netstar/netstar.c Signed-off-by: Ladislav Michl commit d144f94d590b5190a9963bd0f2026b2a7ce67eda Author: Jens Scharsig Date: Tue Mar 31 08:18:29 2009 +0200 soft_i2c.c compiler/linker error This patch fix the compiler/linker errors common/cmd_i2c.c:1252: undefined reference to `i2c_get_bus_speed' common/cmd_i2c.c:1256: undefined reference to `i2c_set_bus_speed' if board use CONFIG_I2C_CMD_TREE and CONFIG_I2C_MULTI_BUS is not uesd/undef (wrong define order) and removes additional empty lines Signed-off-by: Jens Scharsig commit 765547dc5e0e8cbe6b8f4ea8a5d6ff237935c352 Author: Haiying Wang Date: Fri Mar 27 17:02:45 2009 -0400 MPC85xx: Add MPC8569MDS board support This patch adds MPC8569MDS board support. The UART, QE UEC1 and UEC2, BRD EEPROM on I2C2 bus, PCI express and DDR3 SPD are supported in this patch. Signed-off-by: Haiying Wang Signed-off-by: Hillel Avni Signed-off-by: Kumar Gala commit 22b6dbc1696d927d938dd4e16f65d83c0d4fb3f4 Author: Haiying Wang Date: Fri Mar 27 17:02:44 2009 -0400 MPC85xx: Add MPC8569 CPU support There is a workaround for MPC8569 CPU Errata, which needs to set Bit 13 of LBCR in 4K bootpage. We setup a temp TLB for eLBC controller in bootpage, then invalidate it after LBCR bit 13 is set. Signed-off-by: Haiying Wang Signed-off-by: Kumar Gala commit 2d4de6ae5be54b367a72a7ef4e0cf36a9cd4881f Author: Haiying Wang Date: Thu Mar 26 17:01:49 2009 -0400 MPC85xx: Load and enable QE microcode patch in IRAM For the silicon which doesn't have ROM support in QE, it always needs to load a pre-built ucode binary to IRAM so that QE can work. Signed-off-by: Haiying Wang Signed-off-by: Hillel Avni commit 1b3e4044a28a3d95b0aad41bdc52482bb2cc9b2b Author: Kumar Gala Date: Thu Mar 19 09:16:10 2009 -0500 85xx: Add support for additional e500mc features * Enable backside L2 * e500mc no longer has timebase enable in HID (moved to CCSR register) Signed-off-by: Kumar Gala commit c360ceac0286159f94d9d1a9496fc9858c8d9bec Author: Dave Liu Date: Sat Mar 14 12:48:30 2009 +0800 fsl-ddr: add the DDR3 SPD infrastructure - support mirrored DIMMs, not support register DIMMs - test passed on P2020DS board with MT9JSF12872AY-1G1D1 - test passed on MPC8569MDS board with MT8JSF12864HY-1G1D1 Signed-off-by: Dave Liu Signed-off-by: Travis Wheatley commit 6a8197836702991468cead5ead073f589e2623ad Author: Dave Liu Date: Sat Mar 14 12:48:19 2009 +0800 fsl-ddr: Fix two bugs in the ddr infrastructure 1. wr_lat UM said the total write latency for DDR2 is equal to WR_LAT + ADD_LAT, the write latency is CL + ADD_LAT - 1. so, the WR_LAT = CL - 1; 2. rd_to_pre we missed to add the ADD_LAT for DDR2 case. Reported-by: Joakim Tjernlund Signed-off-by: Dave Liu commit 540dcf1cb86961e11aa92c47671f27762c581d8c Author: Kumar Gala Date: Thu Mar 26 01:34:39 2009 -0500 83xx: Use common LSDMR defines from asm/fsl_lbc.h Signed-off-by: Kumar Gala Acked-by: Kim Phillips commit b0fe93eda69721aef1fdef576164b668fad83bbd Author: Kumar Gala Date: Thu Mar 26 01:34:38 2009 -0500 85xx: Use common LSDMR defines from asm/fsl_lbc.h Signed-off-by: Kumar Gala commit 0088c298f0eeb90ec001f744e9959dea83dd563a Author: Kumar Gala Date: Thu Mar 26 01:34:37 2009 -0500 Add LSDMR (SDRAM Mode Register) definition on localbus The masks for various bit defines of LSDMR are common and thus we can define them in one place rather than replicating them in each config.h Signed-off-by: Kumar Gala commit 89c00fb15859213788f0ad089934c376fb356099 Author: Ladislav Michl Date: Mon Mar 30 18:58:41 2009 +0200 OMAP: use {read,write}l to access timer registers Signed-off-by: Ladislav Michl commit 81472d893fa565c9d300928a40e504a689bde131 Author: Ladislav Michl Date: Mon Mar 30 18:58:41 2009 +0200 OMAP: rename timer divisor Divisor field is called PTV not PVT. Signed-off-by: Ladislav Michl Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit fe672d60b2a8c9e803596ba4533fa1776015551d Author: Ladislav Michl Date: Mon Mar 30 18:58:40 2009 +0200 OMAP: reindent timer code Signed-off-by: Ladislav Michl commit b3f66b0ba09949e0796ce7fad6367f75f15ed890 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Mon Mar 30 18:58:40 2009 +0200 s3c2410: move nand driver to drivers/mtd/nand Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit d3b635774194404bcd424f6b376419bce22076ad Author: Jean-Christophe PLAGNIOL-VILLARD Date: Mon Mar 30 18:58:40 2009 +0200 s3c24x0: move i2c driver to drivers/i2c Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 300f99f4539dd5caf7e19af5e4ea5eb259445913 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Mon Mar 30 18:58:39 2009 +0200 s3c24x0: move serial driver to drivers/serial Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 942ba9969b9efa25f816c238861ecb339c54ed73 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Mon Mar 30 18:58:39 2009 +0200 davinci: move i2c driver to drivers/i2c Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit ee4f3e2765a1c65c9861c5d2cf2e6feb84b90bd8 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Mon Mar 30 18:58:39 2009 +0200 davinci: move nand driver to drivers/mtd/nand Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit d3e55d0774a180c1837bd7ddec464015e883bd86 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Mon Mar 30 18:58:38 2009 +0200 imx: move serial driver to drivers/serial Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 2344bb8de2354101a8264c2123303c9d8d2aed3c Author: Detlev Zundel Date: Mon Mar 30 00:31:36 2009 +0200 inka4x0: Use proper accessor macros for memory mapped registers. Signed-off-by: Detlev Zundel commit e979e85fd39b06436922bb4d6bb5fafcbc775182 Author: Detlev Zundel Date: Mon Mar 30 00:31:35 2009 +0200 inka4x0: Add hardware diagnosis and RTC in configuration. This patch adds the board specific communication routines needed by the external 4543 RTC. Signed-off-by: Detlev Zundel Signed-off-by: Andreas Pfefferle commit 7b5611cdd12ca0cc33f994f0d4a4454788fc3124 Author: Detlev Zundel Date: Mon Mar 30 00:31:34 2009 +0200 inka4x0: Add hardware diagnosis functions for inka4x0 This patch adds advanced diagnosis functions for the inka4x0 board. Signed-off-by: Andreas Pfefferle Signed-off-by: Detlev Zundel commit 04e11cf383ff6231535fd981023bb1306b2133d4 Author: Detlev Zundel Date: Mon Mar 30 00:31:33 2009 +0200 rtc: add support for 4543 RTC (manufactured by e.g. EPSON) Signed-off-by: Detlev Zundel Signed-off-by: Andreas Pfefferle commit 572e6179adb5447ff42ec2aa5cf3a26decf97583 Author: Detlev Zundel Date: Mon Mar 30 00:31:32 2009 +0200 drivers/twserial: Add protocol driver for "three wire serial" interface. This pretty unintelligent interface is used on some RTC chips. Signed-off-by: Detlev Zundel commit a6ef3ddeafbe8007af3662cc4509b897c53ab395 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Mar 29 23:01:42 2009 +0200 arm720t/clps7111: move serial driver to drivers/serial add CONFIG_CLPS7111_SERIAL to activate the driver Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 6790c55704531eb98f76b51d50e0f73d19fa2988 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Mar 29 23:01:42 2009 +0200 lpc2292: move serial driver to drivers/serial add CONFIG_LPC2292_SERIAL to activate the driver Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 176a600d0ecdaccbac483d2ba992d0119f853119 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Mar 29 23:01:42 2009 +0200 ks8695: move serial driver to drivers/serial add CONFIG_KS8695_SERIAL to activate the driver Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 6d27bca15d445fcf07d6e7e30ced95c945c875ea Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Mar 29 23:01:42 2009 +0200 s3c64xx: move usb driver to drivers/usb add CONFIG_USB_S3C64XX to activate the driver Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit ecfa8dda2f55e1fbe12dee0b5cc16e7d484674c9 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Mar 29 23:01:41 2009 +0200 imx31: move serial driver to drivers/serial Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 9ea91c9fefb3920d735533a7798c1a44a3ed3ffc Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Mar 29 23:01:41 2009 +0200 netarm: move serial driver to drivers/serial add CONFIG_NETARM_SERIAL to activate the driver Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 412ab705888742add435dd6ffc2e8bda14962235 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Mar 29 23:01:41 2009 +0200 sa1100: move serial driver to drivers/serial add CONFIG_SA1100_SERIAL to activate the driver Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit b2368754a9202225fd072e159fb78da7d2cdb623 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Mar 29 23:01:41 2009 +0200 s3c44b0: extract cache from cpu.c Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 40fd626223eae5363719bcb9a6896f08ceeee90a Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Mar 29 23:01:41 2009 +0200 s3c44b0: move serial driver to drivers/serial Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 5fe1377cc46199fe71c47be4b1aa81440ae96f9f Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Mar 29 23:01:40 2009 +0200 s3c44b0: move rtc driver to drivers/rtc Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 50f601cca8985615f9e3de4c34887448ade8a64b Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Mar 29 23:01:40 2009 +0200 s3c44b0: move i2c driver to drivers/i2c Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 281dfb0c0c531194f99e60d6285cca4e2a9fb1b6 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Mar 29 23:01:36 2009 +0200 s3c4510b: move specific code to soc directory Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 04531f3c11c693dc54924f82c41979d960309c9d Author: Ladislav Michl Date: Wed Mar 25 23:43:58 2009 +0100 NetStar: add RTC support Add RTC support. Signed-off-by: Ladislav Michl commit 71f7bd305d9768bcb7ddbe4b5823cbf3b3597b11 Author: Ladislav Michl Date: Wed Mar 25 23:43:50 2009 +0100 NetStar: use generic flash driver Signed-off-by: Ladislav Michl commit 3f464b0fc009d41d2734c08e472eb6d445f73a5c Author: Ladislav Michl Date: Mon Mar 16 23:31:20 2009 +0100 NetStar: update crcit utility Make crc32 function to match its prototype. Use more meaningful identifiers. Signed-off-by: Ladislav Michl commit 488f5d8790c451fc527fe5d2ef218f2a5e40ea17 Author: Ladislav Michl Date: Mon Mar 23 17:46:27 2009 +0100 Remove nowhere used symbol CONFIG_SYS_CLKS_IN_HZ Signed-off-by: Ladislav Michl commit 88685b5f62274167ad2ba8a58e108d89ff71955b Author: Wolfgang Denk Date: Sun Mar 29 00:58:16 2009 +0100 VCMA9: fix compile errors Fix these: cmd_vcma9.c:82: warning: implicit declaration of function 'eth_getenv_enetaddr' cmd_vcma9.c:89: error: 'enetaddr' undeclared (first use in this function) Signed-off-by: Wolfgang Denk commit 26e42cbd786241fec370a0b92ad591f4e9cc423b Author: Wolfgang Denk Date: Sun Mar 29 00:54:21 2009 +0100 ARM: fix warning: 'print_eth' defined but not used This warning got issued for all ARM systems that don't have CONFIG_CMD_NET enabled. Signed-off-by: Wolfgang Denk commit fd88d91a639ce41b825c8d50dc2182050e98fe53 Author: Ladislav Michl Date: Mon Mar 23 18:16:34 2009 +0100 cs8900 compile fix cs8900.c: In function 'eth_init': cs8900.c:164: warning: passing argument 2 of 'eth_getenv_enetaddr' from incompatible pointer type cs8900.c:165: error: invalid operands to binary << cs8900.c:166: error: invalid operands to binary << cs8900.c:167: error: invalid operands to binary << Signed-off-by: Ladislav Michl Acked-by: Jean-Christophe PLAGNIOL-VILLARD commit d2567be915036720693f3ddd00c39b5b4d86fb8d Author: Wolfgang Denk Date: Sat Mar 28 20:16:16 2009 +0100 Fix implicit declaration of function 'eth_[gs]etenv_enetaddr' ...and some other compile warnings. Signed-off-by: Wolfgang Denk commit 97b05d7d524a6b4f195f07b8f90e98561a85596c Author: Wolfgang Denk Date: Sat Mar 28 16:17:29 2009 +0100 mpc8xx/ether.c: fix warning: unused variable 'bd' Also minor coding style cleanup. Signed-off-by: Wolfgang Denk commit 2dce551e10728f9e5655279f761f1d3cc0a8fe90 Author: Detlev Zundel Date: Wed Mar 25 17:27:52 2009 +0100 command.c: Expose the core of do_help as _do_help to the rest of u-boot. Other commands implementing subcommands can reuse this code nicely. Signed-off-by: Detlev Zundel Signed-off-by: Andreas Pfefferle commit 4e325fbfa4dea04eceb6392e00807c40d214dc6f Author: Detlev Zundel Date: Tue Mar 24 18:02:33 2009 +0100 mpc5xxx: Add structure definition for several more register blocks. Signed-off-by: Detlev Zundel commit 739b0e594677a0676577bc95db4495a5563fc7f8 Author: Detlev Zundel Date: Fri Mar 27 15:03:55 2009 +0100 MAINTAINERS: Add entry for 'inka4x0' board. Signed-off-by: Detlev Zundel commit e55ecec45340755ef47cbbb13fb35ceed60eb115 Author: Detlev Zundel Date: Fri Mar 27 15:03:54 2009 +0100 MAINTAINERS: Keep list sorted. Signed-off-by: Detlev Zundel commit 0baeca4b09b703728f8e66b52418039fd8f8ce35 Author: Mike Frysinger Date: Thu Mar 26 11:17:41 2009 -0400 karef/metrobox/xpedite1k: fix eth_setenv_enetaddr typos The function is called "eth_setenv_enetaddr", not "eth_putenv_enetaddr". Signed-off-by: Mike Frysinger CC: Ben Warren commit 76756e41cde0a617e781a604cc47dfaef63697cd Author: Heiko Schocher Date: Thu Mar 26 07:33:59 2009 +0100 ppc: cleanup compiler errors/warnings Current u-boot top of tree builds with warnings/errors for the following boards: ads5121 cpci5200 mecp5200 v38b IAD210 MBX MBX860T NX823 RPXClassic debris PN62 following patch solves this. Signed-off-by: Heiko Schocher Acked-by: Mike Frysinger commit 3edf68c47fdd52f19c1e840771c19ba90cf5ced1 Author: Stefan Roese Date: Thu Mar 26 16:14:13 2009 +0100 ppc4xx: Sequoia: Fix TLB reassignment in NAND booting code This patch fixes a bug in the Sequoia TLB init code to reconfigure the correct TLB (boot space) after running from RAM. This bug was introduced with patch 4d332dbeb08f5863d1ea69d91a00c5499d3a87ed [ppc4xx: Make Sequoia boot vxWorks] which changed the order of the TLB in the Sequoia init.S file. Signed-off-by: Stefan Roese commit e2b66fe453a3679f807b37fc5923d89214302764 Author: Wolfgang Denk Date: Thu Mar 26 10:00:57 2009 +0100 ads5121: enable instruction cache Enabling the instruction cache significantly accelerates U-Boot operations like CRC checking, image uncompression, etc. Kudos to Andrea Scian for pointing out. Signed-off-by: Wolfgang Denk commit 33e88c557b29c84c52039ba05993fa70fe62afe3 Author: Jon Smirl Date: Sun Mar 22 22:55:45 2009 -0400 mpc5200: suppress printf until console initialized On boards which have the environment in eeprom, i2c_init() is called before the console and RAM are initialized. Suppress printfs until the console is initialized. Signed-off-by: Jon Smirl Acked-by: Heiko Schocher commit 0c6926736effbb9a19047949b7e9b3e8feab7c46 Author: Guennadi Liakhovetski Date: Wed Mar 25 11:36:50 2009 +0100 ARM: Add the imx31_phycore_eet board to MAKEALL Signed-off-by: Guennadi Liakhovetski commit 917cfc70c18b74fa8a80189bdce8395199fa8360 Author: Nishanth Menon Date: Wed Mar 25 22:13:56 2009 +0100 OMAP3:Beagle: Enable mtdparts http://www.denx.de/wiki/DULG/UBootCmdGroupFlash#UBootCmdFlMtdparts provides a flexible way to create and maintain u-boot mtd partitions. This allows commands such as "nand erase fs" to work and the user no longer needs to decode the absolute nand offsets. This patch enables this function for beagleboard Signed-off-by: Nishanth Menon Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 4de1a5daab079ddc8ce1274144700203d692105c Author: Mike Frysinger Date: Sun Feb 22 16:26:35 2009 -0500 Blackfin: bf537-stamp: split post code out into dedicated post.c Signed-off-by: Mike Frysinger commit 5e8f245743ed14c89e495ba2c027703db9813160 Author: Mike Frysinger Date: Sat Oct 11 22:51:56 2008 -0400 Blackfin: add support for S25FL128 parts Signed-off-by: Mike Frysinger commit bf1e028bf3eab1d702fa0627cade4460688f3913 Author: Mike Frysinger Date: Sat Oct 11 22:51:23 2008 -0400 Blackfin: overhaul SPI flash handling to speed things up Signed-off-by: Mike Frysinger commit efcc08cededa2168b96f12a22a5872340880d334 Author: Mike Frysinger Date: Sat Oct 11 22:51:05 2008 -0400 Blackfin: add support for SST SPI flashes Signed-off-by: Mike Frysinger commit 5b8cfbe63f7242ebb1008f30bbbc85a9d54b38cf Author: Mike Frysinger Date: Sat Oct 11 22:50:10 2008 -0400 Blackfin: add hack for crappy m25p80 Signed-off-by: Mike Frysinger commit 6f5fd56f0832ea5c254e2e4be84ea21fc8ecd5c5 Author: Mike Frysinger Date: Wed Jan 21 20:47:12 2009 -0500 Blackfin: bf537-stamp: increase monitor size The new jffs2 code pushed the code size just over the limit, so increase the limit a bit more. Signed-off-by: Mike Frysinger commit f82caaccc87e1f76448ff42a6b930e59797e4f65 Author: Mike Frysinger Date: Mon Dec 8 16:16:11 2008 -0500 Blackfin: bf537-stamp: bump default SCLK up to 125MHz Since all of the bf537-stamp and bf537-ezkit boards out there can handle it, increase the speed of SCLK to 125MHz rather than 100MHz. Signed-off-by: Mike Frysinger commit 751e54c3b77311b720b794813cce20546f288ada Author: Mike Frysinger Date: Sat Oct 11 22:44:14 2008 -0400 Blackfin: bf537-stamp: rewrite MAC-in-flash handling Use the common net eth functions to setup the env/global data with the MAC address, and properly handle the case where CONFIG_SYS_NO_FLASH is defined. Signed-off-by: Mike Frysinger commit 88f9faffb383bbc6f23b8cc8519c5ffecfa2c8ad Author: Mike Frysinger Date: Tue Dec 9 13:47:39 2008 -0500 Blackfin: add clkin_hz= to default kernel command line for ADI boards Signed-off-by: Mike Frysinger commit 9f64ba2412d3cede9eb1f290987e5c3a28df3232 Author: Mike Frysinger Date: Sun Oct 12 23:49:13 2008 -0400 Blackfin: bf533-stamp: bump up default clocks Since the hardware can handle it, bump the default clocks from 80mhz SCLK and 398mhz CCLK to 100mhz SCLK and 498mhz CCLK. Signed-off-by: Mike Frysinger commit 23fd959eeaaa0434ac7f9c1191de66c76d97d699 Author: Mike Frysinger Date: Sat Oct 11 22:40:22 2008 -0400 Blackfin: bf533-stamp: rewrite startup LED notifications Again, don't clobber pins that we aren't actually using, and use the common LED framework rather than our own hob-job-but-not-really-working. Signed-off-by: Mike Frysinger commit cf6f469e2730fc8ab3523808b828be000d6eee77 Author: Mike Frysinger Date: Sun Jun 1 09:09:48 2008 -0400 Blackfin: unify common ADI board settings Rather than duplicate the same ADI settings in every ADI board, create a common ADI config header and have all ADI boards start using that. This will also make merging the ~10 boards I have to forward port a lot easier. Signed-off-by: Mike Frysinger commit 196c74311f394c6eb08bd9ab07a35671299b9851 Author: Kyungmin Park Date: Tue Mar 3 09:05:53 2009 +0900 Reduce OneNAND IPL common code OneNAND IPL has common codes for RAM init, load data, and jump to 2nd bootloader, but it's common code used about 300~400 bytes. So board specific codes, such as lowlevel_init, can't has enough code. It make a difficult to implement OneNAND IPL. his patch make this common code as small as possible. and give lowlevel_init can have more codes. Signed-off-by: Kyungmin Park Signed-off-by: Scott Wood commit 16f2f5a351004129e79e79816697a367fd9e5446 Author: Wolfgang Grandegger Date: Wed Feb 11 18:38:24 2009 +0100 Add multi-chip NAND support for the TQM8548 modules This patches configures the NAND UPM-FSL driver with multi-chip support for the Micron MT29F8G08FAB NAND flash memory on the TQM8548 modules. Signed-off-by: Wolfgang Grandegger Signed-off-by: Scott Wood commit 33846df28fa1f4cf96a96c18142d48d813caa892 Author: Wolfgang Grandegger Date: Wed Feb 11 18:38:23 2009 +0100 Add wait flags to support board/chip specific delays The NAND flash on the TQM8548_BE modules requires a short delay after running the UPM pattern like the MPC8360ERDK board does. The TQM8548_BE requires a further short delay after writing out a buffer. Normally the R/B pin should be checked, but it's not connected on the TQM8548_BE. The corresponding Linux FSL UPM driver uses similar delay points at the same locations. To manage these extra delays in a more general way, I introduced the "wait_flags" field allowing the board-specific driver to specify various types of extra delay. Signed-off-by: Wolfgang Grandegger Signed-off-by: Scott Wood commit 06e9f7df054d26d7f49c56bf9a6844b193ad6313 Author: Wolfgang Grandegger Date: Wed Feb 11 18:38:22 2009 +0100 Add support for TQM-specific chip select logic to FSL-UPM For the NAND chips on the TQM8548 modules, a special chip-select logic is used. It uses dedicated address lines to be set via UPM machine address register (mar). This patch adds such support to the FSL-UPM driver. Signed-off-by: Wolfgang Grandegger Signed-off-by: Scott Wood commit e93c1c169d49eda7babad9c781f541e2e34f0ff0 Author: Wolfgang Grandegger Date: Wed Feb 11 18:38:21 2009 +0100 Add multi chip support to the FSL-UPM driver This patch adds support for multi-chip NAND devices to the FSL-UPM driver. The "dev_ready" callback of the "struct fsl_upm_nand" is now called with the argument "chip_nr" to allow testing the proper chip select line. The NAND support of the MPC8360ERDK is updated as well. No other boards are currently using the FSL UPM driver. Signed-off-by: Wolfgang Grandegger Signed-off-by: Scott Wood commit 672ed2aee91b4856f6671fc72cd34168d8f1b624 Author: Wolfgang Grandegger Date: Wed Feb 11 18:38:20 2009 +0100 Enable multi chip support in the NAND layer This patch adds support for NAND_MAX_CHIPS to the MTD NAND layer. Multi-chips devices are displayed as shown: Device 0: 2x NAND 512MiB 3,3V 8-bit, sector size 128 KiB Signed-off-by: Wolfgang Grandegger Signed-off-by: Scott Wood commit 74398b23f9c2ffdc137fd92910a46e3333fb93f9 Author: Mike Frysinger Date: Sat Oct 11 21:58:33 2008 -0400 Blackfin: put memory into self-refresh before/after programming clocks When initializing the core clocks, stick external memory into self-refresh. This gains us a few cool things: - support suspend-to-RAM with Linux - reprogram clocks automatically when doing "go" on u-boot.bin in RAM - make sure settings are stable before flashing new version - finally fully unify initialize startup code path between LDR/non-LDR Signed-off-by: Mike Frysinger commit d347d572ab1f2d47bf257c9f7ca2e602038a136b Author: Mike Frysinger Date: Sat Oct 11 21:56:08 2008 -0400 Blackfin: do not program voltage regulator on parts that do not have one Some newer Blackfins (like the BF51x) do not have an on-chip voltage regulator, so do not attempt to program the memory as if it does. Signed-off-by: Mike Frysinger commit 0d4f24b70f7a979f58174f3eb271874950b551b6 Author: Mike Frysinger Date: Sun Jun 1 01:28:24 2008 -0400 Blackfin: setup a sane default EBIU_SDBCTL for SDRAM controllers If the board config does not specify an explicit EBIU_SDBCTL value, set it up with sane values based on other configuration options. Signed-off-by: Mike Frysinger commit 3986e981f565c08f10c7e526af8cb518d741c349 Author: Mike Frysinger Date: Sat Dec 6 18:06:58 2008 -0500 Blackfin: handle reboot anomaly 432 Workaround anomaly 432: The bfrom_SysControl() firmware function does not clear the SIC_IWR1 register before executing the PLL programming sequence. Therefore, any interrupt enabled in the SIC_IWR1 register prior to the call to bfrom_SysControl() can prematurely terminate the idle sequence required for the PLL to relock properly. SIC_IWR0 is properly handled. Signed-off-by: Mike Frysinger commit 7e1d212b6da492c6ea32c62af92e185284f41291 Author: Mike Frysinger Date: Sat Oct 18 04:04:49 2008 -0400 Blackfin: kill off LDR jump block The Boot ROM uses EVT1 as the entry point so set that rather than having to use a tiny jump block in the default EVT1 location. Signed-off-by: Mike Frysinger commit a75fa148d60b1975403441e45565621bba50d2d9 Author: Mike Frysinger Date: Tue Jan 6 10:00:48 2009 -0500 Blackfin: simplify symbol_lookup() a bit No need to skip a byte as the symbol table handles this. Signed-off-by: Mike Frysinger commit 59f0978a7e78d20277ddbde7caf0ea877f3cfd98 Author: Mike Frysinger Date: Sat Feb 7 05:43:21 2009 -0500 Blackfin: fix SIC_RVECT definition: it is 16bits, not 32bits Signed-off-by: Mike Frysinger commit 58130f8920151d9e8942bbdf3388f2defb47e415 Author: Mike Frysinger Date: Sat Feb 7 05:41:17 2009 -0500 Blackfin: drop SPORT_TX read helper macros The SPORT_TX registers cannot be read (the hardware will trigger an error), so drop the read helper macros. Signed-off-by: Mike Frysinger commit 820b076c449688bcd4af6db5a33ae424d1a60d0e Author: Mike Frysinger Date: Sat Feb 7 05:25:35 2009 -0500 Blackfin: unify duplicate CPU port definitions Signed-off-by: Mike Frysinger commit 744fd240d181b0b05b1436e1b655c9a62526c752 Author: Mike Frysinger Date: Fri Feb 6 00:59:50 2009 -0500 Blackfin: drop now-unused CONFIG_SYS_BFIN_CMD_XXX With the new CONFIG_XXX system and CONFIG_CMD_XXX handling, these defines are no longer used/needed. Signed-off-by: Mike Frysinger commit 45c48953e8a4038bd49c46813fcff5a207867ae4 Author: Mike Frysinger Date: Mon Oct 6 04:01:26 2008 -0400 Blackfin: print out Flash: before checking it If there is some problem in the flash init/checking code, it's nicer to see the message "Flash:" before crashing. This way the source of the problem is a bit more straightforward. Signed-off-by: Mike Frysinger commit 1c7a79a04eb916f685f7275520b5eea6968a1559 Author: Mike Frysinger Date: Thu Aug 7 15:33:09 2008 -0400 Blackfin: safely flush data caches when in writeback mode Signed-off-by: Mike Frysinger commit c06f2b13022703611bc3e512bd34f9014a46f448 Author: Mike Frysinger Date: Thu Aug 7 13:21:48 2008 -0400 Blackfin: update lockbox api according to latest documentation Signed-off-by: Mike Frysinger commit 2decc2a8d17a5397cb5956e46c8466c736e305a2 Author: Mike Frysinger Date: Sat Oct 11 21:49:06 2008 -0400 Blackfin: mark bfin_reset static The function is only used locally, so mark it static. Signed-off-by: Mike Frysinger commit 974473caa732f63312687ef2bd2d22dad8e99b9a Author: Sonic Zhang Date: Fri Mar 20 19:28:20 2009 -0400 Blackfin: spi: there is no PORTJ_FER MMR on BF537 Since the PORTJ on the BF537 is peripheral-only (no GPIO functionality), then there is no PORTJ_FER register for us to worry about. Signed-off-by: Sonic Zhang Signed-off-by: Mike Frysinger commit e82b762f293debc53c5afa90f37264f6b07520f9 Author: Mike Frysinger Date: Tue Mar 17 13:58:23 2009 -0400 Blackfin: fix jtag console tstc The jtag tstc operation was checking the hardware to see if data is available from it (which is fine for the jtag getc operation), but the higher layers need to know whether any data is available. Since we have to read up to 4 bytes at a time from the hardware, the higher layers need to know they can consume the cached bytes as well. Signed-off-by: Mike Frysinger commit bc683f58b1f1d8d20546fe019483967a51a49df1 Author: Mike Frysinger Date: Sun Feb 22 16:23:41 2009 -0500 Blackfin: bf537-stamp: move CONFIG_POST handling to COBJS-$(...) Signed-off-by: Mike Frysinger commit 8996d1608acb8f59fcb186dc7ed7d87f8fee1297 Author: Mike Frysinger Date: Sun Feb 22 16:02:27 2009 -0500 Blackfin: unify net-related init code Unify all of the net-related init code in the common Blackfin board init code to clean up the ifdef mess a bit. Signed-off-by: Mike Frysinger commit c6ea30e52ea82af4858d2b6f99e0fd2ea276d657 Author: Mike Frysinger Date: Wed Feb 18 12:51:48 2009 -0500 Blackfin: fix SWRST/SYSCR register sizes Signed-off-by: Mike Frysinger commit a9d6777d39154978b9ef9c682b2627a3480b194c Author: Mike Frysinger Date: Wed Feb 18 12:51:31 2009 -0500 Blackfin: update anomaly lists Signed-off-by: Mike Frysinger commit 4d7c32dad2e787f890ebcd51bfb723a126913c90 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Thu Mar 19 18:31:38 2009 +0100 avr32: fix cacheflush.h location introducted by d8f2aa3298610b Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Haavard Skinnemoen commit 3a3baf3ee61e6b28af3b49ebabc9ab4f6015aa48 Author: Eric Schumann Date: Sat Mar 21 09:59:34 2009 -0400 Make flash protection work, when the environment is in EEPROM On the pcm030 the environment is located in the onboard EEPROM. But we want to handle flash sector protection in a safe manner. So we must read the unlock environment variable from EEPROM instead from flash. This patch is required as long the evironment is saved into the EEPROM. Stefan: Additional change as suggested by Wolfgang, use bigger char array (instead of 4). Signed-off-by: Eric Schumann Signed-off-by: Sascha Hauer Acked-by: Wolfgang Denk Signed-off-by: Stefan Roese commit de3ce8c59f48f99779d7d7379a5432ded12ec06c Author: Jon Smirl Date: Sat Mar 21 11:17:56 2009 -0400 Add define for mpc5200 CDM_CLK_ENA Signed-off-by: Jon Smirl commit df486b1fa3f750b153eac7daa0b3bf1f594e5098 Author: Nicolas Ferre Date: Sun Mar 22 14:48:16 2009 +0100 at91: Support for the at91sam9g20 : Atmel 400Mhz ARM 926ej-s SOC. AT91sam9g20 is an evolution of the at91sam9260 with a faster clock speed. The AT91SAM9G20-EK board is an updated revision of the AT91SAM9260-EK board. It is essentially the same, with a few minor differences. Here is the chip page on Atmel website: http://www.atmel.com/dyn/products/product_card.asp?part_id=4337 Signed-off-by: Justin Waters Signed-off-by: Nicolas Ferre Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 118d168035cc93f586da4812c89cb153eb9f4243 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Mar 22 14:28:14 2009 +0100 cmc_pu2: fix implicit declaration of function 'eth_setenv_enetaddr' Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 176c4a982c6531f96426afaa1126cf9a5e2d5e03 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Mar 22 14:28:13 2009 +0100 cmc_pu2: fix misc_init_r prototype Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 53158aea995221706b42c7bad9f717b31ae20414 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Jan 11 03:32:01 2009 +0100 at91sam9xeek: fix soc name Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 74c076d6c33d6d42ab065541a38383587879e7b7 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Mar 22 10:22:34 2009 +0100 at91sam9/at91cap: move nand drivers to drivers/mtd/nand Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 163966087d62680547f188a93c61d01c8155254e Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat Mar 21 21:08:01 2009 +0100 atmel/at91/boards: compile dataflash partition only when dataflash is Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit e2c0476f958f8e0b269a1118f4ba4a5cd475aa56 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat Mar 21 21:08:00 2009 +0100 at91sam9/at91cap: move common macb initialisation to cpu Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit f3f91f886bc8927fd692ac411b7423a87ffec532 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat Mar 21 21:08:00 2009 +0100 at91sam9/at91cap: move common usb host initialisation to cpu Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit a484b00b86e72ac6da6ee4fce13dbc6b256672fe Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat Mar 21 21:08:00 2009 +0100 at91sam9/at91cap: move common led management to cpu Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 7ebafb7ec1a0285af8380623c009576f92583b98 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat Mar 21 21:07:59 2009 +0100 at91sam9/at91cap: move common spi initialisation to cpu Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 1332a2a0694c8e10a5bade397cf83645b2c3fd7e Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat Mar 21 21:07:59 2009 +0100 at91sam9/at91cap: move common serial initialisation to cpu Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit e60beb13cf0135dc71c541021487b5ccc4d269cb Author: Wolfgang Denk Date: Sat Mar 21 22:04:41 2009 +0100 Prepare 2009.03 Update CHANGELOG Signed-off-by: Wolfgang Denk commit 9e78dae2b276c5bf9ab92cd85173f6cb92b1b7d5 Author: Vivek Kutal Date: Mon Feb 23 21:35:11 2009 +0530 Replaced endpoint numbers with appropriate macros in usbtty.c. Signed-off-by: Vivek Kutal Signed-off-by: Remy Bohmer commit faac4fd852e39cb1d7a740801b060e41aeacef1f Author: Michael Lawnick Date: Thu Mar 19 10:06:41 2009 +0100 UBIFS: Missing offset relocation for compressor 'none' On systems where U-Boot is linked to another address than it really lays (e.g. backup image), calls via function pointers must be fixed with a '+= gd->reloc_off'. This was not done for none_compr in ubifs_compressors_init() what leads to system crash on ubifsmount command. Signed-off-by: Michael Lawnick Acked-by: Stefan Roese commit ce6d0c8de031f345bde745f3b855082adf1c4e45 Author: Stefan Roese Date: Thu Mar 19 15:35:50 2009 +0100 UBIFS: Add UBIFS commands This patchset adds these UBIFS related commands: - ubifsmount Mount an UBIFS volume - ubifsls List a directory of the mounted UBIFS volume - ubifsload Load a file from the mounted UBIFS volume to memory Signed-off-by: Stefan Roese commit 9eefe2a2b37a838558e3d213a9f5519503d0c180 Author: Stefan Roese Date: Thu Mar 19 15:35:05 2009 +0100 UBIFS: Implement read-only UBIFS support in U-Boot The U-Boot UBIFS implementation is largely a direct copy from the current Linux version (2.6.29-rc6). As already done in the UBI version we have an "abstraction layer" to redefine or remove some OS calls (e.g. mutex_lock() ...). This makes it possible to use the original Linux code with very little changes. And by this we can better update to later Linux versions. I removed some of the Linux features that are not used in the U-Boot version (e.g. garbage-collection, write support). Signed-off-by: Stefan Roese CC: Artem Bityutskiy CC: Adrian Hunter commit b1b4e89a0f3b75854c39a62cae41bad56d210adf Author: Stefan Roese Date: Thu Mar 19 15:34:56 2009 +0100 Add LZO decompressor support This patch adds LZO decompression support to U-Boot. It is needed for the upcoming UBIFS support, since UBIFS uses LZO as default compressor/ decompressor. Since we only support read-only in UBIFS, only the decompressor is needed. All this is copied with minor changes from the current Linux kernel version (2.6.28-rc8). This patch only implements this LZO decompressor support for PPC. Other platforms using UBIFS will have to add the required "include/asm/unaligned.h" as well. It should be fairly easy to copy this from the Linux source tree as I have done it for PPC in this patch. Signed-off-by: Stefan Roese commit 68d7d65100e84df00bca971c114092731b441090 Author: Stefan Roese Date: Thu Mar 19 13:30:36 2009 +0100 Separate mtdparts command from jffs2 Currently the mtdparts commands are included in the jffs2 command support. This doesn't make sense anymore since other commands (e.g. UBI) use this infrastructure as well now. This patch separates the mtdparts commands from the jffs2 commands making it possible to only select mtdparts when no JFFS2 support is needed. Signed-off-by: Stefan Roese Signed-off-by: Kyungmin Park commit 02a301cd5087eaffdf456e0a5cec1100c4d9a398 Author: Stefan Roese Date: Wed Feb 25 12:11:15 2009 +0100 powerpc: Only use eth_getenv_enetaddr() if networking is enabled Signed-off-by: Stefan Roese commit 5c4fa9b474af95d60f019ec6369cbe77b9dab4b5 Author: Grzegorz Bernacki Date: Tue Mar 17 10:06:40 2009 +0100 Add support for the digsy MTC board. This is the InterControl custom device based on the MPC5200B chip. Signed-off-by: Grzegorz Bernacki commit ff7dc067369e30066744f096995aef7d97574d15 Author: Stefan Roese Date: Mon Feb 23 16:52:36 2009 +0100 powerpc: Fix compilation warning in board.c Fix this warning: board.c: In function 'board_init_r': board.c:653: warning: unused variable 'i' board.c:651: warning: unused variable 'e' Signed-off-by: Stefan Roese commit 9cd690160d3ce1a7fb4ceeee6c99cedb1ac1d49c Author: Stefan Roese Date: Mon Feb 23 16:42:51 2009 +0100 ppc4xx: Don't write the MAC address into the internal SoC registers Remove this code. It's not needed. The 4xx EMAC driver stores the MAC addresses into the SoC registers instead. Signed-off-by: Stefan Roese commit bb57ad4be76d0e2e7f9ec56678235cc9872ff40f Author: Matthias Fuchs Date: Fri Feb 20 10:19:19 2009 +0100 ppc4xx: Use correct io accessors for esd 405/440 boards This patch replaces in/out8/16/32 macros by in/out_8/_be16/_be32 macros. Also volatile pointer references are replaced by the new accessors. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit 049216f045fd8e0f45bcef121c2bb1c7d3de6988 Author: Matthias Fuchs Date: Fri Feb 20 10:19:18 2009 +0100 ppc4xx: Use correct io accessors for esd 405 boards This patch replaces in/out8/16/32 macros by in/out_8/_be16/_be32 macros. Also volatile pointer references are replaced by the new accessors. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit a59205d1519375d027f97a545ad642ab20fce6f8 Author: Matthias Fuchs Date: Fri Feb 20 10:19:17 2009 +0100 ppc4xx: Cleanup linker scripts of esd 4xx boards Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit 2f103ee284e68934a648732db5e0b6ceb4a1ed8f Author: Matthias Fuchs Date: Fri Feb 20 10:19:16 2009 +0100 ppc4xx: Update TEXT_BASE for DASA_SIM boards Fix building DASA_SIM boards by increasing U-Boot's size in flash. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit 09db8f4de6805f1dde510c167f20e56a5405d29e Author: Matthias Fuchs Date: Fri Feb 20 10:19:15 2009 +0100 ppc4xx: DU405 maintenance fix -strip unused features -fix resetting phy Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit 75511b47ac2647be48218dbb93af05b21f404f67 Author: Matthias Fuchs Date: Fri Feb 20 10:19:14 2009 +0100 ppc4xx: Abort autoboot only by space key on CPCI405 boards Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit e17ee157ca9ff0d4cc5841d06c4b70c1603df29c Author: Graeme Russ Date: Tue Feb 24 21:14:56 2009 +1100 Add basic relocation to i386 port Signed-off-by: Graeme Russ commit 8c63d47651f77d9fb887cad433370b866eb0a193 Author: Graeme Russ Date: Tue Feb 24 21:14:45 2009 +1100 Implement SC520 timers Signed-off-by: Graeme Russ commit 6d7f610b09f813b1239eedcbfe921cfd439aea25 Author: Graeme Russ Date: Tue Feb 24 21:14:32 2009 +1100 Factor out SC520 sub-features Moved sub-features of the SC520 code which is currently selectively compiled using #ifdef out of sc520.c into individual files selectively compiled via the makefile Signed-off-by: Graeme Russ commit abf0cd3dff227cfb6e82ad13be62e28e6e89d5df Author: Graeme Russ Date: Tue Feb 24 21:13:40 2009 +1100 Rewrite i386 interrupt handling Rewrite interrupt handling functionality for the i386 port. Separated functionality into separate CPU and Architecture components. It appears as if the i386 interrupt handler functionality was intended to allow multiple handlers to be installed for a given interrupt. Unfortunately, this functionality was not fully implemented and also had the problem that irq_free_handler() does not allow the passing of the handler function pointer and therefore could never be used to free specific handlers that had been installed for a given IRQ. There were also various issues with array bounds not being fully tested. I had two objectives in mind for the new implementation: 1) Keep the implementation as similar as possible to existing implementations. To that end, I have used the leon2/3 implementations as the reference 2) Seperate CPU and Architecture specific elements. All specific i386 interrupt functionality is now in cpu/i386/ with the high level API and architecture specific code in lib_i386. Functionality specific to the PC/AT architecture (i.e. cascaded i8259 PICs) has been further split out into an individual file to allow for the implementation of the PIC architecture of the SC520 CPU (supports more IRQs) Signed-off-by: Graeme Russ commit ece444b42b71eb5bce34a24ec584573b3c8c4a98 Author: Graeme Russ Date: Tue Feb 24 21:12:35 2009 +1100 Move ali512x.h Moved ali512x.h from include/asm-i386/ic/ to /include Signed-off-by: Graeme Russ commit 6d83e3ac61dcdbcb7f04664309a9689fe01c5704 Author: Graeme Russ Date: Tue Feb 24 21:12:20 2009 +1100 Rename SC520 Configuration Options Options are now all uniformly CONFIG_SYS_SC520_