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