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 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 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 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_