commit f2352877cb2daac88115192fb09991a2397d0b27 Author: Peter Tyser Date: Sun Dec 6 23:58:28 2009 -0600 MAKEALL: Fix return value Previously MAKEALL would always return a value of 0, even if 1 or more boards did not compile. This change causes MAKEALL to return 0 if all boards were able to build, otherwise 1. This change also requires changing the script interpreter from sh to bash to support bash's PIPESTATUS variable. Signed-off-by: Peter Tyser commit fbc1c8f6f6c972524197829c56dd8f2f5da0200a Author: Peter Tyser Date: Sun Dec 6 01:33:24 2009 -0600 tools/mkimage: Remove duplicate line of code Recent commits 1a99de2cb4d08eb3bf9fb3f60a9d533150de8c0e and 6a590c5f5fd12cdd27f3153522acfac3854590e7 both fixed the same bug in the same manner. Unfortunately git was "smart" enough to merge both changes which resulted in some duplicate code. Signed-off-by: Peter Tyser Reordered code and comment a bit. Signed-off-by: Wolfgang Denk commit df002fa6b9cd475909ede35bf95b803c2289c6a4 Author: Heiko Schocher Date: Sat Dec 5 11:59:51 2009 +0100 i2c: fix dangling comment in do_i2c_mw() commit bd3784df94bfeca43fbf34094df9cb1bd3ecca3b deleted some unused code in do_i2c_mw(), but missed to also remove the respective commment. This patch fixes this. Signed-off-by: Heiko Schocher commit f8450829f921cf10667af98a8d08edfa3d998f04 Author: Heiko Schocher Date: Tue Dec 1 19:30:47 2009 +0100 52xx, manroland: add fdt_fixup_memory() in ft_board_setup() To update the real memory size in the memory node on the uc101 and mucmc52 boards call fdt_fixup_memory() in ft_board_setup(). Signed-off-by: Heiko Schocher commit 0ec81db20294efdad2454a753e79f1fe244a43ca Author: Daniel Hobi Date: Tue Dec 1 14:05:55 2009 +0100 Fix computation in nand_util.c:get_len_incl_bad Depending on offset, flash size and the number of bad blocks, get_len_incl_bad may return a too small value which may lead to: 1) If there are no bad blocks, nand_{read,write}_skip_bad chooses the bad block aware read/write code. This may hurt performance, but does not have any adverse effects. 2) If there are bad blocks, the nand_{read,write}_skip_bad may choose the bad block unaware read/write code (if len_incl_bad == *length) which leads to corrupted data. Signed-off-by: Daniel Hobi commit aabb8cb0818e285aeed0cfaf243635997e07554d Author: Evan Samanas Date: Mon Nov 9 20:08:36 2009 -0600 nfs: NfsTimeout() updates - NfsTimeout() does not correctly update the NFS timeout value which results in NfsTimeout() only being called once in certain situations. This can result in the 'nfs' command hanging indefinetly. For example, the command: nfs 192.168.0.1:/home/user/file will not exit until ctrl-c is pressed if 192.168.0.1 does not have an NFS server running. This issue is resolved by reinitializting the NFS timeout value inside NfsTimeout() when a timeout occurs. - Make the 'nfs' command print the 'T' character when a timeout occurs. Previously there was no indication that timeouts were occuring. - Mimic the 'tftpboot' command and when a download fails print "Retry count exceeded; starting again", and restart the download taking the 'netretry' environment variable into account. Signed-off-by: Evan Samanas Signed-off-by: Peter Tyser Tested on TQM8xxL. Tested by: Wolfgang Denk Tested on MPC8527DS. Tested by: Ed Swarthout commit 224c90d1060bf1a83cbf33ca51d060b9d19e0294 Author: Peter Tyser Date: Wed Nov 18 19:08:59 2009 -0600 bootm: Fix help message's sub-command ordering The help message for the 'bootm' command listed the 'cmdline' and 'bdt' sub-commands in the wrong order which resulted in the error below when following the 'help' command's instructions: "Trying to execute a command out of order" Signed-off-by: Peter Tyser commit a93c92cddaedd5f0720e0da15c6664f7a688b582 Author: Robert P. J. Day Date: Tue Nov 17 07:30:23 2009 -0500 help: Correct syntax of nandecc help output. "nandecc" help output should not reproduce the command name, nor have a trailing newline. Signed-off-by: Robert P. J. Day commit c2fff331a32ceca837d76eb7827d6340da270d52 Author: Mike Rapoport Date: Wed Nov 11 10:03:03 2009 +0200 smc911x: update SMC911X related configuration description Since commit 736fead8fdbf8a8407048bebc373cd551d01ec98 "Convert SMC911X Ethernet driver to CONFIG_NET_MULTI API" SMC911X configration options are called CONFIG_SMC911X rather than CONFIG_DRIVER_SMC911X. Update README to reflect that change. Signed-off-by: Mike Rapoport commit 45b6b65c6bf06a589ef3123192af94b0381db27b Author: Mike Rapoport Date: Wed Nov 11 10:03:09 2009 +0200 smc911x: fix typo in smc911x_handle_mac_address name Signed-off-by: Mike Rapoport commit f64ef9bb995687e24e0b61b52316f4eaa97c3bbc Author: Ed Swarthout Date: Thu Nov 19 02:47:28 2009 -0600 fix nfs symlink name corruption An off by one error may cause nfs readlink lookup fail if nfs_path_buff has non-zero data from a previous use. Loading: *** ERROR: File lookup fail Signed-off-by: Ed Swarthout commit e8fac25e83426fdf461c66aa8a2530ec28ec536e Author: Wolfgang Denk Date: Mon Dec 7 21:06:40 2009 +0100 at91sam9261ek.c: fix minor coding style issue. Signed-off-by: Wolfgang Denk commit 4713010adf5beda87410d637ebfc58db0db9a9db Author: Wolfgang Denk Date: Sun Dec 6 01:21:28 2009 +0100 trab: fix warning: implicit declaration of function 'disable_vfd' Signed-off-by: Wolfgang Denk commit a9f99ab44b473fb394169ba365f8b4380f981584 Author: Wolfgang Denk Date: Sun Dec 6 00:53:18 2009 +0100 zlib.c: avoid build conflicts for cradle board Commit dce3d79710 updated the zlib code to v0.95; this caused conflicts when building for the "cradle" board, because the (pretty generic) preprocessor variable "OFF" was used in multiple files. Make sure to avoid further conflicts by #undef'ing it in zlib.c before redefining it. Signed-off-by: Wolfgang Denk cc: Giuseppe Condorelli cc: Angelo Castello cc: Alessandro Rubini commit 8cbf4e4f17121d732e78764f0ba317c9a1838ea6 Author: Wolfgang Denk Date: Sun Dec 6 00:26:19 2009 +0100 Fix out-of-tree building of "apollon" board. Signed-off-by: Wolfgang Denk commit f68ab43de67f59925542efb6bcec30f4a84fe695 Author: Mike Frysinger Date: Fri Dec 4 05:35:15 2009 -0500 lzma: ignore unset filesizes The Linux kernel build system changed how it compresses things with LZMA such that the header no longer contains the filesize (it is instead set to all F's). So if we get a LZMA image that has -1 for the 64bit field, let's just assume that the decompressed size is unknown and continue on. Signed-off-by: Mike Frysinger commit cccfc2ab77877dbdd2abe26b28d4c1f467feb0c0 Author: Detlev Zundel Date: Tue Dec 1 17:16:19 2009 +0100 README: Rearrange paragraphs to regain linear arrangement. Two later additions to the Configuration Option section unfortunately split the description of Show boot progress and the list of its call outs. Signed-off-by: Detlev Zundel commit c81296c16fd9d12422c9968cc0f1d9bf440a7d88 Author: Peter Tyser Date: Tue Nov 24 16:42:10 2009 -0600 tools/mkimage: Print FIT image contents after creation Previously, there was no indication to the user that a FIT image was successfully created after executing mkimage. For example: $ mkimage -f uImage.its uImage.itb DTC: dts->dtb on file "uImage.its" Adding some additional output after creating a FIT image lets the user know exactly what is contained in their image, eg: $ mkimage -f uImage.its uImage.itb DTC: dts->dtb on file "uImage.its" FIT description: Linux kernel 2.6.32-rc7-00201-g7550d6f-dirty Created: Tue Nov 24 15:43:01 2009 Image 0 (kernel@1) Description: Linux Kernel 2.6.32-rc7-00201-g7550d6f-dirty Type: Kernel Image Compression: gzip compressed Data Size: 2707311 Bytes = 2643.86 kB = 2.58 MB Architecture: PowerPC OS: Linux Load Address: 0x00000000 Entry Point: 0x00000000 Hash algo: crc32 Hash value: efe0798b Hash algo: sha1 Hash value: ecafba8c95684f2c8fec67e33c41ec88df1534d7 Image 1 (fdt@1) Description: Flattened Device Tree blob Type: Flat Device Tree Compression: uncompressed Data Size: 12288 Bytes = 12.00 kB = 0.01 MB Architecture: PowerPC Hash algo: crc32 Hash value: a5cab676 Hash algo: sha1 Hash value: 168722b13e305283cfd6603dfe8248cc329adea6 Default Configuration: 'config@1' Configuration 0 (config@1) Description: Default Linux kernel Kernel: kernel@1 FDT: fdt@1 This brings the behavior of creating a FIT image in line with creating a standard uImage, which also prints out the uImage contents after creation. Signed-off-by: Peter Tyser commit 8e1c89663cc8796b85588910046e03b388a7597c Author: Peter Tyser Date: Tue Nov 24 16:42:09 2009 -0600 tools/fit_image.c: Remove unused fit_set_header() The FIT fit_set_header() function was copied from the standard uImage's image_set_header() function during mkimage reorganization. However, the fit_set_header() function is not used since FIT images use a standard device tree blob header. Signed-off-by: Peter Tyser commit 1a99de2cb4d08eb3bf9fb3f60a9d533150de8c0e Author: Peter Tyser Date: Tue Nov 24 16:42:08 2009 -0600 tools/mkimage: Assume FDT image type for FIT images When building a Flattened Image Tree (FIT) the image type needs to be "flat_dt". Commit 89a4d6b12fd6394898b8a454cbabeaf1cd59bae5 introduced a regression which caused the user to need to specify the "-T flat_dt" parameter on the command line when building a FIT image. The "-T flat_dt" parameter should not be needed and is at odds with the current FIT image documentation. Signed-off-by: Peter Tyser commit 270737acca21f3939f814de5dcf350a1c3d80d83 Author: Michael Brandt Date: Sun Nov 22 14:13:27 2009 +0100 EXT2FS: fix inode size for ext2fs rev#0 extfs.c assumes that there is always a valid inode_size field in the superblock. But this is not true for ext2fs rev 0. Such ext2fs images are for instance generated by genext2fs. Symptoms on ARM machines are messages like: "raise: Signal # 8 caught"; on PowerPC "ext2ls" will print nothing. This fix checks for rev 0 and uses then 128 bytes as inode size. Signed-off-by: Michael Brandt Tested on: TQM5200S Tested-by: Wolfgang Denk Signed-off-by: Wolfgang Denk commit bcb324d68f7955c1136dafc944eb55db8ebaa601 Author: Robert P. J. Day Date: Thu Nov 19 11:00:28 2009 -0500 Remove superfluous preprocessor tests from some cmd_*.c files. A small number of common/cmd_*.c files contain preprocessor tests that are apparently superfluous since those same tests are used in the Makefile to control the compilation of those files. Those tests are clearly redundant as long as they surround the entirety of the source in those files. Signed-off-by: Robert P. J. Day commit ad53226156fa64b6d04c0d1d6e91e09979cbea15 Author: Robert P. J. Day Date: Tue Nov 17 01:59:29 2009 -0500 README: Update the list of directories. Bring the directory listing more into line with current content. Signed-off-by: Robert P. J. Day commit bd3784df94bfeca43fbf34094df9cb1bd3ecca3b Author: Pratap Chandu Date: Thu Nov 12 19:28:25 2009 +0530 Removes dead code in the file common/cmd_i2c.c There is some dead code enclosed by #if 0 .... #endif in the file common/cmd_i2c.c This patch removes the dead code. Signed-off-by: Pratap Chandu commit 64a480601a5614b441de692ae15a62c51e0bb381 Author: Mike Frysinger Date: Wed Nov 11 17:51:56 2009 -0500 smc91111_eeprom: drop CONFIG stub protection Since the Makefile now controls the compilation of this, there is no need for CONFIG checking nor the stub function. Signed-off-by: Mike Frysinger commit f3a7bddc06c927c36a1a99a97131299479ef207a Author: Magnus Lilja Date: Wed Nov 11 19:56:58 2009 +0100 RTC: Fix return code in MC13783 RTC driver. Signed-off-by: Magnus Lilja commit d52e3e0176a74c30549251e16c5c00a363c544d2 Author: Magnus Lilja Date: Wed Nov 11 19:56:36 2009 +0100 cmd_date: Fix spelling in error message. Signed-off-by: Magnus Lilja commit c253122395753abb9e531d8906c5265dc8803fb1 Author: Peter Tyser Date: Wed Nov 11 10:36:28 2009 -0600 Move do_irqinfo() to common/cmd_irq.c cmd_irq.c is a much better home and it is already conditionally compiled based on CONFIG_CMD_IRQ. Signed-off-by: Peter Tyser commit a5dd4dc64fe68e549c5ffcf6a048281b5ba94752 Author: Peter Tyser Date: Wed Nov 11 10:36:19 2009 -0600 cmd_license: Remove unneeded #ifdef CONFIG_CMD_LICENSE cmd_license is already conditionally compiled at the Makefile-level. Signed-off-by: Peter Tyser commit 06015146a15adc7455440c491d543f6a8091551d Author: Peter Tyser Date: Mon Nov 9 15:18:52 2009 -0600 m41t11: Remove unused functions Signed-off-by: Peter Tyser commit 9ef78511cda39987e5fc10febf386fd19f58ecf7 Author: Peter Tyser Date: Mon Nov 9 15:17:50 2009 -0600 circbuf: Move to lib_generic and conditionally compile circbuf could be used as a generic library and is only currently needed when CONFIG_USB_TTY is defined. Signed-off-by: Peter Tyser commit 604f7ce55ad74694ef8743ad2e99933dc0265e46 Author: Sanjeev Premi Date: Mon Nov 9 22:43:00 2009 +0530 Fix build failure in examples/standalone Some versions of 'make' do not handle trailing white-spaces properly. Trailing spaces in ELF causes a 'fake' source to be added to the variable COBJS; leading to build failure (listed below). The problem was found with GNU Make 3.80. Using text-function 'strip' as a workaround for the problem. make[1]: Entering directory `/home/sanjeev/u-boot/examples/standalone' arm-none-linux-gnueabi-gcc -g -Os -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x80e80000 -I/home/sanjeev/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/codesourcery/2009q1- 203/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/include -pipe -DCONFIG_ ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv5 -Wall -Wstrict-prototypes -fno-stack-protector -g -Os -fno-common -ff ixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x80e80000 -I/home/sanje ev/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/co desourcery/2009q1-203/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/includ e -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-inte rwork -march=armv5 -I.. -Bstatic -T u-boot.lds -Ttext 0x80e80000 -o .c arm-none-linux-gnueabi-gcc: no input files make[1]: *** [.c] Error 1 make[1]: Leaving directory `/home/sanjeev/u-boot/examples/standalone' make: *** [examples/standalone] Error 2 premi # Signed-off-by: Sanjeev Premi Fixed typo (s/ElF/ELF/). Signed-off-by: Wolfgang Denk commit af860962b544ddf323c4ff68454f00d31e44df0a Author: Becky Bruce Date: Wed Nov 4 18:30:08 2009 -0600 85xx: Remove unused CONFIG_ASSUME_AMD_FLASH from config files A bunch of the 85xx boards have this cruft in them - it's not used anywhere. Delete it. Signed-off-by: Becky Bruce commit deec1fbd4f704dded2e668bb9e368631981ea139 Author: Wolfgang Denk Date: Wed Dec 2 22:26:30 2009 +0100 MAINTAINERS: update responsible for MPC85xx/86xx Signed-off-by: Wolfgang Denk Cc: Kumar Gala Cc: Becky Bruce commit 824d82997fbcf28e49081d36fdd5d3be1b92b03d Author: Ira W. Snyder Date: Wed Nov 4 13:37:59 2009 -0800 Fix example FIT image source files The example FIT image source files do not compile with the latest dtc and mkimage. The following error message is produced: DTC: dts->dtb on file "kernel.its" Error: kernel.its 7:0 - 1:0 syntax error FATAL ERROR: Unable to parse input tree ./mkimage: Can't read kernel.itb.tmp: Invalid argument The FIT image source files are missing the "/dts-v1/;" directive at the beginning of the file. Add the directive to the examples. Signed-off-by: Ira W. Snyder commit fd66066ee3ce15c2966feb9b2be0f0d51a95db48 Author: Mike Frysinger Date: Wed Nov 4 16:13:19 2009 -0500 img2srec: use standard types The img2srec code creates a lot of typedefs with common names. These easily clash with system headers that include these typedefs (like mingw). Signed-off-by: Mike Frysinger commit 8204e068110e8abe5db9c3b7df9971b58cda8f26 Author: Mike Frysinger Date: Wed Nov 4 16:03:25 2009 -0500 tools: gitignore *.exe binaries Signed-off-by: Mike Frysinger commit 425d3b666eee5c58fdb82fb894a535dd71782a05 Author: Peter Tyser Date: Tue Nov 3 23:31:07 2009 -0600 ppc: Move conditional compilation of kgdb.c to Makefile Signed-off-by: Peter Tyser commit e06ab6546b332acc55ac4e7c31338662328b0fb3 Author: Mike Frysinger Date: Tue Nov 3 11:36:39 2009 -0500 spi_flash.h: pull in linux/types.h for u## types commit 0008555f4d57c15ad86ee735861ca0d783042f61 Author: Mike Frysinger Date: Tue Nov 3 11:36:26 2009 -0500 bootm: mark local boot_os[] table static Signed-off-by: Mike Frysinger commit a8fa379d47f06c7d3ed75c8fb26ae43ee38e1fd7 Author: Nishanth Menon Date: Mon Nov 2 09:40:18 2009 -0600 mkconfig: deny messed up ARCH definition Refuse to setup a platform if the command line ARCH= is not the same as the one required for the board. This prevents any user with prehistoric aliases from messing up their builds. Reported in thread: http://old.nabble.com/-U-Boot--Build-breaks-on-some-OMAP3-configs-to26132721.html Inputs from: Mike Frysinger and Wolfgang Denk: http://lists.denx.de/pipermail/u-boot/2009-November/063642.html Cc: Wolfgang Denk Cc: Mike Frysinger Cc: Anand Gadiyar Cc: Dirk Behme Signed-off-by: Nishanth Menon commit 67b96e87da1b84660fa1e5b78cc760246d116814 Author: Remy Bohmer Date: Wed Oct 28 22:13:39 2009 +0100 Repair the 'netretry=once' option. 'netretry = once' does the same as 'netretry = yes', because it is not stored when it was tried once. Signed-off-by: Remy Bohmer Signed-off-by: Ben Warren commit b25e38fc36e13fa8037fa4d37fe909d1d6e6f372 Author: Remy Bohmer Date: Thu Oct 29 14:24:22 2009 +0100 Repair build fail in case CONFIG_PPC=n and CONFIG_FIT=y Signed-off-by: Remy Bohmer commit 01826abc02ce160501534788e63629ccbe31b05c Author: Grazvydas Ignotas Date: Thu Nov 12 11:46:07 2009 +0200 OMAP3: pandora: fix booting without serial attached When the board is booted without serial cable attached (which is how most of them will be used) UART RX is left floating and sometimes picks noise, which interrupts countdown and enters U-Boot prompt instead of booting the kernel. Fix this by setting up internal pullup on UART RX pin. This does not prevent serial from working as the internal pullup is weak. Signed-off-by: Grazvydas Ignotas commit 41dfd8a60324243dbe2dc313a607910824a68aa7 Author: Remy Bohmer Date: Wed Oct 28 22:13:37 2009 +0100 Add support for CS2 dataflash for Atmel-SPI. The only missing chipselect line support is CS2, and I need it on CS2... Signed-off-by: Remy Bohmer commit faf36c1437c95e4a86835633d9801c5f6396a3c7 Author: Remy Bohmer Date: Wed Oct 28 22:13:36 2009 +0100 Fix mingw tools build mkimage does not build due to missing strtok_r() and getline() implementation Signed-off-by: Remy Bohmer commit 6a590c5f5fd12cdd27f3153522acfac3854590e7 Author: Remy Bohmer Date: Wed Oct 28 22:13:35 2009 +0100 Building of FIT images does not work. The type is not set for generation of the FIT images, resulting in no images being created without printing or returning an error Signed-off-by: Remy Bohmer commit 0a7691e820e33b23f61c6ea0ef6fa72099d1a6ae Author: Renato Andreola Date: Mon Nov 23 16:45:14 2009 -0500 Nios2: do_boom_linux(): kernel gunzip input data integrity problem due to missing cache flush. Added instruction and data caches flush. Signed-off-by: Scott McNutt commit de03825386eaedb5e17261dd87cde86e9a764ba9 Author: Scott McNutt Date: Mon Nov 23 16:29:40 2009 -0500 Nios2: Fix compiler warnings in lib_nios2/board.c (unused variables) Signed-off-by: Scott McNutt commit 57baa379cf2f67df89a5c6052767fd25daff20bd Author: Scott McNutt Date: Mon Nov 23 15:54:25 2009 -0500 Nios2/Nios: Remove unnecessary (residual) linker Nios command scripts from the standalone examples. Signed-off-by: Scott McNutt commit fcffb680e77fcb48598d4a9944dbe2d4503170e0 Author: Mike Frysinger Date: Wed Oct 14 19:28:03 2009 -0400 sf: fix stmicro offset setup while erasing Reported-by: Peter Gombos Signed-off-by: Mike Frysinger commit d394a7795027d96ca55799df40bd5c4a13dbeebe Author: Jason McMullan Date: Fri Oct 9 17:12:23 2009 -0400 sf: new driver for Winbond W25X16/32/64 devices Signed-off-by: Jason McMullan Signed-off-by: Mike Frysinger commit cada315100c88894b85972a91309a6f2413966b6 Author: Marcel Ziswiler Date: Thu Oct 1 23:55:17 2009 +0200 mpc8260: move FDT memory node fixup into common CPU code. Signed-off-by: Marcel Ziswiler Tested-by: Heiko Schocher commit f2cea405f83da46b72098ea874fb3eefe185d312 Author: Po-Yu Chuang Date: Wed Sep 23 15:52:35 2009 +0800 Add driver for FTRTC010 real time clock Signed-off-by: Po-Yu Chuang Edited commit message. Signed-off-by: Wolfgang Denk commit c0356a88011330646e960dfac8a2c909bede3304 Author: Mark Jackson Date: Mon Aug 17 16:42:52 2009 +0100 MIMC200: set default fbmem value This patch adds a default bootargs "fbmem" value to the CONFIG_BOOTARGS string for the MIMC200 board. Signed-off-by: Mark Jackson commit 3ffc0d61bad7d986e344ce7062b37c5c8f04fb0e Author: Matthias Fuchs Date: Tue Oct 27 19:58:09 2009 +0100 ppc4xx: Initialize magnetic coupler on VOM405 boards This patch fixes an ugly behavior of the IL712 magnetic coupler as used on VOM405. These parts will remember their last state over a power cycle which might cause unwanted behavior. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit be0db3e3141c6c6b4e232b51091f35a284cc54e5 Author: Matthias Fuchs Date: Mon Oct 26 09:58:45 2009 +0100 ppc4xx: Initialize magnetic couplers in PLU405 This patch fixes an ugly behavior of the IL712 magnetic couplers as used on PLU405. These parts will remember their last state over a power cycle which might cause unwanted behavior. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit 067f54c66acd469870ef6946e1591bfcc02de1b3 Author: Matthias Fuchs Date: Mon Oct 26 09:55:40 2009 +0100 Add minimal SJA1000 header for basic CAN mode This patch is in preparation for the upcoming PLU405 board fix. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit cdbdbe65f5f006cba208accee5a126c659d4b867 Author: Kumar Gala Date: Fri Nov 13 08:52:21 2009 -0600 ppc/85xx: Fix how we determine the number of CAM entries We were incorrectly use the max CAM size as the number of entries in the array for setting up the addrmap. We should be using the NENTRY field which is the low 12-bits of TLB1CFG. Signed-off-by: Kumar Gala commit fbd47b6753b08162436d9ccad1e63c8d43ede54c Author: Mike Rapoport Date: Thu Nov 12 15:35:08 2009 +0200 smc911x: make smc911x_initialize return correct value Make smc911x_initialize return -1 on error and number of interfaces detected otherwise. Signed-off-by: Mike Rapoport Acked-by: Mike Frysinger Signed-off-by: Ben Warren commit c44efcf97b335dcef7d014f65b7d3094e79adb13 Author: Mike Frysinger Date: Thu Nov 12 22:26:02 2009 -0500 smc911x_eeprom: fix building after smc911x overhaul When the smc911x driver was converted to NET_MULTI, the smc911x eeprom was missed. The config option needed updating as well as overhauling of the rergister read/write functions. Signed-off-by: Mike Frysinger Tested-by: Mike Rapoport Signed-off-by: Ben Warren commit 3ad95deb30ac73bd57e966d321215a17d3236f9f Author: Dave Liu Date: Thu Nov 12 07:26:37 2009 +0800 fsl-ddr: Fix the chip-select interleaving issue commit 1542fbdeec0d1e2a6df13189df8dcb1ce8802be3 introduced one new bug to chip-select interleaving. Single DDR controller also can do the chip-select interleaving if there is dual-rank or qual-rank DIMMs. Signed-off-by: Dave Liu Signed-off-by: Kumar Gala commit 651ef90fa6ca824c8e581aeef9e04bbbe7f7e9ce Author: javier Martin Date: Thu Oct 29 08:22:43 2009 +0100 mxc_fec: avoid free() calls to already freed pointers. Sometimes, inside NetLoop, eth_halt() is called before eth_init() has been called. This is harmless except for free() calls to pointers which have not been allocated yet. This patch initializes those pointers to NULL and allocates them only the first time. This way we can get rid of free calls in halt callback. This has been tested in i.MX27 Litekit board and eldk-4.2 toolchains. Signed-off-by: Javier Martin Signed-off-by: Ben Warren commit e8f1546a88b4ade6a910c4a7958a774ee1b40023 Author: javier Martin Date: Thu Oct 29 08:18:34 2009 +0100 mxc_fec: fix some erroneous PHY accesses. This patch fixes erroneous access to the ethernet PHY which broke the driver. 1. Selector field in the auto-negotiation register must be 0x00001 for using 802.3, not 0x00000 which is reseved. 2. Access to the PHY address specified by CONFIG_FEC_MXC_PHYADDR, not 0x0 fixed address. This has been tested in i.MX27 Litekit board and eldk-4.2 toolchains. Now using proper defines for auto-negotiation register. Signed-off-by: Javier Martin Signed-off-by: Ben Warren commit f865fcbbb35851e75fee9c3a3fa8e0f71d9e6463 Author: Ron Lee Date: Wed Aug 5 20:14:01 2009 +0200 ARM Don't inline weak symbols ------------------------------------------------------------------------ GCC 4.4 complains about this now. Signed-off-by: Ron Lee commit d14c7ec2b51fb92c4a5218b299b772c3d186510d Author: Ben Warren Date: Mon Nov 9 13:09:57 2009 -0800 Fix SMC91111 regression: lpd7a40x build failures Both lpd7a400 and lpd7a404 failed to compile because they had CONFIG_SMC_USE_IOFUNCS defined: examples/standalone/smc91111_eeprom.c:388: undefined reference to `SMC_outw' Also removed an orphaned paren in lpd7a404.h Signed-off-by: Ben Warren commit 1031ae960ce6ce8332190278a06e2d72c2b2793e Author: Ben Warren Date: Mon Nov 9 14:01:08 2009 -0800 SMC91111: Clean up SMC_inx macros on xsengine and xaeniax This patch fixes the following warnings: Configuring for xaeniax board... smc91111_eeprom.c: In function 'print_macaddr': smc91111_eeprom.c:278: warning: suggest parentheses around + or - in operand of & smc91111_eeprom.c:281: warning: suggest parentheses around + or - in operand of & ... Configuring for xsengine board... smc91111_eeprom.c: In function 'print_macaddr': smc91111_eeprom.c:278: warning: suggest parentheses around + or - inside shift smc91111_eeprom.c:281: warning: suggest parentheses around + or - inside shift Signed-off-by: Ben Warren commit 830c7b6722c6a9762411bf52a7bf2fae4dc71dab Author: Ben Warren Date: Mon Nov 9 11:43:18 2009 -0800 Fix CS8900 regression on impa7 board The following error was seen on impa7 board, due to its use of a 32-bit bus on CS8900. cs8900.c:137:37: error: macro "get_reg_init_bus" passed 2 arguments, but takes just 1 This patch gives the macro the correct number of arguments Signed-off-by: Ben Warren commit e5c5d9e0834bacf1c4787fa76cc4e369f2597cf5 Author: Mike Frysinger Date: Sun Nov 1 22:39:56 2009 -0500 clarify eth driver halt/recv steps The dev->halt() func can be called at any time, and the dev->recv() func does not need to use NetRxPackets[] when calling NetReceive(). Signed-off-by: Mike Frysinger Signed-off-by: Ben Warren commit 497ab0eec5e1e2dfccc141a4485cd6b940e1424a Author: Hui.Tang Date: Thu Nov 5 09:58:44 2009 +0800 Fix cs8900 dev->priv not init issue Ensure all CS8900 data structures are assigned before accessing device Signed-off-by: Hui.Tang Signed-off-by: Ben Warren commit 4fe5193d464ecdac26ddc71b1351be5b86bbff29 Author: Stefan Roese Date: Tue Nov 3 14:34:45 2009 +0100 ppc4xx: 44x_spd_ddr2.c: Fix register macro ECCCR -> ECCES (SDRAM_ECCES) This error only appears when DEBUG is enabled in this driver. That's why it went unnoticed till now. Signed-off-by: Stefan Roese commit 916ed9444d3ab7b5cd6312557005f2a764a8baf7 Author: Stefan Roese Date: Thu Oct 29 18:37:45 2009 +0100 ppc4xx: Canyonlands: Change EBC bus config to drive always (no high-z) This patch fixes a problem only seen very occasionally on Canyonlands. The NOR flash interface (CFI driver) doesn't work reliably in all cases. Erasing and/or programming sometimes doesn't work. Sometimes with an error message, like "flash not erased" when trying to program an area that should have just been erased. And sometimes without any error messages. As mentioned above, this problem was only seen rarely and with some PLL configuration (CPU speed, EBC speed). Now I spotted this problem a few times, when running my Canyonlands with the following setup (chip_config): 1000-nor - NOR CPU:1000 PLB: 200 OPB: 100 EBC: 100 Changing the EBC configuration to not release the bus into high impedance state inbetween the transfers (ATC, DTC and CTC bits set to 1 in EBC0_CFG) seems to fix this problem. I haven't seen any failure anymore with this patch applied. Signed-off-by: Stefan Roese Cc: David Mitchell Cc: Jeff Mann commit 25793f76bf9a7be59c9415ef0f78d034e8d53dae Author: Remy Bohmer Date: Thu Oct 29 12:29:37 2009 +0100 ARM: Use Linux version for unaligned access code The asm-arm/unaligned.h includes linux/unaligned/access_ok.h This file is unsafe to be used on ARM, since it does an unaligned memory accesses which fails on ARM. Lookin at Linux the basic difference seems to be the header "include/asm-arm/unaligned.h". The Linux version of "unaligned.h" does *not* include "access_ok.h" at all. It includes "le_byteshift.h" and "be_byteshift.h" instead. Signed-off-by: Remy Bohmer Signed-off-by: Stefan Roese -- include/asm-arm/unaligned.h | 3 - include/linux/unaligned/be_byteshift.h | 70 +++++++++++++++++++++++++++++++++ include/linux/unaligned/le_byteshift.h | 70 +++++++++++++++++++++++++++++++++ 3 files changed, 142 insertions(+), 1 deletion(-) create mode 100644 include/linux/unaligned/be_byteshift.h create mode 100644 include/linux/unaligned/le_byteshift.h commit 6d6e7c53d5c75e5e24841c5506f4ed9d82adee09 Author: Kumar Gala Date: Wed Nov 4 18:02:10 2009 -0600 ppc/85xx: Fix inclusion of 83xx immap in 85xx builds The nand_boot_fsl_elbc.c is shared between 83xx & 85xx however we should not be including the immap_83xx.h when building 85xx. We can just get this all from common.h Signed-off-by: Kumar Gala commit 107b579c75256212d4bf8b99ee8d68e0078f3646 Author: Becky Bruce Date: Wed Nov 4 17:34:04 2009 -0600 86xx: Remove redundant code in initdram The same code exists both inside an #ifdef and outside of it. Remove the extra code for all the 86xx boards. Signed-off-by: Becky Bruce Signed-off-by: Kumar Gala commit 715d8f7608f77c93f1807a032644893fd5b6d08b Author: Ed Swarthout Date: Mon Nov 2 09:05:49 2009 -0600 fsl_pci_init_port end-point initialization is broken commit 70ed869e broke fsl pcie end-point initialization. Returning 0 is not correct. The function must return the first free bus number for the next controller. fsl_pci_init() must still be called and a bus allocated even if the controller is an end-point. Signed-off-by: Ed Swarthout Acked-by: Vivek Mahajan Signed-off-by: Kumar Gala commit 01471d538fb163f472a769f21267d7676c91267c Author: Kumar Gala Date: Wed Nov 4 01:29:04 2009 -0600 Revert "ppc/85xx/pci: fsl_pci_init: pcie agent mode support" This reverts commit 70ed869ea5f6b1d13d7b140c83ec0dcd8a127ddc. There isn't any need to modify the API for fsl_pci_init_port to pass the status of host/agent(end-point) status. We can determine that internally to fsl_pci_init_port. Revert the patch that makes the API change. Signed-off-by: Kumar Gala commit ff88229549e08fdd3f9127c1cc4db11a3576250f Author: Dave Liu Date: Sat Oct 31 07:59:55 2009 +0800 ppc/85xx: Fix misc L2 cache enabling bug We need loop-check the flash clear lock and enable bit for L2 cache. Signed-off-by: Dave Liu Signed-off-by: Kumar Gala commit 59434fe243962758742af5cb8e2ced976e17c302 Author: Nobuhiro Iwamatsu Date: Fri Oct 30 10:16:27 2009 +0900 sh: Update lowlevel_init.S of espt-giga There was the point that did not use write macro. Change to write macro. Signed-off-by: Nobuhiro Iwamatsu commit f1cae1969d9e971fb72827a5731ce7e752464aa2 Author: Nobuhiro Iwamatsu Date: Fri Oct 30 10:01:25 2009 +0900 sh: Move some defs to convince 'pcrel too far' Signed-off-by: Nobuhiro Iwamatsu Signed-off-by: Takashi Yoshii commit 0f9eaf4b323ea0ca95944b84c7465b81ba575514 Author: Nobuhiro Iwamatsu Date: Thu Oct 15 13:36:34 2009 +0900 sh: Remove malloc_bin_reloc from lib_sh, lib_nios2 and lib_nios. By "arm/microblaze/nios/nios2/sh: Remove relocation fixups" (commit: 0630535e2d062dd73c1ceca5c6125c86d1127a49", doesn't need malloc_bin_reloc function. This commit remove this. Signed-off-by: Nobuhiro Iwamatsu commit 0775437293a6963cb21244dfae6978cbf67c6bfe Author: Ben Warren Date: Wed Oct 21 21:53:39 2009 -0700 Fix DM9000 MAC address handling Proper behavior is to pull MAC address from NVRAM in the initialization() an stuff it in dev->address, then program the device from dev->address in the init() function. Signed-off-by: Ben Warren commit 98d92d8c9f4021629a45261ad5ec3f3595f3a27a Author: Wolfgang Denk Date: Wed Oct 28 22:07:56 2009 +0100 sbc8349: fix incorrect comment The comment for the BR0_PRELIM port size initialization incorrectly stated 32 bit, while it's actually 16 bit. The code is correct. Reported-by: Guenter Koellner Signed-off-by: Wolfgang Denk commit a38f85e180a30b6225808828ded1017b1a5418c6 Author: Sandeep Paulraj Date: Wed Oct 28 11:05:03 2009 -0400 Fix Compliation warning for TNY-A9260 and TNY-A9G20 The patch fixes a compilation warning by defining CONFIG_SYS_64BIT_VSPRINTF in the config file Signed-off-by: Sandeep Paulraj commit 264e42ee54f1d322805d9068168fd362b413fd09 Author: Sandeep Paulraj Date: Wed Oct 28 11:04:53 2009 -0400 Fix Compliation warning for SBC35-A9G20 board The patch fixes a compilation warning by defining CONFIG_SYS_64BIT_VSPRINTF in the config file Signed-off-by: Sandeep Paulraj commit 353462f6ff9769091fb644d44d8025f20a4192d9 Author: Eric Millbrandt Date: Wed Oct 28 09:37:33 2009 -0500 galaxy5200: Add default environment variables Extend bootdelay to 10 seconds. Set boot retry time to 120 seconds and use reset to retry. Define default bootcommand and bootargs for production. Signed-off-by: Eric Millbrandt commit fa36ae790eb10ce70935f9a78f07703719dca422 Author: Stefan Roese Date: Tue Oct 27 15:15:55 2009 +0100 cfi: Add weak default function for flash_cmd_reset() Currently the CFI driver issues both AMD and Intel reset commands. This is because the driver doesn't know yet which chips are connected. This dual reset seems to cause problems with the M29W128G chips as reported by Richard Retanubun. This patch now introduces a weak default function for the CFI reset command, still with both resets. This can be overridden by a board specific version if necessary. Signed-off-by: Stefan Roese Cc: Richard Retanubun commit 4946775c6db52dba28f72ba3525764b54f1d4593 Author: Wolfgang Denk Date: Wed Oct 28 00:49:47 2009 +0100 Coding Style cleanup; update CHANGELOG, prepare -rc1 Signed-off-by: Wolfgang Denk commit 246c69225c7b962d5c93e92282b78ca9fc5fefee Author: Peter Tyser Date: Sun Oct 25 15:12:56 2009 -0500 Add 'editenv' command The editenv command can be used to edit an environment variable. Editing an environment variable is useful when one wants to tweak an existing variable, for example fix a typo or change the baudrate in the 'bootargs' environment variable. Signed-off-by: Peter Tyser commit b0fa8e50632a628766db23f5c884ec63f1469552 Author: Peter Tyser Date: Sun Oct 25 15:12:55 2009 -0500 setenv(): Delete 0-length environment variables Previously setenv() would only delete an environment variable if it was passed a NULL string pointer as a value. It should also delete an environment variable when it encounters a valid string pointer of 0-length. This change/fix is generally useful and is necessary for the upcoming "editenv" command. Signed-off-by: Peter Tyser commit ecc5500ee487170d8af6ff893fd1e0082380a01a Author: Peter Tyser Date: Sun Oct 25 15:12:54 2009 -0500 readline(): Add ability to modify a string buffer If the 'buf' parameter is a non-0-length string, its contents will be edited. Previously, the initial contents of 'buf' were ignored and the user entered its contents from scratch. This change is necessary to support the upcoming "editenv" command but could also be used for future commands which require a user to modify an existing string. Signed-off-by: Peter Tyser commit f923943843cd617d681387e7fe81a48060cc6401 Author: Peter Tyser Date: Sun Oct 25 15:12:53 2009 -0500 cread_line(): Remove unused variables Signed-off-by: Peter Tyser commit e491a71e578e93bd3b2f8f20d8ef8f111c98010d Author: Peter Tyser Date: Sun Oct 25 15:12:52 2009 -0500 Check for NULL prompt in readline_into_buffer() Previously, passing readline() or readline_into_buffer() a NULL 'prompt' parameter would result in puts() printing garbage when CONFIG_CMDLINE_EDITING was enabled. Note that no board currently triggers this bug. Enabling CONFIG_CMDLINE_EDITING on some boards (eg bab7xx) would result in the bug appearing. This change is only intended to prevent someone from running into this issue in the future. Signed-off-by: Peter Tyser commit 16d1c10783660f3fdbc3c19141f42f3b0d1834d3 Author: Wolfgang Denk Date: Sun Oct 25 23:00:09 2009 +0100 drivers/net/phy/miiphybb.c: fix warning: no newline at end of file Add missing newline. Signed-off-by: Wolfgang Denk Cc: Luigi Mantellini Cc: Ben Warren commit a747a7f31059b9069e97c78bba5496409c33aa05 Author: Wolfgang Denk Date: Tue Oct 27 00:03:32 2009 +0100 Revert "env: only build env_embedded and envcrc when needed" Breaks building on many boards, and no really clean fix available yet. This reverts commit 6dab6add2d8ee80905234b326abc3de11be1d178. commit 3fca80375981fe83d4674a0267183b469a1ea7ff Author: Anton Vorontsov Date: Thu Oct 15 17:47:16 2009 +0400 mpc85xx: Configure QE USB for MPC8569E-MDS boards Setup QE pin multiplexing for USB function, configure needed BCSRs and add some fdt fixups. Signed-off-by: Anton Vorontsov Signed-off-by: Kumar Gala commit 14809b6c21c89dd65abaf3fea7627fb5ea0f78a3 Author: Anton Vorontsov Date: Thu Oct 15 17:47:13 2009 +0400 mpc85xx: Configure QE UART for MPC8569E-MDS boards To make QE UART usable by Linux we should setup pin multiplexing and turn UCC2 Ethernet node into UCC2 QE UART node. Also, QE UART is mutually exclusive with UART0, so we can't enable it if eSDHC is in 4-bits mode on pilot boards, or if it's a prototype board with eSDHC in 1- or 4-bits mode. Signed-off-by: Anton Vorontsov Signed-off-by: Kumar Gala commit 70d665b1d230b9575a647948e8db3da1e6743e5c Author: Anton Vorontsov Date: Thu Oct 15 17:47:11 2009 +0400 mpc85xx: Setup QE pinmux for SPI Flash on MPC8569E-MDS boards SPI Flash (M25P40) is connected to the SPI1 bus, we need a few qe_iop entries to actually enable SPI1 on these boards. Signed-off-by: Anton Vorontsov Signed-off-by: Kumar Gala commit 65dec3b4599a17e83ec69dfd059e4ea1e795ef37 Author: Anton Vorontsov Date: Thu Oct 15 17:47:09 2009 +0400 mpc85xx: Setup SRIO memory region LAW for MPC8569E-MDS boards This patch sets memory window for Serial RapidIO on MPC8569E-MDS boards. Signed-off-by: Anton Vorontsov Signed-off-by: Kumar Gala commit a29155e12286cc5ec2df72c1cab28e3659bfdad5 Author: Anton Vorontsov Date: Thu Oct 15 17:47:08 2009 +0400 mpc85xx: Add eLBC NAND support for MPC8569E-MDS boards Simply add some defines, and adjust TLBe setup to include some space for eLBC NAND. Signed-off-by: Anton Vorontsov Signed-off-by: Kumar Gala commit 7f52ed5ef1b490da282ace3316be381a6abf96a5 Author: Anton Vorontsov Date: Thu Oct 15 17:47:06 2009 +0400 mpc85xx: Add eSDHC support for MPC8569E-MDS boards eSDHC is mutually exlusive with UART0 (in 4-bits mode) and I2C2 (in 1-bit mode). When eSDHC is used, we should switch u-boot console to UART1, and make the proper device-tree fixups. Because of an erratum in prototype boards it is impossible to use eSDHC without disabling UART0 (which makes it quite easy to 'brick' the board by simply issung 'setenv hwconfig esdhc', and not able to interact with U-Boot anylonger). So, but default we assume that the board is a prototype, which is a most safe assumption. There is no way to determine board revision from a register, so we use hwconfig. Signed-off-by: Anton Vorontsov Signed-off-by: Kumar Gala commit 48618126f78f05042dae428811809b594f747eb9 Author: Peter Tyser Date: Fri Oct 23 15:55:48 2009 -0500 xpedite5370: Enable multi-core support Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit 5ccd29c3679b3669b0bde5c501c1aa0f325a7acb Author: Peter Tyser Date: Fri Oct 23 15:55:47 2009 -0500 85xx: MP Boot Page Translation update This change has 3 goals: - Have secondary cores be released into spin loops at their 'true' address in SDRAM. Previously, secondary cores were put into spin loops in the 0xfffffxxx address range which required that boot page translation was always enabled while cores were in their spin loops. - Allow the TLB window that the primary core uses to access the secondary cores boot page to be placed at any address. Previously, a TLB window at 0xfffff000 was always used to access the seconary cores' boot page. This TLB address requirement overlapped with other peripherals on some boards (eg XPedite5370). By default, the boot page TLB will still use the 0xfffffxxx address range, but this can be overridden on a board-by-board basis by defining a custom CONFIG_BPTR_VIRT_ADDR. Note that the TLB used to map the boot page remains in use while U-Boot executes. Previously it was only temporarily used, then restored to its initial value. - Allow Boot Page Translation to be disabled on bootup. Previously, Boot Page Translation was always left enabled after secondary cores were brought out of reset. This caused the 0xfffffxxx address range to somewhat "magically" be translated to an address in SDRAM. Some boards may not want this oddity in their memory map, so defining CONFIG_MPC8xxx_DISABLE_BPTR will turn off Boot Page Translation after the secondary cores are initialized. These changes are only applicable to 85xx boards with CONFIG_MP defined. Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit 70ed869ea5f6b1d13d7b140c83ec0dcd8a127ddc Author: Vivek Mahajan Date: Tue Oct 27 12:18:55 2009 +0530 ppc/85xx/pci: fsl_pci_init: pcie agent mode support Originally written by Jason Jin and Mingkai Hu for mpc8536. When QorIQ based board is configured as a PCIe agent, then unlock/enable inbound PCI configuration cycles and init a 4K inbound memory window; so that a PCIe host can access the PCIe agents SDRAM at address 0x0 * Supported in fsl_pci_init_port() after adding pcie_ep as a param * Revamped copyright in drivers/pci/fsl_pci_init.c * Mods in 85xx based board specific pci init after this change Signed-off-by: Vivek Mahajan Signed-off-by: Kumar Gala commit 273a28ad9ef59dcfcd4c056ec1f61f1e0896cfaa Author: Poonam Aggrwal Date: Tue Oct 27 09:36:38 2009 +0530 85xx/p1_p2_rdb: Fixing DDR configuration for 800MHz data rate Signed-off-by: Poonam Aggrwal Signed-off-by: Kumar Gala commit 924024c396761c267b948f38d78e9905f2036501 Author: Poonam Aggrwal Date: Tue Oct 27 09:26:55 2009 +0530 85xx/p1_p2rdb: Fix crash while configuring 32 bit DDR i/f for P1020RDB. The data being modified was in NOR flash which caused the crash. Signed-off-by: Poonam Aggrwal Signed-off-by: Kumar Gala commit 2c0c58b92dbb68007061bdc0edd23bdf142efebf Author: Sergey Mironov Date: Wed Sep 23 16:47:38 2009 +0400 Fix bug in jumptable call stubs for SPARC. Signed-off-by: Sergey Mironov Signed-off-by: Daniel Hellstrom commit 3e303f748cf57fb23e8ec95ab7eac0074be50e2b Author: Anton Vorontsov Date: Thu Oct 15 17:47:04 2009 +0400 fdt_support: Add multi-serial support for stdout fixup Currently fdt_fixup_stdout() is using hard-coded CONFIG_CONS_INDEX constant. With multi-serial support, the CONS_INDEX may no longer represent actual console, so we should try to extract port number from the current stdio device name instead of always hard-coding the constant value. Signed-off-by: Anton Vorontsov Acked-by: Gerald Van Baren Signed-off-by: Kumar Gala commit da0e5f7ee828f246d85997486fff308837069453 Author: Leon Woestenberg Date: Mon Oct 26 10:03:32 2009 +0100 ppc/85xx: Fix crashes due to generation of SPE instruction U-Boot crashed on the last instruction: int parse_stream_outer(struct in_str *inp, int flag) { effa4784: 94 21 ff 38 stwu r1,-200(r1) effa4788: 7c 08 02 a6 mflr r0 effa478c: 42 9f 00 05 bcl- 20,4*cr7+so,effa4790 effa4790: 7d 80 00 26 mfcr r12 effa4794: 13 c1 b3 21 evstdd r30,176(r1) ...which is a SPE instruction, although -mno-spe was used. tmp/cross/ppce500v2/bin/powerpc-angstrom-linux-gnuspe-gcc --version powerpc-angstrom-linux-gnuspe-gcc (GCC) 4.3.3 Seems to be a known issue (since 2008-04?!) Googled some, turns out this patch/workaround works for me on MPC8536DS. See http://gcc.gnu.org/ml/gcc-patches/2008-04/msg00311.html for more info Signed-off-by: Leon Woestenberg Signed-off-by: Kumar Gala commit 654ea1f3184235694306ddc5874baa27ad3018fe Author: Dave Liu Date: Thu Oct 22 00:10:23 2009 -0500 ppc/85xx: Make L2 support more robust According the user manual, we need loop-check the L2 enable bit set. Signed-off-by: Dave Liu Signed-off-by: Kumar Gala commit 613ad28c3da4c7fc6336ef9d94993b25a5d0586e Author: Kumar Gala Date: Mon Oct 26 21:21:25 2009 -0500 ppc/85xx: Fix compiler warning in nand_spl/.../p1_p2_rdb/nand_boot.c nand_boot.c: In function 'board_init_f': nand_boot.c:44: warning: 'sys_clk' may be used uninitialized in this function Signed-off-by: Kumar Gala commit e8967d96a0e8d09d91a3b7bd292746996dd8e7ac Author: Kumar Gala Date: Mon Oct 26 21:18:33 2009 -0500 ppc/85xx: Fix building NAND_SPL out of tree We need to source files to exist in the O= nand_spl dir when we build out of tree. Signed-off-by: Kumar Gala commit f3ee25859e3920ee7c7cc519a3e6f60d70d7a53f Author: Matthias Fuchs Date: Fri Oct 23 10:52:38 2009 +0200 License cleanup: Fix license header for some esd display configurations These files were autogenerated by EPSON configuration tools. This patch replaces the autogenerated file headers by the GPL license notice. This change is done with the explicit permission of Epson Research & Development / IC Software Development. Signed-off-by: Matthias Fuchs commit 4166ee58d30ada7b298b9c941067f0341c2dccbe Author: Mike Frysinger Date: Fri Oct 9 17:12:44 2009 -0400 sf: add GPL-2 license info Some of the new spi flash files were missing explicit license lines. Signed-off-by: Mike Frysinger CC: Haavard Skinnemoen commit d535a493004fb701f131b132402a7704f9c9342d Author: Kumar Gala Date: Wed Oct 21 23:29:51 2009 -0500 fdt: Fix fdt padding issue for initrd mem_rsv Its possible that we end up with a device tree that happens to be a particular size that after we call fdt_resize() we don't have any space left for the initrd mem_rsv. Fix this be adding a second mem_rsv into the size calculation. We had one to cover the fdt itself and we have the potential of adding a second for the initrd. Signed-off-by: Kumar Gala Acked-by: Gerald Van Baren commit 4bc3d2afb380e78fdbb9c501d9a8da6d59eb178e Author: Steve Sakoman Date: Tue Oct 20 18:21:18 2009 +0200 ARM: OMAP3: Refactors the SM911x driver Move the test up in the function to not hang on systems without ethernet. Signed-off-by: Steve Sakoman Acked-by: Ben Warren commit f3807374787e4394efb767e2e8527887f57e51b8 Author: Minkyu Kang Date: Thu Oct 15 11:19:15 2009 +0900 s5pc1xx: SMDKC100: fix compile warnings fix the following compile warnings warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Minkyu Kang commit 8003c361deec3ee651451662efd05352f1abdd40 Author: Simon Kagstrom Date: Tue Oct 6 08:44:22 2009 +0200 arm926ejs: 8-byte align stack to avoid LDRD/STRD problems U-boot for Marvell Kirkwood boards no longer work after the EABI changes introduced in commit f772acf8a584067033eff1e231fcd1fb3a00d3d9. This turns out to be caused by a stack alignment issue. The armv5te instructions ldrd/strd instructions require 8-byte alignment to work properly (otherwise undefined behavior). Tested on an OpenRD base board, where both printouts and ubifs stuff now works. Signed-off-by: Simon Kagstrom commit e63e5904b48528f3f3cc98317df6fc62fab25bf9 Author: Tom Rix Date: Sat Oct 17 12:41:06 2009 -0500 TI OMAP3 SDP3430: Initial Support Start of support of Texas Instruments Software Development Platform(SDP) for OMAP3430 - SDP3430 Highlights of this platform are: Flash Memory devices: Sibley NOR, Micron 8bit NAND and OneNAND Connectivity: 3 UARTs and expanded 4 UART ports + IrDA Ethernet, USB Other peripherals: TWL5030 PMIC+Audio+Keypad VGA display Expansion ports: Memory devices plugin boards (PISMO) Connectivity board for GPS,WLAN etc. Completely configurable boot sequence and device mapping etc. Support default jumpering and: - UART1/ttyS0 console(legacy sdp3430 u-boot) - UART3/ttyS2 console (matching other boards, and SDP HW docs) - Ethernet - mmc0 - NOR boot Currently the UART1 is enabled by default. for compatibility with other OMAP3 u-boot platforms, enable the #define of CONSOLE_J9. Conflicts: Makefile Fixed the conflict with smdkc100_config by moving omap_sdp3430_config to it is alphabetically sorted location above zoom1. Signed-off-by: David Brownell Signed-off-by: Nishanth Menon Signed-off-by: Tom Rix commit a4474ff8629be5f28aefb8a9f48d4411d62fb0d2 Author: Sandeep Paulraj Date: Tue Oct 13 19:35:11 2009 -0400 TI DaVinci: Adding Copyright for DM365 EVM Forgot to add Copyright while submitting the patch. This patch adds the copyright. Signed-off-by: Sandeep Paulraj commit 11b0102218bbb50ac5c04f1521f2a22ed4e90cf1 Author: Sandeep Paulraj Date: Tue Oct 13 12:32:32 2009 -0400 TI DaVinci: Fix DM6467 EVM Compilation Warning Due to new TI boards being added to U-Boot, the hardware.h is getting very messy. The warning being fixed is due to the EMIF addresses being redefined. The long term solution(after 2009.11) to this is to have SOC specific header files. Signed-off-by: Sandeep Paulraj commit fac1ef4ba685606bf28349d18e050ea08b50e669 Author: Sandeep Paulraj Date: Tue Oct 13 12:01:52 2009 -0400 TI DaVinci: DM355 Leopard: Fix compilation warning We get a compliation warning when we enable the NAND driver for DM355 leopard. The waring we get is that we have an implicit declaration of davinci_nand_init. It is fixed by including the asm/arch/nand_defs.h header file Signed-off-by: Sandeep Paulraj commit f8a812aa656bc34622303a26fa5003d19c34aeed Author: Nishanth Menon Date: Tue Oct 13 12:49:55 2009 -0400 TI OMAP3: make gpmc_config as const gpmc_config should not be a variant as it is board specific hence make it a const parameter Fixes issues identified by Dirk: - build issue for zoom2 - warnings for all other OMAP3 platforms using nand/onenand etc Signed-off-by: Nishanth Menon commit cfc25874624a328f53ad59b1206e2103f2e62d74 Author: Stefan Roese Date: Mon Oct 19 16:19:36 2009 +0200 ppc4xx: Sequoia: Add chip_config command This patch removes the Sequoia "bootstrap" command and replaces it with the now common command "chip_config". Please note that the patches with the dynamic PCI sync clock configuration have to be applied, before this one should go in. This is because Sequoia has 2 different bootstrap EEPROMs, and the old bootstrap command configured different values depending on the detected PCI async clock (33 vs. 66MHz). With the PCI sync clock patches, this is not necessary anymore. The PCI sync clock will be configured correctly on-the-fly now. Signed-off-by: Stefan Roese commit c85b58397030e25e146ccf5085c86221c40c53b3 Author: Stefan Roese Date: Mon Oct 19 14:14:08 2009 +0200 ppc4xx: Yosemite/Yellowstone: Check and reconfigure the PCI sync clock This patch now uses the 440EP(x)/GR(x) function to check and dynamically reconfigure the PCI sync clock. Signed-off-by: Stefan Roese commit 23c51a2d6393cd3be9eb62cb42d92138ff6db8a9 Author: Stefan Roese Date: Mon Oct 19 14:10:50 2009 +0200 ppc4xx: Sequoia/Rainer: Check and reconfigure the PCI sync clock This patch now uses the 440EP(x)/GR(x) function to check and dynamically reconfigure the PCI sync clock. Signed-off-by: Stefan Roese commit 08c6a2628478ace808b3767db17e4148cac5a7fb Author: Stefan Roese Date: Mon Oct 19 14:44:11 2009 +0200 ppc4xx: Print PCI synchronous clock frequency upon bootup Some 4xx variants (e.g. 440EP(x)/GR(x)) have an internal synchronous PCI clock. Knowledge about the currently configured value might be helpful. So let's print it out upon bootup. Signed-off-by: Stefan Roese commit 5e47f9535f53fd4cc05f32fb6166870f976fbb4e Author: Stefan Roese Date: Mon Oct 19 14:06:23 2009 +0200 ppc4xx: Add function to check and dynamically change PCI sync clock PPC440EP(x)/PPC440GR(x): In asynchronous PCI mode, the synchronous PCI clock must meet certain requirements. The following equation describes the relationship that must be maintained between the asynchronous PCI clock and synchronous PCI clock. Select an appropriate PCI:PLB ratio to maintain the relationship: AsyncPCIClk - 1MHz <= SyncPCIclock <= (2 * AsyncPCIClk) - 1MHz This patch now adds a function to check and reconfigure the sync PCI clock to meet this requirement. This is in preparation for some AMCC boards (Sequoia/Rainier and Yosemite/Yellowstone) using this function to not violate the PCI clocking rules. Signed-off-by: Stefan Roese commit 92b8964bed0d1b779d9e26be4e16755b5c635415 Author: Stefan Roese Date: Fri Oct 16 10:01:09 2009 +0200 ppc4xx: Update flash size in reg property of the NOR flash node Till now only the ranges in the ebc node are updated with the values currently configured in the PPC4xx EBC controller. With this patch now the NOR flash size is updated in the device tree blob as well. This is done by scanning the compatible nodes "cfi-flash" and "jedec-flash" for the correct chip select number. This size fixup is enabled for all AMCC eval board right now. Other 4xx boards may want to enable it as well, if this problem with multiple NOR FLASH sizes exists. Signed-off-by: Stefan Roese Cc: Wolfgang Denk commit 30d45c0d3ea2231f9131276ea113595959a0720e Author: Stefan Roese Date: Wed Oct 21 11:59:52 2009 +0200 fdt: Add fdt_fixup_nor_flash_size() to fixup NOR FLASH size in dtb This function can be used to update the size in the "reg" property of the NOR FLASH device nodes. This is necessary for boards with non-fixed NOR FLASH sizes. Signed-off-by: Stefan Roese Acked-by: Gerald Van Baren Acked-by: Wolfgang Denk commit 76706cb86b1c76954ff5353db6757ab99cfd95fb Author: Wolfgang Denk Date: Tue Oct 20 23:12:13 2009 +0200 cpu/ppc4xx/fdt.c: avoid strcpy() to constant string strcpy() was iused with the target address being a pointer to a constant string, which potentially is read-only. Use a (writable) array of characters instead. Signed-off-by: Wolfgang Denk Signed-off-by: Stefan Roese commit 0e1ac981194aa0d92eff0934442cec48a4f57834 Author: Wolfgang Denk Date: Tue Oct 20 23:07:04 2009 +0200 cpu/ppc4xx/fdt.c: avoid strcpy() to constant string strcpy() was iused with the target address being a pointer to a constant string, which potentially is read-only. Use a (writable) array of characters instead. Signed-off-by: Wolfgang Denk commit c55096c084308c08bf8891c190f90bdc3a232394 Author: Daniel Mack Date: Wed Apr 8 13:23:38 2009 +0200 smc911x: add support for LAN9220 Signed-off-by: Daniel Mack Cc: Sascha Hauer Signed-off-by: Ben Warren commit f67066b6b0740b826ed862615c5ab022aaf4779a Author: Mike Frysinger Date: Sun Oct 18 20:43:14 2009 -0400 envcrc: check return value of fwrite() Newer toolchains will often complain about unchecked fwrite(): envcrc.c:117: warning: ignoring return value of `fwrite´, declared with attribute warn_unused_result So check the return value to silence the warnings. Signed-off-by: Mike Frysinger commit efd988ebaa241bab265b1511052350207cb7aaa0 Author: Wolfgang Denk Date: Mon Oct 19 09:18:57 2009 +0200 mcc200: fix build error Fix compile error: include/configs/mcc200.h:401:6: error: #elif with no expression Signed-off-by: Wolfgang Denk commit 4e0539d2696992a5e32643a0c831e870cfe9a036 Author: Nishanth Menon Date: Tue Oct 13 12:47:39 2009 -0400 OMAP3: fix warnings when NAND/ONENAND is not used Fix build warnings by putting specific used variables under required #ifdefs for removing: mem.c:227: warning: unused variable 'f_sec' mem.c:226: warning: unused variable 'f_off' mem.c:225: warning: unused variable 'size' mem.c:224: warning: unused variable 'base' mem.c:222: warning: unused variable 'gpmc_config' Signed-off-by: Nishanth Menon commit 73db0c71da365a2d101878ae3aeb8ff3545a1828 Author: Nishanth Menon Date: Tue Oct 13 12:47:24 2009 -0400 OMAP3: export enable_gpmc_cs_config to board files Export enable_gpmc_cs_config into common header to prevent warning: warning: implicit declaration of function 'enable_gpmc_cs_config' Signed-off-by: Nishanth Menon commit 96a27c6dc29abf11740632ecd8ccab607b209c5d Author: Tom Rix Date: Mon Oct 12 12:07:40 2009 -0400 Zoom2 Fix serial gpmc setup The offset to the chip select is incorrect. The change 187af954cf7958c24efcf0fd62289bbdb4f1f24e, omap3: embedd gpmc_cs into gpmc config struct introduced a problem with the serial gpmc setup. This patch reverts the chip select to its previous value. The symptoms of this problem are that the Zoom2 currently hangs. This was run tested on Zoom2. Signed-off-by: Tom Rix commit 64d945abe8cffbacdaeca5f63b9b84f895d2d9ab Author: Sandeep Paulraj Date: Sun Oct 11 09:10:27 2009 -0400 TI DaVinci Sonata: Add Config option for 64 bit Support Adding the CONFIG_SYS_64BIT_VSPRINTF fot the DM644x based Sonata Without this option enabled while performing NAND operations we will get wrong diagnostic messages. Example if the MTD NAND driver find a bad block while erasing from a certain address, it will say bad block skipped at 0x00000000. Signed-off-by: Sandeep Paulraj commit 54aa603d2ce1d9374a1f5c6336362037ad2d8b51 Author: Sandeep Paulraj Date: Sun Oct 11 09:14:58 2009 -0400 TI DaVinci DVEVM: Add Config option for 64 bit Support Adding the CONFIG_SYS_64BIT_VSPRINTF in the DVEVM config. Without this option enabled while performing NAND operations we will get wrong diagnostic messages. Example if the MTD NAND driver find a bad block while erasing from a certain address, it will say bad block skipped at 0x00000000. Signed-off-by: Sandeep Paulraj commit b8d0aa0c78b8c0fa51acada3c486b81085924b53 Author: Sandeep Paulraj Date: Sat Oct 10 10:19:20 2009 -0400 TI DaVinci DM365: Add Config option for 64 bit Support Adding the CONFIG_SYS_64BIT_VSPRINTF in the DM365 EVM config. Without this option enabled while performing NAND operations we will get wrong diagnostic messages. Example if the MTD NAND driver find a bad block while erasing from a certain address, it will say bad block skipped at 0x00000000. Signed-off-by: Sandeep Paulraj commit 86a725b9c8b829c217be90e590f3ca2c91fa1dca Author: Sandeep Paulraj Date: Sat Oct 10 10:18:46 2009 -0400 TI DaVinci DM355: Add Config option for 64 bit Support Adding the CONFIG_SYS_64BIT_VSPRINTF in the DM355 EVM config. Without this option enabled while performing NAND operations we will get wrong diagnostic messages. Example if the MTD NAND driver find a bad block while erasing from a certain address, it will say bad block skipped at 0x00000000. Signed-off-by: Sandeep Paulraj commit 9c44ddccb6602f620fc037974f3e4468ad8a7c0c Author: Sandeep Paulraj Date: Wed Sep 9 11:50:40 2009 -0400 TI: OMAP3: Remove SZ_xx references This patch removes dependency on the sizes.h header file and removes all references to SZ_xx. Signed-off-by: Sandeep Paulraj commit 13d2cb988ff07addce6e10ab2cb8965a9dd23c63 Author: Steve Sakoman Date: Sat Oct 10 14:29:37 2009 -0400 OMAP3: Update Overo and Beagle environment Update default environment to support new kernel DSS2 subsystem and simplify rootfs type and location changes. Signed-off-by: Steve Sakoman Signed-off-by: Dirk Behme commit c73607c5525c6957c815e64f7e865fdd3baffe98 Author: Sandeep Paulraj Date: Sat Oct 10 13:46:26 2009 -0400 TI DaVinci: Maintainer for DM355 and DM365 EVM Adding entries to the MAINTAINERS directory for the DM355 and DM365 EVM. Signed-off-by: Sandeep Paulraj commit 5df65cf56aeef9fdeab83a259c37aa7d23836dd3 Author: Sandeep Paulraj Date: Sat Oct 10 13:37:10 2009 -0400 TI: DaVinci: DM355 Leopard board support This patch adds support for the leopard board which is based on the DM355 SOC. Signed-off-by: Sandeep Paulraj commit 6ab176d7091d21960a1bd89fcb7fd87b9e91aca1 Author: Sandeep Paulraj Date: Sat Oct 10 12:00:47 2009 -0400 TI DaVinci DM646x: Adding initial support for DM6467 EVM This patch adds the initial support for DM6467 EVM. Other features like NET and NAND support will be added as follow up patches. Signed-off-by: Sandeep Paulraj commit d884f64a7b8482f6c9688600e0a4731fa5678e0c Author: Sandeep Paulraj Date: Thu Oct 1 20:22:09 2009 -0400 TI DaVinci DM365: Fix Compilation warning for DM365 EVM This patch fixes a compilation warning while compiling the DM365 EVM. Signed-off-by: Sandeep Paulraj commit 6fe5e87be4b944edf428835210056e020c8bb794 Author: Sandeep Paulraj Date: Thu Oct 1 20:21:13 2009 -0400 TI DaVinci DM355: Fix Compilation warning for DM355 EVM This patch fixes a compilation warning while compiling the DM355 EVM. Signed-off-by: Sandeep Paulraj commit 513bbe1b1720682e6de0aba2d9db5e60f3a428bb Author: Eric Benard Date: Mon Oct 12 10:15:39 2009 +0200 AT91 CPUAT91 Fix compiler warning This change fixes the compiler warning main.c: In function 'abortboot': main.c:122: warning: too few arguments for format Signed-off-by: Eric Benard Signed-off-by: Tom Rix commit b1e81f701d044eee3884202b127d5d1f0668bdb9 Author: Eric Benard Date: Mon Oct 12 10:15:40 2009 +0200 AT91 CPU9260 CPU9G20 Fix compile warnings This change fixes the compiler warning nand_util.c:45:2: warning: #warning Please define CONFIG_SYS_64BIT_VSPRINTF for correct output! Signed-off-by: Eric Benard Signed-off-by: Tom Rix commit 94d50c527a3cedb6a41fbe6773256cdd1855317f Author: Eric Benard Date: Mon Oct 12 10:08:20 2009 +0200 AT91 CPU9260 Fix machine ID when using a CPU9G20. Signed-off-by: Eric Benard Signed-off-by: Tom Rix commit 8c0a92c8f4cf399e873c2611939f3617983785a9 Author: Alessandro Rubini Date: Sat Oct 10 11:51:26 2009 +0200 lcd: remove '#if 0' 32-bit scroll, now memcpy does it Signed-off-by: Alessandro Rubini Acked-by: Andrea Gallo commit e3ea948d4588e7efddbf0ee92147d93f827d7cea Author: Alessandro Rubini Date: Sat Oct 10 11:51:16 2009 +0200 lib_generic memset: fill one word at a time if possible If the destination is aligned, fill ulong values until possible. Then fill remaining part by byte. Signed-off-by: Alessandro Rubini Acked-by: Andrea Gallo Acked-by: Mike Frysinger commit ecd830b863e5c6ac5d804d3b3a92453a98d526fc Author: Alessandro Rubini Date: Sat Oct 10 11:51:05 2009 +0200 lib_generic memcpy: copy one word at a time if possible If source and destination are aligned, this copies ulong values until possible, trailing part is copied by byte. Thanks for the details to Wolfgang Denk, Mike Frysinger, Peter Tyser, Chris Moore. Signed-off-by: Alessandro Rubini Acked-by: Andrea Gallo Acked-by: Mike Frysinger commit 9c5586aa19bbedf290d2a663813404d2db87dfa5 Author: Alessandro Rubini Date: Thu Oct 8 14:29:14 2009 +0200 setenv: do console redirection even if previously unset If "stdout" is not previously set, doing "setenv stdout lcd" had no effect, since console redirection only worked if the environment variable was already set; the second time you run setenv it worked. Most default environments lack stdin/out/err definitions, so I'm sure I'm not alone with this problem. This patch simply moves a block of code out of a conditional, to do the same work even if the variable was previously unset. Signed-off-by: Alessandro Rubini Acked-by: Andrea Gallo commit c9ee39972a7758e883b73c6c0e3c3a14cd5b2f43 Author: Martha Stan Date: Wed Oct 7 04:38:46 2009 -0400 mpc512x: fix System Clock Control constants for USB1 & USB2 Signer-off-by: Martha Stan commit 87b22b7787f397fc3daad570d711e478b1a7d253 Author: Paul Gortmaker Date: Fri Oct 2 18:18:33 2009 -0400 mem_mtest: fix error reporting, allow escape with ^C The basic memtest function tries to watch for ^C after each pattern pass as an escape mechanism, but if things are horribly wrong, we'll be stuck in an inner loop flooding the console with error messages and never check for ^C. To make matters worse, if the user waits for all the error messages to complete, we then incorrectly report the test passed without errors. Adding a check for ^C after any error is printed will give the end user an escape mechanism from a console flood without slowing down the overall test speed on a slow processor. Also, the more extensive memtest quit after just a single error, which is inconsistent with the normal memtest, and not useful if if you are doing dynamic environmental impact testing, such as heating/cooling etc. Both tests now track the error count and report it properly at test completion. Signed-off-by: Paul Gortmaker Acked-by: Mike Frysinger commit 9f4a420663419dc13f08a0ce65b93033c6172c69 Author: Mike Frysinger Date: Thu Oct 1 12:11:54 2009 -0400 new default shortcut to config & build a board The majority of the time that I build things in U-Boot, I want to just build for the board. I don't make board config tweaks after selecting the board. So add a new pattern rule that allows people to combine two steps in one go: `make foo_config && make` => `make foo` This shouldn't conflict with any existing make rules as the pattern rule is used only the rule doesn't already exist. Signed-off-by: Mike Frysinger commit 6dab6add2d8ee80905234b326abc3de11be1d178 Author: Mike Frysinger Date: Wed Sep 30 15:29:58 2009 -0400 env: only build env_embedded and envcrc when needed The env code is protected by the ENV_IS_EMBEDDED define, so attempting to compile the code when this isn't defined is pointless. Now that the env headers have unified around CONFIG_ENV_IS_EMBEDDED, convert the build system to only build the env objects when this is enabled. And now that the env code is conditionally compiled, we can drop the source code checks. For people who want to extract the environment manually, add a new option CONFIG_BUILD_ENVCRC that only enables the envcrc utility. Signed-off-by: Mike Frysinger commit 78f4ca7976748159080c9d920d5eb542d1b32d4f Author: Daniel Mack Date: Mon Sep 28 11:40:38 2009 +0200 part_dos: check status flags of partitions Only read partitions which have 0x00 or 0x80 set in their status field. All others are invalid. Signed-off-by: Daniel Mack commit 45def0ab9d1dedcd2a73939aad8373f760498762 Author: Eric Millbrandt Date: Fri Sep 25 17:47:43 2009 -0500 galaxy5200: change cs1 configuration Correct the chip select configuration for the nand flash chip select. Signed-off-by: Eric Millbrandt commit 7936b51165b519a16ecf3db302fb88df8b8b3b3d Author: Niklaus Giger Date: Wed Sep 23 08:12:14 2009 +0200 Cleanup: use constant Signed-off-by: Niklaus Giger commit 7120c888101952b7e61b9e54bb42370904aa0e68 Author: Kim Phillips Date: Mon Oct 12 11:06:19 2009 -0500 mpc83xx: mpc8313 - handle erratum IPIC1 (TSEC IRQ number swappage) mpc8313e erratum IPIC1 swapped TSEC interrupt ID numbers on rev. 1 h/w (see AN3545). The base device tree in use has rev. 1 ID numbers, so if on Rev. 2 (and higher) h/w, we fix them up here. Signed-off-by: Kim Phillips Reviewed-by: Roland Lezuo commit 91525c67153fcf2c19b2fc8d9c6376ac1a019f52 Author: Anton Vorontsov Date: Mon Oct 12 23:55:39 2009 +0400 mpc85xx: Fix booting on various boards commit 0e870980a64584a591af775bb9c9fe9450124df9 ("8xxx: Removed CONFIG_NUM_CPUS from 85xx/86xx") breaks U-Boot on various boards, namely the ones that call get_sys_info() from board_early_init_f(). get_sys_info() calls cpu_numcores(), which depends on probecpu() being called before. But probecpu() is called after board_early_init_f(), and so cpu_numcores() returns random values, which in turn crashes get_sys_info(). To fix the issue we place probecpu() before board_early_init_f() in an initialization sequence. Booting on the following boards should be revived now: mpc8540ads mpc8541cds mpc8548cds mpc8555cds mpc8560ads mpc8568mds mpc8569mds and maybe more. Signed-off-by: Anton Vorontsov Signed-off-by: Kumar Gala commit 26df6aa9916443077139f8f008fbc5f414ba05e5 Author: Paul Gortmaker Date: Fri Oct 2 18:48:07 2009 -0400 mpc86xx: delete unused MPC86xx_DDR_SDRAM_CLK_CNTL define This is an orphaned legacy leftover that is just polluting the config file namespace. Signed-off-by: Paul Gortmaker Signed-off-by: Kumar Gala commit fad15096e3b34927444ba5f6133742d40d78a425 Author: Dipen Dudhat Date: Thu Oct 8 13:33:29 2009 +0530 ppc/P1_P2_RDB: On-chip BootROM support On Chip BootROM support for P1 and P2 series RDB platforms. This patch is derived from latest On Chip BootROM support on MPC8536DS Signed-off-by: Dipen Dudhat Signed-off-by: Kumar Gala commit f7780ec977e545b83bc5068e0957d640f1d98f13 Author: Dipen Dudhat Date: Thu Oct 8 13:33:18 2009 +0530 ppc/P1_P2_RDB: NAND Boot Support NAND Boot support for P1 and P2 series RDB platforms. This patch is derived from NAND Boot support on MPC8536DS. Signed-off-by: Dipen Dudhat Signed-off-by: Kumar Gala commit d11823ca3cb551814ffcd926402c8bcf3a7eff35 Author: Paul Gortmaker Date: Wed Oct 7 16:34:28 2009 -0400 mpc8xxx: improve LAW error messages when setting up DDR When setting up the LAWs for the DDR, if there was an error, you got the not-so-helpful error text "ERROR" and nothing else. Not only is it non-informative, but it is also pretty frustrating trying to grep for "ERROR" in the source. Signed-off-by: Paul Gortmaker Signed-off-by: Kumar Gala commit a9946e3fc7089ddc6b7711a44e07a6b0827b79a7 Author: Paul Gortmaker Date: Wed Sep 30 16:12:31 2009 -0400 sbc8641d: fix LAW so board doesn't hang on DDR init All versions between now and since this commit: commit bd76729bcbfd64b5d016a9b936f058931fc06eaf MPC86xx: set CONFIG_MAX_MEM_MAPPED to 2G by default will fail to allow the SBC8641D to get past DDR init, because the LAW config was overlapping. Eventually this board will do SPD EEPROM config, but for now this gets the board working again. Signed-off-by: Paul Gortmaker Signed-off-by: Kumar Gala commit 3d1988ab47cc0e265272967e07d747ec600a44c9 Author: kevin.morfitt@fearnside-systems.co.uk Date: Sat Oct 10 13:34:09 2009 +0900 Clean-up of s3c24x0 nand driver This patch re-formats the arm920t s3c24x0 nand driver in preparation for changes to add support for the Embest SBC2440-II Board. The changes are as follows: - re-indent the code using Lindent - make sure register layouts are defined using a C struct - replace the upper-case typedef'ed C struct names with lower case non-typedef'ed ones - make sure registers are accessed using the proper accessor functions - run checkpatch.pl and fix any error reports It assumes the following patch has been applied first: - [U-Boot][PATCH-ARM] CONFIG_SYS_HZ fix for ARM902T S3C24X0 Boards, 05/09/2009 - patches 1/4, 2/4 and 3/4 of this series Tested on an Embest SBC2440-II Board with local u-boot patches as I don't have any s3c2400 or s3c2410 boards but need this patch applying before I can submit patches for the SBC2440-II Board. Also, temporarily modified sbc2410x, smdk2400, smdk2410 and trab configs to use the mtd nand driver (which isn't used by any board at the moment), ran MAKEALL for all ARM9 targets and no new warnings or errors were found. Signed-off-by: Kevin Morfitt Signed-off-by: Minkyu Kang commit eb0ae7f549b7142826a8bcdd2dc945fac9c36349 Author: kevin.morfitt@fearnside-systems.co.uk Date: Sat Oct 10 13:33:11 2009 +0900 Clean-up of s3c24x0 drivers excluding nand driver This patch re-formats the arm920t s3c24x0 driver files, excluding the nand driver, in preparation for changes to add support for the Embest SBC2440-II Board. The changes are as follows: - re-indent the code using Lindent - make sure register layouts are defined using a C struct - replace the upper-case typedef'ed C struct names with lower case non-typedef'ed ones - make sure registers are accessed using the proper accessor functions - run checkpatch.pl and fix any error reports It assumes the following patch has been applied first: - [U-Boot][PATCH-ARM] CONFIG_SYS_HZ fix for ARM902T S3C24X0 Boards, 05/09/2009 - patches 1/4 and 2/4 of this series Tested on an Embest SBC2440-II Board with local u-boot patches as I don't have any s3c2400 or s3c2410 boards but need this patch applying before I can submit patches for the SBC2440-II Board. Also, temporarily modified sbc2410x, smdk2400, smdk2410 and trab configs to use the mtd nand driver (which isn't used by any board at the moment), ran MAKEALL for all ARM9 targets and no new warnings or errors were found. Signed-off-by: Kevin Morfitt Signed-off-by: Minkyu Kang commit 8250d0bae84229abea397f6b474b3556b0f04e80 Author: kevin.morfitt@fearnside-systems.co.uk Date: Sat Oct 10 13:32:01 2009 +0900 Clean-up of s3c24x0 header files This patch re-formats the arm920t s3c24x0 header files in preparation for changes to add support for the Embest SBC2440-II Board. The changes are as follows: - re-indent the code using Lindent - make sure register layouts are defined using a C struct - replace the upper-case typedef'ed C struct names with lower case non-typedef'ed ones - make sure registers are accessed using the proper accessor functions - run checkpatch.pl and fix any error reports It assumes the following patch has been applied first: - [U-Boot][PATCH-ARM] CONFIG_SYS_HZ fix for ARM902T S3C24X0 Boards, 05/09/2009 - patch 1/4 of this series Tested on an Embest SBC2440-II Board with local u-boot patches as I don't have any s3c2400 or s3c2410 boards but need this patch applying before I can submit patches for the SBC2440-II Board. Also, temporarily modified sbc2410x, smdk2400, smdk2410 and trab configs to use the mtd nand driver (which isn't used by any board at the moment), ran MAKEALL for all ARM9 targets and no new warnings or errors were found. Signed-off-by: Kevin Morfitt Signed-off-by: Minkyu Kang commit d67cce2dda3a40c3bd90a6c6e129fbb26dd4cfab Author: kevin.morfitt@fearnside-systems.co.uk Date: Sat Oct 10 13:30:22 2009 +0900 Clean-up of cpu_arm920t and cpu_arm920t_s3c24x0 code This patch re-formats the code in cpu/arm920t and cpu/arm920t/23c24x0 in preparation for changes to add support for the Embest SBC2440-II Board. The changes are as follows: - re-indent the code using Lindent - make sure register layouts are defined using a C struct - replace the upper-case typedef'ed C struct names with lower case non-typedef'ed ones - make sure registers are accessed using the proper accessor functions - run checkpatch.pl and fix any error reports It assumes the following patch has been applied first: - [U-Boot][PATCH-ARM] CONFIG_SYS_HZ fix for ARM902T S3C24X0 Boards, 05/09/2009 Tested on an Embest SBC2440-II Board with local u-boot patches as I don't have any s3c2400 or s3c2410 boards but need this patch applying before I can submit patches for the SBC2440-II Board. Also, ran MAKEALL for all ARM9 targets and no new warnings or errors were found. Signed-off-by: Kevin Morfitt Signed-off-by: Minkyu Kang commit cd85662b345c0c2248fd7637f65bb2fbb4d53dd9 Author: kevin.morfitt@fearnside-systems.co.uk Date: Sun Sep 6 00:33:13 2009 +0900 CONFIG_SYS_HZ fix for ARM902T S3C24X0 Boards This sets CONFIG_SYS_HZ to 1000 for all boards that use the s3c2400 and s3c2410 cpu's which fixes various problems such as the timeouts in tftp being too short. Tested on an Embest SBC2440-II Board with local u-boot patches as I don't have any s3c2400 or s3c2410 boards but need this patch applying before I can submit patches for the SBC2440-II Board. Also, ran MAKEALL for all ARM9 targets and no new warnings or errors were found. It was originally submitted on 21/06/2009 but didn't get into the 2009.08 release, and Jean-Pierre made one comment on the original patch (see http://lists.denx.de/pipermail/u-boot/2009-July/055470.html). I've made two changes to the original patch: - it's been re-based to the current release - I've re-named get_timer_raw() to get_ticks() in response to Jean-Pierre's comment This affects the sbc2410, smdk2400, smdk2410 and trab boards. I've copied it directly to the maintainers of all except the sbc2410 which doesn't have an entry in MAINTAINERS. Signed-off-by: Kevin Morfitt Tested-by: Wolfgang Denk Signed-off-by: Minkyu Kang commit 8bc4ee9e8213abe4031ea1720aa02fa98d4402ad Author: Minkyu Kang Date: Thu Oct 1 17:20:40 2009 +0900 s5pc1xx: add support SMDKC100 board Adds new board SMDKC100 that uses s5pc100 SoC Signed-off-by: Minkyu Kang Signed-off-by: HeungJun, Kim commit dd2c9e6a3b67c8ff56694e515e6e3c7baddd8f52 Author: Minkyu Kang Date: Thu Oct 1 17:20:28 2009 +0900 s5pc1xx: support serial driver This patch includes the serial driver for s5pc1xx. s5pc1xx uart driver needs own register setting and clock configuration. So, need to special driver. Signed-off-by: Minkyu Kang commit 4678d674f0cacc983dca7f6b9933cd8291c9797c Author: Minkyu Kang Date: Thu Oct 1 17:20:08 2009 +0900 s5pc1xx: support onenand driver This patch includes the onenand driver for s5pc100 Signed-off-by: Minkyu Kang Signed-off-by: Kyungmin Park commit 399e5ae0d0b2eb4663fc5784201968c07d45afac Author: Minkyu Kang Date: Thu Oct 1 17:20:01 2009 +0900 s5pc1xx: support Samsung s5pc1xx SoC This patch adds support for the Samsung s5pc100 and s5pc110 SoCs. The s5pc1xx SoC is an ARM Cortex A8 processor. Signed-off-by: Minkyu Kang Signed-off-by: HeungJun, Kim commit d087d19a994e741f0ce526124be117c90be482ae Author: Mike Frysinger Date: Tue Oct 13 21:58:26 2009 -0400 Blackfin: drop MAC display at boot The default Blackfin boot would display the MAC address for the first NIC, but this relies on the environment. The current net multi stack no longer writes the default hardware settings to the environment, so most of the time the display shows all zeros. This can be pretty confusing and really doesn't add anything useful, so just drop it. Signed-off-by: Mike Frysinger commit 1f003cf4738a199d99c818124784058526d2d40e Author: Mike Frysinger Date: Fri Oct 9 02:24:33 2009 -0400 Blackfin: reset watchdog in udelay() All arches apparently should reset the watchdog in their udelay loop as noted on the mailing list recently: > A comment in flash_status_check() suggests that udelay() is > expected to reset the watchdog, but I can't find any architecture > where it does. If this is missing in other architectures, it should be fixed at the root cause, i. e. in udelay() or in the respective support routines. Signed-off-by: Mike Frysinger commit 370ec734557d0b0f266e6d0953229ee12cae5edd Author: Mike Frysinger Date: Fri Oct 9 02:22:11 2009 -0400 Blackfin: Remove relocation fixups Blackfin pieces like commit 0630535e2d062dd73c1ceca5c6125c86d1127a49. Signed-off-by: Mike Frysinger commit a380279b2abe130c2d3d2c8de36f8ff98bc6b3b0 Author: Daniel Gorsulowski Date: Tue Sep 29 08:03:12 2009 +0200 at91: Update MEESC board support This patch implements several updates: -disable CONFIG_ENV_OVERWRITE -add new hardware style variants and set the arch numbers appropriate -pass the serial# and hardware revision to the kernel -removed unused macros from include/configs/meesc.h -fixed multiline comment style Signed-off-by: Daniel Gorsulowski commit 9df20ce211576aa7ac75710dcd8d0a6236abfd70 Author: Simon Kagstrom <[simon.kagstrom@netinsight.net]> Date: Thu Oct 1 19:41:50 2009 +0530 arm: Correct build with CONFIG_SYS_HUSH_PARSER set FLAG_PARSE_SEMICOLON is not defined without hush.h, so include that. Signed-off-by: Simon Kagstrom Signed-off-by: Prafulla Wadaskar commit df3826262c0efd2baec4df23d44b3942af98f5a7 Author: Olof Johansson Date: Tue Sep 29 10:22:45 2009 -0400 TI: OMAP3: Overo Tobi ethernet support Add setup for ethernet on Tobi, allowing kernel/ramdisk to be loaded over tftp. This also refactors the smc911x driver to allow for detecting when the chip is missing. I.e. the detect_chip() function is called earlier and will abort gracefully when the Chip ID read returns all 1's. Signed-off-by: Olof Johansson Acked-by: Dirk Behme Acked-by: Ben Warren commit 2a6cc97b91997ae485312ac91ffbcea6a89b663a Author: Olof Johansson Date: Tue Sep 29 10:21:29 2009 -0400 SMC911X: Add chip auto detection Refactor the smc911x driver to allow for detecting when the chip is missing. I.e. the detect_chip() function is called earlier and will abort gracefully when the Chip ID read returns all 1's. Signed-off-by: Olof Johansson Acked-by: Dirk Behme Acked-by: Ben Warren commit 0297ec7e2a4039b8a28346f52f3ccca4db1ddc62 Author: Tom Rix Date: Tue Sep 29 10:19:49 2009 -0400 TI OMAP3 Use arm init sequence to initialize i2c This changes fixes an early i2c error. It appears that I2C is working because once a read or write error is detected, the omap24xx_i2c driver calls i2c_init inside its error handling check. While it is ok to attempt error handling this way, the boards must not depend on this side effect to initialize it's i2c. Instead of explicitly calling i2c_init for every board, use the generic arm initialization in lib_arm/board.c. By defining the config variable CONFIG_HARD_I2C, the omap3 i2c initialization is included in the init_sequence table. Run tested on Beagle. Compile tested on the omap3's Signed-off-by: Tom Rix Acked-by: Dirk Behme commit 4df30f3bb7285b2c962713a5c693c16fd90885e0 Author: Sandeep Paulraj Date: Tue Sep 29 09:43:04 2009 -0400 TI: DaVinci DM365: Enabling network Support on DM365 EVM This patch enables EMAC on the DM365 EVM. Signed-off-by: Sandeep Paulraj Acked-by: Tom Rix commit 00e1665a3cf956e09ac2ce86ef6ec459f6bfb33c Author: Sandeep Paulraj Date: Tue Sep 29 10:02:38 2009 -0400 TI: DaVinci: GPIO header file and definitions Some DaVinci SOC's use GPIOs to enable EMAC and DM9000. This patch adds some definitions for GPIO registers and also adds structures for GPIO. A separate header file is being added so that in future we can have a DaVinci GPIO driver similer to OMAP. Signed-off-by: Sandeep Paulraj Acked-by: Tom Rix commit 95ae803afbdd9f673c94b992ea624a10d252afc2 Author: Sandeep Paulraj Date: Fri Sep 18 17:30:05 2009 -0400 TI: DaVinci DM646x: Update flag used to represent DM646x SOC's In the DaVinci specific code, we use both CONFIG_SOC_DM646X and CONFIG_SOC_DM646x to represent DM646x specific code. This patch changes occurrences of CONFIG_SOC_DM646x to CONFIG_SOC_DM646X. This is because for DM644x series of SOCs we use the flag CONFIG_SOC_DM644X. We want some uniformity. Signed-off-by: Sandeep Paulraj Acked-by: Tom Rix commit fc9165fdb3b021aa8ff02417692220fe9344072b Author: Olof Johansson Date: Mon Sep 28 08:19:30 2009 -0400 OMAP3: Clean up whitespace in mux configs Switch from space-based indentation to tab-based in mux configs, as pointed out by WD at: http://lists.denx.de/pipermail/u-boot/2009-September/061241.html Nothing but whitespace changes in this patch (diff -w gives no output). Signed-off-by: Olof Johansson commit 9de0212bd7c4c82a7e8c2a2c8714f8c7abc57d08 Author: Dirk Behme Date: Mon Sep 28 08:17:50 2009 -0400 OMAP3 MMC: Fix warning dereferencing type-punned pointer Fix warning Dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Dirk Behme CC: Steve Sakoman Acked-by: Tom Rix commit e92daeb5c2050438402b87c7d614e8a13c294348 Author: Simon Kagstrom <[simon.kagstrom@netinsight.net]> Date: Tue Sep 22 04:01:01 2009 +0530 Support for the OpenRD base board The implementation is borrowed from the sheevaplug board and the Marvell 1.1.4 code. Unsupported (or untested) is the SD card, PCIe and SATA. Signed-off-by: Simon Kagstrom commit a62e78fc444c67f958be48891bef3dab0e9eb285 Author: Prafulla Wadaskar Date: Mon Sep 21 20:15:17 2009 +0530 Kirkwood: mv88f6281gtw_ge: Add kwbimage build support This patch adds kwbimage configuration file (used by mkimage utility) to support u-boot.kwb target on mv88f6281gtw_ge board. To create Kirkwood boot image to be flashed on SPI Flash, additional parameter u-boot.kwb need to be passed during make. Signed-off-by: Prafulla Wadaskar commit 5bc7cbc15b1890682c0b279f708914518bd25f8d Author: Prafulla Wadaskar Date: Mon Sep 21 18:23:11 2009 +0530 Kirkwood: rd6281a: Add kwbimage build support This patch adds kwbimage configuration file (used by mkimage utility) to support u-boot.kwb target on rd6281a platform. To create Kirkwood boot image to be flashed on NAND, additional parameter u-boot.kwb need to be passed during make. Signed-off-by: Prafulla Wadaskar commit 23b80982a02a43bf4ead91574c9d6f1b647ccc8f Author: Tom Rix Date: Sun Sep 27 11:10:09 2009 -0500 Add support for Eukrea CPU9260/CPU9G20 SBC these boards are built around Atmel's AT91SAM9260/9G20 and have up to 64MB of NOR flash, up to 128MB of SDRAM, up to 2GB of NAND and include a 10/100 Ethernet PHY in RMII mode. Signed-off-by: Eric Benard Signed-off-by: Tom Rix commit d8380c9d35e88759c96e68a03738446ca0cb292f Author: Tom Rix Date: Sun Sep 27 07:47:24 2009 -0500 Add support for Eukrea CPUAT91 SBC CPUAT91 is built around Atmel's AT91RM9200 and has up to 16MB of NOR flash, up to 128MB of SDRAM, and includes a Micrel KS8721 PHY in RMII mode. Signed-off-by: Eric Benard Signed-off-by: Tom Rix commit eb95aa15e644c29b01832703aa4964fe419170f0 Author: Sandeep Paulraj Date: Mon Sep 14 14:57:47 2009 -0400 TI: DaVinci DM365: Minor config cleanup The DM365 config was using the 'CONFIG_CMD_SAVEENV' flag. This is already included when we include the config_cmd_default.h header file. So this flag is removed. Also another flag to enable NAND functions was being enabled incorrectly. Signed-off-by: Sandeep Paulraj commit 5d783c1ffd691ffdadbc2c2f796c41481b7cdce7 Author: Sandeep Paulraj Date: Mon Sep 14 15:03:06 2009 -0400 TI DaVinci DM365: Removing header file which does not exist The DaVinci DM365 EVM board specific code was including a header file which does not exist. So removing this header file. Signed-off-by: Sandeep Paulraj commit 409ec37bd8ae8822d276e77419d899571891b191 Author: Sandeep Paulraj Date: Tue Sep 8 18:08:06 2009 -0400 TI DaVinci: DM355: Config Cleanup and Update This patch does the following 1) Enables the NAND driver which is now available. 2) Enables the 'CONFIG_MTD_DEVICE' as without this the compilation will fail 3) We now have a safe place to store environment and defines an offset where this can be stored. This offset value is such that it is after the location where U-Boot is flashed using TI flash utilities. 4) Enables Bootdelay 5) Increases malloc() arena size. Manufacturers are coming out with NAND with large blocks sizes of upto 1 MiB. It has been noticed that as the block size of the NAND used is increased, if this particular value is not increased, the NAND driver will output out of memory errors. Signed-off-by: Sandeep Paulraj commit 7908c97a106765ad8816bf2271a5bf315728b274 Author: Sandeep Paulraj Date: Tue Sep 8 11:37:39 2009 -0400 TI DaVinci: DM646x: Initial Support for DM646x SOC DM646x is an SOC from TI which has both an ARM and a DSP. There are multiple variants of the SOC mainly dealing with different core speeds. This patch adds the initial framework for the DM646x SOC. Signed-off-by: Sandeep Paulraj commit 5d0f53624c24eaf82d58368a6a5b8476392dd5c7 Author: Sandeep Paulraj Date: Wed Sep 9 15:26:00 2009 -0400 TI DaVinci: DM6446: Fix Compilation error in NAND mode The Default mode that is built for the Davinci DVEVM happens to be the NOR mode. When we want to build for the NAND mode, we get a compilation error. This is overcome by defining the CONFIG_MTD_DEVICE flag in the NAND mode. The image built for NAND mode was successfully tested on the DaVinci DM6446 EVM. Signed-off-by: Sandeep Paulraj commit 7a2aa8b68120f333ed2edc33475ca195810d6cb1 Author: Tom Rix Date: Thu Sep 10 15:27:57 2009 -0400 OMAP3 Move cache routine to cache.S v7_flush_dcache_all, because it depends on omap ROM code is not generic. Rename the function to 'invalidate_dcache' and move it to the omap cpu directory. Collect the other omap cache routines l2_cache_enable and l2_cache_disable with invalide_dcache into cache.S. This means removing the old cache.c file that contained l2_cache_enable and l2_cache_disable. The conversion from cache.c to cache.S was done most through disassembling the uboot binary. The only significant change was to change the comparision for the return of get_cpu_rev from cmp r0, #0 beq earlier_than_label Which was lost information to cmp r0, #CPU_3XX_ES20 blt earlier_than_label The paths through the enable routine were verified by adding an infinite loop and seeing the hang. Then removing the infinite loop and seeing it continue. The disable routine is similar enough that it was not tested with this method. Run tested by cold booting from nand on beagle and zoom1. Compile tested on MAKEALL arm. Signed-off-by: Tom Rix commit a16df2c11188297eca43cf6080c70fb69b960232 Author: Sandeep Paulraj Date: Tue Sep 8 17:09:52 2009 -0400 TI DaVinci: Remove references to SZ_xx This patch removes the asm/sizes.h header file from being included in the DaVinci SOC configs. References to SZ_xx have been replaced by appropriate bit shifted values. Signed-off-by: Sandeep Paulraj Acked-by: Wolfgang Denk commit 285870f75378aca41c5063e4358ad93bf3014fd8 Author: Ed Swarthout Date: Thu Oct 9 01:27:18 2008 -0500 Leave x86emu op code tables in default section Forcing the tables into got2 caused extra relocation when using -mrelocatable. This patch requires any board defining CONFIG_BIOSEMU to use -mrelocatable. Signed-off-by: Ed Swarthout Acked-by: Jin Zhengxiong commit be2254423b86572841aa70ff05d20933d1b49823 Author: Luigi 'Comio' Mantellini Date: Sat Oct 10 12:42:22 2009 +0200 Update all board to support new bbmiiphy driver (with multibus support) Signed-off-by: Luigi 'Comio' Mantellini Signed-off-by: Ben Warren commit 310cecb8ccdbc8a9be580e75b2fd362179d78535 Author: Luigi 'Comio' Mantellini Date: Sat Oct 10 12:42:21 2009 +0200 Add bb_miiphy_init call before any ethernet bring-up code. Signed-off-by: Luigi 'Comio' Mantellini Signed-off-by: Ben Warren commit 4ba31ab33ac824635fcb49ac609070a9ebcab7f0 Author: Luigi 'Comio' Mantellini Date: Sat Oct 10 12:42:20 2009 +0200 Rewrite the miiphybb (Bit-banged MII bus driver) in order to support an arbitrary number of mii buses. This feature is useful when your board uses different mii buses for different phys and all (or a part) of these buses are implemented via bit-banging mode. The driver requires that the following macros should be defined into the board configuration file: CONFIG_BITBANGMII - Enable the miiphybb driver CONFIG_BITBANGMII_MULTI - Enable the multi bus support If the CONFIG_BITBANGMII_MULTI is not defined, the board's config file needs to define at least the following macros: MII_INIT - Generic code to enable the MII bus (optional) MDIO_DECLARE - Declaration needed to access to the MDIO pin (optional) MDIO_ACTIVE - Activate the MDIO pin as out pin MDIO_TRISTATE - Activate the MDIO pin as input/tristate pin MDIO_READ - Read the MDIO pin MDIO(v) - Write v on the MDIO pin MDC_DECLARE - Declaration needed to access to the MDC pin (optional) MDC(v) - Write v on the MDC pin The previous macros make the driver compatible with the previous version (that didn't support the multi-bus). When the CONFIG_BITBANGMII_MULTI is also defined, the board code needs to fill the bb_miiphy_buses[] array with a record for each required bus and declare the bb_miiphy_buses_num variable with the number of mii buses. The record (struct bb_miiphy_bus) has the following fields/callbacks (see miiphy.h for details): char name[] - The symbolic name that must be equal to the MII bus registered name int (*init)() - Initialization function called at startup time (just before the Ethernet initialization) int (*mdio_active)() - Activate the MDIO pin as output int (*mdio_tristate)() - Activate the MDIO pin as input/tristate pin int (*set_mdio)() - Write the MDIO pin int (*get_mdio)() - Read the MDIO pin int (*set_mdc)() - Write the MDC pin int (*delay)() - Delay function void *priv - Private data used by board specific code The board code will look like: struct bb_miiphy_bus bb_miiphy_buses[] = { { .name = miibus#1, .init = b1_init, .mdio_active = b1_mdio_active, ... }, { .name = miibus#2, .init = b2_init, .mdio_active = b2_mdio_active, ... }, ... int bb_miiphy_buses_num = sizeof(bb_miiphy_buses) / sizeof(bb_miiphy_buses[0]); Signed-off-by: Luigi 'Comio' Mantellini Signed-off-by: Ben Warren commit efaf6f1bf6ebdd8f16b0d0c2960abe8d06f95af4 Author: Paul Gortmaker Date: Fri Oct 2 18:54:20 2009 -0400 mpc83xx: cosmetic comment update relating to SPD EEPROM commit 6d0f6bcf337c5261c08fabe12982178c2c489d76 did the big rename of CFG_ macros to CONFIG_SYS macros. But it missed a couple of instances within comments. Signed-off-by: Paul Gortmaker Signed-off-by: Kim Phillips commit afc3ba0fc4195624e79e21244380ed7cc2fd6969 Author: Joakim Tjernlund Date: Thu Oct 8 02:03:51 2009 +0200 relocation: Do not relocate NULL pointers. NULL is an absolute value and should not be relocated. After this correction code like: void weak_fun(void) __attribute__((weak)); printf("weak_fun:%p\n", weak_fun); will still print null after relocation. Signed-off-by: Joakim Tjernlund commit 3beb40c2473f0dd373231c723d88c51e46ad96f7 Author: Peter Tyser Date: Wed Oct 7 11:45:00 2009 -0500 85xx: Ensure BSS segment isn't linked at address 0 When U-Boot is relocated from flash to RAM pointers are modified accordingly. However, pointers initialzed with NULL values should not be modified so that they maintain their intended NULL value. If the BSS segment is linked at address 0 its address will not be updated as necessary during relocation. This is a temporary workaround. The end goal is to add support to U-Boot to dynamically locate the BSS at an arbitrary address at runtime. When the ability to fixup the BSS inteligently is added, this workaround can be removed and the 85xx link script can put the BSS at a fixed address at link time. Signed-off-by: Peter Tyser commit 95c44ec485b46ffb43dbdaa299f1491a500fdadf Author: Detlev Zundel Date: Wed Oct 7 16:38:05 2009 +0200 tqm5200: Correct comment and code in post_hotkeys_pressed. This fixes the code and the comment according to the original intent of doing an intensive memory test when PSC6_3 is pulled low on the STK52xx. Notably PORT_CONFIG will be overridden with this correct code now, so beware. The original code only worked by coincidence depending on the PORT_CONFIG setting from the header file. The new code was tested to ensure that the (undocumented) memory test still works on the STK52x. Signed-off-by: Detlev Zundel CC: Martin Krause Minor white-space cleanup. Signed-off-by: Wolfgang Denk commit da01f53404f99db185d196867af79371725d4683 Author: Wolfgang Denk Date: Sun Oct 4 22:56:08 2009 +0200 mpc512x: fix fixed_sdram() init code. Commit 054197ba and later fixes used an array to initialize some of the MDDRC parameters; however, the use of an array turned out to be a bad idea as it was not possible to correlate structure entries to array indices in readable and reliable way. Now we use a struct instead, which makes this self-explanatory. Signed-off-by: Wolfgang Denk commit dbcc357166bed20df13450e93a501f30b197efd1 Author: Niklaus Giger Date: Sun Oct 4 20:04:22 2009 +0200 ppc4xx: respect 80-chars per line in ppc*.h files After running checkstyle.pl on the three previous patches I noted that in the *.h files there were a lot of long lines. This patch solves this problem. Signed-off-by: Niklaus Giger Signed-off-by: Stefan Roese commit 78d2a641371ec71cc3786b167a318c7b115fbb90 Author: Niklaus Giger Date: Sun Oct 4 20:04:21 2009 +0200 ppc4xx: Rework cmd reginfo The command "reginfo" got an overhaul for the ppc4xx. It dumps all the relevant HW configuration registers (address, symbolic name, content). This allows to easily detect errors in *.h files and changes in the HW configuration. Signed-off-by: Niklaus Giger Signed-off-by: Stefan Roese commit ddc922ff2c20ae0b7f9ce2df1ac28143e2f325bd Author: Niklaus Giger Date: Sun Oct 4 20:04:20 2009 +0200 ppc_4xx: Apply new HW register names Modify all existing *.c files to use the new register names as seen in the AMCC manuals. Signed-off-by: Niklaus Giger Signed-off-by: Stefan Roese commit f80e61dcfe53fa3a5936659883415c9bd1b5a3d9 Author: Niklaus Giger Date: Sun Oct 4 20:04:19 2009 +0200 ppc4xx: Cleanup some HW register names Here you find all the changes in the include directory for new register names and adapting other ones to the names used by AMCC in their manuals, e.g. For 440EPx/GRPPC440EPx/GRX, Revision 1.15 – September 22, 2008 For PPC405GP Embedded Processor, Revision 1.02 – March 22, 2006 Signed-off-by: Niklaus Giger Signed-off-by: Stefan Roese commit 56f14818f66c68a8b9e45925f29ceb974405ad48 Author: Stefan Roese Date: Tue Oct 6 07:21:08 2009 +0200 ppc4xx: Add PPC405EX(r) Rev D support Unfortunately some Rev D PPC405EX/405EXr PVR's are identical with older 405EX(r) parts. Here a list: 0x12911475 - 405EX Rev D with Security *and* 405EX Rev A/B witout Sec 0x12911473 - 405EX Rev D without Security *and* 405EXr Rev A/B with Sec Since there are only a few older parts in the field, this patch now changes the PVR's above to represent the new Rev D versions. Signed-off-by: Stefan Roese Cc: Phong Vo" commit 06dfaeef52a5f773ae4292432e3c74ff52ead316 Author: Stefan Roese Date: Fri Oct 2 14:35:16 2009 +0200 ppc4xx: Fix msg "initialization as root-complex failed" upon PCIe scan This message is printed upon PCIe bus scan, not only upon error, but also if no PCIe device is detected at all. Since this is not an error, let's remove this message in this case. We already have the message "link is not up." if there is no PCIe device present. Signed-off-by: Stefan Roese Acked-by: Wolfgang Denk commit 54f5f056aa1daa3e39bad1c5c3fb43a72cdb9e84 Author: Mike Nuss Date: Mon Oct 5 12:33:28 2009 -0400 PPC4xx: Denali core: Fix incorrect DDR row bits The SPD detection code for the Denali memory controller used on some ppc4xx processors incorrectly encodes DDR0_42. With certain memory configurations, this can cause the bootwrapper to incorrectly calculate the installed memory size, because the number of row bits is wrong. This patch fixes that encoding. Signed-off-by: Mike Nuss Signed-off-by: Stefan Roese commit 99dbd4efd6d5ecc37d7e8f28b20d9be8c83055c7 Author: Ben Warren Date: Mon Oct 5 00:02:51 2009 -0700 Add information about return values of xxx_eth_register() in documentation As discussed on mailing list, <0 indicates failure, >=0 indicates number of interfaces found. Also added blurb about private data Signed-off-by: Ben Warren commit 1f1e774ec6242d4ea34e5cff57232deb5bb587e0 Author: Mike Frysinger Date: Wed Sep 9 14:41:22 2009 -0400 document network driver framework Signed-off-by: Mike Frysinger Acked-by: Wolfgang Denk Signed-off-by: Ben Warren commit aba8237257dd15b0e76cc517f0e741c0908ee0b9 Author: Prafulla Wadaskar Date: Wed Sep 9 15:59:19 2009 +0530 net: kirkwood_egiga.c: fixed build warning if link up detection code is disabled through config option, it gives build warning. This patch fixes the same Signed-off-by: Prafulla Wadaskar Signed-off-by: Ben Warren commit 7194ab809532eeca3e2ee5dc12017cb901cc5842 Author: Ben Warren Date: Sun Oct 4 22:37:03 2009 -0700 Convert SMC91111 Ethernet driver to CONFIG_NET_MULTI API All in-tree boards that use this controller have CONFIG_NET_MULTI added Also: - changed CONFIG_DRIVER_SMC91111 to CONFIG_SMC91111 - cleaned up line lengths - modified all boards that override weak function in this driver - modified all eeprom standalone apps to work with new driver - updated blackfin standalone EEPROM app after testing Signed-off-by: Ben Warren Signed-off-by: Mike Frysinger commit 32e7f239dda8638377edb0d3e7ac269cabbafbe6 Author: Prafulla Wadaskar Date: Mon Sep 21 20:28:18 2009 +0530 net: phy: mv88e61xx.c : fixed build warning following build warning was observed mv88e61xx.c: In function ‘mv88e61xx_busychk’: mv88e61xx.c:208: warning: dereferencing type-punned pointer will break strict-aliasing rules This patch fixes the same Patch tested for rd6281a board build Signed-off-by: Prafulla Wadaskar Signed-off-by: Ben Warren commit c0b46d8ead3c6c5b569c83544fd71b9d73356869 Author: James Clough Date: Thu Sep 10 09:11:50 2009 +0200 net: Fix problem with 405EZ ethernet interrupt On 405EZ the RX-/TX-interrupts are coalesced into one IRQ bit in the UIC. We need to acknowledge the RX-/TX-interrupts in the SDR0_ICINTSTAT reg as well. This problem was introduced with commit d1631fe1 [ppc4xx: Consolidate PPC4xx UIC defines] Signed-off-by: James Clough Signed-off-by: Stefan Roese Signed-off-by: Ben Warren commit 91b469c95faf92435e3d5d78292ba78075a3c5ca Author: Mike Frysinger Date: Wed Sep 2 04:18:55 2009 -0400 net: add random_port() prototype The random_port() is meant to be used by other net code, but without a prototype, we get fun warnings like: dns.c: In function 'DnsSend': dns.c:89: warning: implicit declaration of function 'random_port' Signed-off-by: Mike Frysinger Signed-off-by: Ben Warren commit 3469424cb6d939c7aedf1e0efdec44a797c0a18c Author: Peter Tyser Date: Mon Sep 21 11:20:37 2009 -0500 ppc: Remove reloc_off field from global_data structure Now that proper relocation is supported, the reloc_off field is no longer necessary. Note that the location of the standalone application jump table pointer in the global data structure is affected by this change, breaking execution of standalone applications compiled for previous versions of U-Boot. We therefore increment XF_VERSION to 6 Signed-off-by: Peter Tyser Signed-off-by: Wolfgang Denk commit 0630535e2d062dd73c1ceca5c6125c86d1127a49 Author: Peter Tyser Date: Tue Sep 22 09:27:55 2009 -0500 arm/microblaze/nios/nios2/sh: Remove relocation fixups These architectures don't need relocation fixups, so reduce their codesize a bit by defining CONFIG_RELOC_FIXUP_WORKS. Also remove the reloc_off field from their global data structures as it is no longer needed. Note that the location of the standalone application jump table pointer in the global data structure is affected by this change, breaking execution of standalone applications compiled for previous versions of U-Boot. We will therefore increment XF_VERSION in the next commit, which also touches this area. Signed-off-by: Peter Tyser Signed-off-by: Wolfgang Denk commit 521af04d853361b49344b61892eb0618f9f713c5 Author: Peter Tyser Date: Mon Sep 21 11:20:36 2009 -0500 Conditionally perform common relocation fixups Add #ifdefs where necessary to not perform relocation fixups. This allows boards/architectures which support relocation to trim a decent chunk of code. Note that this patch doesn't add #ifdefs to architecture-specific code which does not support relocation. Signed-off-by: Peter Tyser commit 3cbcfa70b116df1bbdc90ba31c61adcaec058a8a Author: Peter Tyser Date: Mon Sep 21 11:20:35 2009 -0500 p3mx: Remove serial relocation fixups Signed-off-by: Peter Tyser commit 80f73b92a19129854876ec3f1aef531a09e86d2d Author: Peter Tyser Date: Mon Sep 21 11:20:34 2009 -0500 lwmon, lwmon5: Remove sysmon POST relocation fixups Signed-off-by: Peter Tyser commit 331ab60c4a418c39e5b1a05d4648a4155d0ad13e Author: Peter Tyser Date: Mon Sep 21 11:20:33 2009 -0500 mpl: Remove memory test relocation fixups Signed-off-by: Peter Tyser commit 6385b28116f775da4771b768ba9bf93c3aaaf26e Author: Peter Tyser Date: Mon Sep 21 11:20:32 2009 -0500 fpga: Remove relocation fixups PPC boards are the only users of the current FPGA code which is littered with manual relocation fixups. Now that proper relocation is supported for PPC boards, remove FPGA manual relocation. Signed-off-by: Peter Tyser commit cd1011db80287eef933d1599b74cff1116c93134 Author: Peter Tyser Date: Mon Sep 21 11:20:31 2009 -0500 tsec: Remove PHY command relocation fixups Signed-off-by: Peter Tyser commit b5650c5d8c99100144d8e4e9af910405f857bb7a Author: Peter Tyser Date: Mon Sep 21 11:20:30 2009 -0500 ppc: Remove board-specific command table relocation fixups Signed-off-by: Peter Tyser commit e6b05e774d7ce1641613cdeffb69c1d48139a869 Author: Peter Tyser Date: Mon Sep 21 11:20:29 2009 -0500 ppc: Remove extable relocation fixups Signed-off-by: Peter Tyser commit b32a894011b1436758905fa10e6a03b8539c43c9 Author: Peter Tyser Date: Mon Sep 21 11:20:28 2009 -0500 ppc: Remove pci config table pointer relocation fixups Signed-off-by: Peter Tyser commit a0e2066f392782730f0398095e583c87812d97f2 Author: Peter Tyser Date: Mon Sep 21 11:20:27 2009 -0500 ppc: Remove board.c relocation fixups Signed-off-by: Peter Tyser commit 244615197469dd6fe75ae082f38424b97c79aeaf Author: Peter Tyser Date: Mon Sep 21 11:20:26 2009 -0500 ppc: Check for compilers that don't support relocation Certain ppc compilers are known not to generate the .fixup section properly. The .fixup section is necessary to create a relocatable U-Boot image. A basic check for the existence of the .fixup section should hopefully catch the majority of broken compilers which don't support relocation. Signed-off-by: Peter Tyser commit 858290178f222d998b6425d85cf06822467918f3 Author: Peter Tyser Date: Mon Sep 21 11:20:25 2009 -0500 ppc: Enable full relocation to RAM The following changes allow U-Boot to fully relocate from flash to RAM: - Remove linker scripts' .fixup sections from the .text section - Add -mrelocatable to PLATFORM_RELFLAGS for all boards - Define CONFIG_RELOC_FIXUP_WORKS for all boards Previously, U-Boot would partially relocate, but statically initialized pointers needed to be manually relocated. Signed-off-by: Peter Tyser commit 3b4bd2d75c4b3c1a4570f47ffaaed66f56a78ff4 Author: Matthias Fuchs Date: Wed Sep 30 11:55:04 2009 +0200 ppc4xx: Add SDRAM detection for PMC440 boards This patch adds support to detect the amount of DDR2 SDRAM on PMC440 modules. Detection is done by probing through a list of available and supported hardware configurations from 1GByte down to 256MB. The static TLB entry is replaced by dynamically created entries. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit fb95169e39f2d03270bed552d27bbb02627a443e Author: Stefan Roese Date: Mon Sep 28 17:33:45 2009 +0200 ppc4xx: Merge PPC4xx DDR and DDR2 ECC handling This patch merges the ECC handling (ECC parity byte writing) into one file (ecc.c) for all PPC4xx SDRAM controllers except for PPC440EPx/GRx. This exception is because only those PPC's use the completely different Denali SDRAM controller core. Previously we had two routines to generate/write the ECC parity bytes. With this patch we now only have one core function left. Tested on Kilauea (no ECC) and Katmai (with and without ECC). Signed-off-by: Stefan Roese Cc: Felix Radensky Cc: Grant Erickson Cc: Pieter Voorthuijsen commit d24bd2517a2b847f773453eab0ee5b1c8ebc74ba Author: Felix Radensky Date: Sun Sep 27 23:56:12 2009 +0200 ppc4xx: Reorganize DDR2 ECC handling Reorganize DDR2 ECC handling to use common code for SPD DIMMs and soldered SDRAM. Also, use common code to display SDRAM info (ECC, CAS latency) for SPD and soldered SDRAM variants. Signed-off-by: Felix Radensky Signed-off-by: Stefan Roese commit 46a887949e11d2cddb91e17ca47e73341d71a379 Author: Mike Frysinger Date: Wed Sep 30 03:09:16 2009 -0400 Blackfin: update default console= settings The Linux kernel has changed the way it numbers serial ports, so update the default command line to match it. Signed-off-by: Mike Frysinger commit 4c5f307d58604dea001cccf388aa077a902ab0a5 Author: Mike Frysinger Date: Mon Sep 21 18:04:49 2009 -0400 Blackfin: bf533-ezkit: update env location The u-boot image has outgrown the current space and overflowed into the env sector. So move the env to the next available sector (we've already allocated the first few sectors anyways for u-boot). Signed-off-by: Mike Frysinger commit 24b17d8a3c3a4b9ceaf6363ebe0021011b0b8bd8 Author: Kumar Gala Date: Wed Sep 30 08:39:44 2009 -0500 ppc/85xx: get_law_entry isn't used in CONFIG_NAND_SPL Don't include get_law_entry as part of the NAND_SPL build since the code isnt used. Signed-off-by: Kumar Gala commit 693a048d8ac191181f5b9adbff642d3f1bbd479f Author: Mingkai Hu Date: Wed Sep 23 15:20:39 2009 +0800 Add README.mpc8536ds Add boot from NAND/eSDHC/eSPI description Signed-off-by: Mingkai Hu Signed-off-by: Kumar Gala commit e40ac4870c6e72302044e98338322f45c34435bd Author: Mingkai Hu Date: Wed Sep 23 15:20:38 2009 +0800 On-chip ROM boot: MPC8536DS support The MPC8536E is capable of booting from the on-chip ROM - boot from eSDHC and boot from eSPI. When power on, the porcessor excutes the ROM code to initialize the eSPI/eSDHC controller, and loads the mian U-Boot image from the memory device that interfaced to the controller, such as the SDCard or SPI EEPROM, to the target memory, e.g. SDRAM or L2SRAM, then boot from it. The memory device should contain a specific data structure with control word and config word at the fixed address. The config word direct the process how to config the memory device, and the control word direct the processor where to find the image on the memory device, or where copy the main image to. The user can use any method to store the data structure to the memory device, only if store it on the assigned address. The on-chip ROM code will map the whole 4GB address space by setting entry0 in the TLB1, so the main image need to switch to Address space 1 to disable this mapping and map the address space again. This patch implements loading the mian U-Boot image into L2SRAM, so the image can configure the system memory by using SPD EEPROM. Signed-off-by: Mingkai Hu Signed-off-by: Kumar Gala commit 9a1a0aedbbd56f901bfbc124f18ec6d9dcefe282 Author: Mingkai Hu Date: Wed Sep 23 15:20:37 2009 +0800 NAND boot: MPC8536DS support MPC8536E can support booting from NAND flash which uses the image u-boot-nand.bin. This image contains two parts: a 4K NAND loader and a main U-Boot image. The former is appended to the latter to produce u-boot-nand.bin. The 4K NAND loader includes the corresponding nand_spl directory, along with the code twisted by CONFIG_NAND_SPL. The main U-Boot image just like a general U-Boot image except the parts that included by CONFIG_SYS_RAMBOOT. When power on, eLBC will automatically load from bank 0 the 4K NAND loader into the FCM buffer RAM where CPU can execute the boot code directly. In the first stage, the NAND loader copies itself to RAM or L2SRAM to free up the FCM buffer RAM, then loads the main image from NAND flash to RAM or L2SRAM and boot from it. This patch implements the NAND loader to load the main image into L2SRAM, so the main image can configure the RAM by using SPD EEPROM. In the first stage, the NAND loader copies itself to the second to last 4K address space, and uses the last 4K address space as the initial RAM for stack. Obviously, the size of L2SRAM shouldn't be less than the size of the image used. If so, the workaround is to generate another image that includes the code to configure the RAM by SPD and load it to L2SRAM first, then relocate the main image to RAM to boot up. Signed-off-by: Mingkai Hu Signed-off-by: Kumar Gala commit 07355700523203c5f72018712cf0d93683f255c8 Author: Mingkai Hu Date: Wed Sep 23 15:19:32 2009 +0800 mpc8536: fix board config file line length Signed-off-by: Mingkai Hu Signed-off-by: Kumar Gala commit dd9ca98f2600000e5c2744735040100b770650e7 Author: Paul Gortmaker Date: Fri Sep 25 11:14:11 2009 -0400 sbc8548: reclaim wasted sector in boot flash By nature of being based off the MPC8548CDS board, this board inherited an ENV_SIZE setting of 256k. But since it has a smaller flash device (8MB soldered on), it has a native sector size of 128k, and hence the ENV_SIZE was causing 2 sectors to be used for the environment. By removing the unused sector, we can push TEXT_BASE up closer to the end of address space and reclaim that sector for any other application. This also fixes the mismatch between TEXT_BASE and MONITOR_LEN reported by Kumar earlier. Since this board also supports the ability to boot off the 64MB SODIMM flash, this change is forward looking with that in mind; i.e. the settings for MONITOR_LEN and ENV_SIZE will work when the 512k sectors of the SODIMM flash are used for alternate boot in the future. Signed-off-by: Paul Gortmaker Signed-off-by: Kumar Gala commit 8280912e0657e96a7b7d8da7003656d62b0fd109 Author: Kumar Gala Date: Mon Sep 28 21:38:00 2009 -0500 ppc/85xx: Clean up immap_85xx.h * Converted all white space to tabs * Converted all types to u8/u16/u32 * Reduce lines to fit in 80 columns * Renamed MPC85xx_{Q,B}MAN -> FSL_CORENET_{Q,B}MAN Signed-off-by: Kumar Gala commit d44e9c1736283f0abc5d3c5d28cfea8480c93a79 Author: Scott Wood Date: Mon Sep 28 16:33:18 2009 -0500 NAND: davinci: Fix warnings when 4-bit ECC not used I accidentally left v2 of "NAND: DaVinci:Adding 4 BIT ECC support" applied when I pushed the tree last merge window, and missed these fixes which were in v3 of that patch. Signed-off-by: Sandeep Paulraj Signed-off-by: Scott Wood commit ca6189db484882798f2a35a476c07e618e21f6d3 Author: Kyungmin Park Date: Tue Sep 22 09:05:00 2009 +0900 Refactor OneNAND IPL code Refactoring the OneNAND IPL code and some minor fixed: - Remove unnecessary header file - Fix wrong access at read interrupt - The recent OneNAND has 4KiB pagesize Also Board can override OneNAND IPL image Signed-off-by: Kyungmin Park commit a05e3f9a084fc8951d87745b3a91df246432df7d Author: Shinya Kuribayashi Date: Sat Sep 12 18:01:40 2009 +0900 MIPS: VCT: Remove read_spareram reference The commit ecad289fc6bd9d89ef4d5093cc7b6fd712fd0d29 (OneNAND: Remove unused read_spareram and add unlock_all as kernel does) forgot to remove a local reference to read_spareram in board/micronas/vct/ebi_onenand.c, which causes the following build failure when configured with OneNAND: ebi_onenand.c: In function 'onenand_board_init': ebi_onenand.c:196: error: 'struct onenand_chip' has no member named 'read_spareram' make[1]: *** [ebi_onenand.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [board/micronas/vct/libvct.a] Error 2 Signed-off-by: Shinya Kuribayashi Acked-by: Stefan Roese Cc: Kyungmin Park Signed-off-by: Scott Wood commit ef37c6835eac66206a9c7c11f0c7186f5d64bf91 Author: Simon Kagstrom Date: Fri Sep 25 14:05:57 2009 +0200 ubifs: Correct dereferencing of files-after-symlinks Files in directories which are symlinked to were not dereferenced correctly in last commit. E.g., with a symlink /boot/lnk -> /boot/real_dir loading /boot/lnk/uImage will fail. This patch fixes that by simply seeing to it that the target base directory has a slash after it. Signed-off-by: Simon Kagstrom Signed-off-by: Stefan Roese commit b306db2f1bf561b5823a655c677fe28cfad80cfb Author: Stefan Roese Date: Thu Sep 24 14:10:30 2009 +0200 ppc4xx: Remove mtsdram0() marcos and use common mtsdram() instead Additionally some whitespace coding style fixes. Signed-off-by: Stefan Roese commit 95b602bab5fec2fffab07a01ea3947c70d1bacc1 Author: Stefan Roese Date: Thu Sep 24 13:59:57 2009 +0200 ppc4xx: Convert PPC4xx SDRAM defines from lower case to upper case The latest PPC4xx register cleanup patch missed some SDRAM defines. This patch now changes lower case UIC defines to upper case. Also some names are changed to match the naming in the IBM/AMCC users manuals (e.g. mem_mcopt1 -> SDRAM0_CFG). Signed-off-by: Stefan Roese commit 952e7760bfc5b0e3b142b9ce34e7fbb7d008c900 Author: Stefan Roese Date: Thu Sep 24 09:55:50 2009 +0200 ppc4xx: Convert PPC4xx UIC defines from lower case to upper case The latest PPC4xx register cleanup patch missed the UIC defines. This patch now changes lower case UIC defines to upper case. Signed-off-by: Stefan Roese commit d1c9e5b37901b53ffc1ce3f08ec8ed61bfd557b6 Author: Joakim Tjernlund Date: Tue Sep 22 13:40:44 2009 +0200 fsl_i2c: Do not generate STOP after read. __i2c_read always ends with a STOP condition thereby releasing the bus. It is cleaner to do the STOP magic in i2c_read(), like i2c_write() does. This may also help future multimaster systems which wants to hold on to the bus until all transactions are finished. Signed-off-by: Joakim Tjernlund commit 99404202127346b9e91503bbd69deafa18c980c4 Author: Joakim Tjernlund Date: Thu Sep 17 11:07:17 2009 +0200 fsl_i2c: Impl. AN2919, rev 5 to calculate FDR/DFSR The latest AN2919 has changed the way FDR/DFSR should be calculated. Update the driver according to spec. However, Condition 2 is not accounted for as it is not clear how to do so. Signed-off-by: Joakim Tjernlund Acked-by: Wolfgang Grandegger commit d01ee4db9302cfccaa5c548a1c4e873b415681a0 Author: Joakim Tjernlund Date: Thu Sep 17 11:07:16 2009 +0200 fsl_i2c: Add CONFIG_FSL_I2C_CUSTOM_{DFSR/FDR} Some boards need a higher DFSR value than the spec currently recommends so give these boards the means to define there own. For completeness, add CONFIG_FSL_I2C_CUSTOM_FDR too. Signed-off-by: Joakim Tjernlund commit 21f4cbb77299788e2b06c9b0f48cf20a5ab00d4a Author: Joakim Tjernlund Date: Thu Sep 17 11:07:15 2009 +0200 fsl_i2c: Wait for STOP condition to propagate After issuing a STOP one must wait until the STOP has completed on the bus before doing something new to the controller. Also add an extra read of SR as the manual mentions doing that is a good idea. Remove surplus write of CR just before a write, isn't required and could potentially disturb the I2C bus. Signed-off-by: Joakim Tjernlund commit c7190f028fa950d4d36b6d0b4bb3fc72602ec54c Author: Kim Phillips Date: Fri Sep 25 18:19:44 2009 -0500 mpc83xx: retain POR values of non-configured ACR, SPCR, SCCR, and LCRR bitfields some LCRR bits are not documented throughout the 83xx family RMs. New board porters copying similar board configurations might omit setting e.g., DBYP since it was not documented in their SoC's RM. Prevent them bricking their board by retaining power on reset values in bit fields that the board porter doesn't explicitly configure via CONFIG_SYS__ assignments in the board config file. also move LCRR assignment to cpu_init_r[am] to help ensure no transactions are being executed via the local bus while CLKDIV is being modified. also start to use i/o accessors. Signed-off-by: Kim Phillips commit 00ec0ff549b8cb6fb6d40e275aeb5a460642a3bd Author: Paul Gortmaker Date: Mon Sep 21 17:44:51 2009 -0400 sbc8349: tidy up Makefile to use new configuration script. Commit 804d83a5 allows us to move all the configuration variation tweaks out of the top level Makefile and down into the board config header. This takes advantage of that for the sbc8349 board. Signed-off-by: Paul Gortmaker Signed-off-by: Kim Phillips commit da6eea0f48c24a318e6de69d6bca0bb5ab70572b Author: Anton Vorontsov Date: Wed Sep 16 23:22:08 2009 +0400 mpc83xx: mpc8360emds: Add QE USB device tree fixups With this patch we can change QE USB mode without need to hand-edit the device tree. Signed-off-by: Anton Vorontsov Signed-off-by: Kim Phillips commit 89da44ce3fe1638312d71cb3add8c6a6d2c7c1f3 Author: Anton Vorontsov Date: Wed Sep 16 23:21:59 2009 +0400 mpc83xx: mpc8360emds: Use RGMII-ID mode, add workarounds for rev. 2.1 CPUs This patch fixes various ethernet issues with gigabit links handling in U-Boot. The workarounds originally implemented by Kim Phillips for Linux kernel. Signed-off-by: Anton Vorontsov Signed-off-by: Kim Phillips commit 034477bb31948d698d18b84bc0834c3e25a14d04 Author: Anton Vorontsov Date: Wed Sep 16 23:21:57 2009 +0400 mpc83xx: mpc8360emds: Don't use LBC SDRAM when DDR is available Since commit 5c2ff323a94e27e481f70c44838d43fcd844dd46 ("mpc8360emds: rework LBC SDRAM setup"), LBC SDRAM is available for use in Linux. Though, it appears that QE Ethernet in Gigabit mode can't transmit large packets when it tries to work with a data in LBC SDRAM (memtest didn't discover any issues, is LBC SDRAM just too slow?). With this patch we can still use the board without DDR memory, but if DDR is available, we don't use LBC SDRAM. Signed-off-by: Anton Vorontsov Signed-off-by: Kim Phillips commit d77c779bc23596aa3693d1c5c4d5b6e1072f93f2 Author: Anton Vorontsov Date: Wed Sep 16 23:21:55 2009 +0400 net: uec: Fix uccf.h and uec.h headers to include headers they depend on Headers should include headers containing prototypes and defines they depend on, don't assume that they're included by somebody else. Signed-off-by: Anton Vorontsov Signed-off-by: Kim Phillips commit 6185f80c311cc3bdef2f8d5096c61e40ca6f48b2 Author: Anton Vorontsov Date: Wed Sep 16 23:21:53 2009 +0400 net: uec_phy: Implement TXID and RXID RGMII modes for Marvell PHYs This will be needed for MPC8360E-MDS boards with rev. 2.1 CPUs. Signed-off-by: Anton Vorontsov Signed-off-by: Kim Phillips commit 984f10baac8ef6032df52f135943d6b0bc96f724 Author: Wolfgang Denk Date: Fri Sep 25 14:16:00 2009 +0200 mpc5121ads: fix breakage introduced when reordering elpida_mddrc_config[] Signed-off-by: Wolfgang Denk commit 6e748ea004473cce99fbde6382dd580c10ffdb60 Author: Ken MacLeod Date: Fri Sep 11 15:16:18 2009 -0500 cmd_fdt.c: fix parse of byte streams and strings Commit 4abd844d8e extended the fdt command parser to handle property strings which are split across multiple arguments but it was broken for byte streams and strings. Byte stream parsing: * Fixes where it would terminate early or go into an endless loop. * Fixes a 0x00 being inserted into the data if there is a space after '[' or a separate argument. * Fixes dereferencing the argument pointer after the last argument. * Checks for bad characters. String parsing: * Treat multiple arguments as a string list. This fixes an issue where only the last argument was stored. Signed-off-by: Ken MacLeod commit 3887c3fbdbbe6bbb4df60ed415c8e1ab9fe56b5e Author: Heiko Schocher Date: Wed Sep 23 07:56:08 2009 +0200 mucmc52, uc101: delete ata@3a00 node, if no CF card is detected U-Boot can detect if an IDE device is present or not. If not, and this new config option is activated, U-Boot removes the ATA node from the DTS before booting Linux, so the Linux IDE driver does not probe the device and crash. This is needed for buggy hardware (uc101) where no pull down resistor is connected to the signal IDE5V_DD7. Signed-off-by: Heiko Schocher commit 7f625fc6d3ba8f890e843ac01717804c2462ed53 Author: Heiko Schocher Date: Wed Sep 23 07:56:04 2009 +0200 mpc5200, mucmc52, uc101: config cleanup - As these boards are similiar, collect common config options in manroland/common.h and manroland/mpc52xx-common.h for mpc5200 specific common options for this manufacturer. - add OF support - update default environment Signed-off-by: Heiko Schocher Minor edit of commit message. Signed-off-by: Wolfgang Denk commit 9d142ea8f787882ab732fa531a34db091bfa363d Author: Wolfgang Denk Date: Fri Sep 25 00:57:49 2009 +0200 Fix "ppc/85xx: Clean up use of LAWAR defines" breakage Commit 002741ae86 modified include/asm-ppc/mmu.h such that the LAWAR_ defines were only enabled for the 83xx platform, but they are also needed on MPC512x system. Enabling these for E300 systems seems thus more appropriate. Signed-off-by: Wolfgang Denk commit a5aa3998ab6408a6ac738a3ce8005e647b9465f8 Author: Martha M Stan Date: Mon Sep 21 14:08:00 2009 -0400 Add Elpida Memory Configuration to mpc5121ads Boards Signed-off-by: Martha M Stan Minor coding style cleanup. Signed-off-by: Wolfgang Denk commit 054197ba8ee5ef1e41694df58531b6e53ec43f2d Author: Martha M Stan Date: Mon Sep 21 14:07:14 2009 -0400 mpc512x: Streamlined fixed_sdram() init sequence. Signed-off-by: Martha M Stan Minor cleanup: Re-ordered default_mddrc_config[] to have matching indices. This allows to use the same index "N" for source and target fields; before, we had code like this out_be32(&im->mddrc.ddr_time_config2, mddrc_config[3]); which always looked like a copy & paste error because 2 != 3. Also, use NULL when meaning a null pointer. Signed-off-by: Wolfgang Denk commit 39aaca1f66a0e5b1204b0789f6c0097938c00ad1 Author: Kumar Gala Date: Thu Mar 19 02:46:19 2009 -0500 ppc/p4080: Determine various chip frequencies on CoreNet platforms The means to determine the core, bus, and DDR frequencies are completely new on CoreNet style platforms. Additionally on p4080 we can have different frequencies for FMAN and PME IP blocks. We need to keep track of the FMAN & PME frequencies since they are used for time stamping capabilities inside each block. Signed-off-by: Kumar Gala commit 3c2a67eec8a0facc865b400caca52e7f6b7adf01 Author: Kumar Gala Date: Thu Sep 17 01:52:37 2009 -0500 ppc/p4080: Handle timebase enabling and frequency reporting On CoreNet style platforms the timebase frequency is the bus frequency defined by 16 (on PQ3 it is divide by 8). Also on the CoreNet platforms the core not longer controls the enabling of the timebase. We now need to enable the boot core's timebase via CCSR register writes. Signed-off-by: Kumar Gala commit 7e4259bba4c56536760e42d32dacfb3233f216fd Author: Kumar Gala Date: Thu Mar 19 02:39:17 2009 -0500 ppc/p4080: Add various p4080 related defines (and p4040) There are various locations that we have chip specific info: * Makefile for which ddr code to build * Added p4080 & p4040 to cpu_type_list and SVR list * Added number of LAWs for p4080 * Set CONFIG_MAX_CPUS to 8 for p4080 Signed-off-by: Kumar Gala commit 39a7e7fd538cdf49e7e8a2f0634ea5e15e12b4ec Author: Kumar Gala Date: Thu Sep 17 01:44:39 2009 -0500 ppc/p4080: CoreNet platfrom style secondary core release The CoreNet platform style of bringing secondary cores out of reset is a bit different that the PQ3 style. Mostly the registers that we use to setup boot translation, enable time bases, and boot release the cores have moved around. Signed-off-by: Kumar Gala commit a880cf3e0e1c220d780eccd0b101170c4499485d Author: Kumar Gala Date: Thu Sep 17 01:44:00 2009 -0500 ppc/p4080: CoreNet platfrom style CCSRBAR setting On CoreNet based platforms the CCSRBAR address is split between an high & low register and we no longer shift the address. Signed-off-by: Kumar Gala Signed-off-by: Scott Wood commit 418ec8584343f04048e2cc7ee96b6b29be54ad97 Author: Kumar Gala Date: Thu Mar 19 02:32:23 2009 -0500 ppc/p4080: Add support for CoreNet style platform LAWs On CoreNet based platforms the LAW address is split between an high & low register and we no longer shift the address. Also, the target IDs on CoreNet platforms have been completely re-assigned. Additionally, added a new find_law() API to which LAW an address hits in. This is need for the CoreNet style boot release code since it will need to determine what the target ID should be set to for boot window translation. Finally, enamed LAWAR_EN to LAW_EN and moved to header so we can use it elsewhere. Signed-off-by: Kumar Gala commit 01df521217957d77d53c2d570183eded7030938f Author: Kumar Gala Date: Wed Sep 16 09:43:12 2009 -0500 ppc/p4080: Add p4080 platform immap definitions The p4080 SoC has a significant amount of commonality with the 85xx/PQ3 platform. We reuse the 85xx immap and just add new definitions for local access and global utils. The global utils is now broken into global utils, clocking and run control/power management. The offsets from CCSR for a number of blocks have also changed. We introduce the CONFIG_FSL_CORENET define to distinquish the PQ3 style of platform from the new p4080 platform. We don't use QoirQ as there are products (like p2020) that are PQ3 based platforms but have the QoirQ name. Signed-off-by: Kumar Gala commit 25bacf7a2b096496e2c58f2de4e5b2bce8fba038 Author: Kumar Gala Date: Tue Sep 22 15:45:44 2009 -0500 ppc/85xx: Fix enabling of L2 cache We need to flash invalidate the locks in addition to the cache before we enable. Signed-off-by: Kumar Gala commit cb0ff65c619efacdc0ba69aa8ee6ede7dd364a38 Author: Vivek Mahajan Date: Tue Sep 22 12:48:27 2009 +0530 85xx-fdt: Fixed l2-ctlr's compatible prop for QorIQ The code assumed names where just numbers and always prefixed 'mpc'. However newer QorIQ don't follow the mpc naming scheme. Signed-off-by: Vivek Mahajan Signed-off-by: Kumar Gala commit 234a89d911ce28e46372f555d7c14e28424f2b0d Author: Mingkai Hu Date: Tue Sep 22 14:53:21 2009 +0800 ppc/85xx: add cpu init config file for boot from NAND When boot from NAND, the NAND flash must be connected to br/or0. Also init RAM(L2 SRAM or DDR SDRAM) for load the second image to it. Signed-off-by: Mingkai Hu Signed-off-by: Kumar Gala commit 266139b88b43ae1d87abb5f5431e6f57b801795f Author: Mingkai Hu Date: Tue Sep 22 14:53:34 2009 +0800 immap_85xx: add porpllsr's plat ratio definition Signed-off-by: Mingkai Hu Signed-off-by: Kumar Gala commit 098bcbae3172d73d24ca8ba196328d901eed4132 Author: Mingkai Hu Date: Tue Sep 22 14:53:10 2009 +0800 ppc/85xx: add ld script file for boot from NAND The first stage 4K image uses a seperate ld script file to generate 4K image. This patch moves it to the cpu/mpc85xx/* to make it avaliable for 85xx platform. Signed-off-by: Mingkai Hu Signed-off-by: Kumar Gala commit 8439f05cfd8cbb38485376a34d9fe297ba262737 Author: Peter Tyser Date: Mon Sep 21 23:09:28 2009 -0500 mpc8610hpcd: Use common 86xx fdt fixup code Using the common 86xx fdt fixups removes some board-specific code and should make the mpc8610hpcd easier to maintain in the long run. Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit 928435d11b898870415910efff87a4d6399cecb8 Author: Paul Gortmaker Date: Mon Sep 21 17:19:17 2009 -0400 sbc85x0: tidy up Makefile to use new configuration script. Commit 804d83a5 allows us to move all the configuration variation tweaks out of the top level Makefile and down into the boards config header. This takes advantage of that for the sbc8540/sbc8560 boards. There were a couple of cheezy comments pointing at incorrect files, or files that don't exist, so I've cleaned those up too. Signed-off-by: Paul Gortmaker Signed-off-by: Kumar Gala commit 2738bc8df65ec905094d83f62f87fed123a03b9c Author: Paul Gortmaker Date: Sun Sep 20 20:36:06 2009 -0400 sbc8548: allow enabling PCI via a make config option Prior to this commit, to enable PCI, you had to go manually edit the board config header, and if you had 33MHz PCI, you had to manually change CONFIG_SYS_NS16550_CLK too, which was not real user friendly, This adds the typical PCI and clock speed make targets to the toplevel Makefile in accordance with what is being done with other boards (i.e. using the "-t" to mkconfig). Signed-off-by: Paul Gortmaker Signed-off-by: Kumar Gala commit fdc7eb90b504daa020f290604d50da8f7cb70d8a Author: Paul Gortmaker Date: Sun Sep 20 20:36:05 2009 -0400 sbc8548: update PCI/PCI-e support code The PCI/PCI-e support for the sbc8548 was based on an earlier version of what the MPC8548CDS board was using, and in its current state it won't even compile. This re-syncs it to match the latest codebase and makes use of the new shared PCI functions to reduce board duplication. It borrows from the MPC8568MDS, in that it pulls the PCI-e I/O back to 0xe280_0000 (where PCI2 would be on MPC8548CDS), and similarly it coalesces the PCI and PCI-e mem into one single TLB. Both PCI-x and PCI-e have been tested with intel e1000 cards under linux (with an accompanying dts change in place) Signed-off-by: Paul Gortmaker Signed-off-by: Kumar Gala commit a8b3e90f798e0cca5f11c912f9d0823a1c5b6c24 Author: Paul Gortmaker Date: Sun Sep 20 20:36:01 2009 -0400 fsl_pci: create a SET_STD_PCI_INFO() helper wrapper Recycle the recently added PCI-e wrapper used to reduce board duplication of code by creating a similar version for plain PCI. Signed-off-by: Paul Gortmaker Signed-off-by: Kumar Gala commit 11d5a629f8a40f9d7cffc74e58f4e3ed258e56ab Author: Paul Gortmaker Date: Sun Sep 20 20:36:04 2009 -0400 sbc8548: correct local bus SDRAM size from 64M to 128M The size of the LB SDRAM on this board is 128MB, spanning CS3 and CS4. It was previously only being configured for 64MB on CS3, since that was what the original codebase of the MPC8548CDS had. In addition to setting up BR4/OR4, this also adds the TLB entry for the second half of the SDRAM. Signed-off-by: Paul Gortmaker Signed-off-by: Kumar Gala commit 0c7e4d45d9fb3c9e503ee93d50572d346dae150e Author: Paul Gortmaker Date: Sun Sep 20 20:36:03 2009 -0400 sbc8548: use I/O accessors Sweep throught the board specific file and replace the various register proddings with the equivalent I/O accessors. Signed-off-by: Paul Gortmaker Signed-off-by: Kumar Gala commit fc38eb98ff226f2c53eecbee033a6ab7619473dc Author: Paul Gortmaker Date: Sun Sep 20 20:36:02 2009 -0400 sbc8548: remove eTSEC3/4 voltage hack With only eTSEC1 and 2 being brought out to RJ-45 connectors, we aren't interested in the eTSEC3/4 voltage hack on this board Signed-off-by: Paul Gortmaker Signed-off-by: Kumar Gala commit 9b3ba24f18900633a394416cc056c44a1a6eb754 Author: Paul Gortmaker Date: Fri Sep 18 19:08:41 2009 -0400 sbc8548: enable access to second bank of flash The sbc8548 has a 64MB SODIMM flash module off of CS6 that previously wasn't enumerated by u-boot. There were already BR6/OR6 settings for it [used by cpu_init_f()] but there was no TLB entry and it wasn't in the list of flash banks reported to u-boot. The location of the 64MB flash is "pulled back" 8MB from a 64MB boundary, in order to allow address space for the 8MB boot flash that is at the end of 32 bit address space. This means creating two 4MB TLB entries for the 8MB chunk, and then expanding the original boot flash entry to 64MB in order to cover the 8MB boot flash and the remainder (56MB) of the user flash. Signed-off-by: Paul Gortmaker Signed-off-by: Kumar Gala commit ded58f4153923dfff16d2f96495bd7acf1f7e10e Author: Paul Gortmaker Date: Wed Sep 23 17:30:57 2009 -0400 sbc8548: cosmetic line re-wrap Fix the extra long lines to be consistent with u-boot coding style. No functional change here. Signed-off-by: Paul Gortmaker commit 2c40acd3525b75db3fcd3f5a5bd40445679b5547 Author: Paul Gortmaker Date: Fri Sep 18 19:08:40 2009 -0400 sbc8548: get_clock_freq is not valid for this board The get_clock_freq() comes from freescale/common/cadmus.c and is only valid for the CDS based 85xx reference platforms. It would be nice if we could read the 33 vs. 66MHz status somehow, but in the meantime, tie it to CONFIG_SYS_CLK_FREQ like all the other non-CDS boards do. Signed-off-by: Paul Gortmaker Signed-off-by: Kumar Gala commit 7b1f1399e876587e0a268a5a471dd444bfbc3114 Author: Paul Gortmaker Date: Fri Sep 18 19:08:39 2009 -0400 sbc8548: delete unused MPC8548CDS info carried over from port There are a couple defines and PCI bridge quirks related to the PCI backplane of the MPC8548CDS that have no meaning in the context of the port to the sbc8548 board, so delete them. Also, the form factor of the sbc8548 is a standalone board with a single PCI-X and a single PCI-e slot. That pretty much guarantees that it will never be a PCI agent itself, so the host/agent and root complex/end node distinctions have been removed. Similarly, since there is no physical connector mapping to PCI2, so all references of PCI2 in the board support files have been removed as well. Signed-off-by: Paul Gortmaker Signed-off-by: Kumar Gala commit 94ca091456d5c3040ddd6351c80cf3e74393f9be Author: Paul Gortmaker Date: Fri Sep 18 19:08:44 2009 -0400 sbc8548: enable use of PCI network cards Create a board_eth_init to allow a place to hook in the PCI ethernet init after all the eTSEC are up and configured. Signed-off-by: Paul Gortmaker Signed-off-by: Kumar Gala commit 82b7725b6d46d9ad2b962b4cdfa896bd5ee32fb5 Author: Poonam Aggrwal Date: Sat Sep 19 17:50:17 2009 +0530 ppc/85xx: 32bit DDR changes for P1020/P1011 The P1020/P1011 SOCs support max 32bit DDR width as opposed to P2020/P2010 where max DDR data width supported is 64bit. As a next step the DDR data width initialization would be made more dynamic with more flexibility from the board perspective and user choice. Going forward we would also remove the hardcodings for platforms with onboard memories and try to use the FSL SPD code for DDR initialization. Signed-off-by: Poonam Aggrwal Signed-off-by: Kumar Gala commit bd42bbb858dde713f023fc2e4f512ec174a1a8d2 Author: Paul Gortmaker Date: Fri Sep 18 19:08:46 2009 -0400 sbc8548: replace README with completely new document The previous README.sbc8548 was pretty much content-free. Replace it with something that actually gives the end user some relevant hardware details, and also lists the u-boot configuration choices. Also in the cosmetic department, fix the bogus line in the Makefile that was carried over from the SBC8560 Makefile, and the typo in the sbc8548.c copyright. Signed-off-by: Paul Gortmaker Signed-off-by: Kumar Gala commit 002741ae862c1c7e3dad89d020e392e6add1c05d Author: Kumar Gala Date: Sat Sep 19 11:20:54 2009 -0500 ppc/85xx: Clean up use of LAWAR defines On 85xx platforms we shouldn't be using any LAWAR_* defines but using the LAW_* ones provided by fsl-law.h. Rename any such uses and limit the LAWAR_ to the 83xx platform as the only user so we will get compile errors in the future. Signed-off-by: Kumar Gala commit f61dae7c9dc526410faec15ce352b11fc36a560b Author: Kumar Gala Date: Thu Sep 3 10:20:09 2009 -0500 ppc/85xx: Clean up mpc8572DS PCI setup code Use new fsl_pci_init_port() that reduces amount of duplicated code in the board ports, use IO accessors and clean up printing of status info. Signed-off-by: Kumar Gala commit 4958af8735207640181c4423e41b24ee7418361a Author: Kumar Gala Date: Thu Sep 3 09:42:01 2009 -0500 ppc/85xx: Clean up p2020ds PCI setup code Use new fsl_pci_init_port() that reduces amount of duplicated code in the board ports, use IO accessors and clean up printing of status info. Signed-off-by: Kumar Gala commit 93a83872c707891bad22f7776d79a650c870601f Author: Kumar Gala Date: Thu Sep 3 10:09:04 2009 -0500 ppc/85xx: Clean up p1_p2_rdb PCI setup General code cleanup to use in/out IO accessors as well as making the code that prints out info sane between board and generic fsl pci code. Signed-off-by: Kumar Gala commit 62ca21c442e18fec118ec83e183d64ea49966ce7 Author: Kumar Gala Date: Thu Sep 10 16:31:53 2009 -0500 ppc/85xx: Simplify the top makefile for P1_P2_RDB boards Signed-off-by: Kumar Gala commit a0f9e0e0f06033807de0ae017ad4d9cf5ddff84b Author: Kumar Gala Date: Thu Sep 10 16:26:37 2009 -0500 ppc/85xx: Simplify the top makefile for 36-bit config for P2020DS Signed-off-by: Kumar Gala commit f9edcc10e6cb497dd7dcbaf691cfd1859abae27a Author: Kumar Gala Date: Thu Sep 10 16:23:45 2009 -0500 ppc/85xx: Simplify the top makefile for 36-bit config for MPC8572DS Signed-off-by: Kumar Gala commit 0e905ac28b1e039d74e63232293972bff6b5a0ce Author: Mingkai Hu Date: Fri Sep 18 11:45:09 2009 +0800 ppc/85xx: simplify the top makefile for 36-bit config for mpc8536ds Signed-off-by: Mingkai Hu Signed-off-by: Kumar Gala commit 202d94875c98b7b573f136c4f353609758ed9733 Author: Kumar Gala Date: Tue Sep 15 22:21:58 2009 -0500 ppc/85xx: Fix LCRR_CLKDIV defines For some reason the CLKDIV field varies between SoC in how it interprets the bit values. All 83xx and early (e500v1) PQ3 devices support: clk/2: CLKDIV = 2 clk/4: CLKDIV = 4 clk/8: CLKDIV = 8 Newer PQ3 (e500v2) and MPC86xx support: clk/4: CLKDIV = 2 clk/8: CLKDIV = 4 clk/16: CLKDIV = 8 Ensure that the MPC86xx and MPC85xx still get the same behavior and make the defines reflect their logical view (not the value of the field). Signed-off-by: Kumar Gala Acked-by: Peter Tyser commit 55f786d8ba8ce58a81428536da34a2192b9bad9f Author: Peter Tyser Date: Mon Sep 21 12:04:33 2009 -0500 MAKEALL: Use POSIX math Signed-off-by: Peter Tyser commit 40a28f0885e62b6607e12ed6baa6284927f5263e Author: Peter Tyser Date: Mon Sep 21 12:04:32 2009 -0500 MAKEALL: Add summary information This change adds some basic summary information to the MAKEALL script. The summary information includes how many boards were compiled, how many boards had compile warnings or errors, and which specific boards had compile warnings or errors. This information is useful when doing compile testing to quickly determine which boards are broken. As a side benefit, no empty $BOARD.ERR files are generated by MAKEALL. Previously, each board had a corresponding $BOARD.ERR file, even if the board compiled cleanly. Signed-off-by: Peter Tyser commit 71ce9bd7f551e44c4ddb4c985c095da6d3452d79 Author: Eric Millbrandt Date: Mon Sep 21 11:05:55 2009 -0500 galaxy5200: enable version environment variable Add version environment variable configuration to the galaxy5200 board header file. Signed-off-by: Eric Millbrandt Edited commit message. Signed-off-by: Wolfgang Denk commit c569ad6e1e8768a0fec513ffc156412240b7eb35 Author: Werner Pfister Date: Mon Sep 21 14:49:56 2009 +0200 digsy_mtc: Add TCR register value for RTC (DS1339) Signed-off-by: Werner Pfister Signed-off-by: Detlev Zundel commit b0078c8792badd81aed51b7eabe85e960036361c Author: Werner Pfister Date: Mon Sep 21 14:49:55 2009 +0200 rtc/ds1337.c: Allow to set TCR register This is needed to correctly start the charging of an attached capacitor or battery. Signed-off-by: Werner Pfister Signed-off-by: Detlev Zundel commit 9d7952e4c636b8c99289a44dbe28c6f93c43b9f7 Author: Simon Kagstrom Date: Tue Sep 15 09:53:29 2009 +0200 ubifs: Add support for looking up directory and relative symlinks This patch adds support for resolving symlinks to directories as well as relative symlinks. Symlinks are now always resolved during file lookup, so the load stage no longer needs to special-case them. Signed-off-by: Simon Kagstrom Signed-off-by: Stefan Roese commit fcdb36b85ac033c09a9762a0a14808f7cb2ed54c Author: Rupjyoti Sarmah Date: Mon Sep 21 11:26:19 2009 -0700 ppc4xx: Fix PCIE PLL lock on 440SPe Yucca board u-boot reports a PCIE PLL lock error at boot time on Yucca board, and left PCIe nonfunctional. This is fixed by making u-boot function ppc4xx_init_pcie() to wait 300 uS after negating reset before the first check of the PLL lock. Signed-off-by: Rupjyoti Sarmah Signed-off-by: Stefan Roese commit 91d599044caac4a8c228115b16cf3b073f902080 Author: Dirk Eibach Date: Mon Sep 21 13:27:14 2009 +0200 ppc4xx: Make DDR2 timing for intip more robust DDR2 timing for intip was on the edge for some of the available chips for this board. Now it is verfied to work with all of them. Signed-off-by: Dirk Eibach Signed-off-by: Stefan Roese commit 184a3a27f5cd2c64666f74df94c86b94c4383ef8 Author: Wolfgang Denk Date: Tue Sep 15 00:26:02 2009 +0200 board/linkstation/ide.c: Fix compile warning Fix warning: ide.c:60: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk Cc: Guennadi Liakhovetski commit 004eca0c9ba328de457d5dc9ef8805639dfef893 Author: Peter Tyser Date: Wed Sep 16 22:03:08 2009 -0500 ppc: Clean up calling of phy_reset() during init Remove board-specific #ifdefs for calling phy_reset() during initializtion Signed-off-by: Peter Tyser commit 3a8f28d0a6d9f8505017680233064c13e4587174 Author: Peter Tyser Date: Wed Sep 16 22:03:07 2009 -0500 ppc: Clean up calling of misc_init_r() during init Remove board-specific #ifdefs for calling misc_init_r() during initializtion Signed-off-by: Peter Tyser Acked-by: Heiko Schocher commit 3202d33169df04da5cf3dea8c5ab0a902b90ecaa Author: Peter Tyser Date: Wed Sep 16 21:38:10 2009 -0500 Remove deprecated 'autoscr' command/variables The more standard 'source' command provides identical functionality to the autoscr command. Environment variable names/values on the MVBC_P, MVBML7, kmeter1, mgcoge, and km8xx boards are updated to no longer refernce 'autoscr'. The 'autoscript' and 'autoscript_uname' environment variables are also removed. Signed-off-by: Peter Tyser Acked-by: Andre Schwarz Acked-by: Heiko Schocher commit d3f4941874a20d8a390a36ba71335ae1db2f9ba0 Author: Paul Gibson Date: Wed Sep 16 10:05:00 2009 +1000 mpc512x. Micron nand flash needs a reset before a read command is issued. Micron nand flash needs a reset before a read command is issued. The current mpc5121_nfc driver ignores the reset command. commit b55ae40249545eabb9d6bfb850b1400a32561b1f Author: Marcel Ziswiler Date: Wed Sep 9 21:18:41 2009 +0200 FDT: remove obsolete OF_CPU and OF_SOC macros. Signed-off-by: Marcel Ziswiler Acked-by: Guennadi Liakhovetski Acked-by: Heiko Schocher commit 3b6a9267f0de7b85d387fa4123d0b58379363447 Author: Wolfgang Denk Date: Tue Sep 15 00:09:21 2009 +0200 board/flagadm/flash.c: fix compile warning Fix warning: flash.c:531: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk Cc: Kári Davíðsson commit 0413cfecea350000eab5e591a0965c3e3ee0ff00 Author: Simon Kagstrom Date: Thu Sep 17 15:15:52 2009 +0200 Correct ffs/fls regression for PowerPC etc Commits 02f99901ed1c9d828e3ea117f94ce2264bf8389e 52d61227b66d4099b39c8309ab37cb67ee09a405 introduced a regression where platform-specific ffs/fls implementations were defined away. This patch corrects that by using PLATFORM_xxx instead of the name itself. Signed-off-by: Simon Kagstrom Acked-by: Kumar Gala Acked-by: Stefan Roese commit e67af44d0167d8237dd2c2ddf8e301d19ca12914 Author: Stefan Roese Date: Mon Sep 14 11:13:34 2009 +0200 ppc4xx: Consolidate get_OPB_freq() All 4xx variants had their own, mostly identical get_OPB_freq() function. Some variants even only had the OPB frequency calculated in this routine and not supplied the sys_info.freqOPB variable correctly (e.g. 405EZ). This resulted in incorrect OPB values passed via the FDT to Linux. This patch now removes all those copies and only uses one function for all 4xx variants (except for IOP480 which doesn't have an OPB). Signed-off-by: Stefan Roese commit 84a45d33c2cc261dbd5411f7c2ad45f6003025b6 Author: Stefan Roese Date: Fri Sep 11 17:09:45 2009 +0200 ppc4xx: Enable commands for FDT enabled Linux booting on AMCC Acadia Acadia still used the "old" arch/ppc bootm commands for booting Linux images without FDT. This patch now enables these fdt-aware boot commands for Acadia as well. Signed-off-by: Stefan Roese commit 95a4a593b577b6e2f1da2d4b0f5ec86975c33413 Author: Stefan Roese Date: Fri Sep 11 17:07:55 2009 +0200 ppc4xx: Fix 405EZ uart base baud calculation With this fix, Linux correctly configures the baudrate when booting with FDT passed from U-Boot to Linux. Signed-off-by: Stefan Roese commit 15fba3279b56333bdb65ead366f82c945ed320d1 Author: Kumar Gala Date: Fri Sep 11 15:28:41 2009 -0500 ppc/85xx: Disable all async interrupt sources when we boot We should make sure to clear MSR[ME, CE, DE] when we boot an OS image since we have changed the exception vectors and the OSes vectors might not be setup we should avoid async interrupts at all costs. Signed-off-by: Kumar Gala commit 9f00409a9d04cf533305531da32437130802f3a3 Author: Kumar Gala Date: Fri Sep 11 13:52:45 2009 -0500 ppc/85xx: Split out cpu_init_early into its own file for NAND_SPL By pulling out cpu_init_early we can build just it and not all of cpu_init for NAND_SPL. Signed-off-by: Kumar Gala commit 0456dbf3475d0aec42873a967ac97ed81f376119 Author: Kumar Gala Date: Fri Sep 11 13:41:49 2009 -0500 ppc/85xx: Change cpu_init_early_f so we can use with NAND SPL Use write_tlb and don't use memset so we can use the same code for cpu_init_early_f between NAND SPL and not. Signed-off-by: Kumar Gala commit 6e1385d5f8d137e741dfef02465d7dc328040ad7 Author: Mingkai Hu Date: Fri Sep 11 10:53:08 2009 +0800 NAND boot: change NAND loader's relocate SP to CONFIG param So that we can set the NAND loader's relocate stack pointer to the value other than the relocate address + 0x10000. Signed-off-by: Mingkai Hu Acked-by: Kim Phillips Acked-by: Scott Wood Signed-off-by: Kumar Gala commit 7da53351d817c6d77364cfde922891f37d0e5ed8 Author: Mingkai Hu Date: Fri Sep 11 14:19:10 2009 +0800 ppc/85xx: add boot from NAND/eSDHC/eSPI support The MPC8536E is capable of booting form NAND/eSDHC/eSPI, this patch implements these three bootup methods in a unified way - all of these use the general cpu/mpc85xx/start.S, and load the main image to L2SRAM which lets us use the SPD to initialize the SDRAM. For all three bootup methods, the bootup process can be divided into two stages: the first stage will initialize the corresponding controller, configure the L2SRAM, then copy the second stage image to L2SRAM and jump to it. The second stage image is just like the general U-Boot image to configure all the hardware and boot up to U-Boot command line. When boot from NAND, the eLBC controller will first load the first stage image to internal 4K RAM buffer because it's also stored on the NAND flash. The first stage image, also call 4K NAND loader, will initialize the L2SRAM, load the second stage image to L2SRAM and jump to it. The 4K NAND loader's code comes from the corresponding nand_spl directory, along with the code twisted by CONFIG_NAND_SPL. When boot from eSDHC/eSPI, there's no such a first stage image because the CPU ROM code does the same work. It will initialize the L2SRAM according to the config addr/word pairs on the fixed address and initialize the eSDHC/eSPI controller, then load the second stage image to L2SRAM and jump to it. The macro CONFIG_SYS_RAMBOOT is used to control the code to produce the second stage image for all different bootup methods. It's set in the board config file when one of the bootup methods above is selected. Signed-off-by: Mingkai Hu Signed-off-by: Kumar Gala commit b2eec281a811bb52941f61203d8fe35256b3582c Author: Kumar Gala Date: Fri Sep 11 12:32:01 2009 -0500 ppc/85xx: Move code around to prep for NAND_SPL If we move some of the functions in tlb.c around we need less ifdefs. The first stage loader just needs invalidate_tlb and init_tlbs. Signed-off-by: Kumar Gala commit 206af3527c05e520e28d38a48a1d15433e34675d Author: Kumar Gala Date: Fri Sep 11 11:30:30 2009 -0500 ppc/85xx: Repack tlb_table to save space We can pack the initial tlb_table in MAS register format and use write_tlb to set things up. This savings can be helpful for NAND style first stage boot loaders. Signed-off-by: Kumar Gala commit d30f9043539d372cf66406bc2f21bb8c20e67009 Author: Kumar Gala Date: Fri Sep 11 11:27:00 2009 -0500 ppc/85xx: Introduce low level write_tlb function Factor out the code we use to actually write a tlb entry. set_tlb is a logical view of the TLB while write_tlb is a low level matching the MAS registers. Signed-off-by: Kumar Gala commit 0ead6f2ed7cf4e1f70dab5b529ad121e38359485 Author: Roy Zang Date: Thu Sep 10 14:44:48 2009 +0800 ppc/85xx: Enable usb ehci support for p2020ds board Signed-off-by: Roy Zang Signed-off-by: Kumar Gala commit 6d8565a1ed5acb01bad4a4cd74a93be5f7fb7f7c Author: Kumar Gala Date: Thu Sep 10 14:54:55 2009 -0500 ppc/8xxx: Misc DDR related fixes * Fix setting of ESDMODE (MR1) register - the bit shifting was wrong * Fix the format string to match size in a debug print Signed-off-by: Kumar Gala commit 3e3c9c157b89eab2dc2f897899b1b95cd70c1a58 Author: Scott Wood Date: Thu Aug 20 17:45:00 2009 -0500 ppc/85xx: Remove some bogus code from external interrupt handler. Skipping the interrupted instruction will accomplish nothing other than turning a spurious interrupt into a crash. External interrupts are not machine checks, so don't count them as such. Signed-off-by: Scott Wood commit dcc87dd58db466caa2d66755c5ec9455edf42fe8 Author: Scott Wood Date: Thu Aug 20 17:45:05 2009 -0500 ppc/85xx: Ensure that MAS8 is zero when writing TLB entries. Its reset value is random, and we sometimes read uninitialized TLB arrays. Make sure that we don't retain MAS8 from reading such an entry if the VF bit in MAS8 is set, attempts to use the mapping will trap. Signed-off-by: Scott Wood commit 1b72dbecca2d7ad7a21c92d80227daa2d8ec5a57 Author: Scott Wood Date: Thu Aug 20 17:44:20 2009 -0500 ppc/85xx: Don't enable interrupts before we're ready We cannot handle any exceptions while running in AS1, as the exceptions will transition back to AS0 without a valid mapping. Signed-off-by: Scott Wood commit 3ca55bce9c8bf00df06a20487fafc16fa2f8084b Author: Marcel Ziswiler Date: Fri Sep 11 07:50:33 2009 -0400 mpc8260: remove Ethernet node fixup to use generic FDT code. Remove Ethernet node fixup from mgcoge and muas3001 boards and modify its configs for the common mpc8260 code to use generic Ethernet fixup. Signed-off-by: Marcel Ziswiler Tested-by: Heiko Schocher commit 1c20e4a9fbc531e2149ae061e8583f5fad82f163 Author: Mike Frysinger Date: Wed Sep 9 12:20:21 2009 -0400 tools/netconsole: use ncb automatically if available The standard netcat, while ubiquitous, doesn't handle broadcast udp packets properly. The local ncb util does however. So if ncb can be located in the standard locations, automatically use that instead. Signed-off-by: Mike Frysinger commit 770931805d292908a57a3d2c5f9a4fcde888b5a2 Author: Mike Frysinger Date: Wed Sep 9 12:20:20 2009 -0400 tools/netconsole: make a bit more robust The netcat utility likes to exit when it receives an empty packet (as it thinks this means EOF). This can easily occur when working with command line editing as this behavior will be triggered when using backspace. Or with tabs and command line completion. So create two netcat processes - one to only listen (and put it into a loop), and one to do the sending. Once the user quits the transmitting netcat, the listening one will be killed automatically. Signed-off-by: Mike Frysinger commit a6e19d69f63c14b7672c65ca4b014621c6fd0201 Author: Simon Kagstrom Date: Mon Aug 24 09:10:16 2009 +0200 arm: Define test_and_set_bit and test_and_clear bit for ARM Needed for (e.g.) ubifs support to work. Signed-off-by: Simon Kagstrom commit 52d61227b66d4099b39c8309ab37cb67ee09a405 Author: Simon Kagstrom Date: Mon Aug 24 09:10:12 2009 +0200 Define ffs/fls for all architectures UBIFS requires fls(), which is not defined for arm (and some other architectures) and this patch adds it. The implementation is taken from Linux and is generic. ffs() is also defined for those that miss it. Signed-off-by: Simon Kagstrom commit 4b15de08fe4d2c9d12a3764394731018a763216b Author: Simon Kagstrom Date: Mon Aug 24 09:10:03 2009 +0200 arm: Make arm bitops endianness-independent Bring over the bitop implementations from the Linux include/asm-generic/bitops/non-atomic.h to provide endianness-independence. Signed-off-by: Simon Kagstrom commit 02f99901ed1c9d828e3ea117f94ce2264bf8389e Author: Simon Kagstrom Date: Mon Aug 24 09:09:50 2009 +0200 Move __set/clear_bit from ubifs.h to bitops.h __set_bit and __clear_bit are defined in ubifs.h as well as in asm/include/bitops.h for some architectures. This patch moves the generic implementation to include/linux/bitops.h and uses that unless it's defined by the architecture. Signed-off-by: Simon Kagstrom commit 557555fe0b82940ba7cc69f81d31d6ef4d4933b4 Author: Mike Frysinger Date: Fri Sep 4 19:54:45 2009 -0400 standalone: convert to kbuild style Clean up the arch/cpu/board/config checks as well as redundant setting of srec/bin variables by using the kbuild VAR-$(...) style. Signed-off-by: Mike Frysinger commit 804d83a563c47b55e1f14f5de3b6e9d7e2a7ef5e Author: Wolfgang Denk Date: Tue Sep 15 22:12:31 2009 +0200 mkconfig: split the board make target to multiple config targets To simplify the top level makefile it useful to be able to parse the top level makefile target to multiple individual target, then put them to the config.h, leave the board config file to handle the different targets. Note that this method uses the '_'(underline) as the delimiter when splits the board make target. Signed-off-by: Mingkai Hu This also reverts commit 511c02f611cb5afa1b8ca5980caaaabaa0de377f. Signed-off-by: Wolfgang Denk commit ceb2d57c2205db5bbd868577f756c74a2568160c Author: Wolfgang Denk Date: Tue Sep 15 21:13:27 2009 +0200 kwbimage.c: Fix compile warning when building on 64 bit systems (again) Commit 51003b89 attempted to fix a build problem on 64 bit systems, but just turned it into a build problem on 32 bit systems (silly me). Now do the Right Thing (TM) and use a "%zu" printf format. Also fix spelling error. Signed-off-by: Wolfgang Denk commit 6c7bc91fb3dba186d3398a1653f6db236510ffa7 Author: Wolfgang Denk Date: Fri Sep 11 11:30:34 2009 +0200 board/amcc/common/flash.c: Fix compile warning Fix warning: ../common/flash.c:917: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk Cc: Stefan Roese Acked-by: Stefan Roese commit 70fb809c563c340538264d2a9436135e74c38bfe Author: Wolfgang Denk Date: Fri Sep 11 11:47:07 2009 +0200 board/amcc/yucca/flash.c: Fix compile warning Fix warning: flash.c:919: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk Cc: Stefan Roese Acked-by: Stefan Roese commit 030ec52f8cc83015f968db30208f4bd07feffa6c Author: Wolfgang Denk Date: Fri Sep 11 11:44:39 2009 +0200 board/amcc/taihu/flash.c: Fix compile warning Fix warnings: flash.c: In function 'write_word_1': flash.c:696: warning: dereferencing type-punned pointer will break strict-aliasing rules flash.c: In function 'write_word_2': flash.c:1044: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk Cc: Stefan Roese Acked-by: Stefan Roese commit 0fd3d902d920f3e60f88530c33f1ae7581260951 Author: Wolfgang Denk Date: Fri Sep 11 11:37:20 2009 +0200 board/etin/debris/phantom.c: Fix compile error Fix build problem caused by commit e84aba13: "Replace BCD2BIN and BIN2BCD macros with inline functions" phantom.c:163: error: redefinition of 'bcd2bin' /home/wd/git/u-boot/work/include/bcd.h:16: error: previous definition of 'bcd2bin' was here phantom.c:168: error: redefinition of 'bin2bcd' /home/wd/git/u-boot/work/include/bcd.h:21: error: previous definition of 'bin2bcd' was here Signed-off-by: Wolfgang Denk Cc: Sangmoon Kim commit 5168801f4b71c2f8dcd92a80cfcfda84246e67fe Author: Wolfgang Denk Date: Fri Sep 11 11:28:21 2009 +0200 board/dave/common/flash.c: fix compile warning Fix warning: ../common/flash.c:668: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk Cc: Andrea Marson commit 97138fc48091f2b063c4e32f36d05854b9d113fb Author: Wolfgang Denk Date: Fri Sep 11 11:15:31 2009 +0200 board/esd/cpci750/ide.c: fix compile warning Fix warning: ide.c:54: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk Cc: Matthias Fuchs Cc: Stefan Roese Acked-by: Stefan Roese commit ba73060cf4163bd5eb1711020126e2f7f62d363e Author: Wolfgang Denk Date: Fri Sep 11 10:13:26 2009 +0200 board/esd/common/flash.c: Fix compile warning Fix warning: ../common/flash.c:635: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk Cc: Matthias Fuchs Cc: Stefan Roese Acked-by: Matthias Fuchs Acked-by: Stefan Roese commit 2d6d9f0848e952ea33c658dfba335685a2725b8b Author: Wolfgang Denk Date: Fri Sep 11 09:36:31 2009 +0200 sk98lin: fix compile warnings Fix warnings: skge.c: In function 'BoardInitMem': skge.c:1389: warning: dereferencing type-punned pointer will break strict-aliasing rules skge.c:1390: warning: dereferencing type-punned pointer will break strict-aliasing rules skge.c:1391: warning: dereferencing type-punned pointer will break strict-aliasing rules skgesirq.c: In function 'SkGePortCheckUpXmac': skgesirq.c:1301: warning: dereferencing type-punned pointer will break strict-aliasing rules skgesirq.c:1301: warning: dereferencing type-punned pointer will break strict-aliasing rules skgesirq.c:1398: warning: dereferencing type-punned pointer will break strict-aliasing rules skgesirq.c:1398: warning: dereferencing type-punned pointer will break strict-aliasing rules skrlmt.c: In function 'SkRlmtInit': skrlmt.c:661: warning: dereferencing type-punned pointer will break strict-aliasing rules skxmac2.c: In function 'SkMacPromiscMode': skxmac2.c:753: warning: dereferencing type-punned pointer will break strict-aliasing rules skxmac2.c:753: warning: dereferencing type-punned pointer will break strict-aliasing rules skxmac2.c: In function 'SkMacHashing': skxmac2.c:803: warning: dereferencing type-punned pointer will break strict-aliasing rules skxmac2.c:803: warning: dereferencing type-punned pointer will break strict-aliasing rules skxmac2.c: In function 'SkMacFlushTxFifo': skxmac2.c:1115: warning: dereferencing type-punned pointer will break strict-aliasing rules skxmac2.c:1115: warning: dereferencing type-punned pointer will break strict-aliasing rules skxmac2.c: In function 'SkMacFlushRxFifo': skxmac2.c:1145: warning: dereferencing type-punned pointer will break strict-aliasing rules skxmac2.c:1145: warning: dereferencing type-punned pointer will break strict-aliasing rules skxmac2.c: In function 'SkXmInitPauseMd': skxmac2.c:1987: warning: dereferencing type-punned pointer will break strict-aliasing rules skxmac2.c:1987: warning: dereferencing type-punned pointer will break strict-aliasing rules skxmac2.c: In function 'SkXmOverflowStatus': skxmac2.c:4236: warning: dereferencing type-punned pointer will break strict-aliasing rules skxmac2.c:4236: warning: dereferencing type-punned pointer will break strict-aliasing rules skxmac2.c:4242: warning: dereferencing type-punned pointer will break strict-aliasing rules skxmac2.c:4242: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk Cc: Ben Warren commit 3708e4cdb1f1d3d5128cf87be040d7e6b85f60dd Author: Wolfgang Denk Date: Fri Sep 11 09:13:58 2009 +0200 drivers/net/natsemi.c: fix compile warning Fix warning: natsemi.c:757: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk Cc: Ben Warren commit 78d19a398778a58d7b40b0c78e026515271b1a84 Author: Michal Simek Date: Mon Sep 7 09:08:02 2009 +0200 net: emaclite: Cleanup license to be GPL compatible Signed-off-by: Stephen Neuendorffer Signed-off-by: Michal Simek commit 0900bee9ab9818439b2d1298fa8909a88f74ec0d Author: Michal Simek Date: Fri Aug 14 13:41:17 2009 +0200 microblaze: Enable hush parser With Hush parser is possible to change command line in dtb Signed-off-by: Michal Simek commit 13916abf996b127b681ddc26664c236ded28ba7f Author: Michal Simek Date: Thu Aug 20 22:44:02 2009 +0200 microblaze: Remove AtmarkTechno Suzaku board Users should use microblaze-generic platform. This platform is longer not supported. Signed-off-by: Michal Simek commit 3ceba1d45d007144d10368f91ff9e36f3b5f39a1 Author: Michal Simek Date: Thu Aug 20 22:36:20 2009 +0200 net: Remove old Xilinx Emac driver Signed-off-by: Michal Simek commit 2fddd44464d02e0f3ade06dabe0e165835fa61f0 Author: Michal Simek Date: Wed Aug 19 08:10:08 2009 +0200 microblaze: Short size of global data and fix malloc size If is full malloc area global, data are rewrite because there was bad size of malloc area. Signed-off-by: Michal Simek commit aedb4683097d3e5de8833f4a9e34664d3d2bd077 Author: Michal Simek Date: Fri Aug 14 17:02:35 2009 +0200 microblaze: Add sbss, scommon and COMMON symbols for clearing Signed-off-by: Michal Simek commit 4c1883670acbf1cc83c04df1876235c3aedde128 Author: Dirk Eibach Date: Wed Sep 9 12:36:07 2009 +0200 ppc4xx: Rename compactcenter to intip Signed-off-by: Dirk Eibach Signed-off-by: Stefan Roese commit d1c3b27525b664e8c4db6bb173eed51bfc8220de Author: Stefan Roese Date: Wed Sep 9 16:25:29 2009 +0200 ppc4xx: Big cleanup of PPC4xx defines This patch cleans up multiple issues of the 4xx register (mostly DCR, SDR, CPR, etc) definitions: - Change lower case defines to upper case (plb4_acr -> PLB4_ACR) - Change the defines to better match the names from the user's manuals (e.g. cprpllc -> CPR0_PLLC) - Removal of some unused defines Please test this patch intensive on your PPC4xx platform. Even though I tried not to break anything and tested successfully on multiple 4xx AMCC platforms, testing on custom platforms is recommended. Signed-off-by: Stefan Roese commit d8d8724be06df43772162dc344ae20dfa814dc72 Author: Wolfgang Denk Date: Fri Sep 11 09:05:32 2009 +0200 net/bootp.c: fix compile warning Fix warning: bootp.c:695: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Wolfgang Denk Cc: Ben Warren commit 51003b89816848cbe86a8fe48f970ba8b14005f5 Author: Wolfgang Denk Date: Fri Sep 11 08:58:11 2009 +0200 kwbimage.c: Fix compile warning when building on 64 bit systems Fix this warning when building on 64 bit systems: tools/kwbimage.c: In function 'kwbimage_checksum32': tools/kwbimage.c:135: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int' Signed-off-by: Wolfgang Denk Cc: Prafulla Wadaskar commit e7963772eb78a6aa1fa65063d64eab3a8626daac Author: Marcel Ziswiler Date: Wed Sep 9 21:11:18 2009 +0200 muas3001: remove BRG clock node fixup to use common mpc8260 code. Signed-off-by: Marcel Ziswiler Acked-by: Heiko Schocher commit c7c1dbbf7159b38f3302b845dd97d28a543ff91b Author: Marcel Ziswiler Date: Wed Sep 9 21:09:00 2009 +0200 r7780mp: fix typo in Ethernet chip model number comment. Signed-off-by: Marcel Ziswiler commit 45f89f340b4d8aa099fd022260dcb13cf3321b61 Author: Marcel Ziswiler Date: Wed Sep 9 21:22:08 2009 +0200 ep8248: add support for device tree and secondary Ethernet interface. Signed-off-by: Marcel Ziswiler commit aa0c7a86cd236b8193218a09e1365c8991bb5ddc Author: Prafulla Wadaskar Date: Mon Sep 7 15:05:02 2009 +0530 mkimage: Add Kirkwood Boot Image support (kwbimage) This patch adds support for "kwbimage" (Kirkwood Boot Image) image types to the mkimage code. For details refer to docs/README.kwbimage This patch is tested with Sheevaplug board Signed-off-by: Prafulla Wadaskar Acked-by: Ron Lee Signed-off-by: Prafulla Wadaskar commit 7809fbb9aafd60e3a6e5dfe456ae30b93ac61338 Author: Prafulla Wadaskar Date: Mon Sep 7 14:59:09 2009 +0530 Kirkwood: Sheevaplug: Add kwimage configuration file Signed-off-by: Prafulla Wadaskar commit b029dddc9ae958b1ccf875649f52c6db396a742d Author: Prafulla Wadaskar Date: Mon Sep 7 14:59:08 2009 +0530 mkimage: Make table_entry code global - make get_table_entry_id() global - make get_table_entry_name() global - move struct table_entry to image.h Currently this code is used by image.c only. This patch makes this API global so it can be used by other parts of code, too. Signed-off-by: Prafulla Wadaskar Acked-by: Ron Lee Edit comments and commit message. Signed-off-by: Wolfgang Denk commit f666dea8ab215c76c3c2a077ad299f90dd1ace7c Author: Prafulla Wadaskar Date: Mon Sep 7 14:59:07 2009 +0530 mkimage: Make genimg_print_size() global Currently it is used by image.c only, but the the function can be used to support additional mkimage types like for example kwbimage, so make this function globally visible. Signed-off-by: Prafulla Wadaskar Edited commit message. Signed-off-by: Wolfgang Denk commit 37b801888cf73b18f78c1109140ff44e3e37914f Author: Prafulla Wadaskar Date: Mon Sep 7 14:59:06 2009 +0530 mkimage: Include missing files in build dependency calculations Include default_image.o and fit_image.o into the build dependency calculations. This makes sure they get rebuilt if any of the headers they include are modified Signed-off-by: Prafulla Wadaskar Acked-by: Ron Lee Edited commit message. Signed-off-by: Wolfgang Denk commit 3a2003f61ee79ac53d20c24cc896c2637a2dfc24 Author: Wolfgang Denk Date: Wed Aug 19 11:42:56 2009 +0200 tools/mkimage: fix compiler warnings, use "const" This fixes some compiler warnings: tools/default_image.c:141: warning: initialization from incompatible pointer type tools/fit_image.c:202: warning: initialization from incompatible pointer type and changes to code to use "const" attributes in a few places where it's appropriate. Signed-off-by: Wolfgang Denk commit 89a4d6b12fd6394898b8a454cbabeaf1cd59bae5 Author: Prafulla Wadaskar Date: Wed Aug 19 17:36:46 2009 +0530 tools: mkimage: split code into core, default and FIT image specific This is a first step towards reorganizing the mkimage code to make it easier to add support for additional images types. Current mkimage code is specific to generating uImage and FIT image files, but the same framework can be used to generate other image types like Kirkwood boot images (kwbimage-TBD). For this, the mkimage code gets reworked: Here is the brief plan for the same:- a) Split mkimage code into core and image specific support b) Implement callback functions for image specific code c) Move image type specific code to respective C files Currently there are two types of file generation/list supported (i.e uImage, FIT), the code is abstracted from mkimage.c/.h and put in default_image.c and fit_image.c; all code in these file is static except init function call d) mkimage_register API is added to add new image type support All above is addressed in this patch e) Add kwbimage type support to this new framework (TBD) This will be implemented in a following commit. Signed-off-by: Prafulla Wadaskar Edit commit message, fix coding style and typos. Signed-off-by: Wolfgang Denk commit 449609f5b11cce6beba7338bc4ce0f3345376a0b Author: Prafulla Wadaskar Date: Sun Aug 16 05:28:19 2009 +0530 tools: mkimage: Fixed build warnings uninitialized retval variable warning fixed crc32 APIs moved to crc.h (newly added) and build warnings fixed Signed-off-by: Prafulla Wadaskar Signed-off-by: Wolfgang Denk commit 14821d7dea8d7209f2457c3179fa6551c088ba71 Author: Prafulla Wadaskar Date: Mon Aug 10 20:44:06 2009 +0530 tools: mkimage: Makefile sorted The tools/Makefile is sorted for all entries, Signed-off-by: Prafulla Wadaskar commit f7644c0bf3502529031657a869fa213cda5a2424 Author: Prafulla Wadaskar Date: Mon Aug 10 18:49:37 2009 +0530 tools: mkimage : bugfix returns correct value for list command List command always return "EXIT_SUCCESS" even in case of failure by any means. This patch return 0 if list command is sucessful, returns negative value reported by check_header functions Signed-off-by: Prafulla Wadaskar Signed-off-by: Wolfgang Denk commit 511c02f611cb5afa1b8ca5980caaaabaa0de377f Author: Mingkai Hu Date: Tue Sep 8 15:07:12 2009 +0800 mkconfig: pass the board name to board config file Then we can handle different config targets in the board file, which simplifies the top level Makefile for boards that have multiple config targets. Signed-off-by: Mingkai Hu commit d640ac58dbf61c769864b3fe76314306b7336cf1 Author: Wolfgang Denk Date: Mon Sep 7 23:52:31 2009 +0200 Remove "atmel_df_pow2" binary with "make clean" Commit 65f6f07b added support for the atmel_df_pow2 standalone program but missed to add a rule to remove it to the "clean" make target. Signed-off-by: Wolfgang Denk commit 0b34dbbd0b6969c98c44313b291836d9056ec40a Author: Stefan Roese Date: Mon Sep 7 10:52:24 2009 +0200 ppc4xx: Fix compilation warning in 4xx miiphy.c This patch fixes the following compilation warning: miiphy.c: In function 'emac4xx_miiphy_read': miiphy.c:353: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Stefan Roese commit 82379b5564819e62624a3c58fbc43f1afedf4f5f Author: Matthias Fuchs Date: Mon Sep 7 17:00:41 2009 +0200 ppc4xx: Add CONFIG_PCI_4xx_PTM_OVERWRITE to some esd 4xx boards Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit 99bcf14d553f399148a7660b98f7acbd8cc72d80 Author: Matthias Fuchs Date: Mon Sep 7 17:00:40 2009 +0200 ppc4xx: Allow overwriting pci target registers for all 4xx boards This patch adds the CONFIG_PCI_4xx_PTM_OVERWRITE option and replaces the ugly 'if defined(BOARD1) || ... || defined(BOARDn)' construct in 4xx pci code. When CONFIG_PCI_4xx_PTM_OVERWRITE is defined the default ptm register setup can be overwritten through environment variables ptm1la, ptm1ms, ptm2la and ptm2ms to do application specific pci target BAR configuration. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit cfab2ae322a99ad55364d054054f138f51130c2a Author: Matthias Fuchs Date: Fri Sep 4 10:37:04 2009 +0200 ppc4xx: Fix PMC405DE support This patch fixes PMC405DE support. Patch 85d6bf0b fixed out-of-tree building for this board but the loadpci object did not get linked after that. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit c8355b9d9f778bd12ee19c8f34d88e13758a4efd Author: Detlev Zundel Date: Wed Sep 2 17:24:57 2009 +0200 amcc-common.h: Use filenames from environment variables for update procedure. Using a separate "u-boot" environment variable allows to easily specify different filenames for the update procedure. This is also in line with many other board configurations defining an "update" script. Signed-off-by: Detlev Zundel Acked-by: Wolfgang Denk Signed-off-by: Stefan Roese commit 6c97a20d0b2f56cb4f3745d94b1f96986e8cced5 Author: Kumar Gala Date: Wed Sep 9 11:40:41 2009 -0500 ppc/85xx: Introduce RESET_VECTOR_ADDRESS to handle non-standard link address Some board ports place TEXT_BASE at a location that would cause the RESET_VECTOR_ADDRESS not to be at 0xfffffffc when we link. By default we assume RESET_VECTOR_ADDRESS will be 0xfffffffc if the board doesn't explicitly set it. Signed-off-by: Kumar Gala Acked-by: Wolfgang Denk commit c348322ac7f76318295cf25ffab2cc2a4900a234 Author: Kumar Gala Date: Tue Sep 8 13:46:46 2009 -0500 ppc/85xx: Clean up do_reset There is no reason to do a run time check for e500 v1 based cores to determine if we have the GUTs RSTCR facility. Only the first generation of PQ3 parts (MPC8540/41/55/60) do not have it. So checking to see if we are e500 v2 would miss future parts (like e500mc). Just change this to be ifdef'd based on CONFIG_MPC85{40,41,55,60}. Signed-off-by: Kumar Gala commit 21170c80a83f1e60ce7f6f83005e06a5c2d15a8e Author: Poonam Aggrwal Date: Thu Sep 3 19:42:40 2009 +0530 ppc/85xx/86xx: Bug fix: call to puts in probecpu() moved to checkcpu(). While in probecpu() UART is still not initialized. Signed-off-by: Poonam Aggrwal Signed-off-by: Kumar Gala commit f8027f6b4789e3340f10620d8fb6113b95b88d9c Author: Poonam Aggrwal Date: Wed Sep 2 19:40:36 2009 +0530 ppc/85xx/86xx: Device tree fixup for number of cores Fixing the number of cores in the device tree based on the actual number of cores on the system. With this same device tree image can be used for dual core and single core members of otherwise exactly same SOC. For example: * P2020RDB and P2010RDB * P1020RDB and P1011RDB * MPC8641D and MPC8641 Signed-off-by: Poonam Aggrwal Signed-off-by: Kumar Gala commit 58442dc01e47cc8ce42af4f29486a34cad60b9d2 Author: Poonam Aggrwal Date: Wed Sep 2 13:35:21 2009 +0530 ppc/85xx,86xx: Handling Unknown SOC version Incase the system is detected with Unknown SVR, let the system boot with a default value and a proper message. Now with dynamic detection of SOC properties from SVR, this is necessary to prevent a crash. Signed-off-by: Poonam Aggrwal Signed-off-by: Kumar Gala commit 3e7b6c1f2db5ec31f9e7dbc3e0cbca602167a46a Author: Kumar Gala Date: Wed Sep 2 09:03:08 2009 -0500 ppc/8xxx: Refactor code to determine if PCI is enabled & agent/host Refactor the code into a simple bitmask lookup table that determines if a given PCI controller is enabled and if its in host/root-complex or agent/end-point mode. Each processor in the PQ3/MPC86xx family specified different encodings for the cfg_host_agt[] and cfg_IO_ports[] boot strapping signals. Signed-off-by: Kumar Gala commit 5052a771cf1722c37c732f3c340775b55fbe3a22 Author: Kumar Gala Date: Wed Sep 2 09:00:50 2009 -0500 ppc/85xx: Cleanup makefile and related optional files Cleaned up cpu/mpc85xx/Makefile to use CONFIG_* for those obvious cases we have like PCI, CPM2, QE. Also reworked it to use one line per file for everything and sorted in alphabetical order. Signed-off-by: Kumar Gala commit 74c5dfd81f94a2a1f0d6990d17c491d718e8b9ea Author: Timur Tabi Date: Fri Sep 4 17:05:24 2009 -0500 fsl: add register read-back to set_law() After programming a new LAW, we should read-back the LAWAR register so that we sync the writes. Otherwise, code that attempts to use the new LAW-mapped memory might fail right away. Signed-off-by: Timur Tabi Signed-off-by: Kumar Gala commit c7259086816405fe0eb77f4dc22e76980a040cef Author: Kumar Gala Date: Thu Sep 3 08:41:31 2009 -0500 ppc/85xx: Fix bug in setup_mp code Its possible that we try and copy the boot page code out of flash into a DDR location that doesn't have a TLB cover it. For example, if we have 3G of DDR we typically only map the first 2G. In the cases of 4G+ this wasn't an issue since the reset page TLB mapping covered the last page of memory which we wanted to copy to. We now change the physical address of the reset page TLB to map to the true physical location of the boot page code, copy and than set the TLB back to its 1:1 mapping of the reset page. Signed-off-by: Kumar Gala commit c2287af1552bd630956568d3957c370f86801b7d Author: Kumar Gala Date: Thu Sep 3 08:20:24 2009 -0500 ppc/85xx: Add a simple function to search the TLB Allow us to search the TLB array based on an address. This is useful if we want to change an entry but dont know where it happens to be located. For example, the boot page mapping we use on MP or the flash TLB that we change the WIMGE settings for after we've relocated. Signed-off-by: Kumar Gala commit 26f4cdba6b51deab4ec99d60be381244068ef950 Author: Kumar Gala Date: Fri Aug 14 13:37:54 2009 -0500 85xx: Add support for setting IVORs to fixed offset defaults In future Book-E implementations IVORs will most likely go away and be replaced with fixed offsets. The IVPR will continue to exist to allow for relocation of the interrupt vectors. This code adds support to setup the IVORs as their fixed offset values per the ISA 2.06 spec when we transition from u-boot to another OS either via 'bootm' or a cpu release. Signed-off-by: Kumar Gala commit da1cd955dfec35b0e15381ad1ee248fa194eed82 Author: Dipen Dudhat Date: Wed Sep 2 11:25:08 2009 +0530 ppc/85xx: Fix up eSDHC controller clock frequency in the device tree Signed-off-by: Dipen Dudhat Signed-off-by: Kumar Gala commit 2abbd31da6d900473ed678ca50789ee58bc9bb00 Author: Kumar Gala Date: Tue Sep 1 22:01:54 2009 -0500 ppc/8xxx: Remove ddr_pd_cntl register since it doesn't exist The ddr_pd_cntl isn't defined in any reference manual and thus we wil remove especially since we set it to 0, which would most likely be its POR value. Signed-off-by: Kumar Gala commit 13d46ab2572c0283d34f93bebc9a41295ef84ca5 Author: Kumar Gala Date: Tue Sep 1 21:07:08 2009 -0500 ppc/8xxx: relocate cpu pointer in global data Now that we have a pointer to the cpu struct we need to relocate it once we get into ram. Signed-off-by: Kumar Gala commit 9c671e7062720074f894ee329eaa6995b0823727 Author: Anton Vorontsov Date: Wed Sep 2 02:17:24 2009 +0400 fsl: sys_eeprom: Fix 'may be used uninitialized' warning The warning is bogus, so silence it by initializing the 'ret' variable. Signed-off-by: Anton Vorontsov Acked-by: Timur Tabi Signed-off-by: Kumar Gala commit 6b9ea08c5010eab5ad1056bc9bf033afb672d9cc Author: Dipen Dudhat Date: Tue Sep 1 17:27:00 2009 +0530 ppc/85xx: Use CONFIG_FSL_ESDHC to enable sdhc clk Enable eSDHC Clock based on generic CONFIG_FSL_ESDHC define instead of a platform define. This will enable all the 85xx platforms to use sdhc_clk based on CONFIG_FSL_ESDHC. Signed-off-by: Gao Guanhua Signed-off-by: Dipen Dudhat Signed-off-by: Kumar Gala commit 92477a631bbda2dc0dd2194e03f9bd3ddb8b9c21 Author: Timur Tabi Date: Fri Sep 4 16:28:35 2009 -0500 fsl_i2c: increase I2C timeout values and make them configurable The value of I2C_TIMEOUT in fsl_i2c.c has several problems. First, it is defined as CONFIG_HZ/4, but it is used as a count of microseconds, so it makes no sense to derive it from a clock rate. Second, the current value (250) is too low for some boards, so it needs to be increased. Third, the timeout necessary for multiple-master arbitration is larger than the timeout for basic read/write operations, so we shouldn't have a single constant for both timeouts. Finally, it would be nice if we could override these values on a per-board basis. Signed-off-by: Timur Tabi Acked-by: Wolfgang Denk Tested-by: Peter Tyser Acked-by: Peter Tyser commit 5da71efa18e8b4eac9afd8bfa13e3c7e7ddde1d0 Author: Eric Millbrandt Date: Thu Sep 3 08:09:44 2009 -0500 Reset i2c slave devices during init on mpc5xxx cpus Reset any i2c devices that may have been interrupted during a system reset. Normally this would be accomplished by clocking the line until SCL and SDA are released and then sending a start condtiion (From an Atmel datasheet). There is no direct access to the i2c pins so instead create start commands through the i2c interface. Send a start command then delay for the SDA Hold time, repeat this by disabling/enabling the bus a total of 9 times. Signed-off-by: Eric Millbrandt commit 2d4072c06b5549444e4140231bba3d47d9b0bc53 Author: Sandeep Paulraj Date: Sat Aug 15 11:20:58 2009 -0400 ARM: DaVinci: Adding Support for DaVinci DM365 EVM This patch adds support for the DM365 EVM. It has been tested on a DM365 EVM. Signed-off-by: Sandeep Paulraj commit cf463091bce8b0f8951dd08f94754d08d64793b8 Author: Sandeep Paulraj Date: Sat Aug 15 11:20:44 2009 -0400 ARM: DaVinci: DaVinci DM365 SOC specific code This patch adds support for DaVinci DM365 SOC. Signed-off-by: Sandeep Paulraj commit e830b66b3592f115316600d370399f3ee148e909 Author: Ilko Iliev Date: Sat Sep 5 02:51:34 2009 +0200 DM9000 init for pm9261 Signed-off-by: Ilko Iliev commit c35d7cf071f171bd6bba69f1563a6ac578a18ea6 Author: Frederik Kriewitz Date: Sun Aug 23 12:56:42 2009 +0200 Add support for the DevKit8000 board This patch adds support for the DevKit8000 board. Signed-off-by: Frederik Kriewitz commit 127f9ae575991aee3e105e1448c49b5b4e254998 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Aug 23 16:32:40 2009 +0200 omap3: move the other boards to board/ Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 350f3ac5731faf0f02ca55ab016694b7c7269f97 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Aug 23 16:32:39 2009 +0200 arm: move Logicpd's boards to board/logicpd/ Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 0a0e4bad9693ef1d2ca8c33ba551d395a4e3d641 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Aug 23 16:32:38 2009 +0200 omap: move TI's boards to board/ti/ Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 9f23ca42b3ba19b24e66fade572f2b86d929b6e8 Author: Wolfgang Denk Date: Fri Sep 4 23:20:29 2009 +0200 ARM: Update mach-types Signed-off-by: Wolfgang Denk commit 262ae0a6193f10b6a94e86d2f752e7f5510416fa Author: Mike Frysinger Date: Thu Sep 3 23:12:47 2009 -0400 push LOAD_ADDR out to arch mk files Rather than maintain/extend the current ifeq($(ARCH)) mess that exists in the standalone Makefile, push the setting up of LOAD_ADDR out to the arch config.mk (and rename to STANDALONE_LOAD_ADDR in the process). This keeps the common code clean and lets the arch do whatever crazy crap it wants in its own area. Signed-off-by: Mike Frysinger commit 7662eb2b9d6fbc95ecb1fb3e5b5147215e251e7d Author: Giuseppe CONDORELLI Date: Thu Sep 3 07:37:46 2009 -0400 zlib: fix code when DEBUG is defined Removed stdio.h inclusion and moved trace macros to use printf avoiding to write debug informations to standard error. Signed-off-by: Giuseppe Condorelli commit cfcbf8c4cf3da96b9e3f652506b664bfd766a520 Author: Scott Wood Date: Wed Sep 2 16:45:31 2009 -0500 mxc_nand: Remove Freescale's "All Rights Reserved." Signed-off-by: Scott Wood commit 001d615681333569c555e6cde07d8d23e2c536fb Author: Anton Vorontsov Date: Wed Sep 2 17:58:48 2009 +0400 mpc83xx/serdes: License cleanup: remove "All Rights Reserved" notice "All Rights Reserved" conflicts with the GPL. Signed-off-by: Anton Vorontsov commit 46ff6d461321f5b565cc790e02679237ffd9a20f Author: Wolfgang Denk Date: Wed Sep 2 14:57:27 2009 +0200 License cleanup: remove unintended "All Rights Reserved" notices. Some files included my old standerd file header which had a "All Rights Reserved" part. As this has never been my intention, I remove these lines to make the files compatible with GPL v.2 and later. Signed-off-by: Wolfgang Denk commit 37daa77f3cafb5ec9a974eff3db2af4a0560a9ef Author: Wolfgang Denk Date: Wed Sep 2 10:21:20 2009 +0200 cmd_mtdparts.c: fix compiler warning in debug code Fix warning messages: cmd_mtdparts.c:1429: warning: format '%08lx' expects type 'long unsigned int', but argument 6 has type 'u32' cmd_mtdparts.c:1429: warning: format '%08lx' expects type 'long unsigned int', but argument 7 has type 'u32' Signed-off-by: Wolfgang Denk commit d8bc55a6fb28876abcbf4a3fc3b6c3ce429c1bb3 Author: Anton Vorontsov Date: Tue Sep 1 20:58:03 2009 +0400 Move uninitialized_var() macro from ubi_uboot.h to compiler.h This is needed so that we could use this macro for non-UBI code. Signed-off-by: Anton Vorontsov commit d72871e1387094972569e4b77c25e88020f7b68f Author: Kumar Gala Date: Tue Sep 1 11:24:45 2009 -0500 arm: Remove -fno-strict-aliasing -fno-strict-aliasing is hidding warnings. Signed-off-by: Kumar Gala commit d6281ff0cc2ebb5d6a5c3e1021837334074f92ec Author: Kumar Gala Date: Tue Sep 1 11:24:44 2009 -0500 ppc: Remove -fno-strict-aliasing -fno-strict-aliasing is hidding warnings. Signed-off-by: Kumar Gala commit 795d246c278e70b4ba9868cc9f2c8fbada49d388 Author: Eric Millbrandt Date: Fri Aug 28 07:14:04 2009 -0500 galaxy5200: Add chip select region for an Epson S1D15313 Signed-off-by: Eric Millbrandt commit 3dfad40a0459f63099e177dc15a1df39d048f860 Author: Kumar Gala Date: Thu Aug 27 08:23:55 2009 -0500 Add ability for arch code to make changes before we boot Added a arch_preboot_os() function that cpu specific code can implement to allow for various modifications to the state of the machine right before we boot. This can be useful to setup register state to a specific configuration. Signed-off-by: Kumar Gala commit 9ea005fb4428c922536fa75991ce9972304a02fb Author: Roy Zang Date: Sat Aug 22 03:49:52 2009 +0800 Use different PBA value for E1000 PCI and PCIe cards Signed-off-by: Roy Zang Acked-by: André Schwarz commit 5b34a296d47b236dafbcaf1c91ae11b5aeb1ef51 Author: Graeme Russ Date: Sun Aug 23 12:59:58 2009 +1000 Add PCI support to eNET board Signed-off-by: Graeme Russ commit f50b619d9cb297b0125fe78dcd6f255eb0d91659 Author: Graeme Russ Date: Sun Aug 23 12:59:57 2009 +1000 i386: Moved PCI from #ifdef to conditional compile for sc520 boards Signed-off-by: Graeme Russ commit ed7a1b681de1e31d18d5b92e2767ae8df3241687 Author: Graeme Russ Date: Sun Aug 23 12:59:56 2009 +1000 i386: Replace [read, write]_mmcr_[byte, word, long] with memory mapped structure Signed-off-by: Graeme Russ commit 9b32f96b5b92ba13fdb4b5eb637734752235f260 Author: Graeme Russ Date: Sun Aug 23 12:59:55 2009 +1000 Misc sc520 cdp fixups Now that the PCI, SATA et al compile problems have been resolved, the cludge that was applied to avoid them can be removed Signed-off-by: Graeme Russ commit 91ee4e183cb7ac5f86e7673ead51400f19906635 Author: Graeme Russ Date: Sun Aug 23 12:59:54 2009 +1000 Fixup sc520_spunk board Primary intent is to resolve build errors for this board which has been neglected for a very long time. I do not have one of these boards, so I cannot test functionality Signed-off-by: Graeme Russ commit 8907b8dbc5805094f1316d64737d3428b3863693 Author: Graeme Russ Date: Sun Aug 23 12:59:53 2009 +1000 Misc ds1722 fixups This patch is based on a patch submitted by Jean-Christophe PLAGNIOL-VILLARD on 18th May 2008 as part of a general i386 / sc520 fixup which was never applied Signed-off-by: Graeme Russ commit a92510e7fae523145b58765cdc46110f1162260d Author: Graeme Russ Date: Sun Aug 23 12:59:52 2009 +1000 Misc ti_pci1410a fixups Removed do_pinit() - now declared in cmd_pcmcia.c Added #define CONFIG_CMD_PCMCIA around pcmcia_off() in line with other PCMCIA drivers signed/unsigned type fixups Added semi-colon after default: label as required by newer gcc The only board that appears to use this driver is the sc520_spunk which is very old and very likely very broken anyway. I do not have one to test whether this patch breaks anything functionaly, I have can only check that it compiles without warning or error Signed-off-by: Graeme Russ commit 31b9ab33d93d88ff89f3046aa45c68667a378a56 Author: Graeme Russ Date: Sun Aug 23 12:59:51 2009 +1000 Misc SATA fixups Cast first parameter to sata_cpy() In /drivers/block/ata_piix.h, ata_id_has_lba48(), ata_id_has_lba(), ata_id_has_dma(), ata_id_u32(), ata_id_u64() are all defined in include/libata.h which is included in ata.h which is included by all files which include ata_piix.h (only ata_piix.c) so these definitions are supurflous to (and conlict with) this in libata.h. Interestingly, my compiler complains about ata_id_u64 already being defined, but not ata_id_u32 ata_dump_id() is defined in include/libata.h and should not be static (maybe should even use ata_dump_id() in libata.c Signed-off-by: Graeme Russ commit d7549024098af093785151261266a02be19af633 Author: Graeme Russ Date: Sun Aug 23 12:59:50 2009 +1000 i386: Misc PCI fixups Change PCI_REGION_MEMORY to PCI_REGION_SYS_MEMORY (Originally done in commit ff4e66e93c1a, regressed by commit 6d7f610b09f8) Cast PCI_ROM_ADDRESS_MASK to u32 Wrap probe_pci_video() call inside #ifdef CONFIG_VIDEO Change call to pci_find_class() to pci_find_devices(). This is based on a patch submitted on 1st March 2007 (Patch that fixes the compilation errors for sc520_cdp board) by mushtaq_k This patch requires that PCI_VIDEO_VENDOR_ID and PCI_VIDEO_DEVICE_ID be specified in the board config file. Dummy values have been added for the SC520 CDP board to enable compilation, but since I do not have one of these, I do know what the values should be Signed-off-by: Graeme Russ commit 04ff9ab158714d43cdf2f4f6f0235c3ea9d241a2 Author: Graeme Russ Date: Sun Aug 23 12:59:49 2009 +1000 Fix sc520 timer interrupt generation The current implementation has the timer being started before the interrupt handler is installed. It the interrupt occurs before the handler is installed, the timer interrupt is never reset and the timer stops Signed-off-by: Graeme Russ commit f3a8d6b29b1cd01fdd940e8ff7a62b1df0ebbf82 Author: Graeme Russ Date: Sun Aug 23 12:59:48 2009 +1000 Fix environment configuration for eNET board The current configuration of the Environment has the redundant copy of the environment in the Boot Flash - This was never the intent. The Environment should instead be in the first two sectors of the first Strata Flash Signed-off-by: Graeme Russ commit ea0c37798c3823fdd77edfffd27b20191f8ca1f0 Author: Graeme Russ Date: Sun Aug 23 12:59:47 2009 +1000 i386: Fix regression introduced by commit 8c63d47651f7 A local variable was deleted that should not have been Signed-off-by: Graeme Russ commit cfb3a736ffcff3e3753b902cad536f22fcf8961d Author: Graeme Russ Date: Sun Aug 23 12:59:46 2009 +1000 i386: Change inline asm global symbols to local gcc 4.3.2 optimiser creates multiple copies of inline asm (who knows why) Remove use of global names for labels to prevent 'symbol already defined' errors Signed-off-by: Graeme Russ commit a3ab8caee696a1d53fc82fa321e2b2f179970168 Author: Graeme Russ Date: Sun Aug 23 12:59:45 2009 +1000 i386: Add errno.h Signed-off-by: Graeme Russ commit d4e8ada0f6d51e0e3b80790fb9375ac8910f5352 Author: Peter Tyser Date: Fri Aug 21 23:05:21 2009 -0500 Consolidate arch-specific mem_malloc_init() implementations Signed-off-by: Peter Tyser commit a483a167bc8d808145ca1224a2c238cda90aa60c Author: Peter Tyser Date: Fri Aug 21 23:05:20 2009 -0500 Standardize mem_malloc_init() implementation This lays the groundwork to allow architectures to share a common mem_malloc_init(). Note that the x86 implementation was not modified as it did not fit the mold of all other architectures. Signed-off-by: Peter Tyser commit 5e93bd1c9aaea886c5e5c7c1b6114ab36c30668f Author: Peter Tyser Date: Fri Aug 21 23:05:19 2009 -0500 Consolidate arch-specific sbrk() implementations Signed-off-by: Peter Tyser commit 65f6f07b72a71b83d775c4d20d7ebcd6b2d2086d Author: Mike Frysinger Date: Thu Jul 23 16:37:03 2009 -0400 atmel_df_pow2: standalone to convert dataflashes to pow2 Atmel DataFlashes by default operate with pages that are slightly bigger than normal binary sizes (i.e. many are 1056 byte pages rather than 1024 bytes). However, they also have a "power of 2" mode where the pages show up with the normal binary size. The latter mode is required in order to boot with a Blackfin processor, so many people wish to convert their DataFlashes on their development systems to this mode. This standalone application does just that. Signed-off-by: Mike Frysinger commit cb95c7a935ab9b52dac5d08e5ba4007c5a480f97 Author: Mike Frysinger Date: Wed Sep 2 05:52:37 2009 -0400 Blackfin: cm-bf548: fix device->stdio_dev fallout The recent 52cb4d4fb348 commit which renamed device to stdio_dev missed the cm-bf548's video board. Signed-off-by: Mike Frysinger commit c7bcdde46a7ef78628f0f09fdc6cb61bb1bd7e79 Author: Mike Frysinger Date: Wed Sep 2 04:21:16 2009 -0400 Blackfin: enable 64bit printf for nand Since the NAND code now uses 64bit code, make sure we enable support for ADI Blackfin boards in printf to avoid the warning: nand_util.c:45:2: warning: #warning Please define CONFIG_SYS_64BIT_VSPRINTF for correct output! Signed-off-by: Mike Frysinger commit 9c46e71af2b03ccd721c56b1dc906ead702d6fb5 Author: Mike Frysinger Date: Mon Aug 24 20:48:04 2009 -0400 Blackfin: use scratch pad for exception stack If the memory layout pushes the stack out of the default DCPLB coverage, the exception handler may trigger a double fault by trying to push onto the uncovered stack. So handle the exception stack similar to the kernel by using the top of the scratch pad SRAM. Signed-off-by: Mike Frysinger commit 69a25ce3578f34c8accb476f70089f3a44b78ed9 Author: Mike Frysinger Date: Mon Aug 24 20:36:25 2009 -0400 Blackfin: increase default console size The default console size indirectly applies to length of env vars, so a smaller length makes it hard to pass longer command lines to kernels. Signed-off-by: Mike Frysinger commit f541e1d6d99c22bbd4bc8c84fdb02baad0277847 Author: Mike Frysinger Date: Mon Aug 24 19:03:18 2009 -0400 Blackfin: fix debug printf modifiers The display_global_data() function generated warnings with pretty much every variable. Signed-off-by: Mike Frysinger commit 4640c2b8699bcdd2346a2c633486f07f061a2939 Author: Harald Krapfenbauer Date: Thu Aug 20 19:20:41 2009 -0400 Blackfin: cm-bf537u: new board port The CM-BF537U is similar to the CM-BF537E module, but enough to need its own board port. Signed-off-by: Harald Krapfenbauer Signed-off-by: Mike Frysinger commit c4db335c2e0805e1ce4c33d278b77492c0812353 Author: Robin Getz Date: Mon Aug 17 15:23:02 2009 +0000 Blackfin: change global data register from P5 to P3 Since the Blackfin ABI favors higher scratch registers by default, use the last scratch register (P3) for global data rather than the first (P5). This allows the compiler's register allocator to use higher number scratch P registers, which in turn better matches the Blackfin instruction set, which reduces the size of U-Boot by more than 1024 bytes... Signed-off-by: Robin Getz Signed-off-by: Mike Frysinger commit 574b70df03fba0ea635e2fe71fbd7b97d19b706a Author: Robin Getz Date: Tue Aug 11 14:20:13 2009 +0000 Blackfin: enable more network commands for ADI dev boards Add dns and ntp to default networking commands, and ask for more dhcp options to better configure the network environment. Signed-off-by: Robin Getz Signed-off-by: Mike Frysinger commit aa7b248a05323d4720969227603e39a22777ed95 Author: Michael Hennerich Date: Thu Jun 18 09:12:50 2009 +0000 Blackfin: bf537-stamp: comment CF-Flash Card Support better Signed-off-by: Michael Hennerich Signed-off-by: Mike Frysinger commit 69c6d268a29cf6d61e096d815abf5abf24136f45 Author: Robin Getz Date: Fri Jul 10 18:37:15 2009 +0000 Blackfin: use +(filesize) to make sure we are only doing what is necessary Signed-off-by: Robin Getz Signed-off-by: Mike Frysinger commit 2dc851e3b0f07a56f83060f13882ff4b62cf5112 Author: Albin Tonnerre Date: Thu Aug 20 16:04:49 2009 +0200 Support for the Calao TNY-A9260/TNY-A9G20 boards The Calao TNY-A9260 and TNY-9G20 are boards manufactured and sold by Calao Systems . Their components are very similar to the AT91SAM9260EK board, so their configuration is based on the configuration of this board. There are however some differences: different clocks, no LCD, no ethernet. They also can use SPI EEPROM to store the environment. Signed-off-by: Albin Tonnerre Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 49d2cb4d6153a6c18249dccb5de5cffeb261a61c Author: Prafulla Wadaskar Date: Thu Aug 20 20:59:28 2009 +0530 arm: Kirkwood: add SYSRSTn Duration Counter Support This feature can be used to trigger special command "sysrstcmd" using reset key long press event and environment variable "sysrstdelay" is set (useful for reset to factory or manufacturing mode execution) Kirkwood SoC implements a hardware-based SYSRSTn duration counter. When SYSRSTn is asserted low, a SYSRSTn duration counter is running. The counter value is stored in the SYSRSTn Length Counter Register The counter is based on the 25-MHz reference clock (40ns) It is a 29-bit counter, yielding a maximum counting duration of 2^29/25 MHz (21.4 seconds). When the counter reach its maximum value, it remains at this value until counter reset is triggered by setting bit 31 of KW_REG_SYSRST_CNT Implementation: Upon long reset assertion (> ${sysrstdelay} in secs) sysrstcmd will be executed if pre-defined in environment variables. This feature will be disabled if "sysrstdelay" variable is unset. for-ex. setenv sysrst_cmd "echo starting factory reset; nand erase 0xa0000 0x20000; echo finish ed sysrst command;" will erase particular nand sector if triggered by this event Signed-off-by: Prafulla Wadaskar commit 9453967e28c5e3abbf856f95735ea69bae1e77fa Author: Albin Tonnerre Date: Mon Aug 24 18:03:26 2009 +0200 Add support for the Calao SBC35-A9G20 board The Calao SBC35-A9G20 board is manufactured and sold by Calao Systems . It is built around an AT91SAM9G20 ARM SoC running at 400MHz. It features an Ethernet port, an SPI RTC backed by an onboard battery , an SD/MMC slot, a CompactFlash slot, 64Mo of SDRAM, 256Mo of NAND flash, two USB host ports, and an USB device port. More informations can be found at Signed-off-by: Albin Tonnerre commit 10bc241dfc15a0820d9c52469173b7ccafec0b84 Author: Ilya Yanok Date: Tue Aug 11 02:32:09 2009 +0400 imx27lite: add support for imx27lite board from LogicPD This patch adds support for i.MX27-LITEKIT development board from LogicPD. This board uses i.MX27 SoC and has 2MB NOR flash, 64MB NAND flash, FEC ethernet controller integrated into i.MX27. Signed-off-by: Ilya Yanok Acked-by: Wolfgang Denk commit 50b5fff55827946c86a60db8b21a9358be720666 Author: Albin Tonnerre Date: Tue Sep 1 11:26:20 2009 +0200 at91sam9260/afeb9260: Fix SPI initialization Commit 7ebafb7ec1a0285af8380623c009576f92583b98 introduced a mistake in the spi init function call for those boards. This patch fixes this. Signed-off-by: Albin Tonnerre commit f3d4f8870e69e0fd177397778d97d0751bbd020a Author: Simon Kagstrom Date: Tue Aug 18 11:13:44 2009 +0200 Remove duplicate set_cr Remove duplicate set_cr set_cr is defined in both asm-arm/proc-armv/system.h and include/asm-arm/system.h. This patch removes it (and some duplicate defines) from the former. Signed-off-by: Simon Kagstrom commit 3d35d87d5482de23cd5dc4d7721b1086107cae50 Author: Wolfgang Denk Date: Mon Aug 31 19:57:42 2009 +0200 Prepare 2009.08 Update CHANGELOG Signed-off-by: Wolfgang Denk commit 632a6dd0b612eb7b143f789f2a0273917468c041 Author: Andre Schwarz Date: Mon Aug 31 16:18:24 2009 +0200 Add common code dir for Matrix Vision boards. This fixes current build failure. Signed-off-by: Andre Schwarz mvblm7.c: fix warning: implicit declaration of function 'mv_reset_environment' Signed-off-by: Wolfgang Denk commit 52f6c34c85d6c16f2a41433b5000490ecf374992 Author: David Brownell Date: Sun Aug 30 11:05:29 2009 -0700 bugfix CONFIG_SYS_CONSOLE_INFO_QUIET The "console: unify printing current devices" patch goofed: CONFIG_SYS_CONSOLE_INFO_QUIET is supposed to *REMOVE* boot time noise, not add it. Said patch changed the #ifndefs to #ifdef; this one restores them to the proper sense. Signed-off-by: David Brownell commit 2d04db088e6df8a008bb09f604876a45031df93b Author: Timur Tabi Date: Fri Aug 28 16:56:45 2009 -0500 fsl: simplify the "mac id" command, improve boot-time informational message The "mac id" command took a 4-character parameter as the identifier string. However, for any given board, only one kind of identifier is acceptable, so it makes no sense to ask the user to type it in. Instead, if the user enters "mac id", the identifier (and also the version, if it's NXID) will automatically be set to the correct value. Improve the message that is displayed when EEPROM is read during boot. It now displays "EEPROM:" and then either an error message or the EEPROM identifier if successful. If the identifier in EEPROM is valid, then always reject a bad CRC, even if the CRC field has not been initialized. Don't force the MAC address count to MAX_NUM_PORTS or less. Forcing the value to be changed resulting in an in-memory copy that does not match what's in hardware, even though the user did not request that change. Finally, always update the CRC value in the in-memory copy after any field is changed, so that the CRC is always correct. Signed-off-by: Timur Tabi Signed-off-by: Kumar Gala commit 33f3f34255bd7cf0be502275c59f0ff22dc50080 Author: Poonam Aggrwal Date: Fri Aug 21 07:29:58 2009 +0530 85xx: Added PCIe support for P1 P2 RDB Call fsl_pci_init_port() to initialize all the PCIe ports on the board. Signed-off-by: Poonam Aggrwal Signed-off-by: Kumar Gala commit 0d3d68b25a8e7790f58530ddccbd61f9fc0245ef Author: Poonam Aggrwal Date: Fri Aug 21 07:29:42 2009 +0530 driver/fsl_pci: Add fsl_pci_init_port function to initialize a PCI controller fsl_pci_init_port can be called from board specific PCI initialization routines to setup the PCI (or PCIe) controller. This will reduce code redundancy in most of the 85xx/86xx FSL board ports that setup PCI. Signed-off-by: Poonam Aggrwal Signed-off-by: Kumar Gala commit 05f6f66474312ad03c39b4ca4875af46c87366bf Author: Timur Tabi Date: Thu Aug 20 17:41:11 2009 -0500 85xx: Improve MPIC initialization The MPIC initialization code for Freescale e500 CPUs was not using I/O accessors, and it was not issuing a read-back to the MPIC after setting mixed mode. This may be the cause of a spurious interrupt on some systems. Signed-off-by: Timur Tabi Signed-off-by: Kumar Gala commit c17b79fbd0c7923948331d65cb588734a9c681ff Author: Poonam Aggrwal Date: Thu Aug 20 18:59:18 2009 +0530 85xx: Added support for P1011RDB and P2010RDB P1011 and P2010 are single core variants of P1010 and P2020 respectively. The board(RDB) will be same. Signed-off-by: Poonam Aggrwal Signed-off-by: Kumar Gala commit a713ba926b45da9a6f923f1ac9e60a66852e5f2d Author: Poonam Aggrwal Date: Thu Aug 20 18:57:45 2009 +0530 85xx: Added single core members of FSL P1xx/P2xx processors series P1011 - Single core variant of P1020 P2010 - Single core variant of P2020 Signed-off-by: Poonam Aggrwal Signed-off-by: Kumar Gala commit bf488bc0949fc900d1296a7f35a38a6a28cb5fab Author: Poonam Aggrwal Date: Thu Aug 20 18:57:02 2009 +0530 85xx: P1020RDB Support Added Signed-off-by: Poonam Aggrwal Signed-off-by: Kumar Gala commit 3b1f243b8dad30a646a0f056b0268519eadbc3c5 Author: Poonam Aggrwal Date: Thu Aug 20 18:55:35 2009 +0530 85xx: Added CONFIG_MAX_CPUS for P1020 Signed-off-by: Poonam Aggrwal Signed-off-by: Kumar Gala commit 76b474e2f5a223fcabfeaa4f1c8fb699062b986c Author: Mingkai Hu Date: Tue Aug 18 15:37:15 2009 +0800 85xx: Add L2SRAM Register's macro definition Signed-off-by: Mingkai Hu Signed-off-by: Kumar Gala commit 158c6724c99368a4d8eef11ee7e3c7ad0ef03a15 Author: Felix Radensky Date: Sat Aug 15 15:08:37 2009 +0300 85xx: Fix memory test range on MPC8536DS With current values of CONFIG_SYS_MEMTEST_START and CONFIG_SYS_MEMTEST_END memory test hangs if run without arguments. Set them to sane values, so that all available 512MB of RAM excluding exception vectors at the bottom and u-boot code and stack at the top can be tested. Signed-off-by: Felix Radensky Signed-off-by: Kumar Gala commit ef41f2a25c554604156b59f5945feadae2f3cb55 Author: Kumar Gala Date: Wed Aug 12 00:10:44 2009 -0500 85xx: Removed BEDBUG support on P1_P2_RDB To match all other 85xx platforms we are removing BEDBUG support. Signed-off-by: Kumar Gala commit b560ab85edfb68da653bf2527c390c3e182392a1 Author: Kumar Gala Date: Sat Aug 8 10:42:30 2009 -0500 85xx: Init pci ethernet cards if we enable any on MPC8572DS Signed-off-by: Kumar Gala commit 1bb61b69f7aba4931ede35fdcabd8e5ecad121d7 Author: Peter Tyser Date: Fri Aug 7 13:16:34 2009 -0500 xes: Use proper IO access functions Also fix some minor whitespace oddities while we're cleaning up Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit ec79d33b2c41ee8b6d1354cc0910217b769c5036 Author: Kumar Gala Date: Fri Aug 7 13:00:55 2009 -0500 85xx: Move to a common linker script There are really no differences between all the 85xx linker scripts so we can just move to a single common one. Board code is still able to override the common one if need be. Signed-off-by: Kumar Gala commit 87c7661b42aa7672539b54b51d3d5c4013ec6f6c Author: Poonam Aggrwal Date: Fri Jul 31 12:08:27 2009 +0530 85xx: Added P1020 Processor Support. P1020 is another member of QorIQ series of processors which falls in ULE category. It is an e500 based dual core SOC. Being a scaled down version of P2020 it has following differences: - 533MHz - 800MHz core frequency. - 256Kbyte L2 cache - Ethernet controllers with classification capabilities. Also the SOC is pin compatible with P2020 Signed-off-by: Poonam Aggrwal Signed-off-by: Kumar Gala commit 728ece343e8bb2a66ee977c49d455439e3b28da9 Author: Poonam Aggrwal Date: Wed Aug 5 13:29:24 2009 +0530 85xx: Add support for P2020RDB board The code base adds P1 & P2 RDB platforms support. The folder and file names can cater to future SOCs of P1/P2 family. P1 & P2 processors are 85xx platforms, part of Freescale QorIQ series. Tested following on P2020RDB: 1. eTSECs 2. DDR, NAND, NOR, I2C. Signed-off-by: Poonam Aggrwal Signed-off-by: Kumar Gala commit 0e870980a64584a591af775bb9c9fe9450124df9 Author: Poonam Aggrwal Date: Fri Jul 31 12:08:14 2009 +0530 8xxx: Removed CONFIG_NUM_CPUS from 85xx/86xx The number of CPUs are getting detected dynamically by checking the processor SVR value. Also removed CONFIG_NUM_CPUS references from all the platforms with 85xx/86xx processors. This can help to use the same u-boot image across the platforms. Also revamped and corrected few Freescale Copyright messages. Signed-off-by: Poonam Aggrwal Signed-off-by: Kumar Gala commit 18bacc2027f8531d8dec15ba8da3242dfb4e63f3 Author: Poonam Aggrwal Date: Fri Jul 31 12:07:45 2009 +0530 8xxx: Refactored common cpu specific code for 85xx/86xx into one file. Removed same code pieces from cpu/mpc85xx/cpu.c and cpu/mpc86xx/cpu.c and moved to cpu/mpc8xxx/cpu.c(new file) Signed-off-by: Poonam Aggrwal Signed-off-by: Kumar Gala commit 7b18c227b847e4782eb1492219ebd555f521b08b Author: Alex Dubov Date: Fri Aug 7 15:28:32 2009 +1000 stx: create common vendor/board hierarchy for STx boards Move files belonging to the STx boards into common vendor directory and update the Makefile to reflect this. Signed-off-by: Alex Dubov Signed-off-by: Kumar Gala commit bafdf9aa9dbb69d937b72db17ed5800998c59523 Author: Peter Tyser Date: Tue Aug 4 17:38:00 2009 -0500 85xx: Remove unused CONFIG_CLEAR_LAW0 defines Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit 73aacc522849486b60a5611f678f0bf1c3053779 Author: Kumar Gala Date: Thu Aug 6 18:38:43 2009 -0500 86xx: Remove redudant PLATFORM_CPPFLAGS For historic reasons we had defined some additional PLATFORM_CPPFLAGS like: PLATFORM_CPPFLAGS += -DCONFIG_MPC86xx=1 PLATFORM_CPPFLAGS += -DCONFIG_MPC8641=1 However these are all captured in the config.h and thus redudant. Also moved common 86xx flags into cpu/mpc86xx/config.mk. Signed-off-by: Kumar Gala commit 53efa1f1acacacb76fa9a21b09b3294783a11c03 Author: Kumar Gala Date: Thu Aug 6 18:28:34 2009 -0500 85xx: Remove redudant PLATFORM_CPPFLAGS For historic reasons we had defined some additional PLATFORM_CPPFLAGS like: PLATFORM_CPPFLAGS += -DCONFIG_E500=1 PLATFORM_CPPFLAGS += -DCONFIG_MPC85xx=1 PLATFORM_CPPFLAGS += -DCONFIG_MPC8548=1 However these are all captured in the config.h and thus redudant. Signed-off-by: Kumar Gala commit 337f9fde2e9317c1d9e85a4a8955a2f14730a00f Author: Kumar Gala Date: Thu Jul 30 15:54:07 2009 -0500 85xx: Add a 36-bit physical configuration for MPC8536DS We move all IO addressed (CCSR, localbus, PCI) above the 4G boundary to allow for larger memory sizes. Signed-off-by: Kumar Gala Acked-by: Wolfgang Denk Signed-off-by: Kumar Gala commit ecead84d56b0ced67b727f5ce21ba08c53b5f09e Author: Kumar Gala Date: Tue Aug 4 09:10:03 2009 -0500 85xx: Cleanup whitespace in mpc8536ds.c Signed-off-by: Kumar Gala commit ad19e7a5d2de337064ce7728d6504df9648f5d31 Author: Kumar Gala Date: Wed Aug 5 07:59:35 2009 -0500 pci/fsl_pci_init: Rework PCI ATMU setup to handle >4G of memory The old PCI ATMU setup code would just mimic the PCI regions into the ATMU registers. For simple memory maps in which all memory, MMIO, etc space fit into 4G this works ok. However there are issues with we have >4G of memory as we know can't access all of memory and we need to ensure that PCICSRBAR (PEXCSRBAR on PCIe) isn't overlapping with anything since we can't turn it off. We first setup outbound windows based on what the board code setup in the pci regions for MMIO and IO access. Next we place PCICSRBAR below the MMIO window. After which we try to setup the inbound windows to map as much of memory as possible. On PCIe based controllers we are able to overmap the ATMU setup since RX & TX links are separate but report the proper amount of inbound address space to the region tracking to ensure there is no overlap. On PCI based controllers we use as many inbound windows as available to map as much of the memory as possible. Additionally we changed all the CCSR register access to use proper IO accessor functions. Also had to add CONFIG_SYS_CCSRBAR_PHYS to some 86xx platforms that didn't have it defined. Signed-off-by: Kumar Gala commit 8295b94400449586505ffe34ec024feb3d2c8fe4 Author: Kumar Gala Date: Wed Aug 5 07:49:27 2009 -0500 pci/fsl_pci_init: Use PCIe capability to determine if controller is PCIe Change the code to use the PCIe capabilities register to determine if we are a PCIe controller or not. Additionally cleaned up some white space and formatting in the file. Signed-off-by: Kumar Gala commit cb151aa2cf5fbb1e412fc763a3a611758f066238 Author: Kumar Gala Date: Mon Aug 3 21:02:02 2009 -0500 pci/fsl_pci_init: Fold fsl_pci_setup_inbound_windows into fsl_pci_init Every platform that calls fsl_pci_init calls fsl_pci_setup_inbound_windows before it calls fsl_pci_init. There isn't any reason to just call it from fsl_pci_init and simplify things a bit. Signed-off-by: Kumar Gala commit fb3143b35eb5890ec72e79d17a6068a84a057d47 Author: Kumar Gala Date: Mon Aug 3 20:44:55 2009 -0500 pci/fsl_pci_init: Fold pci_setup_indirect into fsl_pci_init Every platform that calls fsl_pci_init calls pci_setup_indirect before it calls fsl_pci_init. There isn't any reason to just call it from fsl_pci_init and simplify things a bit. Signed-off-by: Kumar Gala commit 28887d831b02c66ccc10d7f1379204b5a62f4543 Author: André Schwarz Date: Thu Aug 27 14:48:35 2009 +0200 Use common code for Matrix Vision boards Clean up existing boards (mvBC-P/MPC5200 and mvBL-M7/MPC8343) by using common code. Signed-off-by: André Schwarz commit 05f91a65abc3180e2896cd8ddee7a34b1d1ce6e0 Author: Kim Phillips Date: Wed Aug 26 21:27:37 2009 -0500 mpc83xx: mpc8349itx - accommodate larger kernel sizes & unzero the bootdelay apparently the ITX was missed last round. Also make bootdelay consistent with other boards, so as to give on the opportunity to fix mistakenly set bootcmd without having checked for an bootdelay zero setting first. Signed-off-by: Kim Phillips commit cc861f7127f200e704baaf061a7f508e3c93f2a3 Author: Kim Phillips Date: Wed Aug 26 21:25:46 2009 -0500 mpc83xx: match dtb filename references to their dts equivalents in the linux kernel Signed-off-by: Kim Phillips commit 77b351cd0f20483eefa09bebebb3e0cbf5555b2c Author: Sandeep Paulraj Date: Tue Aug 18 10:10:42 2009 -0400 NAND: DaVinci: V2 Adding 4 BIT ECC support This patch adds 4 BIT ECC support in the DaVinci NAND driver. Tested on both the DM355 and DM365. Signed-off-by: Sandeep Paulraj Signed-off-by: Scott Wood commit f83b7f9e8a5d1334e24506ea5953dd871596ea8a Author: Sandeep Paulraj Date: Mon Aug 10 13:27:56 2009 -0400 MTD:NAND: ADD new ECC mode NAND_ECC_HW_OOB_FIRST This patch adds the new mode NAND_ECC_HW_OOB_FIRST in the nand code to support 4-bit ECC on TI DaVinci devices with large page (up to 2K) NAND chips. This ECC mode is similar to NAND_ECC_HW, with the exception of read_page API that first reads the OOB area, reads the data in chunks, feeds the ECC from OOB area to the ECC hw engine and perform any correction on the data as per the ECC status reported by the engine. This patch has been accepted by Andrew Morton and can be found at http://userweb.kernel.org/~akpm/mmotm/broken-out/mtd-nand-add-new-ecc-mode-ecc_hw_oob_first.patch Signed-off-by: Sandeep Paulraj Signed-off-by: Sneha Narnakaje Signed-off-by: Scott Wood commit 36fab997d85d89ee7fd2c7fd6057fab786d556aa Author: Ilya Yanok Date: Tue Aug 11 02:32:54 2009 +0400 mxc_nand: add nand driver for MX2/MX3 Driver for NFC NAND controller found on Freescale's MX2 and MX3 processors. Ported from Linux. Tested only with i.MX27 but should works with other MX2 and MX3 processors too. Signed-off-by: Ilya Yanok Signed-off-by: Scott Wood commit a2c65b47effcb3d0aa23e58596538acd338ac7c5 Author: Sandeep Paulraj Date: Mon Aug 10 13:27:46 2009 -0400 NAND: ADD page Parameter to all read_page/read_page_raw API's This patch adds a new "page" parameter to all NAND read_page/read_page_raw APIs. The read_page API for the new mode ECC_HW_OOB_FIRST requires the page information to send the READOOB command and read the OOB area before the data area. This patch has been accepted by Andrew Morton and can be found at http://userweb.kernel.org/~akpm/mmotm/broken-out/mtd-nand-add-page-parameter-to-all-read_page-read_page_raw-apis.patch WE would like this to become part of the u-boot GIT as well Signed-off-by: Sandeep Paulraj Signed-off-by: Sneha Narnakaje Signed-off-by: Scott Wood commit de4250929f37e6c16860741b74546bedbe0bdaba Author: Heiko Schocher Date: Tue Jul 21 17:13:40 2009 +0200 83xx, kmeter1: added NAND support Signed-off-by: Heiko Schocher Signed-off-by: Scott Wood commit ecad289fc6bd9d89ef4d5093cc7b6fd712fd0d29 Author: Kyungmin Park Date: Tue Jul 21 11:58:04 2009 +0900 OneNAND: Remove unused read_spareram Remove unused read_spareram and add unlock_all as kernel does Signed-off-by: Kyungmin Park Signed-off-by: Scott Wood commit 403ce1f759b5acec8514cd7e10ce76704fed519c Author: Matthias Kaehlcke Date: Thu Jul 16 21:19:29 2009 +0200 KB9202: Add NAND support Add KB9202 NAND driver Signed-off-by: Matthias Kaehlcke Signed-off-by: Scott Wood commit ce3277a6f2c082f39596d3d3d88dd0a5bc91439d Author: Kyungmin Park Date: Tue Jul 21 11:58:04 2009 +0900 OneNAND: Remove unused read_spareram Remove unused read_spareram and add unlock_all as kernel does Signed-off-by: Kyungmin Park commit 0d042037b3cf8693ea0f793d0c292430bfc5a95c Author: Eric Millbrandt Date: Tue Aug 25 10:30:26 2009 -0500 galaxy5200: Cleanup typo and trailing whitespace Signed-off-by: Eric Millbrandt commit f6a309080b2da9e509b5ee8d091dca5e175415b7 Author: TsiChung Liew Date: Wed Jul 22 18:42:45 2009 +0000 ColdFire: Fix compile warning messages Change %08lX to %08X in board.c. Remove unused variable 'oscillator' in mcf5227x/cpu_init.c and 'scm2' in mcf532x/cpu_init.c. Provide argument type cast in drivers/dma/MCD_dmaApi.c. Signed-off-by: TsiChung Liew commit 88c811b153771a3d1bfe958297c69722efb278e9 Author: TsiChung Liew Date: Wed Jul 22 16:32:39 2009 +0000 ColdFire: Fix missing _IO_BASE which caused compile error The compile error was caused by a recent patch. Affected platforms - M5253DEMO.h, M5253EVBE.h, and M54455EVB.h. Adding the _IO_BASE automatically defined to 0 in asm-m68k/io.h if it isn't set in platform configuration file. Signed-off-by: TsiChung Liew commit 3a7b2c21fb08b022e3e624cd071002b4aaed1606 Author: Niklaus Giger Date: Wed Jul 22 17:13:24 2009 +0200 Support up to 7 banks for ids as specified in JEDEC JEP106Z see http://www.jedec.org/download/search/jep106Z.pdf Add some second source legacy flash chips 256x8. Signed-off-by: Niklaus Giger Signed-off-by: Stefan Roese commit 0d071cdd782e917b43e04869843df31670231ffd Author: Kim Phillips Date: Mon Aug 24 14:32:26 2009 -0500 net: tsec - handle user interrupt while waiting for PHY auto negotiation to complete if you don't have firmware installed for the PHY to come to life, this wait can be painful - let's give the option to avoid it if we want. Signed-off-by: Kim Phillips Acked-by: Andy Fleming Signed-off-by: Ben Warren commit 4fccb818e7ee1190602e79aa5729a23bc349bf0c Author: Robin Getz Date: Thu Aug 20 10:50:20 2009 -0400 Add Transfer Size Option to tftp Optionally add RFC 2349 "Transfer Size Option", so we can minimize the time spent sending data over the UART (now print a single line during a tftp transfer). - If turned on (CONFIG_TFTP_TSIZE), U-Boot asks for the size of the file. - if receives the file size, a single line (50 chars) are printed. one hash mark == 2% of the file downloaded. - if it doesn't receive the file size (the server doesn't support RFC 2349, prints standard hash marks (one mark for each UDP frame). Signed-off-by: Robin Getz Signed-off-by: Ben Warren commit 488feef85229c08cd3aa1fa183bc8f483d2ae832 Author: Robin Getz Date: Mon Aug 24 10:33:39 2009 -0400 Add debug message for Blackfin Ethernet Rx function. Add a simple print for the Blackfin's Ethernet Rx function, so we can debug incomming Ethernet functions easier. Signed-off-by: Robin Getz Signed-off-by: Ben Warren commit b1c0eaac110bc919e5b4e88821348e714493f266 Author: Ben Warren Date: Tue Aug 25 13:09:37 2009 -0700 Convert CS8900 Ethernet driver to CONFIG_NET_MULTI API All in-tree boards that use this controller have CONFIG_NET_MULTI added Also: - changed CONFIG_DRIVER_CS8900 to CONFIG_CS8900 - changed CS8900_BASE to CONFIG_CS8900_BASE - changed CS8900_BUS?? to CONFIG_CS8900_BUS?? - cleaned up line lengths - modified VCMA9 command function that accesses the device - removed MAC address initialization from lib_arm/board.c Signed-off-by: Ben Warren Tested-by: Wolfgang Denk Acked-by: Wolfgang Denk commit d47628a6ecf80cd4584a50b6c795b90c985a48e5 Author: Alessandro Rubini Date: Fri Aug 7 13:59:26 2009 +0200 arm nomadik: activate defrag choose 4k transfer block size This chooses 4kB data size for both TFTP and NFS, as an example about how to use support for IP fragments. Signed-off-by: Alessandro Rubini Signed-off-by: Ben Warren commit bd931ca61c84039241d438ade4a9755ae0e5372f Author: Alessandro Rubini Date: Fri Aug 7 13:59:16 2009 +0200 nfs: accept CONFIG_NFS_READ_SIZE from config file To take advantage of defragmented packets, the config file can define CONFIG_NFS_READ_SIZE to override the 1kB default. No support is there for an environment variable by now. Signed-off-by: Alessandro Rubini Signed-off-by: Ben Warren commit 89ba81d1079a07b8430a98c1746c6d411312eb0d Author: Alessandro Rubini Date: Fri Aug 7 13:59:06 2009 +0200 tftp: get the tftp block size from config file and from the environment Increasing the block size is useful if CONFIG_IP_DEFRAG is used. Howerver, the last fragments in a burst may overflow the receiving ethernet, so the default is left at 1468, with thre new CONFIG_TFTP_BLOCKSIZE for config files. Further, "tftpblocksize" can be set in the environment. Signed-off-by: Alessandro Rubini Signed-off-by: Ben Warren commit 5cfaa4e54d0eb8232fa1cf092d955fdaed5b673d Author: Alessandro Rubini Date: Fri Aug 7 13:58:56 2009 +0200 net: defragment IP packets The defragmenting code is enabled by CONFIG_IP_DEFRAG; the code is useful for TFTP and NFS transfers. The user can specify the maximum defragmented payload as CONFIG_NET_MAXDEFRAG (default 16k). Since NFS has a bigger per-packet overhead than TFTP, the static reassembly buffer can hold CONFIG_NET_MAXDEFRAG + the NFS overhead. The packet buffer is used as an array of "hole" structures, acting as a double-linked list. Each new fragment can split a hole in two, reduce a hole or fill a hole. No support is there for a fragment overlapping two diffrent holes (i.e., thre new fragment is across an already-received fragment). Signed-off-by: Alessandro Rubini Signed-off-by: Ben Warren commit 68e74567cf317318df52dbcb2ac170ffc5e7758a Author: Feng Kan Date: Fri Aug 21 10:59:42 2009 -0700 ppc4xx: Fix ECC Correction bug with SMC ordering for NDFC driver Fix ECC Correction bug where the byte offset location were double flipped causing correction routine to toggle the wrong byte location in the ECC segment. The ndfc_calculate_ecc routine change the order of getting the ECC code. /* The NDFC uses Smart Media (SMC) bytes order */ ecc_code[0] = p[2]; ecc_code[1] = p[1]; ecc_code[2] = p[3]; But in the Correction algorithm when calculating the byte offset location, the s1 is used as the upper part of the address. Which again reverse the order making the final byte offset address location incorrect. byteoffs = (s1 << 0) & 0x80; . . byteoffs |= (s0 >> 4) & 0x08; The order is change to read it in straight and let the correction function to revert it to SMC order. Signed-off-by: Feng Kan Acked-by: Victor Gallardo Acked-by: Prodyut Hazarika Signed-off-by: Stefan Roese commit 307ecb6db04eebdc06b8c87d48bf48d3cbd5e9d7 Author: Eric Millbrandt Date: Thu Aug 13 08:32:37 2009 -0500 Add support for USB on PSC3 for the mpc5200 Support USB on PSC3 on the mpc5200. Before this patch, enabling USB support would reconfigure PSC4 and PSC5 to USB. The mpc5200 does not support USB enabled on both the standard USB port and PSC3. This patch masks the appropriate bits when enabling USB. Signed-off-by: Eric Millbrandt Acked-by: Grant Likely Acked-by: Remy Bohmer commit 6b8548b0f7068379ad1efa4fa28725f361b2d3cd Author: Albin Tonnerre Date: Thu Aug 13 19:12:44 2009 +0200 Add driver for the ST M41T94 SPI RTC This RTC is used in some Calao boards. The driver code is taken from the linux rtc-m41t94 driver Signed-off-by: Albin Tonnerre commit 885fc78c28fbe773bcb4edc9dd0fdac05ebb5b38 Author: Albin Tonnerre Date: Thu Aug 13 15:31:12 2009 +0200 Switch from per-driver to common definition of bin2bcd and bcd2bin Signed-off-by: Albin Tonnerre Acked-by: Stefan Roese commit e84aba135ed7145299304ef550e92f08b2c99d7a Author: Albin Tonnerre Date: Thu Aug 13 15:31:11 2009 +0200 Replace BCD2BIN and BIN2BCD macros with inline functions In the process, also remove backward-compatiblity macros BIN_TO_BCD and BCD_TO_BIN and update the sole board using them to use the new bin2bcd and bcd2bin instead Signed-off-by: Albin Tonnerre Acked-by: Stefan Roese Acked-by: Detlev Zundel commit 5b53b29bc2e82b80b669f1d2402068c60d7fecd0 Author: Eric Millbrandt Date: Thu Aug 13 10:14:21 2009 -0500 Add support for the galaxy5200 Add support for the DEKA Research and Development galaxy5200 board The galaxy5200 is an Freescale mpc5200 based embedded industrial control board. Signed-off-by: Eric Millbrandt commit 0a9e4e772123fe3e2bb499d7d2160c4cfd8a3a8d Author: Mike Frysinger Date: Fri Jul 24 16:34:32 2009 -0400 unify {CONFIG_,}ENV_IS_EMBEDDED Some boards have fallen out of sync by defining CONFIG_ENV_IS_EMBEDDED manually. While it is useful to have this available to the build system, let's do it automatically rather than forcing people to opt into it. Signed-off-by: Mike Frysinger Signed-off-by: Albin Tonnerre Signed-off-by: Wolfgang Denk commit 02c9aa1d41f73fdcf8383a36cc0cbbfaf952855d Author: Robin Getz Date: Mon Jul 27 00:07:59 2009 -0400 Add md5sum and sha1 commands... Now that we have sha1 and md5 in lib_generic, allow people to use them on the command line, for checking downloaded files. Signed-off-by: Robin Getz commit 30fc5cd3116cb112d0aab7e6d7c8eef1b67ed075 Author: Wolfgang Denk Date: Tue Aug 25 12:22:38 2009 +0200 include/s3c24x0.h: fix S3C24X0_SPI_CHANNEL declaration The SPI controller on the S3C24X0 has 8 bit registers, not 32 bit. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Wolfgang Denk commit e637385e69f63bc73b9dfd2ddd8d0f383790ca28 Author: Mike Frysinger Date: Thu Aug 20 19:17:59 2009 -0400 Blackfin: fix typos in gpio comments Signed-off-by: Mike Frysinger commit c2fbcb6ae86c10621a386c13be57eaa766221ed5 Author: Harald Krapfenbauer Date: Tue Aug 18 04:49:57 2009 -0400 Blackfin: cm-bf527/cm-bf537: increase flash sectors Newer revisions of these boards have slightly larger flashes, so increase the configured number of sectors so that U-Boot works on all revisions. Signed-off-by: Harald Krapfenbauer Signed-off-by: Mike Frysinger commit a794f59a75bf9fd4a44f1ad2349cae903c42b89c Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Aug 23 14:14:52 2009 +0200 sh/rsk7203: add missing include net.h Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 6ac9f47977a9fc1876979871eeb14f26ba1bdbe6 Author: Mike Frysinger Date: Sun Aug 23 02:47:59 2009 -0400 start a linker script helper file Start a common header file for common linker script code (such as workarounds for older linkers) rather than doing this in the build system. As fallout, we no longer execute the linker every time config.mk is included by a build file (which can easily be 70+ times), but rather only execute it once. This also fixes a bug in the major version checking by creating a macro to easily compare versions and keep people from making the same common mistake (forgetting to check major and minor together). Signed-off-by: Mike Frysinger commit 2ed0869d30602eb660569eababb8fedff36bd23a Author: Mike Frysinger Date: Sat Aug 22 19:50:22 2009 -0400 Blackfin: use common code to preprocess linker script Now that the common code preprocesses the linker script, the Blackfin code no longer needs to do it. Signed-off-by: Mike Frysinger commit 4d3758c835c7e96da2a291e7fb5acfc19bc06e8e Author: Mike Frysinger Date: Sat Aug 22 19:48:56 2009 -0400 .gitignore: ignore generated u-boot.lds Signed-off-by: Mike Frysinger commit 79b91de958511840d2a7491be92d435b7ef43f17 Author: Albin Tonnerre Date: Sat Aug 22 14:21:53 2009 +0200 include/mmc.h: Fix typo in IS_SD() macro Signed-off-by: Albin Tonnerre commit 963f2f611741f8d9c38bd7caf20ae8c95cab7b3f Author: Wolfgang Denk Date: Sat Aug 22 23:27:26 2009 +0200 Prepare 2009.08-rc3 Update CHANGELOG, minor Coding Style cleanup. Signed-off-by: Wolfgang Denk commit 5b2da6a309266f21cbb68f06fcfdf9ba141022e7 Author: Michal Simek Date: Fri Aug 21 06:52:25 2009 +1000 qemu-mips: Fix Qemu website Signed-off-by: Michal Simek Signed-off-by: Michal Simek Acked-by: Shinya Kuribayashi commit 79f516bccc3cff5a5cd4b3dffb7d254e746fdbde Author: Kim Phillips Date: Fri Aug 21 16:34:38 2009 -0500 mpc83xx: accommodate larger kernel sizes by default linux mpc83xx_defconfig kernels are getting bigger, accommodate for their growth by adjusting default load and fdt addresses. Signed-off-by: Kim Phillips commit 8eceeb7fd656d6d071c0a8b615e178aca5775fff Author: Kim Phillips Date: Fri Aug 21 16:33:15 2009 -0500 mpc83xx: mpc8377erdb - change DDR settings to those from latest bsp when using Linus' 83xx_defconfig, the mpc8377rdb would hang at boot at either: NET: Registered protocol family 16 or the io scheduler cfq registered message. Fixing up these DDR settings appears to fix the problem. Signed-off-by: Kim Phillips commit 27c5248dd4c9ba4a36899689595956c5e59e349a Author: Kim Phillips Date: Fri Aug 21 16:31:20 2009 -0500 mpc83xx: tqm8349 - remove pci & flash window conflict commit 9993e196da707a0a1cd4584f1fcef12382c1c144 "mpc83xx: convert all remaining boards over to 83XX_GENERIC_PCI" remapped pci windows on tqm834x to make it more consistent with the other 83xx boards. During that time however, the author failed to realize that FLASH_BASE was occupying the same range as what PCI1_MEM_BASE was being assigned. Signed-off-by: Kim Phillips Tested-by: Wolfgang Denk commit 6d2c26ac831f033b0025cfb256365a047f8dd115 Author: Heiko Schocher Date: Fri Aug 21 16:30:30 2009 -0500 mpc83xx: add missing CSCONFIG_ODT_WR_CFG for 832x CPUs Signed-off-by: Heiko Schocher Signed-off-by: Kim Phillips commit 193b4cb3f641ed0fd9bb79b8fa4671882c50ffdb Author: Paul Gortmaker Date: Fri Aug 21 16:27:05 2009 -0500 mpc83xx: mpc8349 - delete unused SYS_MID_FLASH_JUMP This was introduced with the MPC8349EMDS board, and then copied to a couple other boards by nature of being the reference implementation. u-boot$git grep CONFIG_SYS_MID_FLASH_JUMP include/configs/MPC8349EMDS.h:#define CONFIG_SYS_MID_FLASH_JUMP 0x7F000000 include/configs/sbc8349.h:#define CONFIG_SYS_MID_FLASH_JUMP 0x7F000000 include/configs/vme8349.h:#define CONFIG_SYS_MID_FLASH_JUMP 0x7F000000 u-boot$ It currently isn't used, so delete it before it spreads further. Signed-off-by: Paul Gortmaker Signed-off-by: Kim Phillips commit c0d660fbbede322648ec79d3e39389e48f5fab24 Author: Paul Gortmaker Date: Fri Aug 21 16:21:58 2009 -0500 mpc83xx: sbc8349 - make enabling PCI more user friendly Prior to this commit, to enable PCI, you had to go manually edit the board config header, which isn't really user friendly. This adds the typical PCI make targets to the toplevel Makefile in accordance with what is being done with other boards. Signed-off-by: Paul Gortmaker Signed-off-by: Kim Phillips commit a3c5057a6c05b4c7235a270486220e4511366133 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri Aug 7 23:37:54 2009 +0200 eeprom_m95xxx: remove unused variable i Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 8cf19b9fec92d8aa22b2fe4b4e6976743b1daa51 Author: Ilya Yanok Date: Fri Jul 17 15:02:42 2009 +0400 jffs2: some fixes to summary support This patch fixes some issues with JFFS2 summary support in U-Boot. 1/ Summary support made compilation configurable (as summary support considered expiremental even in Linux). 2/ Summary code can do unaligned 16-bit and 32-bit memory accesses. We need to get data byte by byte to exclude data aborts. 3/ Make summary scan in two passes so we can safely fall back to full scan if we found unsupported entry in the summary. Signed-off-by: Ilya Yanok commit 11906936e168d12d684bb3d2930a62693ba3d84e Author: Prafulla Wadaskar Date: Mon Aug 10 18:55:54 2009 +0530 arm: rd6281a: Fixed NAND specific warning It is recommended to define the macro CONFIG_SYS_64BIT_VSPRINTF for NAND specific warning removal, same is done in this patch Signed-off-by: Prafulla Wadaskar commit b5ffb193330113d2e00489d96bf8ec1f541ed4e1 Author: Wolfgang Denk Date: Thu Aug 13 00:37:16 2009 +0200 TRAB: make independent of specific libgcc helper routines The TRAB board references local libgcc helper routines (lib_arm/div0.o and lib_arm/_umodsi3.o) which cause build problems when we try to use the normal, compiler provided libgcc instead. Removing these references allows to build both with and without the local libgcc helper routines. Signed-off-by: Wolfgang Denk commit 1aada9cd643567d351667138851e9231ccfa245a Author: Wolfgang Denk Date: Mon Aug 17 14:00:53 2009 +0200 Fix all linker scripts for older binutils versions (pre-2.16) Commit f62fb99941c6 fixed handling of all rodata sections by using a wildcard combined with calls to ld's builtin functions SORT_BY_ALIGNMENT() and SORT_BY_NAME(). Unfortunately these functions were only introduced with biunutils version 2.16, so the modification broke building with all tool chains using older binutils. This patch makes it work again. This is done by omitting the use of these functions for such old tool chains. This will result in slightly larger target binaries, as the rodata sections are no longer in optimal order alignment-wise which reauls in unused gaps, but the effect was found to be insignificant - especially compared to the fact that you cannot build U-Boot at all in the current state. As ld seems to have no support for conditionals we run the linker script through the C preprocessor which can be easily used to remove the unwanted function calls. Note that the C preprocessor must be run with the "-ansi" (or a "-std=") option to make sure all the system-specific predefined macros outside the reserved namespace are suppressed. Otherise, cpp might for example substitute "powerpc" to "1", thus corrupting for example "OUTPUT_ARCH(powerpc)" etc. Signed-off-by: Wolfgang Denk Cc: Mike Frysinger commit f772acf8a584067033eff1e231fcd1fb3a00d3d9 Author: Wolfgang Denk Date: Mon Aug 17 13:17:29 2009 +0200 ARM: compiler options cleanup - improve tool chain support For some time there have been repeated reports about build problems with some ARM (cross) tool chains. Especially issues about (in)compatibility with the tool chain provided runtime support library libgcc.a caused to add and support a private implementation of such runtime support code in U-Boot. A closer look at the code indicated that some of these issues are actually home-made. This patch attempts to clean up some of the most obvious problems and make building of U-Boot with different tool chains easier: - Even though all ARM systems basicy used the same compiler options to select a specific ABI from the tool chain, the code for this was distributed over all cpu/*/config.mk files. We move this one level up into lib_arm/config.mk instead. - So far, we only checked if "-mapcs-32" was supported by the tool chain; if yes, this was used, if not, "-mabi=apcs-gnu" was selected, no matter if the tool chain actually understood this option. There was no support for EABI conformant tool chains. This patch implements the following logic: 1) If the tool chain supports "-mabi=aapcs-linux -mno-thumb-interwork" we use these options (EABI conformant tool chain). 2) Otherwise, we check first if "-mapcs-32" is supported, and then check for "-mabi=apcs-gnu" If one test succeeds, we use the first found option. 3) In case 2), we also test if "-mno-thumb-interwork", and use this if the test succeeds. [For "-mabi=aapcs-linux" we set "-mno-thumb-interwork" mandatorily.] This way we use a similar logic for the compile options as the Linux kernel does. - Some EABI conformant tool chains cause external references to utility functions like raise(); such functions are provided in the new file lib_arm/eabi_compat.c Note that lib_arm/config.mk gets parsed several times, so we must make sure to add eabi_compat.o only once to the linker list. Signed-off-by: Wolfgang Denk Cc: Jean-Christophe PLAGNIOL-VILLARD Cc: Dirk Behme Cc: Magnus Lilja Cc: Tom Rix Cc: Prafulla Wadaskar Acked-by: Sergey Kubushyn Tested-by: Magnus Lilja Tested-by: Andrzej Wolski Tested-by: Gaye Abdoulaye Walsimou Tested-by: Tom Rix Tested-by: Jean-Christophe PLAGNIOL-VILLARD commit 269610f6ba2e4a7bc27d2e53d43160614016964f Author: Mingkai Hu Date: Thu Jul 30 17:56:51 2009 +0800 NAND boot: fix nand_load overlap issue The code copy data from NAND flash block by block, so when the data length isn't a whole-number multiple of the block size, it will overlap the rest space. Signed-off-by: Mingkai Hu Signed-off-by: Scott Wood commit 1fc1d9aed08f2b3366d634fda6712a710b2cff9a Author: Giulio Benetti Date: Fri Jul 31 17:30:34 2009 -0500 add WATCHDOG_RESET() on nand write and read Signed-off-by: giulio.benetti@micronovasrl.com Acked-by: Wolfgang Denk Signed-off-by: Scott Wood commit b1e849f2201bbbf3ca81fde164f154f9caf7f0e9 Author: Peter Tyser Date: Wed Feb 4 15:14:05 2009 -0600 tsec: Wait for auto-negotiation to complete without link Previously, waiting for auto-negotiation would only occur if a valid link had been detected. Problems arose when attempting to use a tsec immediately after bootup but before link was achieved, eg: => dhcp Auto-neg error, defaulting to 10BT/HD eTSEC1: No link. Auto-neg error, defaulting to 10BT/HD eTSEC2: No link. => With this patch applied the same operation as above resulted in: => dhcp Waiting for PHY auto negotiation to complete. done Enet starting in 1000BT/FD Speed: 1000, full duplex Signed-off-by: Peter Tyser Signed-off-by: Ben Warren commit 477fa6378fbd3e47a5e2e83d0dd3970d5b1c8371 Author: Simon Kagstrom Date: Thu Aug 20 10:14:11 2009 +0200 arm: kirkwood: See to it that sent data is 8-byte aligned U-boot might use non-8-byte-aligned addresses for sending data, which the kwgbe_send doesn't accept (bootp does this for me). This patch copies the data to be sent to a malloced temporary buffer if it is non-aligned. Signed-off-by: Simon Kagstrom Signed-off-by: Ben Warren commit cad713bf7548b9e90433dac8270165402a6c9cc3 Author: Simon Kagstrom Date: Thu Aug 20 10:13:06 2009 +0200 Wait for the link to come up on kirkwood network init This patch makes the device wait for up to 5 seconds for the link to come up, similar to what many of the other network drivers do. This avoids confusing situations where, e.g., a tftp fails when initiated early after U-boot has started (before the link has come up). Signed-off-by: Simon Kagstrom Signed-off-by: Ben Warren commit bb1ca3b27f7fba8c73cb10279a6a8b8b69a308ff Author: Simon Kagstrom Date: Thu Aug 20 10:12:28 2009 +0200 arm:kirkwood Define kirkwood phy address magic number Signed-off-by: Simon Kagstrom Signed-off-by: Ben Warren commit f81ecb5d3300bf92d17302d3712f30585c182da9 Author: Timur Tabi Date: Mon Aug 17 15:55:38 2009 -0500 e1000: fix PCI memory addressing The Intel E1000 driver was making assumptions about the relationship between some virtual, physical, and PCI addresses. Also fix some bad usage of the DEBUGOUT macro Signed-off-by: Timur Tabi Acked-by: Kumar Gala Signed-off-by: Ben Warren commit b644006e1a7baa227aedc606ecdf0bb5eeb24cab Author: Ilya Yanok Date: Wed Aug 12 16:42:48 2009 +0400 jffs2: clean the cache in case of malloc fails in build_lists We should call jffs2_clean_cache() if we return from jffs2_build_lists() with an error to prevent usage of incomplete lists. Also we should free() a local buffer to prevent memory leaks. Signed-off-by: Ilya Yanok commit 7ff66bb0be80cadd681be22a72e5eb02ee14c878 Author: Heiko Schocher Date: Wed Aug 12 10:17:03 2009 +0200 ppc: trigger WDT before starting Linux Signed-off-by: Heiko Schocher commit 918319c705d8a3d6251919a660baef32ff3a829a Author: Albin Tonnerre Date: Wed Jul 22 18:30:03 2009 +0200 Update the mtd driver name in bootargs for at91-based boards The name of the atmel nand driver in the kernel changed from at91_nand to atmel_nand back in June 2008, but the at91-based boards config files still refer to at91_nand. This patch updates them with the new name Signed-off-by: Albin Tonnerre commit 8fa656aa5289815d942ebdc26182ccb9f2b9c86f Author: Ben Goska Date: Fri Aug 14 10:03:36 2009 -0700 omap3: Fixed a problem with hwecc In commit 187af954cf7958c24efcf0fd62289bbdb4f1f24e there was a typo that offset all the ecc registers by 4 bytes, fixed that. Signed-off-by: Ben Goska Acked-by: Dirk Behme commit 514bab6609acd1a2a19fdd75c2f6255178db7c96 Author: Stefan Roese Date: Mon Aug 17 16:57:53 2009 +0200 ppc4xx: Fix "chip_config" command for AMCC Arches This patch fixes the "chip_config" command for I2C bootstrap EEPROM configuration. First it changes the I2C bootstrap EEPROM address to 0x54 as this is used on Arches (instead of 0x52 on Canyonlands/ Glacier). Additionally, the NAND bootstrap settings are removed for Arches since Arches doesn't support NAND-booting. Signed-off-by: Stefan Roese commit 4af34177b657e91263919a307fd0b0865a299e52 Author: Wolfgang Denk Date: Sun Aug 16 23:40:13 2009 +0200 Monahans: avoid floating point calculations Current code for the Monahans CPU defined OSCR_CLK_FREQ as 3.250 (MHz) which caused floating point operations to be used. This resulted in unresolved references to some FP related libgcc functions when using U-Boot's private libgcc functions. Change the code to use fixed point math only. Signed-off-by: Wolfgang Denk commit e393e2e9bc5cd3d5484e193d1380e7cd7587ab5c Author: Kumar Gala Date: Fri Aug 14 16:43:22 2009 -0500 85xx: Fix addrmap to include memory When we init the addrmap based on the TLB we will not end up getting the TLB that covers memory if we are using SPD. The reason is we haven't relocated at the point that we setup the memory TLB and thus it will not get setup in the addrmap. Instead we can just walk over the TLB array after we've relocated and see all the TLBs that have been set and use that information to populate the initial addrmap. By doing this we insure that we get the TLB entries that cover memory. Signed-off-by: Kumar Gala commit 7dedefdf749ff02c1086f7ddb8cb83a77b00d030 Author: John Schmoller Date: Wed Aug 12 10:55:47 2009 -0500 flash: Fix CFI buffer size bug Fix bug introduced by 9c048b523413ae5f3ff34e00cf57569c3368ab51. The cfi_flash.c driver cast the flash buffer size to a uchar in flash_write_cfibuffer(). On some flash parts, (tested on Numonyx part PC32F512M29EWH), the buffer size is 1KB. Remove the cast to uchar to enable buffer sizes to be larger. Signed-off-by: John Schmoller Signed-off-by: Stefan Roese commit f6e3a1fa92f61083885178101e973c86b419a6f7 Author: Mike Frysinger Date: Thu Aug 13 00:32:14 2009 -0400 trab: rename spi_init() The local board-specific spi_init() function conflicts with the common SPI layer, so rename it to something board-specific. Signed-off-by: Mike Frysinger commit 253cb831f5861358a7fa673305cdf7ded1096f44 Author: Giuseppe CONDORELLI Date: Wed Jul 29 06:05:20 2009 -0400 zlib: add watchdog reset call This patch adds watchdog reset call to allow its invokation during decompression phase. This control was present on old zlib version and here it is backported for those relevant routines. This patch is sent as a zlib separate one beacuse it was not tested due to specific board lack. zlib patches will be unified just in one when this will be validated through tests. Signed-off-by: Giuseppe Condorelli commit dce3d797102b6618e8bdd4a09cfd35969f165d86 Author: Giuseppe CONDORELLI Date: Wed Jul 29 08:05:08 2009 -0400 zlib: updated to v.1.2.3 This patch updates zlib to the latest stable version. Only relevant zlib parts were ported to u-boot tree, as already did for the current zlib (0.95). New zlib guarantees a faster inflate performances other then others improvements as explained at www.zlib.net. It also includes Alessandro Rubini's patches to allow 0 as destination pointer and to call watchdog reset if required by architecture. Signed-off-by: Giuseppe Condorelli Reviewed-by: Angelo Castello Reviewed-by: Alessandro Rubini commit 3426d65daab6af483b177ed502038f52ed2e5aef Author: Heiko Schocher Date: Tue Aug 11 10:37:58 2009 +0200 dtt, lm81: move unneccessary printf into a debug printf Signed-off-by: Heiko Schocher commit 54e399f110bbaa24e662e6dd9e88ddb86989d668 Author: Mark Jackson Date: Tue Aug 11 11:33:47 2009 +0100 MIMC200: reduce LCD pixclock The initial pixclock for the MIMC200 board is wrong (and causes screen corruption due to DMA underruns). This patch simply reduces the pixel clock to fix the problem. Signed-off-by: Mark Jackson commit 1443cd7e54d6893ab7cc51d93fe7759cdaa8b31f Author: Richard Retanubun Date: Wed Jul 1 14:04:05 2009 -0400 UEC FIXED PHY: Determine fixed-phy port using UEC interface name. Fixed a misunderstanding in the original implementation, 'devnum' that was used in the cpu/ppc4xx/4xx_enet.c implementation was NOT the PHY's SMI address, rather it was the number of the MAC interface on the CPU. The equivalent of this for uec_phy will be the UEC number stored in mii_info->dev->name. Usage example is updated for uec. Signed-off-by: Richard Retanubun Signed-off-by: Ben Warren commit 1a9519373b977ef3f7c9563ad3acb6c6f2424657 Author: Richard Retanubun Date: Wed Jul 1 14:03:15 2009 -0400 Assigned a static SMI address to all UECs TBIPA address. It is set to 0x1F by default and can be overwritten on the board header file by defining CONFIG_UTBIPAR_INIT_TBIPA. This allows the CPU to simply "reserve" one SMI address instead of using a different one for each UEC. Signed-off-by: Richard Retanubun Signed-off-by: Ben Warren commit 9fd38a01cbc0ce4a8db41f72677103ed04b23db5 Author: Prafulla Wadaskar Date: Mon Aug 10 19:43:06 2009 +0530 net: kirkwood: updates: used eth_setenv_enetaddr api eth_setenv_enetaddr is avaible by upper layer using this saves 204 bytes on total image size used Local OUI instead of Marvell OUI for random MAC address generation logic Signed-off-by: Prafulla Wadaskar Signed-off-by: Ben Warren commit ecbd2078a1f56c85b6c56afaaed862bf92ccd3f3 Author: Roy Zang Date: Tue Aug 11 03:48:05 2009 +0800 Fix E1000 build warning on AP1000 board Fix E1000 build warning on AP1000 board Fix the build warning on AP1000 board: e1000.c:131: warning: 'e1000_read_eeprom' used but never defined e1000.c:2012: warning: 'e1000_set_phy_mode' defined but not used Signed-off-by: Roy Zang Signed-off-by: Ben Warren commit b3af1d698b031e721bacaee8715d79daaf823de6 Author: Sandeep Paulraj Date: Mon Aug 10 12:24:40 2009 -0400 ARM: Davinci DM355: Enabling DM9000 on DM355 EVM Due to recent changes to the NET support on U-boot, DM9000 is no longer detected on the DM355 EVM. This minor update enables DM9000 on the DM355 EVM. Tested on the DM355 EVM Signed-off-by: Sandeep Paulraj Signed-off-by: Ben Warren commit 08c2df33f1cd5935938486e968696f94ad406313 Author: Prafulla Wadaskar Date: Mon Aug 10 19:23:19 2009 +0530 net: phy: bugfixes: mv88E61xx compiler warnings fixed 1. mv88E61xx driver compiler warnings fixed 2. idstr if-else statements changed to switch() construct and added default case too. This fixed idstr may be uninitialized warning Signed-off-by: Prafulla Wadaskar Signed-off-by: Ben Warren commit 750326e5d540885e3ec36bda9464b8269249f6ce Author: Po-Yu Chuang Date: Mon Aug 10 11:00:00 2009 +0800 arm: A320: driver for FTMAC100 ethernet controller This patch adds an FTMAC100 ethernet driver for Faraday A320 evaluation board. Signed-off-by: Po-Yu Chuang Signed-off-by: Ben Warren commit f90dc43fd67eea71124b999a7d5e617d0d86795b Author: Kumar Gala Date: Mon Aug 10 16:40:55 2009 -0500 85xx: Removed BEDBUG support from FSL 85xx boards For some reason the MPC8544 enabled BEDBUG if PCI was enabled and that got copied int the MPC8536, MPC8572 and P2020 DS boards. The BEDBUG support has never been made to work completely on e500/85xx so we just disable it to save space and match the other FSL 85xx boards. Signed-off-by: Kumar Gala commit eb1a4d0a471505c169bef19a73a60f8641f0b875 Author: Wolfgang Denk Date: Mon Aug 10 10:39:12 2009 +0200 Prepare 2009.08-rc2 Update CHANGELOG Signed-off-by: Wolfgang Denk commit 53cc18c71b2b920cca171874c6663e274fa80556 Author: Wolfgang Denk Date: Mon Aug 10 10:38:34 2009 +0200 Minor coding style cleanup. Signed-off-by: Wolfgang Denk commit d371708a1beda0f529756e614af785b30461379e Author: Wolfgang Denk Date: Mon Aug 10 09:59:10 2009 +0200 net/tftp.c: fix warning: pointer targets differ in signedness tftp.c:294: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness This was only visible for the utx8245 board which seems to have DEBUG enabled. Signed-off-by: Wolfgang Denk commit 3ed9e943fdfe51174b23989d48563b8c1b7d2ea8 Author: Dirk Behme Date: Sat Aug 8 16:06:47 2009 +0200 ARM Cortex A8: Remove bogus config.mk entries Remove bogus config.mk entry, fix newline and remove redundant omap3/config.mk Signed-off-by: Dirk Behme commit cd3dcba1422d3441503251fbc69cf2437c440781 Author: Dirk Behme Date: Sat Aug 8 12:46:09 2009 +0200 OMAP3: Fix missing GPMC_CONFIG_CS0_BASE Applying two indepenent OMAP3 patches resulted in missing GPMC_CONFIG_CS0_BASE. Patch "omap3: embedd gpmc_cs into gpmc config struct" removes GPMC_CONFIG_CS0_BASE, independent patch "omap3: bug fix for NOR boot support" introduces it's usage. Re-introduce GPMC_CONFIG_CS0_BASE. Signed-off-by: Dirk Behme commit ba3dbaf281130029ecb970a922551902c1d80b50 Author: Ilya Yanok Date: Mon Jun 8 04:12:49 2009 +0400 mxc-mmc: sdhc host driver for MX2 and MX3 proccessor This is a port of Linux driver for SDHC host controller hardware found on Freescale's MX2 and MX3 processors. Uses new generic MMC framework (CONFIG_GENERIC_MMC) and it looks like there are some problems with a framework (at least on LE cpus). Some of these problems are addressed in the following patches. Signed-off-by: Ilya Yanok commit 642d7b63c343633dcafc4e23a20e32604a05ff13 Author: Alessandro Rubini Date: Fri Aug 7 12:35:47 2009 +0200 kirkwood/gpio.h: remove duplicate definition Signed-off-by: Alessandro Rubini commit 3ac374c0f0b7d856f1a43317a286f2079106bd6a Author: Albin Tonnerre Date: Fri Aug 7 12:37:36 2009 +0200 Add driver for the ST M95xxx SPI EEPROM This chip is used in a number of boards manufactured by Calao-Systems which should be supported soon. This driver provides the necessary spi_read and spi_write functions necessary to communicate with the chip. Signed-off-by: Albin Tonnerre commit 30951960bae9a2c33e324a7165962a082e913f9e Author: Prafulla Wadaskar Date: Fri Aug 7 22:27:32 2009 +0530 arm: Sheevaplug: Fixed NAND specific warning It is recommended to define the macro CONFIG_SYS_64BIT_VSPRINTF for NAND specific warning removal, same is done in this patch Signed-off-by: Prafulla Wadaskar commit 317734966e763fdee183898c0ed940c9bada2541 Author: Josh Boyer Date: Fri Aug 7 13:53:20 2009 -0400 Dual-license IBM code contributions It was brought to our attention that U-Boot contains code derived from the IBM OpenBIOS source code originally provided with some of the older PowerPC 4xx development boards. As a result, the original license of this code has been carried in the various files for a number of years in the U-Boot project. IBM is dual-licensing the IBM code contributions already present in U-Boot under either the terms of the GNU General Public License version 2, or the original code license already present. Signed-off-by: Josh Boyer commit cfd700be9f5ed289fd57a9bd61e266319badcb0d Author: Kumar Gala Date: Wed Aug 5 09:03:54 2009 -0500 fdt: Fix fdt_pci_dma_ranges handling of 64-bit ranges If the size of a region equal to 4G it can't be represnted in a 32-bit BAR so we should have marked that case as MEM64. Additionally bump the number of inbound windows up to 4 to handle the fact that Freescale PPCs that have an implicit window for CCSRBAR. Signed-off-by: Kumar Gala commit 59b4d7471c42e955bd9846892a0cc7478171778d Author: Wolfgang Denk Date: Thu Aug 6 21:29:59 2009 +0200 ARM EABI: add new helper functions resp. function names The ARM EABI defines new names for GCC helper functions, and GCC seems to need some new functions as well. This patch is a minimal-invasive approach to fix problems with EABI conformant tool chains (to be used with "USE_PRIVATE_LIBGCC=yes"). Signed-off-by: Wolfgang Denk Tested-by: Dirk Behme commit 197324d7d998a791e5137b8176981b4af25220ae Author: Peter Tyser Date: Wed Aug 5 16:18:44 2009 -0500 hush: Fix bogus free() call An off-by-one error in hush.c resulted in an unintentional free() call every time a command was executed Signed-off-by: Peter Tyser commit ff27650bb255e2275a212357b78c3b77cbf1d2e9 Author: Detlev Zundel Date: Wed Aug 5 18:37:45 2009 +0200 digsy_mtc: Update default environment Signed-off-by: Detlev Zundel commit 0b40bd439a33bde9e3cccf1acb5744225d0c6103 Author: Detlev Zundel Date: Wed Aug 5 18:37:44 2009 +0200 digsy_mtc: Add delay in SPI transfers to the companion controller. While at it, remove initialization of variables which will be set before usage in all cases. Signed-off-by: Detlev Zundel commit 0bf00750e082a004e5fb058925622ae72890cc56 Author: Anatolij Gustschin Date: Wed Aug 5 18:37:43 2009 +0200 digsy_mtc: minor fixes for mtc command help Add mtc state subcommand description to the help of mtc command. Remove some newlines in description of commands for proper help formating. Signed-off-by: Anatolij Gustschin commit 5cc69084189bf49aa99d13d57515be72d1844bdf Author: Grzegorz Bernacki Date: Wed Aug 5 18:37:42 2009 +0200 digsy_mtc: Add mtc state command. Signed-off-by: Grzegorz Bernacki commit 716655288a53c95fad203ebf21d0b8ffdc2f7525 Author: Wolfgang Denk Date: Tue Jul 28 22:35:39 2009 +0200 Partition support: remove newline from partition name Remove bogus newline character that got added to the .name field of the disk_partition_t structure. Signed-off-by: Wolfgang Denk commit 3f1649fb0dfb1e5c8890de154c332c394db5cdb5 Author: Luigi 'Comio' Mantellini Date: Tue Jul 28 09:33:17 2009 +0200 Fix LZMA string.h header inclusion issue and remove unused variables. Signed-off-by: Luigi 'Comio' Mantellini commit 1c6232f1e2eae87e0e36d489611eb6891dff21e1 Author: Jens Scharsig Date: Mon Jul 27 15:28:42 2009 +0200 bus_vcxk.c: fix warning: unused variable 'lineptr' Signed-off-by: Jens Scharsig commit 18304f7675e84252965b4e24cba279071f1da472 Author: Mike Frysinger Date: Fri Jul 24 17:51:27 2009 -0400 env: kill off default_environment_size The only environment type that uses this variable is spi flash, and that is only because it is reimplementing the common set_default_env() function. So fix the spi flash code and kill off the default_environment_size in the process. Signed-off-by: Mike Frysinger commit bedd8403f77f790e9876578885eab1200ba2f8d8 Author: Mike Frysinger Date: Thu Jul 23 16:37:48 2009 -0400 export SPI functions to standalone apps While we're here, fix the broken #ifdef handling in _exports.h. Signed-off-by: Mike Frysinger commit 3b9043a7c03290c9bdbef03848307263f5f3472c Author: Penda Naveen Kumar Date: Fri Jul 31 00:06:36 2009 +0530 omap3: bug fix for NOR boot support This patch provides bug fix, when omap3 uses nor boot. Signed-off-by: Penda Naveen Kumar Acked-by: Dirk Behme commit 61c68ae0b43bb5d6ab32958c45289aa197b1a2d1 Author: Michael Evans Date: Mon Jul 13 20:13:45 2009 +0100 Fix examples for OMAP3 boards... The attached patch corrects an error in the examples/Makefile which causes the applications in the examples directory to hang on OMAP3 based boards. The current Makefile sets -Ttext during linking to 0x0c100000 which is outside of addressable SDRAM memory. The script corrects the existing ifeq...else...endif logic to look at the VENDOR tag rather than the CPU tag. The patch affects the following configs: omap3_beagle_config, omap3_overo_config, omap3_evm_config, omap3_pandora_config, omap3_zoom1_config and omap3_zoom2_config. Signed-off-by: Michael Evans Edited commit message. Signed-off-by: Wolfgang Denk commit a3d1421dfd0bb1a729e171f8a093ac837f92cec6 Author: Dirk Behme Date: Sat Aug 8 09:30:23 2009 +0200 omap3: use only fixed-size types inside ctrl_structs replace variable types in ctrl_structs for omap3 by those with fixed size (u8, u16, u32). Additional ifndef-protection is needed by examples which do not compile when including asm/types.h Signed-off-by: Matthias Ludwig Signed-off-by: Dirk Behme commit 894113529e3a04871544dde977d6d7adee05d3bf Author: Dirk Behme Date: Sat Aug 8 09:30:22 2009 +0200 omap3: replace all instances of gpmc config struct by one global Signed-off-by: Matthias Ludwig Signed-off-by: Dirk Behme commit 97a099eaa48d5c762c4f73c52c3090c513b8b877 Author: Dirk Behme Date: Sat Aug 8 09:30:21 2009 +0200 omap3: remove typedefs for configuration structs Signed-off-by: Matthias Ludwig Signed-off-by: Dirk Behme commit aa0707897c49c330b7d6b8d8362e44f60f224732 Author: Roy Zang Date: Fri Jul 31 13:34:02 2009 +0800 Add Intel E1000 PCIE card support Based on Intel PRO/1000 Network Driver 7.3.20-k2 Add Intel E1000 PCIE card support. The following cards are added: INTEL_82571EB_COPPER INTEL_82571EB_FIBER, INTEL_82571EB_SERDES INTEL_82571EB_QUAD_COPPER INTEL_82571PT_QUAD_COPPER INTEL_82571EB_QUAD_FIBER INTEL_82571EB_QUAD_COPPER_LOWPROFILE INTEL_82571EB_SERDES_DUAL INTEL_82571EB_SERDES_QUAD INTEL_82572EI_COPPER INTEL_82572EI_FIBER INTEL_82572EI_SERDES INTEL_82572EI INTEL_82573E INTEL_82573E_IAMT INTEL_82573L INTEL_82546GB_QUAD_COPPER_KSP3 INTEL_80003ES2LAN_COPPER_DPT INTEL_80003ES2LAN_SERDES_DPT INTEL_80003ES2LAN_COPPER_SPT INTEL_80003ES2LAN_SERDES_SPT 82571EB_COPPER dual ports, 82572EI single port, 82572EI_COPPER single port PCIE cards and 82545EM_COPPER, 82541GI_LF pci cards are tested on both P2020 board and MPC8544DS board. Signed-off-by: Roy Zang Signed-off-by: Ben Warren commit 86848a74c3c8eb2f8dd179d039ee604dc45288cf Author: Mike Frysinger Date: Wed Jul 15 21:31:28 2009 -0400 net: sync env ethaddr to device enetaddr in eth_init() In the previous enetaddr refactoring, the assumption with commit 56b555a644 was that the eth layer would handle the env -> device enetaddr syncing. This was not the case as eth_initialize() is called only once and the sync occurs there. So make sure the eth_init() function does the env -> device sync with every network init. Reported-by: Andrzej Wolski Signed-off-by: Mike Frysinger Signed-off-by: Ben Warren commit 0ebf04c607b54a352629dcf7e76b76f1785dae54 Author: Robin Getz Date: Thu Jul 23 03:01:03 2009 -0400 minor debug cleanups in ./net Minor ./net cleanups - no functional changes - change #ifdef DEBUG printf(); #endif to just debug() - changed __FUNCTION__ to __func__ - got rid of extra whitespace between function and opening brace - removed unnecessary braces on if statements gcc dead code elimination should make this functionally/size equivalent when DEBUG is not defined. (confirmed on Blackfin, with gcc 4.3.3). Signed-off-by: Robin Getz Signed-off-by: Ben Warren commit 187af954cf7958c24efcf0fd62289bbdb4f1f24e Author: Matthias Ludwig Date: Tue May 19 09:09:31 2009 +0200 omap3: embedd gpmc_cs into gpmc config struct Embedd chip select configuration into struct for gpmc config instead of having it completely separated as suggested by Wolfgang Denk on http://lists.denx.de/pipermail/u-boot/2009-May/052247.html Signed-off-by: Matthias Ludwig commit 06bffc6ea52d4b390843d295d438b2037d12e5fd Author: David Brownell Date: Thu Jul 16 18:40:55 2009 -0700 rm9200 lowevel_init: don't touch reserved/readonly registers For some reason the AT91rm9200 lowlevel init writes to a bunch of reserved or read-only addresses. All the boards seem to define the value-to-be-written values as zero ... but they shouldn't actually be writing *anything* there. No documented erratum justifies these accesses. It looks like maybe some pre-release BDI-2000 setup code has been carried along by cargo cult programming since at least late 2004 (per GIT history). Here's a patch disabling what seems to be bogosity. Tested on a csb337; there were no behavioral changes. Signed-off-by: David Brownell on RM9200ek Tested-by: Jean-Christophe PLAGNIOL-VILLARD commit 301b7db88fbdf7d118efb79b371b2527a2c31868 Author: David Hunter Date: Thu Jul 30 14:32:49 2009 -0700 pxa: Fix typo in GCDR(x) Fix a typo in the GCDR(x) macro. It's a good thing no one was using it. Signed-off-by: David Hunter commit 3c448e648221879ae0e030e94508b4f9f63b7ab8 Author: Eric Benard Date: Sat Jul 18 23:45:15 2009 +0200 Add AT91SAM9260 to at91's lowlevel_init.S Needed for AT91SAM9260 NOR Boot on Eukrea's CPU9260. Signed-off-by: Eric Benard commit 56bdfa961242fc6acaeebc800640a12b28db3899 Author: Dirk Eibach Date: Thu Jul 30 09:36:33 2009 +0200 ppc4xx: Remove check for PPC460EX from CompactCenter Signed-off-by: Dirk Eibach Signed-off-by: Stefan Roese commit c3fa4f0c8684c862ecd3fb622fab1e17e44e82e1 Author: Stefan Roese Date: Wed Jul 29 08:46:10 2009 +0200 ppc4xx: Add support for PPC460EX/460GT rev B chip to AMCC Canyonlands This patch is based on a diff created by Phong Vo from AMCC. Signed-off-by: Phong Vo Signed-off-by: Stefan Roese commit 89bcc4875007ef6608297dc11e7a0d1fbd9900d2 Author: Stefan Roese Date: Wed Jul 29 08:45:27 2009 +0200 ppc4xx: Add basic support for AMCC PPC460EX/460GT rev B chips This patch is based on a diff created by Phong Vo from AMCC. Signed-off-by: Phong Vo Signed-off-by: Stefan Roese commit 82a7edc7ea8f5fe55fed4ff7e127469569e539c4 Author: Stefan Roese Date: Tue Jul 28 15:12:04 2009 +0200 ppc4xx: Canyonlands-NAND-boot: Support 2 Crucial 512MByte SODIMM's Some Canyonlands boards are equipped with different SODIMM's. This is no problem with the "normal" NOR booting Canyonlands U-Boot, since it automatically detects the SODIMM's via SPD data and correctly configures them. But the NAND booting version is different. Here we only have 4k of image size to completely setup the hardware, including DDR2 setup. So we need to use a fixed DDR2 setup here. This doesn't work for different SODIMM's right now. Currently only this Crucial SODIMM is support: CT6464AC667.8FB (dual ranked) Now some boards are shipped with this SODIMM: CT6464AC667.4FE (single ranked) This patch now supports both SODIMM's by configuring first for the dual ranked DIMM. A quick shows, if this module is really installed. If this test fails, the DDR2 controller is re-configured for the single ranked SODIMM. Tested with those SODIMM's: CT6464AC667.8FB (dual ranked) CT6464AC667.4FE (single ranked) Signed-off-by: Stefan Roese commit 27dd5f8e1062684f1ba685760409d9b2ab6691bf Author: Stefan Roese Date: Tue Jul 28 10:56:03 2009 +0200 ppc4xx: amcc: Move "kernel_addr_r" etc to higher locations (> 16MB) This patch moves the load addresses for kernel, fdt and ramdisk to higher addresses (>= 16MB). This enables booting of bigger kernel images (e.g. lockdep enabled). Signed-off-by: Stefan Roese commit 6942efc2be1b90054fa4afa5cda7023469fe08b9 Author: Stefan Roese Date: Tue Jul 28 10:50:32 2009 +0200 ppc4xx: amcc: Set CONFIG_SYS_BOOTMAPSZ to 16MB for big kernels This patch changes CONFIG_SYS_BOOTMAPSZ from 8MB to 16MB which is the initial TLB on 40x PPC's in the Linux kernel. With this change even bigger Linux kernels (> 8MB) can be booted. This patch also sets CONFIG_SYS_BOOTM_LEN to 16MB (default 8MB) to enable decompression of bigger images. Signed-off-by: Stefan Roese commit 901be89a27e11b2627c132ee87c7761bd6886091 Author: Heiko Schocher Date: Tue Jul 28 14:53:44 2009 +0200 83xx, kmeter1, fix: update in the DTS the correct size for the first flash When updating the "reg" in the "/localbus/flash@f0000000,0" node size was wrong updated for the first flash, because the total size was filled in, instead of the right size for it. Signed-off-by: Heiko Schocher Signed-off-by: Kim Phillips commit 4c2e3da82dc2b7f8b39b7f1d57f570e4bc5caa6d Author: Kumar Gala Date: Tue Jul 28 21:49:52 2009 -0500 Update Freescale copyrights to remove "All Rights Reserved" "All Rights Reserved" conflicts with the GPL. Signed-off-by: Kumar Gala commit bb4291e62579dbc611e84eaaf973631e0bf129c7 Author: Alessandro Rubini Date: Fri Jul 24 11:27:14 2009 +0200 arm nomadik: add i2c Signed-off-by: Alessandro Rubini Acked-by: Andrea Gallo Acked-by: Jean-Christophe PLAGNIOL-VILLARD commit 60cbfbfd0fbebb4682f10ba96f622bfe17317598 Author: Alessandro Rubini Date: Fri Jul 24 11:27:03 2009 +0200 arm nomadik: add gpio support Signed-off-by: Alessandro Rubini Acked-by: Andrea Gallo Acked-by: Jean-Christophe PLAGNIOL-VILLARD commit 549b98306d897ae5991362d6096a36df50efe686 Author: Tom Rix Date: Sun Jun 28 12:52:32 2009 -0500 OMAP3 Remove twl4030 defines These defines have been subplanted by the equivelent defines in include/twl4030.h Signed-off-by: Tom Rix Acked-by: Jean-Christophe PLAGNIOL-VILLARD Acked-by: Heiko Schocher commit fccc0fcaaae5154612f8259365d26d04f204859f Author: Tom Rix Date: Sun Jun 28 12:52:31 2009 -0500 OMAP3 Move twl4030 mmc function Because twl4030 now has its own device files, move and rename twl4030_mmc_config. twl4030_mmc_config initializes the twl4030 power setting to the mmc device. Because it is in the twl4030 power domain, move it out of drivers/mmc/omap3_mmc.c and into drivers/power/twl4030.c. The function was renamed to twl4030_power_mmc_init because all the functions in this file are to have the format twl4030_power__ In this case the suffix is mmc_init so device : mmc action : init Signed-off-by: Tom Rix Acked-by: Jean-Christophe PLAGNIOL-VILLARD Acked-by: Heiko Schocher commit 2c15513010493435c78f83202940ac3be11de2c3 Author: Tom Rix Date: Sun Jun 28 12:52:30 2009 -0500 OMAP3 Move twl4030 power and led functions Because twl4030 now has its own device files, move exiting omap3 power_init_r to a new location. power_init_r is the only function in board/omap3/common. It initializes the twl4030 power for the board and enables the led. The power part of the the function is moved to twl4030_power_init in drivers/power/twl4030.c The power compilation is conditional on the existing config variable CONFIG_TWL4030_POWER. The led part is moved to twl4030_led_init in the new file drivers/misc/twl4030_led.c The led compilation is conditional on the new config variable CONFIG_TWL4030_LED The directory board/omap3/common was removed because power_init_r was the only function in it. Signed-off-by: Tom Rix Acked-by: Jean-Christophe PLAGNIOL-VILLARD Acked-by: Heiko Schocher commit 3cb7a4805fc8fb4c09e4801e1c7d531186f20190 Author: Wolfgang Denk Date: Tue Jul 28 22:13:52 2009 +0200 TQM8xx* boards: set larger SMC Rx buffer len Commit 2b3f12c2 added support for configurable SMC Rx buffer length on 8xx systems. Enable this feature on TQM8xx* based boards. This fixes the problem that pasting text in the middle of a line (i. e. inserting in edit mode) did not work - only the first two characters got inserted, the rest was lost. Signed-off-by: Wolfgang Denk commit 4b7511478b62a539e5b066d19a986b75e5d9a527 Author: Wolfgang Denk Date: Tue Jul 28 22:07:37 2009 +0200 Fix ext2load return code Make the ext2load command return 0 on success (instead of the file length). Also fix output format (get rid of random newlines) and some coding style issues (long lines etc.). Signed-off-by: Wolfgang Denk commit 56fdaadc124a8ef9ec0fd8ff578233ec3b1137be Author: Weirich, Bernhard Date: Wed Jun 10 14:00:37 2009 +0200 ext2: fix inode size and calculations Signed-off-by: unsik Kim Signed-off-by: Bernhard Weirich Signed-off-by: Wolfgang Denk Tested-by: Wolfgang Denk commit cd7826359ee71e8f6f3d68331930ab9cbe1c990e Author: Tom Rix Date: Sun Jun 28 12:52:29 2009 -0500 TWL4030 Add power reset button The Zoom2 power reset button is on the top right side of the main board. Press and hold for about to 8 seconds to completely reset the board. Some of the beta boards have a hardware problem that prevents using this feature. If is difficult to further characterize the boards that fail. So disable resetting for all beta boards. The Zoom1 reset button is the red circle on the top right, front of the board. Press and hold the button for 8 seconds to completely reset the board. After analyzing beagle, it was determined that other boards that use the twl4030 for power managment can also make use this function. The resetting is done by the power management part of the twl4030. Since there is no existing drivers/power, add one. The compilation of power/twl4030.h is controlled by the config variable CONFIG_TWL4030_POWER Signed-off-by: Tom Rix Acked-by: Jean-Christophe PLAGNIOL-VILLARD Acked-by: Heiko Schocher commit 8966eb4c1c2d894b2a76174ba904c26c5af815b8 Author: Tom Rix Date: Sun Jun 28 12:52:28 2009 -0500 TWL4030 Add initial support The TWL4030 supplies many peripherals for OMAP3 boards. These include power management, usb and, keyboard. The product description is found here: http://focus.ti.com/docs/prod/folders/print/tps65950.html Product reference document, tps65950.pdf, is found here: http://www.ti.com/lit/gpn/tps65950 Signed-off-by: Tom Rix Acked-by: Jean-Christophe PLAGNIOL-VILLARD Acked-by: Heiko Schocher commit 7f79dfb48b7419d5caa1cf932fcff4e2fb7040af Author: Tom Rix Date: Sun Jun 28 12:52:27 2009 -0500 OMAP I2C Fix the sampling clock. This problem is seen on Zoom1 and Zoom2 in the startup and when i2c probe is used Before : In: serial Out: serial Err: serial timed out in wait_for_bb: I2C_STAT=1000 timed out in wait_for_bb: I2C_STAT=1000 timed out in wait_for_bb: I2C_STAT=1000 timed out in wait_for_pin: I2C_STAT=1000 I2C read: I/O error timed out in wait_for_bb: I2C_STAT=1000 timed out in wait_for_bb: I2C_STAT=1000 Die ID #327c00020000000004013ddd05026013 Hit any key to stop autoboot: 0 OMAP3 Zoom1# i2c probe Valid chip addresses:timed out in wait_for_bb: I2C_STAT=1000 02 03 04 05 06 07 08 09 0A 0B 0C 0D After : In: serial Out: serial Err: serial Die ID #327c00020000000004013ddd05026013 Hit any key to stop autoboot: 0 OMAP3 Zoom1# i2c probe Valid chip addresses: 48 49 4A 4B The addresses are for the twl4030. The prescalar that converts the function clock to the sampling clock is hardcoded to 0. The reference manual recommends 7 if the function clock is 96MHz. Instead of just changing the hardcoded values, the prescalar is calculated from the value I2C_IP_CLK. The i2c #defines are in kHz. The speed passed into the i2c init routine is in Hz. To be consistent, change the defines to be in Hz. The timing calculations are based on what is done in the linux 2.6.30 kernel in drivers/i2c/buses/i2c_omap.c as apposed to what is done in TRM. The major variables in the timing caculations are specified as #defines that can be overriden as required. The variables and their defaults are I2C_IP_CLK SYSTEM_CLOCK_96 I2C_INTERNAL_SAMPLING_CLK 19200000 I2C_FASTSPEED_SCLL_TRIM 6 I2C_FASTSPEED_SCLH_TRIM 6 I2C_HIGHSPEED_PHASE_ONE_SCLL_TRIM I2C_FASTSPEED_SCLL_TRIM I2C_HIGHSPEED_PHASE_ONE_SCLH_TRIM I2C_FASTSPEED_SCLH_TRIM I2C_HIGHSPEED_PHASE_TWO_SCLL_TRIM I2C_FASTSPEED_SCLL_TRIM I2C_HIGHSPEED_PHASE_TWO_SCLH I2C_FASTSPEED_SCLH_TRIM This was runtime verified on Zoom1, Zoom2, Beagle and Overo. The 400kHz and 3.4M cases were verifed on test Zoom1, Zoom2, Beagle and Overo configurations. Testing for omap2 will be done in a second step as Nishanth and Jean-Christophe commented. Signed-off-by: Tom Rix Acked-by: Jean-Christophe PLAGNIOL-VILLARD Acked-by: Heiko Schocher commit 4ce5a72851ff2960543b125866c6132e0094e1ee Author: Heiko Schocher Date: Mon Jul 20 09:59:37 2009 +0200 arm, i2c: added support for the TWSI I2C Interface Signed-off-by: Heiko Schocher commit 042d01c72e0ea95731708dd24bb8b6cf42e75c80 Author: Stefan Roese Date: Mon Jul 27 09:13:38 2009 +0200 ppc4xx: Fix problem with NOR range assignment in Canyonlands ft_board_setup This patch fixes the problem, that the current fdt board fixup code only set's one range, the one for NOR. By this it's overwriting the already correctly configured values done in __ft_board_setup(). Just remove this now unneeded NOR fixup and all the ranges are correctly defined. Signed-off-by: Stefan Roese Cc: Dirk Eibach Cc: Felix Radensky commit 11a1604f8d0a8d936b42f6435d004b4aa33a5d87 Author: Stefan Roese Date: Mon Jul 27 07:42:48 2009 +0200 ppc4xx: Add some NAND-booting bootstrap entries to Kilauea chip_config cmd This patch adds some I2C bootstrap setting for NAND booting to the Kilauea chip_config command ("533-nand" and "600-nand"). Additionally some incorrectly indented lines are fixed. Signed-off-by: Stefan Roese commit 5b34691ff87821891375b28ec5bcf5154575a735 Author: Stefan Roese Date: Mon Jul 27 07:42:37 2009 +0200 ppc4xx: Kilauea: Fix SDRAM init in NAND booting version DDR2 Auto-calibration needs to be disabled on the NAND booting PPC4xx targets. Otherwise the configured fixed init values for some DDR2 controller registers (e.g. RQDC) are not initialized at all resulting in a non working SDRAM. Signed-off-by: Stefan Roese commit f3ed3c9b7441cde936d06a1ff7b1490ff0d600e6 Author: Stefan Roese Date: Mon Jul 27 10:53:43 2009 +0200 ppc4xx: Fix Arches DDR2 initialization Testing on AMCC Arches with the latest U-Boot version yielded that DDR2 initialization is currently broken. U-Boot hangs upon relocation to SDRAM or crashes with random traps. This patch fixes this problem. Arches now uses a different WRDTR and CLKTR default setting than Canyonlands/Glacier. Signed-off-by: Stefan Roese commit ab4c62c1ba788bf7f673a985d99a76d9c2fd7eca Author: Dirk Eibach Date: Mon Jul 27 08:49:48 2009 +0200 ppc4xx: Add GDsys CompactCenter board support. Board support for the Guntermann & Drunck CompactCenter and DevCon-Center. Based on the AMCC Canyonlands board support by Stefan Roese. Signed-off-by: Dirk Eibach Signed-off-by: Stefan Roese commit c2e49f706ba13213f3c8da3a33e88010214e1997 Author: Reinhard Arlt Date: Sat Jul 25 06:19:12 2009 +0200 mpc83xx: Add esd VME8349 board support This patch adds support for the esd VME8349 board equipped with the MPC8349. It's a VME PMC carrier board equipped with the Tundra TSI148 VME-bridge. Signed-off-by: Reinhard Arlt Signed-off-by: Stefan Roese Signed-off-by: Kim Phillips commit fe613cdd4eb2c5b257a60d8dfb7759742318c28a Author: Paul Gortmaker Date: Thu Jul 23 17:10:55 2009 -0400 sbc8349: combine HRCW flash and u-boot image flash Up to this point in time, the sbc8349 board was storing the u-boot image in flash 2x. One for the HRCW value at the beginning of flash (0xff80_0000), and once close to the end of flash (0xfff8_0000) for the actual image that got executed. This moves the TEXT_BASE to be the beginning of flash, which makes the second copy of the image redundant, and frees up the flash from the end of the environment storage to the end of the flash device itself. Signed-off-by: Paul Gortmaker Signed-off-by: Kim Phillips commit be9b56df02168ca97562d6b9ec791136e4cd925a Author: Kim Phillips Date: Thu Jul 23 14:09:38 2009 -0500 mpc83xx: CONFIG_83XX_GENERIC_PCI is now synonymous with CONFIG_PCI; remove the former Signed-off-by: Kim Phillips commit 94978e19f31d225b4f7d97c4acbac1ecfaeb8f69 Author: Wolfgang Denk Date: Mon Jul 27 10:37:37 2009 +0200 Prepare 2009.08-rc1 (again, after fixing last minute issues). Update CHANGELOG Signed-off-by: Wolfgang Denk commit 9689ddcca6e01f3637b4442fa8575f29ef4d7aa3 Author: Wolfgang Denk Date: Mon Jul 27 10:06:39 2009 +0200 cpu/arm920t/start.S: include to have ROUND() defined Commit fcd3c87e made include/common.h usable by assembler code but failed to update cpu/arm920t/start.S Signed-off-by: Wolfgang Denk commit c9ed38cb6de50fdb4aaa60b668c555002903b211 Author: Wolfgang Denk Date: Mon Jul 27 10:01:11 2009 +0200 at91cap9adk: fix #ifdef/#endif pairing (2nd try) Commit 7024aa14 was supposed to fix the #ifdef/#endif pairing in include/configs/at91cap9adk.h, but did not cate all problems. Signed-off-by: Wolfgang Denk commit fb364bec5f29164d3ee681fcd9d187be8435db12 Author: Wolfgang Denk Date: Mon Jul 27 09:58:14 2009 +0200 Fix include/common.h for boards with CONFIG_STATUS_LED The reordering of include/common.h by commit fcd3c87e495f3c48 broke boards with status LED support, resulting in error: #error Status LED configuration missing errors. Undo this reordering to avoid this issue. Signed-off-by: Wolfgang Denk commit 942828a0980b3cea7db698784cc7f6a3e7740b2b Author: Wolfgang Denk Date: Mon Jul 27 09:19:15 2009 +0200 ABI: fix build problems due to now needed div64 routine. Signed-off-by: Wolfgang Denk commit 85d6bf0bdc8ccad2d67a9160472f6f8c6bb482fb Author: Wolfgang Denk Date: Mon Jul 27 08:50:59 2009 +0200 PMC405DE: fix out of tree building Signed-off-by: Wolfgang Denk commit 10c7604d021949464b1e4ba903df95e6b2f0d2ff Author: Wolfgang Denk Date: Mon Jul 27 00:24:55 2009 +0200 Prepare 2009.08-rc1 Update CHANGELOG, minor coding style fix. Signed-off-by: Wolfgang Denk commit fafbb2c3e4b35b60ca303ed2ad1c6cf400cd9a22 Author: rhabarber1848@web.de Date: Fri Jul 24 08:16:30 2009 +0200 add WATCHDOG_RESET to allow LZMA kernel decompression on slow machines Signed-off-by: rhabarber1848@web.de commit 3c972849f2becbf19c13a24f090d293f37ecf616 Author: Niklaus Giger Date: Thu Jul 23 23:31:58 2009 +0200 Less verbose output when loading vxworks 6.x images Loading vxWorks 5.x images resulted just into 3 or 4 lines of output. With vxWorks 6.x and the new GCC it emits about 30 lines, which is far too noisy in my opinion. Signed-off-by: Niklaus Giger commit fcd3c87e495f3c48b70c919869fb1e0b93d4880b Author: Wolfgang Denk Date: Fri Jul 24 00:17:48 2009 +0200 Make include/common.h usable by assembler code Commit 70ebf316 factored out the ROUND() macro into include/common.h, not realizing that the primary use of this macro on AT91 systems was in start.S where common.h was not included, and could not be included because it contains a lot of C code which the assembler doesn't understand. This patch wraps such code in common.h in a "#ifndef __ASSEMBLY__" construct, and then adds an include to cpu/arm926ejs/start.S thus solving the problem. Signed-off-by: Wolfgang Denk commit deec15b3064d3bb0189aede3c2921fd7ee401a0f Author: Heiko Schocher Date: Thu Jul 23 13:27:04 2009 +0200 arm: add _lshrdi3.S Signed-off-by: Heiko Schocher commit 52b1bf2c5cd2f8af880dab503d0039b35570665b Author: Wolfgang Denk Date: Thu Jul 23 13:15:59 2009 +0200 Make linking against libgcc configurable Many (especially ARM) tool chains seem to come with broken or otherwise unusable (for the purposes of builing U-Boot) run-time support libraries `libgcc.a'. By using the "USE_PRIVATE_LIBGCC" setting we allow to use alternative libraries instead. "USE_PRIVATE_LIBGCC" can either be set as an environment variable in the shell, or as a command line argument when running "make", i. e. $ make USE_PRIVATE_LIBGCC=yes or $ USE_PRIVATE_LIBGCC=yes $ export USE_PRIVATE_LIBGCC $ make The value of "USE_PRIVATE_LIBGCC" is the name of the directory which contains the alternative run-time support library `libgcc.a'. The special value "yes" selects the directory $(OBJTREE)/lib_$(ARCH) . Note that not all architectures provide an alternative `libgcc.a' in their lib_$(ARCH) directories - so far, only ARM does. Signed-off-by: Wolfgang Denk Cc: Jean-Christophe PLAGNIOL-VILLARD Cc: Prafulla Wadaskar cc: Stefan Roese commit 479105065d965121f57b55dcfe83a940cba46ac1 Author: Dirk Behme Date: Wed Jul 22 17:51:56 2009 +0200 Use do_div from div64.h for vsprintf Use do_div from div64.h for vsprintf in case of 64bit division. For 32bit division, do_div from div64.h can't be used as it needs a 64bit parameter. Signed-off-by: Dirk Behme Acked-by: Stefan Roese CC: Simon Kagstrom commit 48287792384a93d77d43aaaa1c06cac275bbe1bb Author: Kyungmin Park Date: Mon Jul 20 09:47:47 2009 +0900 Fix compiler warnings after loff_t change Now 'env_addr' type is loff_t so use correct field type. Signed-off-by: Kyungmin Park commit 9c67352f727a5b5eff531c852f9cff59fcb17f7f Author: Wolfgang Denk Date: Sun Jul 26 23:28:02 2009 +0200 Revert "ppc: Unlock cache-as-ram in a consistent manner" This reverts commit 982adfc610669482a32127282fe489857a92cfe3. This patch causes problems on MPC83xx boards - flash recognition stops working. Signed-off-by: Wolfgang Denk commit 35cf3b57eafe3ee1f693e24267e0ecfefab60251 Author: Jens Scharsig Date: Fri Jul 24 10:31:48 2009 +0200 update the EB+MCF-EV123 board support This patch updates the support for EB+MCF-EV123 board and needs the [PATCH 1/2 V3] new video driver for bus vcxk framebuffers * remove the board framebuffer driver * use the common bus_vcxk framebuffer driver * adds bmp support * adds splashimage support * fix serveral cosmetical errors Signed-off-by: Jens Scharsig [agust@denx.de: fixed some style issues before applying] Signed-off-by: Anatolij Gustschin commit 04538cdb752eeea8fd23cf7ac3394439f189fb77 Author: Anatolij Gustschin Date: Sun Jul 26 12:05:25 2009 +0200 video: bus_vcxk.c: fix style issues added by 50217dee Signed-off-by: Anatolij Gustschin commit 50217deeb07911d686790d34d468eb9a5245f68d Author: Jens Scharsig Date: Fri Jul 24 10:09:02 2009 +0200 new video driver for bus vcxk framebuffers This patch adds a new video driver * adds common bus_vcxk framebuffer driver Signed-off-by: Jens Scharsig [agust@denx.de: fixed lots of style issues before applying] Signed-off-by: Anatolij Gustschin commit 60e97419246d0a3615758ad6af40680aefb5f7f1 Author: Alessandro Rubini Date: Tue Jul 21 14:09:45 2009 +0200 lcd.h: define extern vidinfo_t for all cases include/lcd.h has different vidinfo for different platforms, and several extern declaration, but one for the default case was missing. This makes them a single extern declaration for everyone. Signed-off-by: Alessandro Rubini commit bcf0b5248952c6b03081dc5cc4ff9e0b2299c5fa Author: Anatolij Gustschin Date: Sun Jul 26 11:04:59 2009 +0200 mimc200.c: fix too long lines added by f68378d6 Signed-off-by: Anatolij Gustschin commit f68378d60a905d43155f2e89bf81999d3c93a90a Author: Mark Jackson Date: Tue Jul 21 11:35:22 2009 +0100 Add LCD support to MIMC200 board This patch updates the MIMC200 files to enable the LCD. Signed-off-by: Mark Jackson commit 69f32e6c24d41fcdf347ff64e9c13b25059ace58 Author: Mark Jackson Date: Tue Jul 21 11:18:44 2009 +0100 Add 16bit colour support in lcd.h This patch adds support for LCD_COLOR16 in include/lcd.h. Signed-off-by: Mark Jackson commit bdc873ea063b8cc6d44c6ab748b7723a97d8d7b3 Author: Anatolij Gustschin Date: Sun Jul 26 10:34:58 2009 +0200 lib_avr32/board.c: fix too long line added by 716ece1d Signed-off-by: Anatolij Gustschin commit 716ece1de9a7d43a61d8698ac41b71b64f66f9e9 Author: Mark Jackson Date: Tue Jul 21 11:11:37 2009 +0100 Add AVR32 LCD support This patch adds support for the AVR32 LCD controller. This patch is based off the latest u-boot-video. A quick summary of what's going on:- Enable LCDC pixel clock Enable LCDC port pins Add framebuffer pointer to global_data struct Allocate framebuffer To use the new code, update your board config to include something like this:- #define CONFIG_LCD 1 #if defined(CONFIG_LCD) #define CONFIG_CMD_BMP #define CONFIG_ATMEL_LCD 1 #define LCD_BPP LCD_COLOR16 #define CONFIG_BMP_16BPP 1 #define CONFIG_FB_ADDR 0x10600000 #define CONFIG_WHITE_ON_BLACK 1 #define CONFIG_VIDEO_BMP_GZIP 1 #define CONFIG_SYS_VIDEO_LOGO_MAX_SIZE 262144 #define CONFIG_ATMEL_LCD_BGR555 1 #define CONFIG_SYS_CONSOLE_IS_IN_ENV 1 #define CONFIG_SPLASH_SCREEN 1 #endif The standard U-Boot BMP and Splash-screen features should just work. Signed-off-by: Mark Jackson [agust@denx.de: fixed some style issues] Signed-off-by: Anatolij Gustschin commit 6111722a9281c6e04a7304d502556afff6a5a1f8 Author: Alessandro Rubini Date: Sun Jul 19 17:52:27 2009 +0200 video: move extern declarations from C to headers This moves some extern declaration from lcd.c to lcd.h, removing unneeded ifdef around a pair of them. Additionally, since gunzip_bmp() was declared static in cmd_bmp.c but extern in lcd.c, I removed the static. The extra "#include " in cmd_bmp.c is added to ensure the header is consistent with the source. This has been compile-tested on both ARM (at91 boards) and PowerPC (HH405_config, TQM823L_LCD_config, mcc200_config), to test all use combinations. Signed-off-by: Alessandro Rubini [agust@denx.de: removed gunzip_bmp() fixes as commit c01171ea did it] Signed-off-by: Anatolij Gustschin commit f51e001143c58447eb50e7aefa2b09eb4cc1410c Author: Mike Frysinger Date: Thu Jul 23 16:26:58 2009 -0400 Blackfin: restore EVT1 handling in linker script Sadly, the Blackfin linker script unification lost a small #ifdef logic needed on older parts. Restore that CONFIG_BFIN_BOOTROM_USES_EVT1 logic. Signed-off-by: Mike Frysinger commit f33b325af666b12eafa9ab235b2cd59832d6e51c Author: Wolfgang Denk Date: Fri Jul 24 14:24:07 2009 +0200 Revert "zlib: updated to v.1.2.3" This reverts commit b201171f2b4d509f3ad510b214bee70ff902e3d6. The commit caused problems for example when unpacking kernel images: Uncompressing Kernel Image ... Error: inflate() returned -2 GUNZIP: uncompress, out-of-mem or overwrite error - must RESET board to recover Conflicts: include/u-boot/zlib.h lib_generic/zlib.c Signed-off-by: Wolfgang Denk commit 4b1389e0ceb19e9b50b96fd3908483a6c2274fb0 Author: Stefan Roese Date: Tue Jul 21 14:06:29 2009 +0200 ppc4xx: Add chip_config command to AMCC Kilauea eval board This patch removes the "alterpll" command and replaces it with the now ppc4xx standard "chip_config" command to configure the I2C bootstrap EEPROM. Signed-off-by: Stefan Roese commit f6af8ce0c80327cb6aaa347642026ad838335c23 Author: Stefan Roese Date: Tue Jul 21 14:33:52 2009 +0200 ppc4xx: Fix EEPROM configuration on Kilauea Kilauea has an AT24C02 EEPROM which has an 8 byte page. Without defining CONFIG_SYS_EEPROM_PAGE_WRITE_BITS to 3 the "eeprom" command doesn't work correctly. Additionally the page write delay (CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS) is set to a more defensive value of 10ms. Signed-off-by: Stefan Roese commit 99d8b23bc7e2be04fcbf49c5cec9f5ae76df290c Author: Matthias Fuchs Date: Wed Jul 22 13:56:21 2009 +0200 ppc4xx: Add 405EP based PMC405DE board Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit da799f66ad1d4fc36dd20cc2d7e584493fda8546 Author: Matthias Fuchs Date: Mon Jul 20 12:15:38 2009 +0200 ppc4xx: Add struct for 4xx GPIO controller registers Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit 58ea142fb2e969f32306c8da1dabfaebd6fa141a Author: Matthias Fuchs Date: Wed Jul 22 17:27:56 2009 +0200 ppc4xx: Replace 4xx lowercase SPR references Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit 87c0b72908e05662b8b415e26e1042f4779629da Author: Stefan Roese Date: Mon Jul 20 06:57:27 2009 +0200 Add "chip_config" command for PPC4xx bootstrap configuration This patch adds a generic command for programming I2C bootstrap eeproms on PPC4xx. An implementation for Canyonlands board is included. The command name is intentionally chosen not to be PPC4xx specific. This way other CPU's/SoC's can implement a similar command under the same name, perhaps with a different syntax. Usage on Canyonlands: => chip_config Available configurations (I2C address 0x52): 600-nor - NOR CPU: 600 PLB: 200 OPB: 100 EBC: 100 600-nand - NAND CPU: 600 PLB: 200 OPB: 100 EBC: 100 800-nor - NOR CPU: 800 PLB: 200 OPB: 100 EBC: 100 800-nand - NAND CPU: 800 PLB: 200 OPB: 100 EBC: 100 1000-nor - NOR CPU:1000 PLB: 200 OPB: 100 EBC: 100 1000-nand - NAND CPU:1000 PLB: 200 OPB: 100 EBC: 100 1066-nor - NOR CPU:1066 PLB: 266 OPB: 88 EBC: 88 *** 1066-nand - NAND CPU:1066 PLB: 266 OPB: 88 EBC: 88 => chip_config 600-nor Using configuration: 600-nor - NOR CPU: 600 PLB: 200 OPB: 100 EBC: 100 done (dump via 'i2c md 52 0.1 10') Reset the board for the changes to take effect Other 4xx boards will be migrated to use this command soon as well. Signed-off-by: Stefan Roese Signed-off-by: Dirk Eibach Acked-by: Matthias Fuchs commit 10c1b218556ed9871f36bc0c407f4f2f6196353b Author: Peter Tyser Date: Fri Jul 17 19:01:16 2009 -0500 xpedite1k: Move to X-ES vendor directory The XPedite1000 is an X-ES product thus it can be put in board/xes along with other X-ES boards. Along with the move, the board was renamed to XPedite1000 from XPedite1K to fit X-ES's standard naming convention. Maintainership was also transfered to Peter Tyser. Signed-off-by: Peter Tyser Signed-off-by: Stefan Roese commit 54381b79d268e1bead5d78ed8423df31a3cb0e2c Author: Peter Tyser Date: Fri Jul 17 19:01:15 2009 -0500 xpedite1k: Sync checkboard() with other X-ES boards Signed-off-by: Peter Tyser Signed-off-by: Stefan Roese commit 9b4ef1f5dc0daab64f46249a32e67279c4d44fd2 Author: Peter Tyser Date: Fri Jul 17 19:01:14 2009 -0500 xpedite1k: Sync up board config options with other X-ES boards Signed-off-by: Peter Tyser Signed-off-by: Stefan Roese commit 4cdad5f43ae67e4ceeac69ef4af4392bd2f7381f Author: Peter Tyser Date: Fri Jul 17 19:01:13 2009 -0500 xpedite1k: Sync organization of board config with other X-ES boards This change should have no functional effect Signed-off-by: Peter Tyser Signed-off-by: Stefan Roese commit c4ae1a0257a0f5008ee2686e8aa92fba3992f279 Author: Peter Tyser Date: Fri Jul 17 19:01:12 2009 -0500 xpedite1k: Sync up commands and environment with other X-ES boards Signed-off-by: Peter Tyser Signed-off-by: Stefan Roese commit fbc7951ea84c2fe6da0f6007b672ed35bae91acb Author: Peter Tyser Date: Fri Jul 17 19:01:11 2009 -0500 xpedite1k: Disable unused ethernet port 1 The XPedite1000 only has 2 available ethernet ports: ppc_4xx_eth2 (EMAC2) and ppc_4xx_eth3 (EMAC3) Signed-off-by: Peter Tyser Signed-off-by: Stefan Roese commit 767e32ad369d83f55f950e6938e68b6dba7fa65f Author: Peter Tyser Date: Fri Jul 17 19:01:10 2009 -0500 xpedite1k: Store environment in flash Previously an I2C EEPROM was used. The EEPROM had size, reliability, and access issues which are resolved by storing the environment in flash. Signed-off-by: Peter Tyser Signed-off-by: Stefan Roese commit b88da157f9990cd2cb081e4faea4b9581b5d0e2f Author: Peter Tyser Date: Fri Jul 17 19:01:09 2009 -0500 xpedite1k: Add support for additional GPIO pins Enable GPIO pins for an I2C EEPROM write protect, a system reset pin, and a PMC #MONARCH pin. These pins are not currently used in U-Boot, but are used in OSes and may be used in U-Boot in the future. Signed-off-by: Peter Tyser Signed-off-by: Stefan Roese commit 42735815dd9ba39efe51203868aebce04053c8de Author: Peter Tyser Date: Fri Jul 17 19:01:08 2009 -0500 xpedite1k: Add support for optional flashes The XPedite1000 can be built with 4 total flashes: - 512KB AMD socketed - 16MB Intel soldered - 2 x 32MB AMD MirrorBit flashes Add support for the optional 2 32MB CFI-compliant AMD flashes Signed-off-by: Peter Tyser Signed-off-by: Stefan Roese commit e02990764c7415c84668823a0fc8c5b4dd8d8cf0 Author: Peter Tyser Date: Fri Jul 17 19:01:07 2009 -0500 xpedite1k: Cleanup coding style Signed-off-by: Peter Tyser Signed-off-by: Stefan Roese commit 086ff34a3a7e5e595630d658c1c13778399452d1 Author: Peter Tyser Date: Fri Jul 17 19:01:06 2009 -0500 xpedite1k: Remove support for reading MACs from EEPROM By default, the XPedite1000 comes installed with xMon, a proprietary bootloader. xMon stores its MAC address in an onboard EEPROM. Rather than requiring a non-standard location in the EEPROM to be reserved for MAC addresses, store the MAC addresses in U-Boot's standard environment. A U-Boot application or OS application can be used to migrate xMon MAC addresses to U-Boot's environment if necessary. Signed-off-by: Peter Tyser Signed-off-by: Stefan Roese commit 108d6d0099372f9f6532c3198fbaacabc121c9b3 Author: Peter Tyser Date: Fri Jul 17 19:01:05 2009 -0500 xpedite1k: Remove support for fixed SDRAM configuration All XPedite1000's have SPD EEPROMs present and no fixed configuration parameters are currently defined or used Signed-off-by: Peter Tyser Signed-off-by: Stefan Roese commit c86d00a2ed923002f1ab0bfb0a925522628302e9 Author: Peter Tyser Date: Fri Jul 17 19:01:04 2009 -0500 xpedite1k: Remove CONFIG_SYS_DRAM_TEST support POST or command line tests provide similar functionality Signed-off-by: Peter Tyser Signed-off-by: Stefan Roese commit 11ad309c183b176d8866944026a63c0f1c626f56 Author: Peter Tyser Date: Fri Jul 17 19:01:03 2009 -0500 xpedite1k: Use standard CFI flash driver Using the CFI flash driver will allow write access to the 16MB Intel StrataFlash present on the XPedite1000. The 512KB socketed (non CFI-compliant flash) will no longer be writable. The mapping of the 16MB Strata flash was moved to 0xff000000 and the 512KB AMD socketed flash was moved to 0xfe000000. Signed-off-by: Peter Tyser Signed-off-by: Stefan Roese commit d4d2e79bb433fc7ec18c68cc49cc6b7433d1320c Author: Matthias Fuchs Date: Thu Jul 16 22:13:57 2009 +0200 ppc4xx: Cleanup PLU405 board code Some Coding style cleanup (braces, whitespaces, long lines) Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit b209a114829dc8a7a0e39a9335b6e4aebf9742cb Author: Dirk Eibach Date: Fri Jul 17 14:16:40 2009 +0200 ppc4xx: Add DL-Vision 405EP board support Board support for the Guntermann & Drunck DL-Vision. Signed-off-by: Dirk Eibach Signed-off-by: Stefan Roese commit 9b1b8c8a1bf52e9b65e1958e5205838576066cbc Author: Dirk Eibach Date: Fri Jul 10 14:47:32 2009 +0200 ppc4xx: Fix missing freqOPB for 405EP In cpu/ppc4xx/speed.c initialization of sysInfo->freqOPB for 405EP was left out for no obvious reason. Signed-off-by: Dirk Eibach Signed-off-by: Stefan Roese commit 0a371ca08908c9b2a58171223a79bffea1f7c6f5 Author: Stefan Roese Date: Tue Jul 14 15:53:08 2009 +0200 ppc4xx: Fix TLB reset problem with recent 44x images Patch d873133f [ppc4xx: Add Sequoia RAM-booting target] broke "normal" booting on some 44x platforms. This breakage is only noticed in some cases while powercycling. As it seems, the code in question in start.S didn't invalidate TLB #0. This makes sense since this TLB is used for the bootrom mapping. With the patch mentioned above even TLB #0 got invalidated resulting in an error later on. This patch now fixes this issue by only invalidating TLB #0 in the RAM- booting case. Tested succesfully on Sequoia and Canyonlands. Signed-off-by: Stefan Roese Cc: Dirk Eibach commit 44259bb9e696d22bf1773181111855a29f00cf33 Author: Prafulla Wadaskar Date: Fri Jul 17 19:56:30 2009 +0530 usb: bugfix driver/usb/host/ehci-hcd.c function ehci_submit_root This change is cheked in Linux source and fix found to be in sync. This patch is tested for USB host interface on Kirkwood based Sheevaplug platform (ARM little endian board) Risk: the impact of this patch is not validated on big endian board. This need to be checked... Signed-off-by: Prafulla Wadaskar Signed-off-by: Remy Bohmer commit 28958b8bea4c66629c5a22fd3c8b0d49df90383d Author: Wolfgang Denk Date: Thu Jul 23 22:23:23 2009 +0200 Coding Style cleanup; update CHANGELOG. Signed-off-by: Wolfgang Denk commit 2632c008e2c2cd61fefb622ed671ea3e6bd2e2a6 Author: Mike Frysinger Date: Tue Jul 21 22:59:36 2009 -0400 autoconf.mk: include before config.mk for top level files By including autoconf.mk before config.mk, all top level files can use any config options it sets up (like _config.mk) or the Makefile itself without being forced to use lazy evaluation. commit c01171eaecc963d2c1f56a0984a0cbcdd8a3ab3c Author: Mark Jackson Date: Tue Jul 21 11:30:53 2009 +0100 Remove static declaration from gunzip_bmp() This patch removes the static declaration from gunzip_bmp() Without it, the gunzip_bmp() function is not visible to common/lcd.c and fails to compile with an error. Signed-off-by: Mark Jackson commit 2d4a43e230a3c8bfd03b9beaa0eb2a95e779c03b Author: Peter Tyser Date: Mon Jul 20 21:51:38 2009 -0500 cmd_tsi148: General cleanup - Fix command help message - Disable DEBUG by default - Fix whitespace issues - Fix lines > 80 characters Signed-off-by: Peter Tyser Acked-by: Stefan Roese commit 9aef73888509d10193615ee5cd9cf439ca44e937 Author: Mike Frysinger Date: Sun Jul 19 15:17:03 2009 -0400 unify HOST_CFLAGS and HOSTCFLAGS The top build system sets up HOSTCFLAGS a bit and exports it, but other places use HOST_CFLAGS instead. Unify the two as HOSTCFLAGS so that the values stay in sync. Signed-off-by: Mike Frysinger commit 2e9393f500065f940e5e4ac7fe375e4c0b77b936 Author: Wolfgang Denk Date: Thu Jul 23 21:16:59 2009 +0200 Update CHANGELOG Signed-off-by: Wolfgang Denk commit e3b39f84e974df70065fa248f0f63993b1708c9d Author: André Schwarz Date: Fri Jul 17 14:50:24 2009 +0200 update config for mvBC-P (MPC5200) This patch adds I2C support for mvBC-P and defines flash layout matching the shipped product. Signed-off-by: André Schwarz commit cb6d0b72c2c4f13c0075a7ae92e11682ec94a311 Author: Kumar Gala Date: Mon Jul 13 09:24:00 2009 -0500 ahci: Fix gcc 4.4 compiler warning ahci.c: In function 'ata_scsiop_read_capacity10': ahci.c:616: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Kumar Gala commit 51d91e1a253c97713c7f3e5c0b910a4db4979283 Author: Kumar Gala Date: Mon Jul 13 09:23:59 2009 -0500 drivers/bios_emulator: Fix gcc 4.4 compiler warning biosemu.c: In function 'BE_setVGA': biosemu.c:147: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Kumar Gala commit f97ec30bb3c5a4a456159eb2b75b3bc68772bf2a Author: Detlev Zundel Date: Mon Jul 13 16:01:19 2009 +0200 Re-add support for image type 'Standalone Program' Support for this type was lost during the bootm refactoring. Signed-off-by: Detlev Zundel commit ca95c9df0280f40e8e4befadbaae21fa67d92331 Author: Detlev Zundel Date: Mon Jul 13 16:01:18 2009 +0200 Add error checking for unsupported OS types. Signed-off-by: Detlev Zundel commit 982adfc610669482a32127282fe489857a92cfe3 Author: Peter Tyser Date: Fri Jul 10 18:46:10 2009 -0500 ppc: Unlock cache-as-ram in a consistent manner Previously, non-e500 architectures only unlocked their data cache which was used as early RAM when booting to Linux using the "bootm" command. This change causes all PPC boards with CONFIG_SYS_INIT_RAM_LOCK defined to unlock their data cache during U-Boot's initialization. This improves U-Boot performance and provides a common cache state when booting to different OSes. Signed-off-by: Peter Tyser commit b201171f2b4d509f3ad510b214bee70ff902e3d6 Author: Giuseppe CONDORELLI Date: Thu Jul 23 04:54:45 2009 -0400 zlib: updated to v.1.2.3 This patch updates zlib to the latest stable version. Only relevant zlib parts were ported to u-boot tree, as was done for the previously used version of zlib (0.95). New zlib gives faster inflate performance and other improvements, see www.zlib.net Signed-off-by: Giuseppe Condorelli Reviewed-by: Angelo Castello Edited commit message Signed-off-by: Wolfgang Denk commit 97cfe86163505ea18e7ff7b71e78df5bb03dad57 Author: Robin Getz Date: Tue Jul 21 12:15:28 2009 -0400 Save server's MAC address in environment Linux's netconsole works much better when you can pass it the MAC address of the server. (otherwise it just uses broadcast, which everyone else on my network complains about :) This sets the env var "serveraddr" (to match ethaddr), so that you can pass it to linux with whatever bootargs you want to.... addnetconsole=set bootargs $(bootargs) netconsole=@$(ipaddr)/eth0,@$(serverip)/$(serveraddr) Signed-of-by: Robin Getz Signed-off-by: Ben Warren commit 0b23fb368d08c9669fac647971ff249c3f9fee8f Author: Ilya Yanok Date: Tue Jul 21 19:32:21 2009 +0400 fec_mxc: driver for FEC ethernet controller on i.MX27 Signed-off-by: Ilya Yanok Signed-off-by: Ben Warren commit 0544c63681d2ea3607faf374e9c56f101e365b42 Author: Alessio Centazzo Date: Sat Jul 11 11:56:06 2009 -0700 ppc4xx: Fixed compilation warning in 4xx_enet.c This patch fixes a compilation warning for some Ethernet PHY-less PPC4xx platforms (440SPE based ones) and a potential compilation error for 440SP platforms (use of undefined 'ethgroup' variable). In the original code and in case of 440SPE platforms, 'ethgroup' is initialized to -1 and never modified. Later in the function, within an #ifdef statement, an 'if statement' executes code only if 'ethgroup' is set to 4, therefore it is harmless to avoid executing the 'if statement' by removing the CONFIG_440SPE from the affected #ifdefs. In case of 440SP platforms with on-board Ethernet PHY, 'ethgroup' is undefined but used (there are not such platforms in the repository yet). All other architectures are not affected by this change. Signed-off-by: Alessio Centazzo acpatin@yahoo.com Acked-by: Stefan Roese Signed-off-by: Ben Warren commit 09133f8580f0106429ba3600f1855bd3577ae58b Author: Michael Zaidman Date: Tue Jul 14 23:37:12 2009 +0300 DHCP regression on 2009-06 Fixed the DHCP/BOOTP/RARP regression introduced in u-boot-2009.06 by initializing our IP addr to 0 in order to accept any IP addr assigned to us by the DHCP/BOOTP/RARP server. Ack-by: Robin Getz Signed-off-by: Michael Zaidman Signed-off-by: Ben Warren commit 443ce4ac9d1138ae5ae6863b2d40a96fd6edf523 Author: Prafulla Wadaskar Date: Thu Jul 16 20:58:02 2009 +0530 net: phy: bugfixes: mv88E61xx multichip addressing support With these fixes, this driver works properly for multi chip addressging mode Bugfixes: 1. Build error fixed for function mv88e61xx_busychk_multic-fixed 2. PHY dev address error detection- fixed 3. wrong busy bit was refered in function mv88e61xx_busychk -fixed 4. invalid data read ptr was refered for RD_PHY in case of multichip addressing mode -fixed The Multichip Address mode is tested with RD6281A board having MV88E6165 switch on it Signed-off-by: Prafulla Wadaskar Signed-off-by: Ben Warren commit 16025ea45539219f2a7c750c6f0ae983ea5c2737 Author: Simon Kagstrom Date: Wed Jul 8 13:05:11 2009 +0200 arm: Kirkwood: Check the error summary bit for error detection The Marvell documentation for the 88f6281 states that the error coding is only valid if the error summary and last frame bits in the transmit descriptor status field are set. This patch adds checks for these for transmit (I would get transmit errors on bootp with the current check, which I believe are spurious). Signed-off-by: Simon Kagstrom Signed-off-by: Ben Warren commit 7b05f5e027b81cd3a9a41c6c6d3fe09c72fa93f6 Author: Simon Kagstrom Date: Wed Jul 8 13:03:18 2009 +0200 arm: Kirkwood: Fix compiler optimization bug for kwgbe_send kwgbe_send/recv both have loops waiting for the hardware to set a bit. GCC 4.3.3 cleverly optimizes the send case to ... a while(1); loop. This patch uses readl to force a read from device memory. Other volatile accesses have also been replaced with readl/writel where appropriate (as per suggestions on the U-boot mailing list). Signed-off-by: Simon Kagstrom Signed-off-by: Ben Warren commit 3f6b18ffd94621625de961bc566022b0266790f5 Author: Richard Retanubun Date: Thu Jul 2 13:21:22 2009 -0400 MIIPHYBB: Return 0xFFFF if the PHY is not asserting TA. This patch sets the returned value to 0xFFFF if the PHY does not exist and does not assert Transfer Acknowledge. A NULL check for the value pointer is also added for buffer overflow protection. Without this patch 'mii info' will show 'phantom' devices because the value will be not be initialized and return with some random value. Signed-off-by: Richard Retanubun Signed-off-by: Ben Warren commit 736fead8fdbf8a8407048bebc373cd551d01ec98 Author: Ben Warren Date: Mon Jul 20 22:01:11 2009 -0700 Convert SMC911X Ethernet driver to CONFIG_NET_MULTI API All in-tree boards that use this controller have CONFIG_NET_MULTI added Also: - changed CONFIG_DRIVER_SMC911X* to CONFIG_SMC911X* - cleaned up line lengths - modified all boards that override weak function in this driver - added Signed-off-by: Ben Warren Tested-by: Mike Frysinger commit 3bd0a877b74b9c005ae7cb892480ccedfa308c20 Author: Ben Warren Date: Fri Jul 17 00:50:15 2009 -0700 Add warning about upcoming removal of old Ethernet API Signed-off-by: Ben Warren commit b7fe25d2a8d1cede401d09e1f9c84f8fe47bdbb1 Author: Poonam Aggrwal Date: Thu Jul 2 16:15:13 2009 +0530 P2020RDB Added support of Vitesse PHYs VSC8641(RGMII) and VSC8221(SGMII) These PHYs are on P2020RDB platform. Also revamped Freescale copyright message in drivers/net/tsec.c. Signed-off-by: Poonam Aggrwal Signed-off-by: Ben Warren commit 1a32bf41881b5dbe3119cb77a33572b4d462cabf Author: Robin Getz Date: Mon Jul 20 14:53:54 2009 -0400 Add DNS support On 04 Oct 2008 Pieter posted a dns implementation for U-Boot. http://www.mail-archive.com/u-boot-users@lists.sourceforge.net/msg10216.html > > DNS can be enabled by setting CFG_CMD_DNS. After performing a query, > the serverip environment var is updated. > > Probably there are some cosmetic issues with the patch. Unfortunatly I > do not have the time to correct these. So if anybody else likes DNS > support in U-Boot and has the time, feel free to patch it in the main tree. Here it is again - slightly modified & smaller: - update to 2009-06 (Pieter's patch was for U-Boot 1.2.0) - README.dns is added - syntax is changed (now takes a third option, the env var to store the result in) - add a random port() function in net.c - sort Makefile in ./net/Makefile - dns just returns unless a env var is given - run through checkpatch, and clean up style issues - remove packet from stack - cleaned up some comments - failure returns much faster (if server responds, don't wait for timeout) - use built in functions (memcpy) rather than byte copy. Signed-off-by: Robin Getz Signed-off-by: Pieter Voorthuijsen Signed-off-by: Ben Warren commit 88ad3fd91c83a4343b25385fd78fd8e29ebb723f Author: Kim Phillips Date: Fri Jul 17 12:17:00 2009 -0500 net: tsec - fix dereferencing type-punned pointer will break strict-aliasing rules warning fix this gcc 4.4 warning: tsec.c: In function 'tsec_init': tsec.c:200: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Kim Phillips Signed-off-by: Ben Warren commit d9bec9f42ab34383737c8a94429aa02fe76d7946 Author: Mike Frysinger Date: Sat Jul 18 21:04:08 2009 -0400 net: rename NetRxPkt to NetRxPacket The net code is mostly consistent in using 'Packet' rather than 'Pkt', so rename the minor detractor to follow suite. Signed-off-by: Mike Frysinger Signed-off-by: Ben Warren commit 88a4c2e77cd5674db745d0c2ebbad68c9baf760c Author: Nobuhiro Iwamatsu Date: Thu Jun 25 16:33:04 2009 +0900 sh: sh_eth: Remove garbage from printf Signed-off-by: Nobuhiro Iwamatsu CC: Nobuhiro Iwamatsu Signed-off-by: Ben Warren commit 2ea20efa47da9d98ff38223ff51dea5439ad8708 Author: Andreas Pretzsch Date: Thu Jul 9 21:50:05 2009 +0200 smc911x: add support for LAN9221 Signed-off-by: Andreas Pretzsch Signed-off-by: Ben Warren commit 7168eba729b9e6d730db7cd1028767f7b1a6128b Author: David Brownell Date: Tue Jun 9 11:14:24 2009 -0700 rm9200 ethernet driver: board-specific quirk (csb337) CSB337 boards originally shipped with MicroMonitor, not U-Boot; and with a version using a different convention for recording Ethernet addresses than anyone else. To avoid breaking Linux when it uses U-Boot, have it use the same convention on that hardware. Signed-off-by: David Brownell Signed-off-by: Ben Warren commit 57215cd2e59fd403248df8f2f195e382900d5fc2 Author: Heiko Schocher Date: Thu Jul 16 09:58:31 2009 +0200 arm, kirkwood: added kw_gpio_set_valid() in gpio.h Signed-off-by: Heiko Schocher commit ec16441085f471c03a8c0909579463e31e5b947a Author: Dieter Kiermaier Date: Mon Jun 29 14:45:08 2009 +0200 Kirkwood: add Marvell Kirkwood gpio driver Signed-off-by: Dieter Kiermaier Acked-by: Prafulla Wadaskar Tested-by: Heiko Schocher commit 688b6a0ff2dcbb0c7e63ef63cbbcc291f14f321f Author: Heiko Schocher Date: Thu Jul 16 09:59:10 2009 +0200 arm, kirkwood: added KW_TWSI_BASE in kirkwood.h Signed-off-by: Heiko Schocher commit fbc8365ad7ab0afd4143bdbffab2fd0b24df004f Author: Prafulla Wadaskar Date: Thu Jul 16 21:02:24 2009 +0530 Marvell RD6281A Board support This is Marvell's 88F6281_A0 based reference design board This patch is tested for- 1. Boot from DRAM/NAND flash/NFS 2. File transfer using tftp and loadb 3. NAND flash read/write/erase Signed-off-by: Prafulla Wadaskar Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 2906e6d654fcc7f2451fde225e4e8b3f20c9555f Author: Piotr Ziecik Date: Fri Jul 17 16:35:19 2009 +0200 api: Fix broken build on ARM. This patch fixes broken build introduced by commit 84bf7ca522e94ec402a1264b01971b924b7e268f (api: remove un-needed ifdef CONFIG_API already handle by the Makefile). Signed-off-by: Piotr Ziecik commit 48677a1ef5f82adca49145a7baf11ece77f51945 Author: Wolfgang Denk Date: Wed Jul 22 23:53:23 2009 +0200 Fix "ld: cannot find -lstubs" build error Commit 1bc15386 moved the examples/ to examples/standalone but failed to adapt the Makefiles that need to link against libstubs.a Signed-off-by: Wolfgang Denk Cc: Signed-off-by: Peter Tyser commit ae71121a111ddf9dd057cacbbdd0f51054be428a Author: Wolfgang Denk Date: Sat Jul 18 20:47:36 2009 +0200 at91cap9adk: fix #ifdef/#endif pairing The #ifdef/#endif pairing in this file was obviously messed up. Signed-off-by: Wolfgang Denk commit 6b96a20d512b04a808438553874c00cf40812c44 Author: Minkyu Kang Date: Mon Jul 20 11:40:01 2009 +0900 ARM Cortex A8: Move OMAP3 specific reset handler Because of the reset_cpu is soc specific, should be move to soc Cc: Dirk Behme Signed-off-by: Minkyu Kang commit 048e7efe91f66094f868281c12e488ce2bae8976 Author: Kumar Gala Date: Wed Jul 22 10:12:39 2009 -0500 85xx/86xx: Replace in8/out8 with in_8/out_8 on FSL boards The pixis code used in8/out8 all over the place. Replace it with in_8/out_8 macros. Signed-off-by: Kumar Gala commit 0a6d0c6320b77bd6572393a93e6b8ccdf39c7100 Author: Peter Tyser Date: Tue Jul 21 13:51:08 2009 -0500 xpedite5370: Enable NAND command support Use the MPC8572's eLBC to access 1 GB (or greater) onboard NAND flash via the 'nand' command. Previously, the XPedite5370's NAND chip selects were properly configured, but NAND support was not enabled. Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit 39121c0896a6760bd436d88c17892f49a97902d0 Author: Peter Tyser Date: Tue Jul 21 13:51:07 2009 -0500 xes: Increase CONFIG_SYS_BOOTM_LEN to 16MB Increasing CONFIG_SYS_BOOTM_LEN from 8 MB to 16 MB is necessary to support uncompressing images larger than 8 MB when using the bootm command. Note that recent Linux kernels for the 85xx and 86xx map greater than 16MB of memory on bootup, but we use 16MB to maintain compatibility with older Linux kernels for now. Signed-off-by: Nate Case Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit 58f31b602dfd52eb7836ab82caa587514e046f02 Author: Peter Tyser Date: Sun Jul 19 19:17:41 2009 -0500 xpedite5370: Fix I2C GPIO initialization typo Signed-off-by: Peter Tyser Acked-by: Heiko Schocher Signed-off-by: Kumar Gala commit 5ff821006c6e7647d183ea95817044943bb22e7e Author: Peter Tyser Date: Sun Jul 19 19:17:40 2009 -0500 xpedite5200,5370: Use buffered NOR flash writes Buffered writes are possible on the XPedite5200 and XPedite5370 and greatly improve NOR flash write speeds Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit d9c147f371800a479a507a816b2fe572c97da197 Author: Peter Tyser Date: Fri Jul 17 10:14:48 2009 -0500 85xx, 86xx: Add common board_add_ram_info() Previously, 85xx and 86xx boards would display DRAM information on bootup such as: ... I2C: ready DRAM: Memory controller interleaving enabled: Bank interleaving! 2 GB FLASH: 256 MB ... This patch moves the printing of the DRAM controller configuration to a common board_add_ram_info() function which prints out DDR type, width, CAS latency, and ECC mode. It also makes the DDR interleaving information print out in a more sane manner: ... I2C: ready DRAM: 2 GB (DDR2, 64-bit, CL=4, ECC on) DDR Controller Interleaving Mode: bank FLASH: 256 MB ... Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit 12a440ae6d09445140f1a0c2023dba76a9f1a617 Author: Peter Tyser Date: Fri Jul 17 10:14:47 2009 -0500 tqm85xx: Remove board_add_ram_info() This is in preparation for adding one common 8xxx board_add_ram_info() function for all 8xxx boards Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit ed2c9488bbe389b7b25cada1e42bdae5d0976327 Author: Peter Tyser Date: Fri Jul 17 10:14:46 2009 -0500 xes: Remove 8xxx board_add_ram_info() function This is in preparation for adding one common 8xxx board_add_ram_info() fuction for all 8xxx boards Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit e7ee23ec1788d8cf269a4cf6b9cd3722cbc7d592 Author: Peter Tyser Date: Fri Jul 17 10:14:45 2009 -0500 86xx: Rename ccsr_ddr's sdram_mode_1, sdram_cfg_1 fields Rename sdram_mode_1 to sdram_mode and sdram_cfg_1 to sdram_cfg to match the 86xx user's manual and other Freescale architectures Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit f6155c6fbb1d85f517b7c160570f0995ef14c43f Author: Roy Zang Date: Thu Jul 9 10:05:48 2009 +0800 85xx: Add pci/pcie E1000 ethernet support for MPC8544DS and MPC8536 boards Signed-off-by: Roy Zang Signed-off-by: Kumar Gala commit 6bb5b412291177e6edd42f9a80e5c5afe57a6a0f Author: Kumar Gala Date: Tue Jul 14 22:42:01 2009 -0500 85xx: Report which "bank" of NOR flash we are booting from on FSL boards The p2020DS, MPC8536DS, MPC8572DS, MPC8544DS boards are capable of swizzling the upper address bits of the NOR flash we boot out of which creates the concept of "virtual" banks. This is useful in that we can flash a test of image of u-boot and reset to one of the virtual banks while still maintaining a working image in "bank 0". The PIXIS FPGA exposes registers on LBC which we can use to determine which "bank" we are booting out of (as well as setting which bank to boot out of). Signed-off-by: Kumar Gala commit 9af9c6bdc16da53772c56b1a79c2c91701fe94e6 Author: Kumar Gala Date: Wed Jul 15 13:45:00 2009 -0500 86xx: Report which "bank" of NOR flash we are booting from on MPC8641HPCN The MPC8641HPCN board is capable of swizzling the upper address bit of the NOR flash we boot out of which creates the concept of "virtual" banks. This is useful in that we can flash a test of image of u-boot and reset to one of the virtual banks while still maintaining a working image in "bank 0". The PIXIS FPGA exposes registers on LBC which we can use to determine which "bank" we are booting out of (as well as setting which bank to boot out of). Signed-off-by: Kumar Gala commit caf72ff329759b4da71352ab098537c7698c0e9f Author: Luigi 'Comio' Mantellini Date: Tue Jul 21 10:45:49 2009 +0200 Refresh LZMA-lib to v4.65 Signed-off-by: Luigi 'Comio' Mantellini commit 70ebf31633f372a24505e47846b2628e8435ea37 Author: Wolfgang Denk Date: Fri Jul 17 23:35:29 2009 +0200 AT91: factor out ROUND() macro A large number of boards (all AT91 based) duplicated the ROUND() macro in their board specific config files. Add the definition to include/common.h and clean up the board config files. Signed-off-by: Wolfgang Denk commit 89188a62333c0841a7166783d2ebdd39d7044eb2 Author: Kumar Gala Date: Wed Jul 15 08:54:50 2009 -0500 85xx: Bump up the BOOTMAP to 16M on FSL 85xx boards We have always mapped at least 16M in the kernel and we have seen cases with new kernel features that a kernel image needs more than 8M of memory. Signed-off-by: Kumar Gala commit d4abc757c26c531293f5bbc4262ade44a317eec9 Author: Peter Tyser Date: Mon Jul 20 19:02:21 2009 -0500 Move api_examples to examples/api Also add a rule to remove demo.bin which was previously leftover after a "make clean" Signed-off-by: Peter Tyser commit af1d7d984a23a0faa1f436ebfeb55c876b1a99e1 Author: Heiko Schocher Date: Tue Jul 21 06:37:28 2009 +0200 83xx, kmeter: fix compile error CONFIG_SYS_MALLOC_LEN is defined in the board config, and the keymile-common.h, which collects common options used by all keymile-boards. This results in a compile error when compiling the kmeter1 board. So remove this define in the board config file. Signed-off-by: Heiko Schocher commit 39df00d9aecfb465b9eec9af593f9b763fb5209a Author: Heiko Schocher Date: Thu Jul 9 12:04:26 2009 +0200 i2c, mpc83xx: add CONFIG_SYS_I2C_INIT_BOARD for fsl_i2c This patch adds the possibility to call a board specific i2c bus reset routine for the fsl_i2c bus driver, and adds this option for the keymile kmeter1 board. The deblock sequence for this board is implemented and tested in the following way: CR = 0x20 (release SDA and SCL pin) CR = 0xa0 (start read) dummy read dummy read if 2. dummy read == 0x00 3. dummy read CR = 0x80 (SDA and SCL now 1 SR = 0x86) CR = 0x00 (Modul reset SR=0x81) CR = 0x80 (SDA and SCL = 1, SR = 0x81) Signed-off-by: Heiko Schocher commit 1bc1538613d66cef3cbce680fc8d7c3561a0fbd0 Author: Peter Tyser Date: Fri Jul 10 11:03:19 2009 -0500 Move examples/ to examples/standalone The current files in examples are all standalone application examples, so put them in their own subdirectory for organizational purposes Signed-off-by: Peter Tyser commit b220c64d86f7c705a183302c3b50076d7e5d876c Author: Peter Tyser Date: Fri Jul 10 11:03:15 2009 -0500 Move architecture specific config.mk files into subdirs This cleans up U-Boot's toplevel directory a bit and makes the architecture 'config.mk' file naming and location similar to board and cpu 'config.mk' files Signed-off-by: Peter Tyser commit 082becd0d546399637fa94fdf9f1730a0f7bf348 Author: Po-Yu Chuang Date: Fri Jul 10 18:25:34 2009 +0800 Add "tags" to .gitignore file. Signed-off-by: Po-Yu Chuang Signed-off-by: Wolfgang Denk commit dc71b248ef0d5e12b19f33c6efb873e31df91fa9 Author: Heiko Schocher Date: Thu Jul 9 12:04:18 2009 +0200 powerpc: updates for the keymile boards - CONFIG_SYS_MAX_I2C_BUS changed to 1 We use only one I2C hardwarecontroller on this boards, so change the CONFIG_SYS_MAX_I2C_BUS to 1. - common: dont print errormsg if second IVM Block lacks. - 82xx, mgcoge: fix double mtdpart entry in environment - 82xx, mgcoge: activate on second Flash the second bank. - common: CONFIG_ENV_SIZE 0x4000 for all keymile boards - common: Change malloc size to 1MByte for all Keymile boards We need a bigger malloc area for the environment support (128k) on some Keymile boards (kmeter1) and the upcoming UBI support. Change it to 1MB for all Keymile boards to be on the save side. Also define CONFIG_SYS_64BIT_VSPRINTF which is needed for UBI/UBIFS support. - Add UBI support to all Keymile boards - change manner of writing "/localbus/ranges" node instead of writting the complete "/localbus/ranges" node before booting Linux, only update the ranges entries which gets dynamical detected (size of flashes). This is needed, because keymile adds in the DTS "/localbus/ranges" node entries, which u-boot must not overwrite/delete. - kmeter, mgcoge: define 2 seperate regions needed for the Intel P30 chips The Intel P30 chip has 2 non-identical chips on one die, so we need to define 2 seperate regions that are scanned by physmap_of independantly. - kmeter1: Add MTD concat support to Keymile boards - 82xx, mgcoge: add "unlock=yes" to default environment - added CONFIG_MTD_DEVICE to get in sync with mainline code Signed-off-by: Heiko Schocher Signed-off-by: Stefan Roese commit f14d81050a9e0fa57aedb1bc746c60a07c1ad67f Author: galak Date: Tue Jul 7 15:53:21 2009 -0500 fsl_sata: Fix compiler warnings shown by gcc-4.4 Update fsl_sata to use common structures instead of casting back and forth between the fsl specific ones and the common ones (which are identical). fsl_sata.c: In function 'scan_sata': fsl_sata.c:550: warning: dereferencing pointer 'cfis' does break strict-aliasing rules fsl_sata.c:549: warning: dereferencing pointer 'cfis' does break strict-aliasing rules fsl_sata.c:548: warning: dereferencing pointer 'cfis' does break strict-aliasing rules fsl_sata.c:545: note: initialized from here fsl_sata.c:592: warning: dereferencing pointer 'cfis' does break strict-aliasing rules fsl_sata.c:590: warning: dereferencing pointer 'cfis' does break strict-aliasing rules fsl_sata.c:588: warning: dereferencing pointer 'cfis' does break strict-aliasing rules fsl_sata.c:586: warning: dereferencing pointer 'cfis' does break strict-aliasing rules fsl_sata.c:579: warning: dereferencing pointer 'cfis' does break strict-aliasing rules ... Signed-off-by: Kumar Gala commit 20938e54a207472a090f04f20f30c9e32b14137e Author: Simon Kagstrom Date: Tue Jul 7 15:58:51 2009 +0200 Add unaligned.h for arm This patch adds unaligned.h for ARM (needed to build with LZO compression). The file is taken from the linux kernel, but includes u-boot headers instead. Signed-off-by: Simon Kagstrom Acked-by: Stefan Roese commit 433ea8abd6adfae3138dd4ce238237a037e1e537 Author: Peter Tyser Date: Sun Jul 19 19:17:42 2009 -0500 Remove last remanants of unused CONFIG_I2C_CMD_TREE Signed-off-by: Peter Tyser commit f6ca3b70949790ab5438d6c9a592216cc3616110 Author: Andrzej Wolski Date: Fri Jul 17 22:26:54 2009 +0200 ubi: help message correction Fix incorrect information about size units and correct typo. Signed-off-by: Andrzej Wolski Signed-off-by: Stefan Roese commit 22f2017c31bc682e9b15612a5c2580ab5b84418e Author: Peter Tyser Date: Sun Jul 19 19:17:42 2009 -0500 Remove last remanants of unused CONFIG_I2C_CMD_TREE Signed-off-by: Peter Tyser commit f99a292aa6083057f5db8283d2ce4a2be22b8856 Author: Andrzej Wolski Date: Fri Jul 17 22:26:54 2009 +0200 ubi: help message correction Fix incorrect information about size units and correct typo. Signed-off-by: Andrzej Wolski Signed-off-by: Stefan Roese commit b86b85e2611d57d834795a92453431a1a340c3c9 Author: Ilya Yanok Date: Mon Jun 29 17:53:16 2009 +0400 mmc: set bus width to 1 and clock to minimum early during initialization We need to switch back to 1-bit before initialization or SD 2.0 cards will fail to send SCR if we've switched to 4-bit already. Signed-off-by: Ilya Yanok commit cff80f2cd12bf9767509b5334ecfc90cd7de5502 Author: Shinya Kuribayashi Date: Sat Jun 20 19:14:33 2009 +0900 config.mk: Remove unused HPATH This variable is not unused anywhere. Signed-off-by: Shinya Kuribayashi commit a781de12700e2cb3d3011fc83b47f7dd8cc3c154 Author: Grzegorz Bernacki Date: Wed Jun 17 16:20:14 2009 +0200 digsy mtc: Enable command line history. Signed-off-by: Grzegorz Bernacki commit 37566090766d61beef70c62986b90749920255d8 Author: Mike Frysinger Date: Thu Jul 2 19:23:25 2009 -0400 compiler.h: unify system ifdef cruft here Shove a lot of the HOSTCC and related #ifdef checking crap into the new compiler.h header so that we can keep all other headers nice and clean. Also introduce custom uswap functions so we don't have to rely on the non standard implementations that a host may (or may not in the case of OS X) provide. This allows mkimage to finally build cleanly on an OS X system. Signed-off-by: Mike Frysinger commit 2a2ed845c085eb093b69fa6382fcf7534bb1f4b0 Author: Kim Phillips Date: Mon Jun 15 11:50:40 2009 -0500 common: fix 'dummy' is used uninitialized in this function warning fix this gcc 4.4 warning: xyzModem.c: In function 'xyzModem_stream_open': xyzModem.c:564: warning: 'dummy' is used uninitialized in this function Signed-off-by: Kim Phillips commit 1ea6bcd8590b3ff9fe2bfbb0eb29a3b0edaa9460 Author: Mike Frysinger Date: Sun Jun 14 23:33:14 2009 -0400 push CROSS_COMPILE out to $(ARCH)_config.mk Each arch should handle setting a proper default CROSS_COMPILE value in their own config.mk file rather than having to maintain a large ugly list in the Makefile. By using conditional assignment, we don't have to worry about the variable already being set (env/cmdline/etc...). The common config.mk file takes care of exporting CROSS_COMPILE already, and while a few variables (toolchain ones) utilize CROSS_COMPILE before including the arch config.mk, they do so with deferred assignment. Signed-off-by: Mike Frysinger commit 60a3f404acbf8238a3138fe1f80a6bac75da4582 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat Jun 13 12:55:37 2009 +0200 malloc.h: protect it against multiple include Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 7640f41988a456a0b1f05263d2e2dc5cd7d93984 Author: Wolfgang Denk Date: Sun Jul 19 19:37:24 2009 +0200 Fix boards broken after removal of legacy NAND and DoC support Commit 2419169f removed support for legacy NAND and disk on chip but missed to update the code for a few boards. This patch fixes the resulting build issues. Signed-off-by: Wolfgang Denk commit 1a4664b53aaf23687b52d64b94be06a9aa260b86 Author: Wolfgang Denk Date: Sun Jul 19 19:32:37 2009 +0200 cmd_flash.c: fix fix compile error for boards with DataFlash Commit 5669ed45 ("cmd_flash.c: fix warning: unused variable 'addr_first'/'addr_last'") changed the #ifdef logic areound the declaration of these variables and missed a combination of settings of HAS_DATAFLASH with SYS_NO_FLASH; this patch fixes this. Also spotted by Alessandro Rubini Signed-off-by: Wolfgang Denk commit 341245a28830d3261c41b09d958eeea7bb93587a Author: Wolfgang Denk Date: Sun Jul 19 12:05:15 2009 +0200 pcm030: fix out-of-tree building Commit 0a87dd90 that was supposed to fix out-of-tree building for the pcm030 board was unfortunately incomplete. Signed-off-by: Wolfgang Denk commit 8bf29b59fce8cc381114929082202d800e313ad5 Author: Simon Kagstrom Date: Tue Jul 7 13:58:51 2009 +0200 Add unaligned.h for arm This patch adds unaligned.h for ARM (needed to build with LZO compression). The file is taken from the linux kernel, but includes u-boot headers instead. Signed-off-by: Simon Kagstrom Acked-by: Stefan Roese commit e405afab1dda66c9df3733f6b779d72fc36a0162 Author: Kazuaki Ichinohe Date: Fri Jun 12 18:10:12 2009 +0900 Canyonlands SATA harddisk driver This patch adds a SATA harddisk driver for the canyonlands. This patch is kernel driver's porting. This patch corresponded to not cmd_scsi but cmd_sata. This patch divided an unused member with ifndef __U_BOOT__ in the structure. [environment variable, boot script] setenv bootargs root=/dev/sda7 rw setenv bootargs ${bootargs} console=ttyS0,115200 ext2load sata 0:2 0x400000 /canyonlands/uImage ext2load sata 0:2 0x800000 /canyonlands/canyonlands.dtb fdt addr 0x800000 0x4000 bootm 0x400000 - 0x800000 If you drive SATA-2 disk on Canyonlands, you must change parts from PI2PCIE212 to PI2PCIE2212 on U25. We confirmed to boot by using following disks: 1.Vendor: Fujitsu Type: MHW2040BS 2.Vendor: Fujitsu Type: MHW2060BK 3.Vendor: HAGIWARA SYS-COM:HFD25S-032GT 4.Vendor: WesternDigital Type: WD3200BJKT (CONFIG_LBA48 required) 5.Vendor: WesternDigital Type: WD3200BEVT (CONFIG_LBA48 required) 6.Vendor: Hitachi Type: HTS543232L9A300 (CONFIG_LBA48 required) 7.Vendor: Seagate Type: ST31000333AS (CONFIG_LBA48 required) 8.Vendor: Transcend Type: TS32GSSD25S-M 9.Vendor: MTRON Type: MSD-SATA1525-016 Signed-off-by: Kazuaki Ichinohe commit 52a0e2dee90c17e39634de814b16b96061cfb472 Author: Reinhard Arlt Date: Wed Jun 10 19:09:40 2009 +0200 Add support for the Tundra TSI148 VME-bridge From: Reinhard Arlt This patch adds support for the Tundra TSI148 VME-bridge. It's used on the upcoming esd VME8349 board. Signed-off-by: Reinhard Arlt Signed-off-by: Stefan Roese commit 8d1fea2c4041e665c96944e3f6fcffbde55db34b Author: Mike Frysinger Date: Thu Jul 16 19:05:30 2009 -0400 Blackfin: bf537-{minotaur,srv1}: do not hardcode CONFIG_ETHADDR MAC addresses should not be hardcoded in boards to avoid random link level conflicts. Signed-off-by: Mike Frysinger commit baf357050353aee30c04f3f4b868426cb54468ca Author: Mike Frysinger Date: Fri Jul 10 10:42:06 2009 -0400 Blackfin: bf533-stamp: back down SCLK a bit While the 1.0 and 1.2 spin of the bf533-stamp boards can handle the higher SCLK speeds just fine, the 1.1 spin cannot due to the bugs introduced with the shortened SDRAM traces. So lower the SCLK speed down to a value that all three can handle. Signed-off-by: Mike Frysinger commit 490fe7349102012c48730f6fc14ef36c8d155068 Author: Mike Frysinger Date: Thu Jul 9 20:56:56 2009 -0400 Blackfin: split cpu COBJS into multilines Signed-off-by: Mike Frysinger commit 909878fd3fda056d19b8b51a5cc51cb1c0b563d1 Author: Mike Frysinger Date: Thu Jul 9 01:15:05 2009 -0400 Blackfin: add os log functions Part of the mini Blackfin ABI with operating systems is that they can use 0x4f0-0x4f8 to pass log buffers to/from bootloaders. So add support to U-Boot for reading the log buffer. Signed-off-by: Mike Frysinger commit 9993e196da707a0a1cd4584f1fcef12382c1c144 Author: Kim Phillips Date: Sat Jul 18 18:42:13 2009 -0500 mpc83xx: convert all remaining boards over to 83XX_GENERIC_PCI Signed-off-by: Kim Phillips commit d39041fcadb1231430201d298c31f6be03d654f7 Author: Wolfgang Denk Date: Sun Jul 19 01:15:52 2009 +0200 PATI board: fix compiler warnings Fix these: pati.c: In function 'checkboard': pati.c:358: warning: pointer targets in passing argument 2 of 'getenv_r' differ in signedness ../common/flash.c: In function 'write_word': ../common/flash.c:824: warning: dereferencing type-punned pointer will break strict-aliasing rules cmd_pati.c: In function 'do_pati': cmd_pati.c:279: warning: 'value' may be used uninitialized in this function Signed-off-by: Wolfgang Denk commit 28c345042eafc550a34b9f52431bd4a22af6ac25 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat May 16 12:14:56 2009 +0200 mpl: printing current stdio devices cleanup Currently the mpl boards duplicate the code to print the current devices from common/console.c; use stdio_print_current_devices() instead Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Edited commit message. Signed-off-by: Wolfgang Denk commit 7e3be7cf3bb344f717b6ec3d47a081269ea67ead Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat May 16 12:14:55 2009 +0200 console: unify printing current devices Create stdio_print_current_devices() for this purpose Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 5669ed4557edf2714203aa8625c9fcd5a753b338 Author: Wolfgang Denk Date: Sat Jul 18 23:18:14 2009 +0200 cmd_flash.c: fix warning: unused variable 'addr_first'/'addr_last' Signed-off-by: Wolfgang Denk commit 6bb6e6c75ec4ef496f00f7f530e549d3e073c5de Author: Tom Rix Date: Tue Jun 30 15:04:13 2009 -0500 OMAP3 Fix compiler warning for v7_flush_dcache_all On build of omap3 targets in MAKEALL, the *.ERR files have cpu.c: In function 'cleanup_before_linux': cpu.c:64: warning: implicit declaration of function 'v7_flush_dcache_all' cpu.c:64: warning: implicit declaration of function 'get_device_type The functions v7_flush_dcache_all and get_device_type are declared in include/asm-arm/arch-omap3/sys_proto.h, so use this file to declare the functions. Signed-off-by: Tom Rix commit dba107b967332fc8a35867f4d58038626c968800 Author: Wolfgang Denk Date: Sat Jul 18 22:09:38 2009 +0200 ARM: make split_by_variant.sh output more useful The board/armltd/integrator/split_by_variant.sh script used to print "Configuring for integrator*p board..." no matter which board name was being compiled. This made it difficult to match MAKEALL output to board names. This patch fixes this. Signed-off-by: Wolfgang Denk commit 2eb99ca8029b44c988d5f6312f97e68d3b9cb2bd Author: Wolfgang Denk Date: Sat Jul 18 21:52:24 2009 +0200 NAND: Part 2: Fix warning Please define CONFIG_SYS_64BIT_VSPRINTF... Commit 8d2effea added a warning for configurations that use NAND without defining the (then necessary) CONFIG_SYS_64BIT_VSPRINTF but failed to fix the affected boards. This patch covers the non-PPC boards that were missed in the previous patch (commit 170c1972). Signed-off-by: Wolfgang Denk commit 7024aa14df2981b4e65c6189909da9aadb1c22da Author: Wolfgang Denk Date: Sat Jul 18 20:46:38 2009 +0200 at91cap9adk: fix #ifdef/#endif pairing The #ifdef/#endif pairing in this file was obviously messed up. Signed-off-by: Wolfgang Denk commit 4abc5bffea244589fa1097e4c899a63efc609c8e Author: Prafulla Wadaskar Date: Thu Jul 16 20:58:01 2009 +0530 Marvell MV88F6281GTW_GE Board support This is Marvell's 88F6281_A0 based custom board developed for wireless access point product This patch is tested for- 1. Boot from DRAM/SPI flash/NFS 2. File transfer using tftp and loadb 3. SPI flash read/write/erase 4. Booting Linux kernel and RFS from SPI flash 5. Boot from USB supported Reviewed-by: Ronen Shitrit Signed-off-by: Prafulla Wadaskar commit 55dd4ba5413b14e8ee24058c89ac5c05376c331c Author: Prafulla Wadaskar Date: Thu Jul 16 20:58:00 2009 +0530 Marvell Sheevaplug Board support Reference: http://plugcomputer.org/ http://openplug.org/plugwiki/index.php/Das_U-boot_plug_support This patch is tested for- 1. Boot from DRAM/NAND flash 2. File transfer using tftp 3. NAND flash read/write/erase 4. Linux kernel and RFS Boot from NAND 5. Enabled USB PHY init for kernel need 6. Boot from USB supported Note: to boot Kirkwood kernel with USB support, you should add "usb start" in the boot sequence Signed-off-by: Prafulla Wadaskar commit 0a87dd90a75d034301496285026fbd8106c7c6d5 Author: Wolfgang Denk Date: Sat Jul 18 18:00:25 2009 +0200 pcm030: fix out-of-tree building Commit c9969947, which added support for the pcm030 board (aka phyCORE-MPC5200B-tiny), broke out-of-tree building. Signed-off-by: Wolfgang Denk commit 9ff59601c71e800b9d0dfde22fa70d12c71c12b4 Author: Wolfgang Denk Date: Sat Jul 18 16:36:11 2009 +0200 MPC837XERDB: fix warning: "CONFIG_SYS_MONITOR_LEN" redefined Signed-off-by: Wolfgang Denk commit 2b5243fc24a724e83409c0b70caa1a3180e997ae Author: Wolfgang Denk Date: Sat Jul 18 16:13:18 2009 +0200 8xxx: fix warning: implicit declaration of function 'uec_standard_init' Commit 8e55258f created function uec_standard_init() to initialize all UEC interfaces for 83xx and 85xx but failed to provide a prototype for it. Signed-off-by: Wolfgang Denk commit 5b54df2674fdad5e7d316484c67efc68e79f3f0d Author: Wolfgang Denk Date: Sat Jul 18 15:46:02 2009 +0200 MIP405T: fix compile problem The "stdio/device: rework function naming convention" patch (commit 52cb4d4f) broke the MIP405T board; this patch fixes it. Signed-off-by: Wolfgang Denk commit 170c19725ecd3a0e2e517dfd49979ca8822edec0 Author: Wolfgang Denk Date: Sat Jul 18 15:32:10 2009 +0200 NAND: Fix warning Please define CONFIG_SYS_64BIT_VSPRINTF... Commit 8d2effea added a warning for configurations that use NAND without defining the (then necessary) CONFIG_SYS_64BIT_VSPRINTF but failed to fix the affected boards. Signed-off-by: Wolfgang Denk commit 6e897a661fb9968ce354165a12cce82e4b889e04 Author: Wolfgang Denk Date: Sat Jul 18 15:05:44 2009 +0200 CPCI750: fix compile problem Commit bc0d3296 removed ppc_error_no.h from Marvell boards but forgot to update board/esd/cpci750/mv_eth.h Signed-off-by: Wolfgang Denk commit 6aee3048348f1b19ab89156da98bfa4f7babf24b Author: Alessandro Rubini Date: Fri Jul 17 14:42:11 2009 +0200 cmd_i2c: bugfix: add missing brace The sub-command parser missed a brace, so "return 0;" is always taken and no error message is diplayed if you say "i2c scan" instead of "i2c probe", for example. Proper brace is added. Also, a misleading and unneeded else is removed. Signed-off-by: Alessandro Rubini commit 52cb4d4fb3487313f5a72ea740f527a4aefaa365 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat May 16 12:14:54 2009 +0200 stdio/device: rework function naming convention So far the console API uses the following naming convention: ======Extract====== typedef struct device_t; int device_register (device_t * dev); int devices_init (void); int device_deregister(char *devname); struct list_head* device_get_list(void); device_t* device_get_by_name(char* name); device_t* device_clone(device_t *dev); ======= which is too generic and confusing. Instead of using device_XX and device_t we change this into stdio_XX and stdio_dev This will also allow to add later a generic device mechanism in order to have support for multiple devices and driver instances. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Edited commit message. Signed-off-by: Wolfgang Denk commit f732a7598fa36d48241df20b1a1f4cdbf09f75ee Author: Peter Tyser Date: Wed Jul 15 00:01:08 2009 -0500 ppc: Fix compile error for boards with CONFIG_DDR_ECC A bug was introduced by commit e94e460c6e8741f42dab6d8dd4b596ba5d9d79ae which affected non-MPC83xx/85xx/86xx ppc boards which had CONFIG_DDR_ECC defined and resulted in errors such as: Configuring for canyonlands board... fsl_dma.c:50:2: error: #error "Freescale DMA engine not supported on your processor" make[1]: *** No rule to make target `.depend', needed by `libdma.a'. Stop. Signed-off-by: Peter Tyser commit 18e067de9b6ed087fa60496e64887f0b7458dbaa Author: Prafulla Wadaskar Date: Thu Jul 16 20:57:59 2009 +0530 include/config_cmd_default.h cleanup arranged configurations in alphabetical order CONFIG_CMD_FLASH moved under ifndef CONFIG_SYS_NO_FLASH Signed-off-by: Prafulla Wadaskar commit 569460ebf14b87bd8fdb2352bde95d35ee96e13b Author: Mike Frysinger Date: Sun Jun 14 21:35:22 2009 -0400 sata: namespace curr_device variable The curr_device variable really should be namespaced with a "sata_" prefix since it is only used by the sata code. It also avoids random conflicts with other pieces of code (like cmd_mmc): common/libcommon.a(cmd_sata.o):(.data.curr_device+0x0): multiple definition of `curr_device' common/libcommon.a(cmd_mmc.o):(.data.curr_device+0x0): first defined here Signed-off-by: Mike Frysinger commit 02e22c2de1ce2312f2636fa473a60c8d8f18d8aa Author: Mike Frysinger Date: Sun Jun 14 21:35:21 2009 -0400 cmd_mmc: make curr_device static The curr_device variable isn't used outside of cmd_mmc, so mark it static to avoid conflicts with other pieces of code (like sata which also exports a curr_device). Otherwise we end up with stuff like: common/libcommon.a(cmd_sata.o):(.data.curr_device+0x0): multiple definition of `curr_device' common/libcommon.a(cmd_mmc.o):(.data.curr_device+0x0): first defined here Signed-off-by: Mike Frysinger commit 2d8d2adde3fce1152e4ad9f47238f07e70793c53 Author: Mike Frysinger Date: Sun Jun 14 21:35:16 2009 -0400 envcrc: add missing dependencies on env storage When the envcrc building was made conditional, it missed a bunch of env storage types, so add all currently supported types. Signed-off-by: Mike Frysinger commit 2419169f5749d7af501b3b77a5336d1d535320de Author: Scott Wood Date: Thu Jul 16 19:08:04 2009 -0500 Remove legacy NAND and disk on chip references from boards. Signed-off-by: Scott Wood commit 12e9043c7ed961b60df865f45d9a3c74d6a38199 Author: Shinya Kuribayashi Date: Sat Jun 20 19:10:14 2009 +0900 config.mk: Remove $(PCI_CLOCK) reference The following commit introduced $(PCI_CLOCK) reference so that we could tweak `PCI_66M' definition via an environment variable. > commit f046ccd15c8bc9613bfd72916b761a127d36e5c6 > Author: Eran Liberty > Date: Thu Jul 28 10:08:46 2005 -0500 > > * Patch by Eran Liberty > Add support for the Freescale MPC8349ADS board. But I suggest a removal of it for the following reasons: * In 2006, MPC8349ADS was merged into MPC8349EMDS port, and it seems that MPC8349EMDS port is PCI_66M free. * OTOH, PCI_66M is used by MPC832XEMDS an MPC8360EMDS ports, but they don't need $(PCI_CLOCK) environment variable at all. PCI_66M is automatically configured via $(BOARD)_config names with the help of $(findstring _66_,$@). * Unfortunately $(PCI_CLOCK) has been undocumented anywhere, so only a few people know the existence of it these days. * Keep config.mk independent from $(BOARD) as much as possible. Signed-off-by: Shinya Kuribayashi Acked-by: Kim Phillips commit 3db75d9c11d37cc1d28bebd91b19f4e548b68155 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat May 23 21:42:36 2009 +0200 fix: missing autoconfig.mk from general Makefile At the first run of make we generate the autoconf.mk and autoconf.mk.dep if not already the case and we currently include only to .dep In order to use these autogenerated values we need to include it also even if it's included in config.mk but it's done before their generation Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Mike Frysinger commit 1ca298ced07327749b54321815f76fcddb2f9479 Author: Matthias Weisser Date: Thu Jul 9 16:07:30 2009 +0200 Added support for splash screen positioning This patch adds support splash image positioning by adding an additional variable "splashpos" to the environment. Please see README for details. Signed-off-by: Matthias Weisser Acked-by: Matthias Fuchs Signed-off-by: Anatolij Gustschin commit 9d173e0233493113c9b1aa81bd2208d0057ab9db Author: Anatolij Gustschin Date: Tue Jul 7 13:11:36 2009 +0200 video: mb862xx: replace printf with puts Signed-off-by: Anatolij Gustschin commit cce99b2a7dd80683d61360aee56a6ece344950b2 Author: Anatolij Gustschin Date: Tue Jul 7 13:27:07 2009 +0200 video: mb862xx: use macros instead of magic numbers Signed-off-by: Anatolij Gustschin commit e86528671ece6d5c1162656a37fc68a8e0bf67f8 Author: Anatolij Gustschin Date: Tue Jul 7 13:24:08 2009 +0200 video: mb862xx: fix coding style and remove dead code Signed-off-by: Anatolij Gustschin commit 292ed489dba8cc97b458579003a8001cd4703cd8 Author: Michal Simek Date: Tue Jun 30 12:03:50 2009 +0200 microblaze: Remove ignored return type for __arch__swab16 function This change remove compilation warnings. Signed-off-by: Michal Simek commit e2776587c0eac131954ae100fda89cc3e7ed8b57 Author: Michal Simek Date: Tue Jun 30 12:02:45 2009 +0200 microblaze: Removed unused variables Signed-off-by: Michal Simek commit be33b046b549ad88c204c209508cd7657232ffbd Author: Scott Wood Date: Wed Apr 1 15:02:13 2009 -0500 Remove legacy NAND and disk on chip code. Legacy NAND had been scheduled for removal. Any boards that use this were already not building in the previous release due to an #error. The disk on chip code in common/cmd_doc.c relies on legacy NAND, and it has also been removed. There is newer disk on chip code in drivers/mtd/nand; someone with access to hardware and sufficient time and motivation can try to get that working, but for now disk on chip is not supported. Signed-off-by: Scott Wood commit fbdaafaee71e2c7f2c31b3582ab6d8679efee8d3 Author: Stefan Roese Date: Thu Jun 4 16:40:36 2009 +0200 nand: Change NAND_MAX_OOBSIZE to 218 as needed for some 4k page devices This is needed for the MPC512x NAND driver (fsl_nfc_nand.c) which already defines such a 4k plus 218 bytes ECC layout. Signed-off-by: Stefan Roese Cc: Scott Wood Signed-off-by: Scott Wood commit f2f376ab956c17d4a0c42a993133ca25cdc87278 Author: Stefan Roese Date: Thu Jul 16 15:13:04 2009 +0200 nand: ndfc: Remove unnecessary #ifdef's Now that the 4xx NAND driver ndfc is moved to the common NAND driver directory we don't need this #ifdef's anymore. Signed-off-by: Stefan Roese Cc: Scott Wood Signed-off-by: Scott Wood commit 12582ac771b0bf3852817c3bfa4be326522a0665 Author: Stefan Roese Date: Thu Jul 16 15:12:48 2009 +0200 nand/ppc4xx: Move PPC4xx NAND driver to common NAND driver directory Signed-off-by: Stefan Roese Cc: Scott Wood Signed-off-by: Scott Wood commit 3ebf70db5452d3d47c316ddef09f40e76553bcba Author: Valeriy Glushkov Date: Tue Jul 14 13:51:10 2009 +0300 nand: fixed failed reads on corrected ECC errors in nand_util.c Signed-off-by: Valeriy Glushkov Signed-off-by: Paulraj, Sandeep Signed-off-by: Scott Wood commit ed727d394c5ab139033719772dc95dc25cfa14f7 Author: David Brownell Date: Mon Jul 13 16:29:04 2009 -0700 Typo fix: use CONFIG_SOC_DM644X, not CONFIG_SOC_DM646. Signed-off-by: David Brownell Signed-off-by: Scott Wood commit 937076f84c5064f0a79105fce352ac7cf7b33643 Author: Kyungmin Park Date: Sat Jul 11 16:49:55 2009 +0900 MTD: OneNAND: Increase the environment size to 4KiB Also use mtd operation instead of onenand functions Signed-off-by: Kyungmin Park Signed-off-by: Scott Wood commit bfadb17f69c256196620c32164775f063a59c34f Author: Anton Vorontsov Date: Wed Jun 10 00:25:38 2009 +0400 mpc83xx: MPC837xEMDS: Use hwconfig instead of pci_external_arbiter variable Since we have simple hwconfig interface now, we don't need pci_external_arbiter variable any longer. Signed-off-by: Anton Vorontsov Acked-by: Kim Phillips commit b8b71ffbc35fde6905e65ffdbf4e4b87efc26b7e Author: Anton Vorontsov Date: Wed Jun 10 00:25:36 2009 +0400 mpc83xx: MPC8315ERDB: Use hwconfig for board type selection This patch simply converts the board to the hwconfig infrastructure. Signed-off-by: Anton Vorontsov Acked-by: Kim Phillips commit c78c678354c8321737aa07e86831ff14176f4ed5 Author: Anton Vorontsov Date: Wed Jun 10 00:25:31 2009 +0400 mpc83xx: MPC837XEMDS: Fixup eSDHC nodes in device tree fdt_fixup_esdhc() will either disable or enable eSDHC nodes, and also will fixup clock-frequency property. Plus, since DR USB and eSDHC are mutually exclusive, we should only configure the eSDHC if asked through hwconfig. Signed-off-by: Anton Vorontsov Acked-by: Kim Phillips commit c9646ed758804fa1fa6c1425369a4eee5d618b1d Author: Anton Vorontsov Date: Wed Jun 10 00:25:30 2009 +0400 mpc83xx: MPC837XERDB: Add support for FSL eSDHC This patch adds support for eSDHC on MPC837XERDB boards. The WP switch doesn't seem to work on RDB boards though, the WP pin is always asserted (can see the pin state when it's in GPIO mode). FSL DR USB and FSL eSDHC are mutually exclusive because of pins multiplexing, so user should specify 'esdhc' or 'dr_usb' options in the hwconfig environment variable to choose between the devices. p.s. Now we're very close to a monitor len limit (196 bytes left using gcc-4.2.0), so also increase the monitor len by one sector (64 KB). Signed-off-by: Anton Vorontsov Acked-by: Kim Phillips commit b33433a63fe08c9e723ea15a7c7c7143bf527c6d Author: Anton Vorontsov Date: Wed Jun 10 00:25:29 2009 +0400 fsl_esdhc: Add device tree fixups This patch implements fdt_fixup_esdhc() function that is used to fixup the device tree. The function adds status = "disabled" propery if esdhc pins muxed away, otherwise it fixups clock-frequency for esdhc nodes. Signed-off-by: Anton Vorontsov Acked-by: Kim Phillips commit 93f9dcf9e8b8182e97aeb7965c687176cbd0b933 Author: Anton Vorontsov Date: Wed Jun 10 00:25:27 2009 +0400 Add simple hwconfig infrastructure This patch implements simple hwconfig infrastructure: an interface for software knobs to control a hardware. This is very simple implementation, i.e. it is implemented via `hwconfig' environment variable. Later we could write some "hwconfig " commands, ncurses interface for Award BIOS-like interface, and frame-buffer interface for AMI GUI[1] BIOS-like interface with mouse support[2]. Current implementation details/limitations: 1. Doesn't support options dependencies and mutual exclusion. We can implement this by integrating apt-get[3] into the u-boot. But I didn't bother yet. 2. Since we don't implement hwconfig command, i.e. we're working with the environement directly, there is no way to tell that toggling a particular option will need a reboot to take an effect. So, for now it's advised to always reboot the target after modifying hwconfig variable. 3. We support hwconfig options with arguments. For example, set hwconfig dr_usb:mode=peripheral,phy_type=ulpi That means: - dr_usb - enable Dual-Role USB controller; - dr_usb:mode=peripheral - USB in Function mode; - dr_usb:phy_type=ulpi - USB should work with ULPI PHYs; The purpose of this simple implementation is to define some internal API and then we can continue improving user experience by adding more mature interface, like hwconfig command with bells and whistles. Or not adding, if we feel that current interface fits its needs. [1] http://en.wikipedia.org/wiki/American_Megatrends [2] Regarding ncurses and GUI with mouse support -- I'm just kidding. [3] The comment regarding apt-get is also a joke, meaning that dependency tracking could be non-trivial. For example, for enabling HW feature X we may need to disable Y, and turn Z into reduced mode (like RMII-only interface for ethernet, no MII). It's quite trivial to implement simple cases though. Signed-off-by: Anton Vorontsov Acked-by: Kim Phillips commit 6c3fef28b9fff0d7f3fa4c51c3ee0ae8c2a3b043 Author: Jerry Van Baren Date: Wed Jul 15 20:42:59 2009 -0400 Improve U-Boot Porting Guide in the README Update for... * BDI2000 -> BDI3000 (BDI2000 is obsolete). * Add a line to read the doc/README.* files * Fix coding standard violations Signed-off-by: Gerald Van Baren commit 9578718c1b085cac73017d834001bc5cb0b2f73f Author: Kim Phillips Date: Tue Jul 14 16:00:24 2009 -0500 mtd: cfi - if defined, use MAX_FLASH_BANKS_DETECT for static declarations a.k.a cfi_mtd.c does as cfi_flash.c does. This also prevents the TQM834x build from doing a: cfi_mtd.c:36: error: variably modified 'cfi_mtd_info' at file scope cfi_mtd.c:37: error: variably modified 'cfi_mtd_names' at file scope using gcc 4.4. Signed-off-by: Kim Phillips Signed-off-by: Stefan Roese commit 4a9932a4364b548773bc131bf85e24a2ec15f2b0 Author: Kim Phillips Date: Tue Jul 7 18:04:21 2009 -0500 mpc83xx: increase MONITOR_LEN to offset growing pains Saving the environment leads to overwriting u-boot itself, bricking boards. Increase u-boot's image size so the environment base address doesn't end up overlapping u-boot text. Signed-off-by: Kim Phillips commit c31e13260bcd048a94412a47b004386ea6112acf Author: Valeriy Glushkov Date: Tue Jun 30 15:48:41 2009 +0300 usb: mpx8349itx: added support of loading images from USB storage (MPH/DR) Signed-off-by: Valeriy Glushkov Signed-off-by: Kim Phillips commit d89e1c36891de793a20a929282acc0fc7b98feac Author: Valeriy Glushkov Date: Tue Jun 30 15:48:40 2009 +0300 usb: mpc834x: added support of the MPH USB controller in addition to the DR one Signed-off-by: Valeriy Glushkov Signed-off-by: Kim Phillips commit d9ac3d5a17ecef0beb70073018925e011b11684e Author: Kim Phillips Date: Mon Jun 15 11:51:47 2009 -0500 mpc83xx: set 64BIT_VSPRINTF for boards using nand_util When enabling NAND support for a board, one must also define CONFIG_SYS_64BIT_VSPRINTF because this is needed in nand_util.c for correct output. Signed-off-by: Kim Phillips Cc: Dave Liu Cc: Ron Madrid Cc: Anton Vorontsov commit 052c08916532d1d9c2f69eb9229709c7b2fc1f02 Author: TsiChung Liew Date: Wed Jul 8 07:41:24 2009 +0000 ColdFire: Update bootargs Add a bootargs for M53017EVB and update bootargs for M54451EVB Signed-off-by: TsiChung Liew commit 6e8d58d36691520f8da74cd948661d28d5a5dc66 Author: TsiChung Liew Date: Tue Jun 30 14:30:19 2009 +0000 Command for accessing serial flash update Change strtoul number base of argv 3 from 0 to 16 Signed-off-by: TsiChung Liew commit ee0a8462466dd284968536eb57c6eef4be0d6aad Author: TsiChung Liew Date: Tue Jun 30 14:18:29 2009 +0000 ColdFire: Add DSPI support for MCF5227x and MCF5445x Remove individual CPU specific DSPI driver. Add required feature for the common DSPI driver in cpu_init and in platform configuration file. Signed-off-by: TsiChung Liew commit dec61c7851baa72151ef1d3657e7bb3b68907d48 Author: TsiChung Liew Date: Tue Jun 30 14:09:47 2009 +0000 Coldfire: Consolidate DSPI driver Unify both MCF5227x and MCF5445x DSPI driver in CPU to driver/spi folder for common use. Signed-off-by: TsiChung Liew commit 11d88b26a68bd4bf98b1c962fde6257a50978231 Author: TsiChung Liew Date: Fri Jun 12 13:03:34 2009 +0000 ColdFire: Remove compiler warning messages Remove unused variables and printf type mismatch in lib_m68k/board.c Signed-off-by: TsiChung Liew commit 4567c7bff2503fb1a7c738ff9b9f0bd00d274d9a Author: TsiChung Liew Date: Fri Jun 12 11:31:31 2009 +0000 ColdFire: Fix M53017EVB flash size Increase the flash size from 8MB to 16MB Signed-off-by: TsiChung Liew commit bf9a521529e484b15e8fdb583a607cf7945d2f6b Author: TsiChung Liew Date: Fri Jun 12 11:29:00 2009 +0000 ColdFire: Add M5208EVB and MCF520x CPU support Signed-off-by: TsiChung Liew commit 709b384b6493d9726dce20663ebe31bf7cab2925 Author: TsiChung Liew Date: Thu Jun 11 15:39:57 2009 +0000 ColdFire: Update for M54451EVB Update serial boot DRAM's Internal RAM, vector table and DRAM in start.S, serial flash's read status command over SPI and NOR flash. Signed-off-by: TsiChung Liew commit bbf6bbffcaf694c03504c661e58fbd1aefe5bf64 Author: TsiChung Liew Date: Thu Jun 11 12:50:05 2009 +0000 ColdFire: Update configuration file to use flash buffer write Update M52277EVB, M53017EVB and M54455EVB platform configuration file to use flash buffer write Signed-off-by: TsiChung Liew commit 7d4450a9773673052fcd7fdf0a4a88c089126ac1 Author: Wolfgang Denk Date: Sun Jun 14 20:58:53 2009 +0200 mpc5121ads: add JFFS2 and MTDPARTS support; adjust flash map Signed-off-by: Wolfgang Denk commit 1f1f82f3de1660f398bf42bfd709b9859582ce5e Author: Wolfgang Denk Date: Sun Jun 14 20:58:52 2009 +0200 aria: add JFFS2 and MTDPARTS support; adjust flash map Signed-off-by: Wolfgang Denk commit a6d6d46a4fef876455e11b45ed699c0fb3bd1ca1 Author: Wolfgang Denk Date: Sun Jun 14 20:58:51 2009 +0200 aria: enable NAND flash support Signed-off-by: Wolfgang Denk commit 13946925e850db5351982acb691d51716fc754e2 Author: Wolfgang Denk Date: Sun Jun 14 20:58:50 2009 +0200 MPC512x: fix typo in comment listing the NAND driver name Signed-off-by: Wolfgang Denk Cc: Stefan Roese Cc: Reinhard Arlt commit 2ca6f74d09653f8041b52cafd0d650fdc2a56c51 Author: Wolfgang Denk Date: Sun Jun 14 20:58:49 2009 +0200 mecp5123: cleanup - remove dead code Remove dead code that was obviously a left-over from copy & paste. Signed-off-by: Wolfgang Denk Cc: Stefan Roese Cc: Reinhard Arlt commit 25671c8672f2d7b39555416a6b7a6b7b39b810bf Author: Wolfgang Denk Date: Sun Jun 14 20:58:48 2009 +0200 aria: adjust memory controller initialization Needed for Rev. 2 silicon at 400 MHz Signed-off-by: Wolfgang Denk commit 7629f1c06b6dea36bbc7bf70820b824e9b6d2227 Author: Wolfgang Denk Date: Sun Jun 14 20:58:47 2009 +0200 MPC512x: factor out common code Now that we have 3 boards for the MPC512x it turns out that they all use the very same fixed_sdram() code. This patch factors out this common code into cpu/mpc512x/fixed_sdram.c and adds a new header file, include/asm-ppc/mpc512x.h, with some macros, inline functions and prototype definitions specific to MPC512x systems. Signed-off-by: Wolfgang Denk Cc: Stefan Roese Cc: Reinhard Arlt commit 0549353a6ba5aa03420c0962b9072e9cf1fa49d9 Author: Wolfgang Denk Date: Sun Jun 14 20:58:46 2009 +0200 mecp5123: fix build error The mecp5123 board did not compile because the MSCAN Clock Control Registers were missing; these got added, but as an array instead of 4 individual registers. Adapt the code so it builds. Signed-off-by: Wolfgang Denk Cc: Stefan Roese Cc: Reinhard Arlt commit a9905db5d29a56aedd7db5bcb56b0385873aa6a3 Author: Wolfgang Denk Date: Sun Jun 14 20:58:45 2009 +0200 MPC512x: Add MSCAN1...4 Clock Control Registers Signed-off-by: Wolfgang Denk Cc: Stefan Roese Cc: Reinhard Arlt commit f5489c4200b37c9a1d6dbde116f5adc0539610de Author: Wolfgang Denk Date: Sun Jun 14 20:58:44 2009 +0200 MPC512x: enabling NAND support requires CONFIG_SYS_64BIT_VSPRINTF When enabling NAND support for a board, one must also define CONFIG_SYS_64BIT_VSPRINTF because this is needed in nand_util.c for correct output. Signed-off-by: Wolfgang Denk Cc: Stefan Roese Cc: Reinhard Arlt commit b4db4a7638ef90cf0aacf7b954d9bf3043dda780 Author: Po-Yu Chuang Date: Fri Jul 10 18:03:57 2009 +0800 issue write command to base for JEDEC flash For JEDEC flash, we should issue word programming command relative to base address rather than sector base address. Original source makes SST Flash fails to program sectors which are not on the 0x10000 boundaries. e.g. SST39LF040 uses addr1=0x5555 and addr2=0x2AAA, however, each sector is 0x1000 bytes. Thus, if we issue command to "sector base (0x41000) + offset(0x5555)", it sends to 0x46555 and the chip fails to recognize that address. This patch is tested with SST39LF040. Signed-off-by: Po-Yu Chuang Signed-off-by: Stefan Roese commit 986922714ffd21ad39f48522d285fffc7aed56b1 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat May 2 11:53:50 2009 +0200 versatile: update config and merge to cfi flash driver Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Peter Pearse Cc: Catalin Marinas commit d6e8ed832b25d5db4fdd3fb91e73028e494dcd6e Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat May 2 11:53:49 2009 +0200 versatile: specify the board type on the prompt Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Peter Pearse Cc: Catalin Marinas commit 5ccc2d99d61c81805348b0cd9f79731b271f7daf Author: Sedji Gaouaou Date: Thu Jun 25 17:04:15 2009 +0200 at91: Introduction of at91sam9g10 SOC. AT91sam9g10 is an ARM 926ej-s SOC. It is an evolution of the at91sam9261 with a faster clock speed: 266/133MHz. Signed-off-by: Sedji Gaouaou commit 22ee647380c42f44528f99b7c1b423725e542102 Author: Sedji Gaouaou Date: Thu Jul 9 10:16:29 2009 +0200 at91: Introduction of at91sam9g45 SOC. AT91sam9g45 series is an ARM 926ej-s SOC family clocked at 400/133MHz. It embeds USB high speed host and device, LCD, DDR2 RAM, and a full set of peripherals. The first board that embeds at91sam9g45 chip is the AT91SAM9G45-EKES. On the board you can find 2 USART, USB high speed, a 480*272 LG lcd, ethernet, gpio/joystick/buttons. Signed-off-by: Sedji Gaouaou commit c33c5990cec7ced9ef1ef148debbca34adafa12b Author: Daniel Mack Date: Tue Jun 23 17:30:05 2009 +0200 pxa: fix CKEN_B register bits The current defition for CKEN_B register bits is nonsense. Adding 32 to the shifted value is equal to '| (1 << 5)', and this bit is marked 'reserved' in the PXA docs. Signed-off-by: Daniel Mack commit bd876be46f28b5fc2896537f6d01353f332789f7 Author: Daniel Mack Date: Tue Jun 23 17:30:04 2009 +0200 pxa: add clock for system bus 2 arbiter This clock is needed for systems using the USB2 device unit or the 2d graphics accelerator. Signed-off-by: Daniel Mack commit b016000a95514c08cab50e1cba00b019c0801bc4 Author: Grazvydas Ignotas Date: Wed Jul 8 00:30:01 2009 +0300 OMAP3 pandora: Fix CKE1 MUX setting to allow self-refresh Pandora is using both SDRC CSes. The MUX setting is needed for the second CS clock signal to allow the 2 RAM parts to be put in self-refresh correctly. Based on similar patch for beagle and overo by Jean Pihet and Steve Sakoman. commit 8672c288703f3c51c829851c8fe6608c7869faaa Author: Grazvydas Ignotas Date: Wed Jul 8 00:30:00 2009 +0300 OMAP3 pandora: setup pulls for various GPIOs Set pullups or pulldowns for GPIOs which need them. Disable them for others, which have external pulls. Also make disabled pull setting consistent (some pins had type set to "up" even if pull type selection was disabled). commit 5ff78122f229946862a3f67a2f50a329e8e1bcf5 Author: Grazvydas Ignotas Date: Wed Jul 8 00:29:59 2009 +0300 OMAP3 pandora: setup pin mux for pins used on rev3 boards Setup pin mux for GPIO pins connected on rev3 or later boards. Also change NUB2 IRQ pin. This should not affect older boards because they don't have any nubs (analog controllers) attached to them. commit 67c97c346b27c586a7263564f7afff6d1f8d8d0a Author: Grazvydas Ignotas Date: Wed Jul 8 00:29:58 2009 +0300 OMAP3 pandora: pin mux cleanup Remove configuration of not unused pins, effectively leaving them in safe mode. commit b996165f5a1623a055c03b22d64d6d5da81835d0 Author: Prafulla Wadaskar Date: Mon Jul 6 15:50:47 2009 +0530 arm: Kirkwood: bugfix: UART1 bar correction Signed-off-by: Prafulla Wadaskar commit 50243e3e7a96a96c5418ce6c90b7252d26fdd5b0 Author: Kumar Gala Date: Tue Jul 7 15:48:58 2009 -0500 usb: Fix compiler warning with gcc4.4 ehci-hcd.c: In function 'ehci_submit_root': ehci-hcd.c:719: warning: value computed is not used ehci-hcd.c:748: warning: value computed is not used Signed-off-by: Kumar Gala Signed-off-by: Remy Bohmer commit 04366d070a1a3f7affddf15aaaea87bcf44cdbb0 Author: Nobuhiro Iwamatsu Date: Wed Jul 8 11:42:19 2009 +0900 sh: Update pci config for Renesas r7780mp board Signed-off-by: Nobuhiro Iwamatsu commit 74d9c16a681aa24bb4125191fe39dc7c75cde56a Author: Nobuhiro Iwamatsu Date: Thu Jun 25 16:31:26 2009 +0900 sh: Add support ESPT-GIGA borad ESPT-Giga is SH7763-based reference board. Board support is relatively sparse, presently supporting serial, gigabit ethernet, USB host, and MTD. More information (in Japanese) available at: http://www.cente.jp/product/cente_hard/ESPT-Giga.html Signed-off-by: Nobuhiro Iwamatsu Signed-off-by: Nobuhiro Iwamatsu commit dae4e0148a1146a5610025ae4b445e841410b659 Author: Matthias Fuchs Date: Fri Jul 3 16:06:37 2009 +0200 Add ESD PCI vendor ID Signed-off-by: Matthias Fuchs commit 876b3cef537aab2cba8c19505db2876f6057f818 Author: Peter Tyser Date: Mon Jun 22 18:01:41 2009 -0500 api_examples/Makefile: General cleanup * Remove symlinking of files located outside api_examples/ * Auto generate dependencies for files located outside api_examples/ * Update names of variables to be similar to those in tools/Makefile * Fix out of tree build error Dependencies are calculated for all files in the SRCS variable. Previously, the SRCS variable contained files which were symlinked into the api_examples/ directory. These symlinked files did not exist when dependencies were calculated when building out of tree. This resulted in errors such as: make[1]: *** No rule to make target `/work/wd/tmp-ppc/api_examples/.depend', needed by `_depend'. Stop. make[1]: Leaving directory `/home/wd/git/u-boot/work/api_examples' make: *** [depend] Error 2 Since symlinked source files are no longer used, this bug no longer exists. Signed-off-by: Peter Tyser Acked-by: Rafal Jaworowski commit 522f6f02adb93194e337016fe2e4e53c58d5d5ea Author: Peter Tyser Date: Mon Jun 22 18:01:40 2009 -0500 api_examples/Makefile: Get rid of unnecessary intermediate LIB target Signed-off-by: Peter Tyser Acked-by: Rafal Jaworowski commit 117d0ab5e6f3b3dd48fc346df4919555a78afd39 Author: Peter Tyser Date: Mon Jun 22 18:01:39 2009 -0500 api_examples/Makefile: Combine ELF and BIN targets Combining the two rules cleans up the Makefile a bit Signed-off-by: Peter Tyser Acked-by: Rafal Jaworowski commit 644cb38108b8dc22e0ef3cf5f404fe310d1995f8 Author: Peter Tyser Date: Mon Jun 22 18:01:38 2009 -0500 api_examples/Makefile: Split up variable declarations This cleans up the Makefile a bit and simplifies future changes Signed-off-by: Peter Tyser Acked-by: Rafal Jaworowski commit 890d242facc4079ed21e979ced2e8c6d6974f6d3 Author: Timur Tabi Date: Fri Jun 19 14:10:52 2009 -0500 remove _IO_BASE and KSEG1ADDR from board configuration files The KSEG1ADDR macro used to be necessary for the RTL8139 Ethernet driver, but the code that used that macro was removed over a year ago, so board configuration files no longer need to define it. The _IO_BASE macro is also automatically defined to 0 if it isn't already set, so there's no need to define that macro either in the board configuration files. Signed-off-by: Timur Tabi Acked-by: Nobuhiro Iwamatsu Acked-by: Andy Fleming Acked-by: Andre Schwarz Acked-by: Kim Phillips commit c9969947a4687de90e2bb58e76842b491aa0e0b9 Author: Jon Smirl Date: Sun Jun 14 18:21:28 2009 -0400 board support patch for phyCORE-MPC5200B-tiny Add support for the Phytec phyCORE-MPC5200B-tiny. Code originally from Pengutronix.de. Created CONFIG_SYS_ATA_CS_ON_TIMER01 define for when IDE CS is on Timer 0/1 Signed-off-by: Jon Smirl Acked-by: Grant Likely commit 7bd49ad12cc36a4de6995ddabbc65ffa1aa1933d Author: Mike Frysinger Date: Mon Jun 15 13:37:20 2009 -0400 kallsyms: fix escaping of NUL char in strings The current kallsyms code is using \\0 to escape the backslash in the awk code, but the shell too needs escaping. This way we make sure gcc is passed the \0. Then gcc itself will consume this as an octal, so we have to use 000 so gcc will create the final NUL. Signed-off-by: Mike Frysinger commit ed540f07b8ad86909704e9806c1762462cb4995a Author: Harald Krapfenbauer Date: Fri Jun 26 10:18:49 2009 -0400 Blackfin: cm-bf561: add example settings for EXT-BF5xx-USB-ETH2 add-on The cm-bf561 module can easily hook up to the EXT-BF5xx-USB-ETH2 extender board, so add a simple example of how to do that in the board config. Signed-off-by: Harald Krapfenbauer Signed-off-by: Mike Frysinger commit f8bf54b4081c3c3d518830df0017a23ec672a841 Author: Mike Frysinger Date: Thu Jun 25 19:40:28 2009 -0400 Blackfin: blackstamp: update spi flash settings The latest blackstamp boards can only run the SPI flash at 15MHz before they start to crap out, so lower the max speeds accordingly. The new SPI flash also has different sector requirements, so update the environment sizes as well. Signed-off-by: Mike Frysinger commit 286070ddc8339666c09bd7912e960b850a8a0318 Author: Mike Frysinger Date: Mon Oct 6 03:31:52 2008 -0400 Blackfin: add cache_dump commands A few debug-type commands used to dump the raw icache/dcache data. Useful when trying to track down cache-related bugs. Signed-off-by: Mike Frysinger commit 632e9b671efb0a6c900499f7a49fe5b63292b5fc Author: Matthias Fuchs Date: Wed Jul 8 15:31:57 2009 +0200 ppc4xx: Set default PCI device ID for 405EP boards Current code only sets the PCI vendor id to 0x1014 and leaved device id to 0x0000. Ths patch .... a) uses the correct PCI_VENDOR_ID_IBM macro for this b) sets the default device ID as stated in the UM to 0x0156 by using PCI_DEVICE_ID_IBM_405GP for this. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit 123f102ec093fba6967066acdf9beb637df2e2d1 Author: Matthias Fuchs Date: Wed Jul 8 13:43:55 2009 +0200 ppc4xx: Move 405EP pci code from cpu_init_f() to __pci_pre_init() This patch moves some basic PCI initialisation from the 4xx cpu_init_f() to cpu/ppc4xx/4xx_pci.c. The original cpu_init_f() function enabled the 405EP's internal arbiter in all situations. Also the HCE bit in cpc0_pci is always set. The first is not really wanted for PCI adapter designs and the latter is a general bug for PCI adapter U-Boots. Because it enables PCI configuration by the system CPU even when the PCI configuration has not been setup by the 405EP. The one and only correct place is in pci_405gp_init() (see "Set HCE bit" comment). So for compatibility reasons the arbiter is still enabled in any case, but from weak pci_pre_init() so that it can be replaced by board specific code. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit c71103f9dc66dfcce8ad6df942364043bf27ade8 Author: Matthias Fuchs Date: Wed Jul 8 13:43:23 2009 +0200 ppc4xx: Make is_pci_host() available for all 440 and 405 CPUs Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit 1d8937a469bfeb55ca1f6d89a4e7cd2dfee3cf17 Author: Prafulla Wadaskar Date: Mon Jun 29 20:56:43 2009 +0530 usb: add Marvell Kirkwood ehci host controller driver This driver is tested on Sheevaplug platform Signed-off-by: Prafulla Wadaskar Signed-off-by: Remy Bohmer commit db7b43e4681f6f93c336132708157a8a0cca1f8b Author: Vivek Mahajan Date: Wed Jun 24 10:08:40 2009 +0530 mpc83xx: USB: fix: access of ehci struct elements It fixes the access to the 'ehci' struct elements for mpc83xx which should have been taken care of in 4ef01010aa4799c759d75e67007fdd3a38c88c8a Sorry about that. Signed-off-by: Vivek Mahajan Signed-off-by: Remy Bohmer commit 08066152735417fc55a5c9de2cec0714c529e4f3 Author: Vivek Mahajan Date: Fri Jun 19 17:56:00 2009 +0530 mpc8xxx: USB: fix: access of ehci struct elements This patch fixes the access to the 'ehci' struct elements which should have been taken care off in 4ef01010aa4799c759d75e67007fdd3a38c88c8a Sorry about that. Signed-off-by: Vivek Mahajan Signed-off-by: Remy Bohmer commit c3a012ce65818beb274195cd47f31ed80d0fbaa5 Author: Bryan Wu Date: Tue Jun 16 05:26:27 2009 -0400 usb: musb: add timeout via CONFIG_MUSB_TIMEOUT Signed-off-by: Bryan Wu Signed-off-by: Mike Frysinger Signed-off-by: Remy Bohmer commit 7984967a9405672db1581402d2c2cfae268d1a67 Author: Mike Frysinger Date: Tue Jun 16 05:26:25 2009 -0400 usb: musb: drop old musb read/write prototypes These functions are no longer defined, so remove their prototypes. Signed-off-by: Mike Frysinger Signed-off-by: Remy Bohmer commit 4e04f16020115ab5ccf53158e100de58bcaf29bd Author: Kim Phillips Date: Mon Jun 15 11:50:07 2009 -0500 usb: fix CONFIG_SYS_MPC83xx_USB_ADDR not defined error fix a stray CONFIG_MPC83XX that escaped commit 0f898604945af4543c1525fc33b6bae621a3b805. Signed-off-by: Kim Phillips Signed-off-by: Remy Bohmer commit bc0d3296f1780b50e6b9630aee5eb368f2afb6cb Author: Michal Simek Date: Tue Jun 30 23:47:30 2009 +1000 asm-generic: Consolidate errno.h to asm-generic/errno.h This patch use blackfin errno.h implementation which correspond Linux kernel one. MIPS implemetation is different that's why I keep it. I removed ppc_error_no.h from Marvell boards which was the same too. I have got ack from ppc40x, blackfin, arm, coldfire and avr custodians. Acked-by: Stefan Roese Signed-off-by: Michal Simek commit 2896b5851f0430bf16529376a4193630e966c788 Author: Simon Kagstrom Date: Tue Jul 7 16:01:02 2009 +0200 Command improvements for ubifs Check that an argument is passed to ubifsmount and that addresses and sizes are actually numbers for ubifsload. Also improve the instructions a bit. Signed-off-by: Simon Kagstrom Signed-off-by: Stefan Roese commit 25c8f4005979ab2d190713ba341d96a5fa905cdb Author: Simon Kagstrom Date: Tue Jul 7 16:59:46 2009 +0200 Handle VID header offset in ubi part command The VID header offset is sometimes needed to initialize the UBI partition. This patch adds it (optionally) to the command line for the ubi part command. (Lines have been properly wrapped since last version) Signed-off-by: Simon Kagstrom Acked-by: Stefan Roese Signed-off-by: Stefan Roese commit 3672cd5c3b53d219d33345eebad4e25ad5bf6d52 Author: Wolfgang Denk Date: Thu Jul 9 09:56:16 2009 +0200 MAINTAINERS: fix sorting, remove duplicates. Signed-off-by: Wolfgang Denk commit efbf14e9a2394a154b12643d4a011994b5096b5a Author: Heiko Schocher Date: Wed Dec 10 08:27:01 2008 +0100 all platforms: make show_boot_progress() work again Signed-off-by: Heiko Schocher commit 205a0988d8fd778c60746c34c2f17dbd2b7cd0d2 Author: Prafulla Wadaskar Date: Mon Jun 29 15:25:18 2009 +0530 nand: Add Marvell Kirkwood NAND driver This patch adds a NAND driver for the Marvell Kirkwood SoC's Signed-off-by: Prafulla Wadaskar Acked-by: Scott Wood commit 0580e48f53f972783e56fcedadb9ce6e5b0b6f32 Author: Matthias Fuchs Date: Mon Jul 6 16:27:33 2009 +0200 ppc4xx: Make pll_write global This patch makes pll_write on PPC405EP boards global and callable from C code. pll_write can be used to dynamically modify the PLB:PCI divider as it is required for 33/66 MHz pci adapters based on the 405EP. board_early_init_f() is a good place to do that (check M66EN signal and call pll_write() when it is required). Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit 20b3c4b528606d51799aed5e4c71783720cd2b72 Author: Stefan Roese Date: Mon Jul 6 11:44:33 2009 +0200 ppc4xx: Remove compilation warning "pci_async_enabled defined but not used" Signed-off-by: Stefan Roese commit d0a1364f91c80d29daff6b27a7904a50cdc00b35 Author: Matthias Fuchs Date: Fri Jul 3 16:06:06 2009 +0200 ppc4xx: Implement is_pci_host() for 405 CPUs This patch implements the is_pci_host() function in a similiar way as it is used on 440 targets. The former path with CONFIG_PCI_HOST == PCI_HOST_AUTO does not build on 405EP targets because checking the PCI arbiter is different. So putting the fixed code into a separate function makes the code more readable. Also using is_pci_host() on 405 brings 405 and 440 PCI code a little bit closer. In preparation for an upcoming 405EP based PMC module I made this function weak so that it can be overwritten from board specific code. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit 04ddae915f295dee301f15c32100533a48e3b433 Author: Alessio Centazzo Date: Wed Jul 1 22:20:51 2009 -0700 ppc4xx: Fixed PPC4xx debug compilation error in uic.c This patch fixes a debug compilation error for PPC4xx platforms, all other architectures are not affected by this change. The 'handler' pointer was undefined. The fix is exercised and has effect only if DEBUG is defined. Signed-off-by: Alessio Centazzo acpatin@yahoo.com Signed-off-by: Stefan Roese commit 48e2b535a0dd3a7b77b674130934a24f9de6f48d Author: Felix Radensky Date: Wed Jul 1 11:37:46 2009 +0300 4xx: Fix compilation warnings and MQ registers dump in SPD DDR2 code This patch fixes printf format string compilation warnings in several debug statements. It also fixes the dump of DDR controller MQ registers found on some 44x and 46x platforms. The current register dump code uses incorrect DCRs to access these registers. Signed-off-by: Felix Radensky Signed-off-by: Stefan Roese commit 26d37f0061ad05e5c383c910f00e6006f3c89a3a Author: Felix Radensky Date: Mon Jun 22 15:30:42 2009 +0300 ppc4xx: Fix FDT EBC mappings on Canyonlands This patch fixes 2 problems with FDT EBC mappings on Canyonlands. First, NAND EBC mapping was missing, making Linux NAND driver unusable on this board. Second, NOR remapping code assumed that NOR is always on CS0, however when booting from NAND NOR is on CS3. Signed-off-by: Felix Radensky Signed-off-by: Stefan Roese commit baa9f9ba4345ed6dc5c403871c32e6295316ea52 Author: Nobuhiro Iwamatsu Date: Tue Jun 16 22:29:15 2009 +0900 sh: Revised the build with newest compiler The check of data became severe from newest gcc. This patch checked in gcc-4.2 and 4.3 . Signed-off-by: Nobuhiro Iwamatsu commit be45c632568ba76343c1453b3951ad793f482fd5 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Thu Jun 4 12:06:48 2009 +0200 sh3/sh4: rename config option TMU_CLK_DIVIDER to CONFIG_SYS_TMU_CLK_DIV Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: Nobuhiro Iwamatsu Signed-off-by: Nobuhiro Iwamatsu commit 8dd29c87ba370072a8464b8cc19e0a1e6e0497b4 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Thu Jun 4 12:06:47 2009 +0200 sh3/sh4: fix CONFIG_SYS_HZ to 1000 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: Nobuhiro Iwamatsu Signed-off-by: Nobuhiro Iwamatsu commit add380f51f34ed1e2678c2abac8d53c91d652f26 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Thu Jun 4 12:06:46 2009 +0200 sh: introduce clock framework Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: Nobuhiro Iwamatsu Signed-off-by: Nobuhiro Iwamatsu commit 3931a375de2c381d9ff5ec2767b2da9f62a41aef Author: Jean-Christophe PLAGNIOL-VILLARD Date: Thu Jun 4 12:06:45 2009 +0200 sh: unify linker script all sh boards use the same cpu linker script so move it to cpu/$(CPU) that could be overwrite in following order SOC BOARD via the corresponding config.mk tested on r2dplus Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: Nobuhiro Iwamatsu Signed-off-by: Nobuhiro Iwamatsu commit 236aad875817771eb1f25ed32784b3cd7760b2e6 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Thu Jun 4 12:06:44 2009 +0200 sh: make the linker scripts more generic currently we need to sync the linker script enty and TEXT_BASE manualy and the reloc_dst is based on it instead provide it now from the ldflags tested on r2dplus Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: Nobuhiro Iwamatsu Signed-off-by: Nobuhiro Iwamatsu commit ce29817212792113cd2d67a9767049a2e262c406 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Thu Jun 4 12:06:43 2009 +0200 sh7785lcr: fix out of tree build Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: Nobuhiro Iwamatsu Signed-off-by: Nobuhiro Iwamatsu commit 2e8a6f551cba550e9220dca4d8504066203b1f74 Author: HeungJun Kim Date: Tue Jun 30 14:42:22 2009 +0900 env_onenand: change env_address type from unsigned long to loff_t If use the onenand boot, the env_relocate_spec() calls mtd->read(), and the type of the argument #2 of mtd->read() was changed to loff_t. But, the "env_addr" type is still unsigned long, thus this patch change the type from unsigned long to loff_t. Acked-by: Kyungmin Park Signed-off-by: HeungJun, Kim Signed-off-by: Scott Wood commit 66372fe2ab11cdeb0e841ad9eb6ba79769db4909 Author: Mingkai Hu Date: Thu Jun 18 18:23:27 2009 +0800 fsl_elbc_nand: redirect the pointer of bbt pattern to RAM The bbt descriptors contains the pointer to the bbt pattern which are statically initialized memory struct. When relocated to RAM, these pointers will continue point to NOR flash(or L2 SRAM, or other boot device). If the contents of NOR flash changed or L2 SRAM disabled, it'll hang the system. Signed-off-by: Mingkai Hu Signed-off-by: Scott Wood commit 1dac3a51875967f32641bbc0d26dc382ef02330a Author: Scott Wood Date: Wed Jun 24 17:23:49 2009 -0500 nand_spl: Fix cmd_ctrl usage in nand_boot.c. When adding large page NAND support to this file, I had a misunderstanding about the exact semantics of NAND_CTRL_CHANGE (which isn't documented anywhere I can find) -- it is apparently just a hint to drivers, which aren't required to preserve the old value for subsequent non-"change" invocations. This change makes nand_boot.c no longer assume this. Note that this happened to work by chance with some NAND drivers, which don't preserve the value, but treat 0 equivalently to NAND_CTRL_ALE. I don't have hardware to test this, so any testing is appreciated. Signed-off-by: Scott Wood commit 98713d2663d5d30dde74f48f547114a2bfd9d463 Author: kevin.morfitt@fearnside-systems.co.uk Date: Thu Jun 18 18:41:03 2009 +0100 Bug-fix in drivers mtd nand Makefile The S3C2410 NAND driver source file is included in the makefile instead of the object file. Signed-off-by: Kevin Morfitt Signed-off-by: Scott Wood commit b74ab737369bbbe66c15cbe6c0d0b6a351b00c96 Author: Guennadi Liakhovetski Date: Mon May 18 16:07:22 2009 +0200 nand_spl: read environment early, when booting from NAND using nand_spl Currently, when booting from NAND using nand_spl, in the beginning the default environment is used until later in boot process the dynamic environment is read out. This way environment variables that must be interpreted early, like the baudrate or "silent", cannot be modified dynamically and remain at their default values. Fix this problem by reading out main and redundand (if used) copies of the environment in the nand_spl code. Signed-off-by: Guennadi Liakhovetski Signed-off-by: Scott Wood commit 378adfcdf4bbd77ee4cbc3276d4733e218308a21 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat May 16 14:27:40 2009 +0200 mtd: nand: use loff_t for offset nand_util currently uses size_t which is arch dependent and not always a unsigned long. Now use loff_t, as does the linux mtd layer. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Scott Wood commit 8360b66bac9567701027a0087274d0c9b2fe8d6b Author: Wolfgang Denk Date: Sun May 24 17:34:33 2009 +0200 nand/onenand: Fix missing argument checking for "markbad" command The "nand markbad" and "onenand markbad" commands did not check if an argument was passed; if this was forgotten, no error was raised but block 0 was marked as bad. While fixing this bug, clean up the code a bit and allow to pass more than one block address, thus allowing to mark several blocks as bad in a single command invocation. Signed-off-by: Wolfgang Denk Signed-off-by: Scott Wood commit cd84423a09f3a08029fe41c1db96168debd0b51f Author: Mike Frysinger Date: Mon May 25 22:42:28 2009 -0400 mtd: nand: new base driver for memory mapped nand devices The BF537-STAMP Blackfin board had a driver for working with NAND devices that are simply memory mapped. Since there is nothing Blackfin specific about this, generalize the driver a bit so that everyone can leverage it. Signed-off-by: Mike Frysinger Signed-off-by: Scott Wood commit d27bc728cf35e7d7996fbd77154335e66615b213 Author: Guennadi Liakhovetski Date: Mon May 18 16:06:45 2009 +0200 env_nand: remove unused variable. Remove an unused "total" variable in multiple functions. Signed-off-by: Guennadi Liakhovetski Signed-off-by: Scott Wood commit 154b5484ac7dcbcd0fb5ba388d930b02f87fa302 Author: David Brownell Date: Sun May 10 15:43:01 2009 -0700 davinci_nand chipselect/init cleanup Update chipselect handling in davinci_nand.c so that it can handle 2 GByte chips the same way Linux does: as one device, even though it has two halves with independent chip selects. For such chips the "nand info" command reports: Device 0: 2x nand0, sector size 128 KiB Switch to use the default chipselect function unless the board really needs its own. The logic for the Sonata board moves out of the driver into board-specific code. (Which doesn't affect current build breakage if its NAND support is enabled...) Signed-off-by: David Brownell Signed-off-by: Scott Wood commit 496863b2440dd7cd69a1ad2443a9badd5f8968d1 Author: Sandeep Paulraj Date: Sat May 9 12:35:20 2009 -0400 NAND DaVinci: Update to ALE/CLE Mask values All DaVinci SOC's use a CLE mask of 0x10 and an ALE mask of 0x8 except the DM646x. This was decided by the design team driving the design. This patch updates the CLE and ALE values for DM646x. Updated patches for DM646x will be sent shortly. This applies to u-boot-nand-flash git Signed-off-by: Sandeep Paulraj Signed-off-by: Scott Wood commit 0c1684437ef810c503df29e8d73f63191aa63862 Author: Sandeep Paulraj Date: Wed Apr 29 09:47:09 2009 -0400 ARM DaVinci: Changing ALE Mask Value The ALE mask used by DaVinci SOCs is wrong. The patch changes the mask value from '0xa' to '0x8'. This is the mask we use for all TI releases. Signed-off-by: Sandeep Paulraj Signed-off-by: Scott Wood commit 6e29ed8e576a6900c5d8dcde36b423ac576894dc Author: David Brownell Date: Tue Apr 28 13:19:53 2009 -0700 davinci_nand: cleanup II (CONFIG_SYS_DAVINCI_BROKEN_ECC) Remove CONFIG_SYS_DAVINCI_BROKEN_ECC option. It's not just nasty; it's also unused by any current boards, and doesn't even match the main U-Boot distributions from TI (which use soft ECC, or 4-bit ECC on newer chips that support it). DaVinci GIT kernels since 2.6.24, and mainline Linux since 2.6.30, match non-BROKEN code paths for 1-bit HW ECC. The BROKEN code paths do seem to partially match what MontaVista/TI kernels (4.0/2.6.10, and 5.0/2.6.18) do ... but only for small pages. Large page support is really broken (and it's unclear just what software it was trying to match!), and the ECC layout was making three more bytes available for use by filesystem (or whatever) code. Since this option itself seems broken, remove it. Add a comment about the MV/TI compat issue, and the most straightforward way to address it (should someone really need to solve it). Signed-off-by: David Brownell Signed-off-by: Scott Wood commit fcb774777562bb7bcdc53c608d0e6bae906ce0f6 Author: David Brownell Date: Tue Apr 28 13:19:50 2009 -0700 davinci_nand: cleanup I (minor) Minor cleanup for DaVinci NAND code: - Use I/O addresses from nand_chip; CONFIG_SYS_NAND_BASE won't be defined when there are multiple chipselect lines in use (as with common 2 GByte chips). - Cleanup handling of EMIF control registers * Only need one pointer pointing to them * Remove incorrect and unused struct supersetting them - Use the standard waitfunc; we don't need a custom version - Partial legacy cleanup: * Don't initialize every board like it's a DM6446 EVM * #ifdef a bit more code for BROKEN_ECC Sanity checked with small page NAND on dm355 and dm6446 EVMs; and large page on dm355 EVM (packaged as two devices, not one). Signed-off-by: David Brownell Signed-off-by: Scott Wood commit 8e5e9b940cdede0debe528cdd7edccccbb3ebf2a Author: Wolfgang Denk Date: Tue Jul 7 22:35:02 2009 +0200 Coding style cleanup; update CHANGELOG Signed-off-by: Wolfgang Denk commit d318d0c44d8e91e937c4dad0c5b1d2f6bb9d9fd8 Author: Stefan Roese Date: Mon Jun 29 13:30:50 2009 +0200 UBI: Fix build problem noticed on Apollon (arm/testing repo) This patch fixes a build problem noticed on Apollon by using mtd_dev_by_eb() instead of "/" as done in the Linux UBI version. So this brings the U-Boot UBI version more in sync with the Linux version again. Signed-off-by: Stefan Roese commit 2efee52b09657e9353655b9dae9e1d1a67a2abe4 Author: Prafulla Wadaskar Date: Mon Jul 6 20:29:15 2009 +0530 sf: Macronix additional chips supported new chips supported:- MX25L1605D, MX25L3205D, MX25L6405D, MX25L12855E out of which MX25L6405D and MX25L12855E tested on Kirkwood platforms Modified the Macronix flash support to use 2 bytes of device id instead of 1 This was required to support MX25L12855E Signed-off-by: Piyush Shah Signed-off-by: Prafulla Wadaskar Signed-off-by: Mike Frysinger commit dd54126715b89ed0c43322aa78b0dad306f043b6 Author: Mike Frysinger Date: Fri Jun 19 03:27:28 2009 -0400 sf: sst: add sst25vf###b ids Signed-off-by: Mike Frysinger commit 7d907f0ea993b179a197d8db2a36f122bc673c2d Author: Mike Frysinger Date: Fri Jun 19 03:20:06 2009 -0400 sf: sst: fix sector size Looks like when I was encoding the sector sizes, I forgot to divide by 8 (due to the stupid marketing driven process that declares all sizes in useless megabits and not megabytes). Signed-off-by: Mike Frysinger commit ceb70b466e75ceb1a621b6163f7e31116bfc8094 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Jul 5 01:06:06 2009 +0200 nhk8815: fix MAKEALL Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit d08e5ca301b69ab77ecdd34e2b06aee30d6057d1 Author: Magnus Lilja Date: Sat Jul 4 10:31:24 2009 +0200 MX31: Add NAND SPL boot support to i.MX31 PDK board. Signed-off-by: Magnus Lilja commit 78eabb90b793fafe875a7469526d1715fa56cbb4 Author: Prafulla Wadaskar Date: Mon Jun 29 20:55:54 2009 +0530 arm: Kirkwood: arch specific updated for ehci-Kirkwood driver support This patch abstracts Kirkwood arch specific changes to support ehci-kirkwood driver Signed-off-by: Prafulla Wadaskar commit 095a460b49022e64df76134300643606e3acb4e9 Author: Alessandro Rubini Date: Mon Jun 29 10:52:37 2009 +0200 arm nomadik: use 1000 as HZ value and rewrite timer code This sets CONFIG_SYS_HZ to 1000 as required, and completely rewrites timer code, which is now both correct and much smaller. Unused functions like udelay_masked() have been removed as no driver uses them, even the ones that are not currently active for this board. mtu.h is copied literally from the kernel sources. Signed-off-by: Alessandro Rubini Acked-by: Andrea Gallo Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit f7aa59b29a451cc502078a9e4ba32345a4250c05 Author: Alessandro Rubini Date: Mon Jun 22 09:18:57 2009 +0200 arm nomadik: allow Nand and OneNand to coexists The evaluation kit has both Nand and OneNand, both drivers are there and the two configurations only select a different default for the jffs partition. This adds the OneNand driver and cleans up storage. Signed-off-by: Alessandro Rubini Acked-by: Andrea Gallo commit fd14c41a861cd38ee2fe3abd61d59b57b4eb23c9 Author: Alessandro Rubini Date: Mon Jun 22 09:18:47 2009 +0200 arm nomadik: cleanup reset There is only one public release of the Nomadik chip, so the ifdef in reset code as well as a define in the config file are not needed Signed-off-by: Alessandro Rubini Acked-by: Andrea Gallo commit ee1363f2da3996bafdecdd8f4e48862ebff3f271 Author: Alessandro Rubini Date: Mon Jun 22 09:18:37 2009 +0200 arm nomadik: rename board to nhk8815 This is an error in my side in the initial submission: nobody calls it ""nmdk8815", it's "nomadik hardware kit", nhk8815, instead. Signed-off-by: Alessandro Rubini Acked-by: Andrea Gallo commit 040f8f63e922bbfb8ba0958bf637f11a917f5c38 Author: Stefano Babic Date: Wed Jul 1 20:40:41 2009 +0200 xscale: add support for the polaris board The Polaris board is based on the TrizepsIV module of Keith & Koep (http://www.keith-koep.com). Signed-off-by: Stefano Babic commit 88bd97501314683b87f3f1edcf55b347c041b722 Author: Stefano Babic Date: Wed Jul 1 04:33:56 2009 +0200 xscale: fix USB initialization for Trizepsiv module Due to change in the usb_board_init() prototype, the USB for the TrizepsIV was not correctly initialized. Removed dummy print from usb_board_stop(). Signed-off-by: Stefano Babic commit 0b785ddd60120cfb74d18e58c56054238219f6db Author: Prafulla Wadaskar Date: Wed Jul 1 20:34:51 2009 +0200 net: merge bugfix: Marvell Kirkwood gigabit ethernet driver This patch looks okay on u-boot-net.git/next branch but when it was merged to u-boot.git/master the last line is missing Signed-off-by: Prafulla Wadaskar Acked-by: Ben Warren commit 33b1d3f43a16fbb79004075ce89ae4e618b288a2 Author: Daniel Gorsulowski Date: Tue Jun 30 21:03:37 2009 +0200 at91: Add esd gmbh MEESC board support This patch adds support for esd gmbh MEESC board. The MEESC is based on an Atmel AT91SAM9263 SoC. Signed-off-by: Daniel Gorsulowski commit 21761540b43c7086c75ee9afb412da1e5ddde2e9 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Tue Jun 30 21:03:35 2009 +0200 ARM: Update mach-types update against linux v2.6.30 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 45627fce18139a74e0755124d27376b520db156c Author: Daniel Gorsulowski Date: Tue Jun 30 23:03:33 2009 +0200 at91: Add CAN init function To enable CAN init, CONFIG_CAN has to be defined in the board config file and at91_can_hw_init() has to be called in the board specific code. CAN is available on AT91SAM9263 and AT91CAP9 SoC. Signed-off-by: Daniel Gorsulowski commit 2e23008e5dbde7fe4c4758bee5a393e1db796cdf Author: Simon Kagstrom Date: Tue Jun 30 23:03:31 2009 +0200 arm: Kirkwood: Correct header define Correct define typo (. -> ,) Signed-off-by: Simon Kagstrom commit 8449f287f5c53d59db13c3c512e6bd1750b692d1 Author: Magnus Lilja Date: Wed Jul 1 01:07:55 2009 +0200 MX31: Add basic support for Freescale i.MX31 PDK board. Add support for Freescale's i.MX31 PDK board (a.k.a. 3 stack board). This patch assumes that some other program performs the actual NAND boot. Signed-off-by: Magnus Lilja Acked-by: Fabio Estevam Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 8d460a573e2a2ac4834636903865a0428ad0e629 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Tue Jun 23 00:12:01 2009 +0200 S3C24x0: extract interrupts from timer Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit c8badbe500a752f42049e51042767ee62ea714e0 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Jun 28 14:14:21 2009 +0200 dm355/pm9261: add missing CONFIG_NET_MULTI Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 798bf9a9ade1cfbe85a16d180cad720927d8e10a Author: Jean-Christophe PLAGNIOL-VILLARD Date: Tue Jun 23 00:12:01 2009 +0200 arm920t/interrupts: Move conditional compilation to Makefile Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 06e758e75c79ce8761866bf8165c443584a20893 Author: Kim, Heung Jun Date: Sat Jun 20 11:02:17 2009 +0200 move L2 cache enable/disable function to cache.c in the omap3 SoC directory Signed-off-by: HeungJun, Kim CC: Dirk Behme Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit d583ef5147066d3609de21f3beebbab99a19bad4 Author: Thomas Lange Date: Sat Jun 20 11:02:17 2009 +0200 ARM DaVinci: EMIF settings NAND module should not modify EMIF registers unrelated to CS2 that is used for NAND, i.e. do not modify EWAIT config register or registers for other Chip Selects. Without this patch, EMIF configurations made in board_init() will be invalidated. Signed-off-by: Thomas Lange commit 2600b8571a26c10c1c43401d7af38e2333cc5381 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat Jun 20 11:02:17 2009 +0200 versatile: config coding style cleanup Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: Peter Pearse commit 4efb77d41f9c5d93f0f92dda60e742023fa03c72 Author: Prafulla Wadaskar Date: Sat Jun 20 11:01:53 2009 +0200 arm: Kirkwood: Basic SOCs support Kirkwood family controllers are highly integrated SOCs based on Feroceon-88FR131/Sheeva-88SV131/arm926ejs cpu core. SOC versions supported:- 1) 88F6281-A0 define CONFIG_KW88F6281_A0 2) 88F6192-A0 define CONFIG_KW88F6192_A0 Other supported features:- 1) get_random_hex() fucntion 2) PCI Express port initialization 3) NS16550 driver support Contributors: Yotam Admon Michael Blostein Acked-by: Stefan Rose Signed-off-by: Prafulla Wadaskar commit 5c3d5817e5e68b828c165c501c215e793dc63aac Author: Prafulla Wadaskar Date: Sat Jun 20 11:01:52 2009 +0200 arm: generic cache.h for ARM architectures This patch is required for Kirkwood SoC support may be used by other ARM architectures Signed-off-by: Prafulla Wadaskar commit 9c8c706c92e53433a871a563946c38075d76504d Author: Matthias Ludwig Date: Sat Jun 20 11:01:50 2009 +0200 OMAP3EVM: fix typo. replace CS6 by CS5, no functionality change Signed-off-by: Matthias Ludwig commit 0aafde1dc76d6d65d6be10bf499ec86d9ffee8b9 Author: Sedji Gaouaou Date: Wed Jun 24 08:32:09 2009 +0200 at91sam9260/9263: add back up for the rst(reset controller). On the boards at91sam9260ek, at91sam9263ek and afed9260, the rstc register was set to 0 after being set to 500 ms for the PHY reset. Do backup the old reset length and restore it after the MACB initialisation. Signed-off-by: Sedji Gaouaou Signed-off-by: Stelian Pop commit afb0b1315c048ce2b1f35f0183b8b118ad0c14e1 Author: Kumar Gala Date: Fri Jul 3 12:45:44 2009 -0500 fsl: Fix compiler warnings from gcc-4.4 in sys_eeprom code sys_eeprom.c: In function 'do_mac': sys_eeprom.c:323: warning: dereferencing type-punned pointer will break strict-aliasing rules sys_eeprom.c: In function 'mac_read_from_eeprom': sys_eeprom.c:395: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Kumar Gala commit e94e460c6e8741f42dab6d8dd4b596ba5d9d79ae Author: Peter Tyser Date: Tue Jun 30 17:15:51 2009 -0500 83xx: Add support for fsl_dma driver Signed-off-by: Peter Tyser Reviewed-by: Ira W. Snyder Tested-by: Ira W. Snyder Acked-by: Kim Phillips Signed-off-by: Kumar Gala commit 9adda5459ca62120c0c50b82b766fe1cf6925bbf Author: Peter Tyser Date: Tue Jun 30 17:15:50 2009 -0500 83xx: Replace CONFIG_ECC_INIT_VIA_DDRC references Update 83xx architecture's CONFIG_ECC_INIT_VIA_DDRC references to CONFIG_ECC_INIT_VIA_DDRCONTROLLER, which other Freescale architectures use Signed-off-by: Peter Tyser Acked-by: Kim Phillips Signed-off-by: Kumar Gala commit 039594a4301dadceb267db5e8b9c8c78b1bb86b5 Author: Poonam Aggrwal Date: Thu Jul 2 16:15:01 2009 +0530 8xxx: Second UART port added for MPC85xx, MPC83xx, MPC86xx processors Defining the next two configs allows to switch the serial port from the console using the setenv stdin and stdout 1. #define CONFIG_SERIAL_MULTI 1 /* Enable both serial ports */ 2. #define CONFIG_SYS_CONSOLE_IS_IN_ENV /* determine from environment */ Signed-off-by: Poonam Aggrwal Signed-off-by: Ed Swarthout Signed-off-by: Kumar Gala commit 546b1032907df70f2dd0f98f3ad09885a88411e5 Author: Poonam Aggrwal Date: Thu Jul 2 16:14:40 2009 +0530 85xx: Adds GPIO registers to MPC85xx Memory Map. Signed-off-by: Poonam Aggrwal Signed-off-by: Kumar Gala commit 5da6f806b400372b8a0664f3282c9e83a402eb66 Author: Peter Tyser Date: Tue Jun 30 17:26:01 2009 -0500 86xx: XPedite5170 board support Initial support for Extreme Engineering Solutions XPedite5170 - a MPC8640-based 3U VPX single board computer with a PMC/XMC site. Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit e66f38da8434425aca8df08d06d9ef41b3478d3b Author: Timur Tabi Date: Wed Jul 1 16:51:59 2009 -0500 fsl_ddr: Fix DDR3 calculation of rank density with 8GB or more The calculate for rank density in compute_ranksize() for DDR3 used all integers for the expression, so the result was also a 32-bit integer, even though the 'bsize' variable is a u64. Fix the expression to calculate a true 64-bit value. Signed-off-by: Timur Tabi Signed-off-by: Kumar Gala commit 6af015b86b86d94de7ca1b23a3890bc93a50c2ab Author: Peter Tyser Date: Tue Jun 30 17:15:49 2009 -0500 fsl_dma: Make DMA transactions snoopable Make DMA transactions snoopable so that CPUs can keep caches up-to-date. This allows dma transactions to be used for operations such as memory copies without any additional cache control operations. Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit 0d595f76bc9c7c8dff5bd31dffed87a840a03c56 Author: Peter Tyser Date: Tue Jun 30 17:15:48 2009 -0500 fsl_dma: Break out common memory initialization function Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit 79f4333ceb059049b3ee560167d6cbaec493695f Author: Peter Tyser Date: Tue Jun 30 17:15:47 2009 -0500 8xxx: Move dma_init() call to common code Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit 191c7118592cd182f2dc7f46b4f72d9bed0e2c76 Author: Peter Tyser Date: Tue Jun 30 17:15:46 2009 -0500 fsl_dma: Move dma function prototypes to common header file Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit 7892f619d40f4196e41e7114c5dfee9fad0f572f Author: Peter Tyser Date: Tue Jun 30 17:15:45 2009 -0500 8xxx: Rename dma_xfer() to dmacpy() Also update dmacpy()'s argument order to match memcpy's and use phys_addr_t/phy_size_t for address/size arguments Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit 484919cf3351212ebf748b9b13ece1ddaf7e7d1c Author: Peter Tyser Date: Tue Jun 30 17:15:44 2009 -0500 fsl_dma: Fix Channel Start bug in dma_check() The Channel Start (CS) bit in the Mode Register (MR) should actually be cleared as the comment in the code suggests. Previously, CS was being set, not cleared. Assuming normal operation of the DMA engine, this change shouldn't have any real affect. Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit 51402ac12be9a0025f16db51fbde7c050a54e5fe Author: Peter Tyser Date: Tue Jun 30 17:15:43 2009 -0500 fsl_dma: Add support for arbitrarily large transfers Support DMA transfers larger than the DMA controller's limit of (2 ^ 26 - 1) bytes Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit a730393a362741c318b21771b8d7b2647e546c3e Author: Peter Tyser Date: Tue Jun 30 17:15:42 2009 -0500 fsl_dma: Use proper I/O access functions Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit 9c06071a6077ba95e9d43226156e39567d5d064a Author: Peter Tyser Date: Tue Jun 30 17:15:41 2009 -0500 fsl_dma: Add bitfield definitions for common registers Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit 017f11f68ef543e866be033bcb7b8058a8a380d8 Author: Peter Tyser Date: Tue Jun 30 17:15:40 2009 -0500 8xxx: Break out DMA code to a common file DMA support is now enabled via the CONFIG_FSL_DMA define instead of the previous CONFIG_DDR_ECC Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit 6bbced671719518d0e28ff422623cd7ce396cbda Author: Mark Jackson Date: Mon Jun 29 15:59:10 2009 +0100 Atmel LCD driver GUARDTIME fix This patch allows the guard time parameter to be set in the Atmel LCDC driver. By default, the previous value of 1 is used, unless the setting is defined elsewhere. Signed-off-by: Mark Jackson commit 29c35182462feea09f322e51913759a53359a3e0 Author: Roy Zang Date: Tue Jun 30 13:56:23 2009 +0800 85xx: Add pci e1000 Ethernet support for P2020 board Signed-off-by: Roy Zang Signed-off-by: Kumar Gala commit 156984a3611c28093919d3e3c042f722b5548253 Author: Kumar Gala Date: Thu Jun 18 08:39:42 2009 -0500 8xxx: Fix PCI bus address setup for 36-bit configs We want the outbound PCI memory map to end at the 4G boundary so we can maximize the amount of space available for inbound mappings if we have large amounts of memory. This matches the device tree setup in the kernel for the 36-bit physical configs for the platforms that have one (MPC8641 HPCN & MPC8572 DS). Signed-off-by: Kumar Gala commit 480f61790565d77432b70b4016b73f2ae27d530f Author: Kumar Gala Date: Thu Jun 18 08:23:01 2009 -0500 86xx: Add CPU_TYPE_ENTRY support Unify with 83xx and 85xx and use CPU_TYPE_ENTRY. We are going to use this to convey the # of cores and DDR width in the near future so its good to keep in sync. Signed-off-by: Kumar Gala commit 98ab14e858bf60306d0aa3f0df5a7a5f88264aff Author: Peter Meerwald Date: Mon Jun 29 15:48:33 2009 -0400 Blackfin: TWI/I2C: fix pure writes If doing a pure write with register address and data (not a read/write combo transfer), we don't set the initial transfer length properly which ends up causing only the register address to be transferred. While we're here, fix the i2c_write() parameter description of the buffer. Signed-off-by: Peter Meerwald Signed-off-by: Mike Frysinger commit 5710de45808eb8f1cc34b51dc3e67e2422113249 Author: Prafulla Wadaskar Date: Sat May 30 01:13:33 2009 +0530 spi: Add Marvell Kirkwood SPI driver This patch adds a SPI driver for the Marvell Kirkwood SoC's. Signed-off-by: Prafulla Wadaskar commit 6bde171a4c4116cee179167cb65335a28f99932d Author: Minkyu Kang Date: Thu Jun 25 19:21:33 2009 +0900 s3c64xx: move the reset_cpu function Because of the reset_cpu is soc specific, should be move to soc And read reset value from SYS_ID register instead of hard code this patch also supports s3c6410 Signed-off-by: Minkyu Kang commit 576afd4faeba1519bcb8c0083c3e4d45e5643a48 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun May 17 00:58:37 2009 +0200 integrator: merge integratorap and integratorcp Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Acked-by: Peter Pearse commit 46937b27427688a56bf7f5944a92d962dc43c3fa Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun May 17 00:58:36 2009 +0200 integratorap/cp: use cfi driver Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Acked-by: Peter Pearse commit de7a01abd8aeb167946f391327e1e0d1e01f90c9 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun May 17 00:58:36 2009 +0200 integratorap/cp/versatile: remove non used functions Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Acked-by: Peter Pearse commit f54851a6e3844b7e01581b5a9681f294118b7529 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun May 17 00:58:36 2009 +0200 integratorcp: split timer support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Acked-by: Peter Pearse commit 2bcef0723ea11c4e9bfbcfff2a93ec2da520b5f1 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun May 17 00:58:36 2009 +0200 integratorap: split timer support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Acked-by: Peter Pearse commit 86baa085c52a7f3377a88074679c5aca9b9e4d38 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun May 17 00:58:36 2009 +0200 integratorap: split pci support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Acked-by: Peter Pearse commit 379e9fc0a319b8f6ae16d763590bf023f3afb87c Author: Ilya Yanok Date: Mon Jun 8 04:12:50 2009 +0400 arm: add support for CONFIG_GENERIC_MMC Signed-off-by: Ilya Yanok commit 47d19da4d3f9ac4787abe9dee32406478424be52 Author: Ilya Yanok Date: Mon Jun 8 04:12:46 2009 +0400 serial_mx31: allow it to work with mx27 too and rename to serial_mxc UART hardware on i.MX27 is the same as on the i.MX31 so we just need to provide the driver with correct address of the registers. Signed-off-by: Ilya Yanok commit 1dc4da749dbde27ec862f5b65703e8e4541fbba3 Author: Ilya Yanok Date: Mon Jun 8 04:12:45 2009 +0400 mx27: basic cpu support This patch adds generic code to support Freescale's i.MX27 SoCs. Signed-off-by: Ilya Yanok commit dd2f6965a6c71f6f711ec98827880152e022c236 Author: Magnus Lilja Date: Sat Jun 13 20:50:03 2009 +0200 i.MX31: Create a common device file. Signed-off-by: Magnus Lilja commit 958f7da7887fea4a2091ae60944d62c1708c2c55 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat Jun 13 20:50:02 2009 +0200 ARM: Add macros.h to be used in assembler file. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 40c642bc19b9fa2906e3172487a522fee456340b Author: Magnus Lilja Date: Sat Jun 13 20:50:01 2009 +0200 MX31: Add NAND SPL for i.MX31. This patch adds the NAND SPL framework needed to boot i.MX31 boards from NAND. It has been tested on a i.MX31 PDK board with large page NAND. Small page NANDs should work as well, but this has not been tested. Note: The i.MX31 NFC uses a non-standard layout for large page NANDs, whether this is compatible with a particular setup depends on how the NAND device is programmed by the flash programmer (e.g. JTAG debugger). The patch is based on the work by Maxim Artamonov. Signed-off-by: Maxim Artamonov Signed-off-by: Magnus Lilja commit df81238b3e27a791da996a9208402ac8f40b9862 Author: Magnus Lilja Date: Sat Jun 13 20:50:00 2009 +0200 ARM1136: Introduce CONFIG_PRELOADER macro. Currently CONFIG_ONENAND_IPL is used in a number of #ifdef's in start.S. In preparation for adding support for NAND SPL the macro CONFIG_PRELOADER is introducted and replaces the CONFIG_ONENAND_IPL in start.S. Signed-off-by: Magnus Lilja commit 8096c51fd4e611ed666dbe77767e81af5d94fc7b Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat Jun 13 12:50:04 2009 +0200 at91: unify nor boot support the lowlevel init sequence is the same so unify it Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 1b3b7c640d04df2ba9a9d947117d112a75fee7f4 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat Jun 13 12:48:36 2009 +0200 at91sam9263ek: add nor flash support this will allow you to store use it for the env and to boot directly U-Boot from Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 329492329700812c6df275aa0fda09d609cd0fd4 Author: Ilko Iliev Date: Fri Jun 12 21:20:39 2009 +0200 at91: add support for the PM9261 board of Ronetix GmbH The PM9261 board is based on the AT91SAM9261-EK board. Here is the page on Ronetix website: http://www.ronetix.at/starter_kit_9261.html Signed-off-by: Ilko Iliev Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 01550a2b650fbabc03334f9eadcc6083601a2414 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri Jun 12 21:20:38 2009 +0200 pm9263: use macro instead of hardcode value for the lowlevel_init optimize a few the RAM init Signed-off-by: Ilko Iliev Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 7a11c7f9747240dc770954d320569596c0fbcb50 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri Jun 12 21:20:37 2009 +0200 pm9263: lowlevel init update move PSRAM init to pm9263.c this will allow us after to make the nor lowlevel_init generic Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 3e88337b225bf796f6df21d0a7f591530e9d4ce0 Author: Mike Frysinger Date: Mon Jun 15 00:25:19 2009 -0400 Blackfin: move ALL += u-boot.ldr to blackfin_config.mk The way the ALL variable is used allows for config.mk's to add more targets themselves without having to clutter up the top level Makefile. Signed-off-by: Mike Frysinger commit afac8b07172d7e4a65f86ce1ec4c783a6165ba1f Author: Mike Frysinger Date: Sun Jun 14 22:29:35 2009 -0400 Blackfin: fix SPI flash speed define name The SPI flash define is named CONFIG_SF_DEFAULT_SPEED, not CONFIG_SF_DEFAULT_HZ, so fix the typos in the Blackfin boards. Signed-off-by: Mike Frysinger commit 9ae55ccf601de7a5b75eb418f3fc3d5eca92c106 Author: Mike Frysinger Date: Sun Jun 14 22:26:31 2009 -0400 Blackfin: enable -O2 in lib_generic/ for ADI/Bluetechnix boards Building the compression code in lib_generic/ with -O2 rather than -Os gives a nice speed boost without too much code size increase. Signed-off-by: Mike Frysinger commit fea63e2a44f0db51d2e39ee7793e8c6d7f3cf5d4 Author: Mike Frysinger Date: Sun Jun 14 21:23:27 2009 -0400 Blackfin: bf548-ezkit: bump up monitor size The latest version of U-Boot got a bit fatter in the BSS section which caused overflows in the RAM region, so increase the monitor size. Signed-off-by: Mike Frysinger commit bc43a8d8994c2f0be29e09b13b15da7f79e2c081 Author: Vivi Li Date: Fri Jun 12 10:53:22 2009 +0000 Blackfin: bf533-stamp/bf537-stamp: fix env settings for SPI flash The SPI flash layer is much stricter about sector usage than the eeprom layer we used to use, so update the env settings to better match the sector alignment of the flashes we use. Signed-off-by: Vivi Li Signed-off-by: Mike Frysinger commit 63cb0f4eb2d3cf15e7a1add19d1289f4ae75816c Author: Vivi Li Date: Fri Jun 12 10:33:23 2009 +0000 Blackfin: bump up default JTAG console timeout The debug tools that interface with the other side of the JTAG console got much slower when generalizing things, so bump up the default timeout value on the U-Boot side to cope. Hopefully at some point we can improve the debug tools to speed things back up. Signed-off-by: Vivi Li Signed-off-by: Mike Frysinger commit c11ff779f4e0e0c7edc322e84dd229ad28709595 Author: Mike Frysinger Date: Mon Jun 1 19:08:33 2009 -0400 Blackfin: add jtagconsole helper script This script is similar to the netconsole script, but instead works with the JTAG console device driver that exists on Blackfin parts. Signed-off-by: Mike Frysinger commit 60f61e6d7655400bb785a2ef637581679941f6d1 Author: Remy Bohmer Date: Sat May 2 21:49:18 2009 +0200 Convert DM9000 driver for CONFIG_NET_MULTI All drivers need to be converted to CONFIG_NET_MULTI. This patch converts the dm9000 driver. Signed-off-by: Thomas Smits Signed-off-by: Remy Bohmer Signed-off-by: Ben Warren commit 9131589ada4dda0718604d0a425ca46e52775f6e Author: Prafulla Wadaskar Date: Sun Jun 14 22:33:46 2009 +0530 net: Add Marvell Kirkwood gigabit ethernet driver This patch adds a egiga driver for the Marvell Kirkwood SoC's. Contributors: Yotam Admon Michael Blostein Acked-by: Stefan Rose Signed-off-by: Prafulla Wadaskar Signed-off-by: Ben Warren commit 7835f4b94927ecb5affd99aad62592108db606ad Author: s-paulraj@ti.com Date: Tue May 12 11:45:34 2009 -0400 DaVinci Network Driver Updates Different flavours of DaVinci SOC's have differences in their EMAC IP This patch does the following 1) Updates base addresses for DM365 2) Updates MDIO frequencies for DM365 and DM646x 3) Update EMAC wrapper registers for DM365 and DM646x Patch applies to u-boot-net git. the EMAC driver itself will be updated shortly to add support for DM365 and DM646x Signed-off-by: Sandeep Paulraj Signed-off-by: Ben Warren commit 44578bea14e49035331a8f0e000e935e0d830ff4 Author: Richard Retanubun Date: Tue May 26 08:29:29 2009 -0400 Subject: [PATCH] [repost] Standardize the use of MCFFEC_TOUT_LOOP as a udelay(1) loop counter. From 584b5fbd4abfc43f920cc1c329633e03816e28be Mon Sep 17 00:00:00 2001 From: Richard Retanubun Date: Wed, 20 May 2009 18:26:01 -0400 Subject: [PATCH] Standardize the use of MCFFEC_TOUT_LOOP as a udelay(1) loop counter. Signed-off-by: Richard Retanubun Signed-off-by: Ben Warren commit c9a2aab1512fb2d132670fff9c27656d2eb949cd Author: Norbert van Bolhuis Date: Thu Jun 4 09:39:48 2009 +0200 A VLAN tagged DHCP request/discover is 4 bytes short The problem is that BOOTP_SIZE uses ETHER_HDR_SIZE which is 14 bytes. If sending a VLAN tagged frame (when env variable vlan is set) this should be VLAN_ETHER_HDR_SIZE=18 which is what NetSetEther returns. Signed-off-by: Norbert van Bolhuis Signed-off-by: Ben Warren commit 6e0d2fc7fe0dcfa2f51ab8931d706940ee364193 Author: Ben Warren Date: Tue Apr 28 16:39:19 2009 -0700 Remove support for non-CONFIG_NET_MULTI on PPC4xx EMAC Signed-off-by: Ben Warren commit 8453587ef9137daf98b7c9cf4f3b865f4039cea0 Author: Ben Warren Date: Tue May 26 00:34:07 2009 -0700 Switched davinci_emac Ethernet driver to use newer API Added CONFIG_NET_MULTI to all Davinci boards Removed all calls to Davinci network driver from board code Added cpu_eth_init() to cpu/arm926ejs/cpu.c Signed-off-by: Ben Warren commit 8cc13c13f1d154c8fa8fff56cea357ed38af76bf Author: Ben Warren Date: Mon Apr 27 23:19:10 2009 -0700 Initial cleanup of Davinci Ethernet driver Removed pointless #ifdefs Moved functions around in file in preparation for switch to newer API Signed-off-by: Ben Warren commit 09cdd1b9b01450e91786d26ff3c866dc9c8d8d6b Author: Ben Warren Date: Tue May 26 00:17:59 2009 -0700 Moved Davinci Ethernet driver to drivers/net This driver has been renamed davinci_emac.c Signed-off-by: Ben Warren commit 6f51deb7f298413cfcb0a36d24c97ef7dd69d48f Author: Prafulla Wadaskar Date: Tue May 19 01:40:16 2009 +0530 Marvell MV88E61XX Switch Driver support Chips supported:- 1. 88E6161 6 port gbe swtich with 5 integrated PHYs 2. 88E6165 6 port gbe swtich with 5 integrated PHYs 2. 88E6132 3 port gbe swtich with 2 integrated PHYs Platform specific configuration supported for:- default or router port vlan configuration led_init configuration mdip/n polarity reversal configuration Note: This driver is supported and tested against kirkwood egiga interface Contributors: Yotam Admon Michael Blostein Signed-off-by: Prafulla Wadaskar Signed-off-by: Ben Warren commit 091dc9f6adaf572b067ae91af92c4e7db33d7903 Author: Zach LeRoy Date: Fri May 22 10:26:33 2009 -0500 tsec: Add support for BCM5482S PHY Signed-off-by: Zach LeRoy Acked-by: Kumar Gala Signed-off-by: Ben Warren commit 9ff67e5e4c719556d57f136a6453f8e4798d85c0 Author: Mike Frysinger Date: Sun Jun 14 06:29:07 2009 -0400 Blackfin: unify u-boot linker scripts All the Blackfin linker scripts were duplicated across the board dirs with no difference save from the semi-often used ENV_IS_EMBEDDED option. So unify all of them in the lib_blackfin/ dir and for the few boards that need to embedded the environment directly, add a LDS_BOARD_TEXT define for them to customize via their board config file. This is much simpler than forcing them to duplicate the rest of the linker script. Signed-off-by: Mike Frysinger commit f52efcae98cbb8a39f1d0535df8d9646a776af9e Author: Mike Frysinger Date: Fri May 29 17:02:37 2009 -0400 Blackfin: bf518f-ezbrd: enable SST SPI flash driver The BF51xF parts have an internal SST SPI flash, so make sure the driver is enabled by default so we can access it. Signed-off-by: Mike Frysinger commit f348ab85f741dc98b2d202c04b5f430eace94925 Author: Mike Frysinger Date: Fri Apr 24 17:22:40 2009 -0400 Blackfin: convert specific pre/post config headers to common method The Blackfin port was using asm/blackfin-config-{pre,post}.h to setup common Blackfin board defines. The common method now is to use config.h, so convert blackfin-config-post.h to that. Rename the still Blackfin specific blackfin-config-pre.h to config-pre.h so the naming conventions at least line up. Signed-off-by: Mike Frysinger commit 7c7503ee6cd03c0f3b16e98d33d5aa23b30d65b1 Author: Mike Frysinger Date: Fri Apr 24 17:11:47 2009 -0400 Blackfin: enable LZMA for all ADI boards Signed-off-by: Mike Frysinger commit 0e63dc0679451d48f8b727c543ce48b488f7a33f Author: Mike Frysinger Date: Mon Apr 13 05:52:45 2009 -0400 Blackfin: make default ADI env more flexible Allow boards to easily override the root= and default bootcmd, allow people to tweak the file used in default bootcmds at runtime via one env var, and add a stock nandboot command. Signed-off-by: Mike Frysinger commit 0f52b560f19623ec651f9b9b40405d138ec251d3 Author: Hoan Hoang Date: Sun Jan 18 22:44:17 2009 -0500 Blackfin: ibf-dsp561: new board port Signed-off-by: Hoan Hoang Signed-off-by: Mike Frysinger commit 3088189a15d219c48fd7e71623ca4daa08b80b59 Author: Mike Frysinger Date: Sun Oct 12 23:28:33 2008 -0400 Blackfin: blackstamp: new board port Signed-off-by: Mike Frysinger commit 59ac9729700db1d4446c1a6db3ffe38398b7abb2 Author: Mike Frysinger Date: Sun Oct 12 23:22:25 2008 -0400 Blackfin: bf537-srv1: new board port Signed-off-by: Mike Frysinger commit d7fdc1410b5fa5ef623b35a283733b6bcee3753b Author: Mike Frysinger Date: Sun Oct 12 23:16:52 2008 -0400 Blackfin: bf537-minotaur: new board port Signed-off-by: Mike Frysinger commit cb4b5e874f3c9b882a6f4394bbebbbd91fd01bbf Author: Mike Frysinger Date: Sun Oct 12 23:08:03 2008 -0400 Blackfin: bf537-pnav: new board port Signed-off-by: Mike Frysinger commit 59e4be945b6469e31eee721e0bcdccf4940d75ac Author: Mike Frysinger Date: Sun Oct 12 21:55:45 2008 -0400 Blackfin: cm-bf527: new board port Signed-off-by: Mike Frysinger commit 8b219cf07c186cc9d97354cf4b14f24a53d193c5 Author: Mike Frysinger Date: Sun Oct 12 21:54:07 2008 -0400 Blackfin: cm-bf548: new board port Signed-off-by: Mike Frysinger commit 9417d9a21384279308abe5b4dd8dfd418742484c Author: Mike Frysinger Date: Sun Oct 12 21:49:28 2008 -0400 Blackfin: tcm-bf537: new board port Signed-off-by: Mike Frysinger commit e548321af00e869af7194896576beb9b68457ff7 Author: Mike Frysinger Date: Sun Oct 12 21:45:05 2008 -0400 Blackfin: cm-bf561: new board port Signed-off-by: Mike Frysinger commit 8a9bab08a6fe93e5f3bf57b90438f1d2a67fad3c Author: Mike Frysinger Date: Sun Oct 12 21:41:06 2008 -0400 Blackfin: cm-bf537e: new board port Signed-off-by: Mike Frysinger commit e82d8a1f028bedb12c4ab88a35a935010d92898c Author: Mike Frysinger Date: Sun Oct 12 21:36:22 2008 -0400 Blackfin: cm-bf533: new board port Signed-off-by: Mike Frysinger commit dd14af7640f7d48d8e9768eeeb09592e6f94ed38 Author: Mike Frysinger Date: Thu Nov 27 16:50:32 2008 -0500 Blackfin: new spibootldr command Newer Blackfin parts can an on-chip ROM that can boot LDRs over SPI flashes, so add a new 'spibootldr' command to take advantage of it. Signed-off-by: Mike Frysinger commit 67c2829b646bb5b859088b36fbc89e971b9c1960 Author: Mike Frysinger Date: Mon Oct 6 04:42:33 2008 -0400 Blackfin: support embedding the environment into loader files (LDRs) For the most part, the Blackfin processor boots files in the LDR format rather than binary/ELF files. So we want to export the environment as a raw blob to the LDR utility so it can embed it at the right location. Signed-off-by: Mike Frysinger commit 31f30c9eb60d9ab0bd702e31f66345f99b34bdc6 Author: Mike Frysinger Date: Sun Jun 14 11:03:48 2009 -0400 add %.c->%.i and %.c->%.s rules The Linux kernel has some helper rules which allow you to quickly produce some of the intermediary files from C source. Specifically, you can create .i files which is the preprocessed output and you can create .s files which is the assembler output. This is useful when you are trying to track down header/macro expansion errors or inline assembly errors. Signed-off-by: Mike Frysinger Acked-by: Jean-Christophe PLAGNIOL-VILLARD commit 6d1ce387874c1060f27656f70151a52c511cd0e3 Author: Mike Frysinger Date: Sat May 30 01:02:03 2009 -0400 make sure toplevel $(SUBDIRS) is always declared The $(SUBDIRS) variable is only declared when U-Boot has been configured, but it gets used all the time. In the non-configured case, it is used to generate a helpful error message, but it needs to be set properly for that to occur. Signed-off-by: Mike Frysinger commit 1260233982f7dfbdfd1adee12daa95a0c0e84a43 Author: Grzegorz Bernacki Date: Fri Jun 12 11:33:55 2009 +0200 digsy mtc: Add description to GPIO initial configuration. Signed-off-by: Grzegorz Bernacki commit 12304871bc7839145f2b4238923e9023616d7399 Author: Grzegorz Bernacki Date: Fri Jun 12 11:33:54 2009 +0200 digsy MTC: Add 'mtc' command. New command allows to: o check FW version o set LED status o set digital output status o get digital input status Signed-off-by: Grzegorz Bernacki commit f1f66edfc76f4a9f5b9f63972d90309784a8cae5 Author: Grzegorz Bernacki Date: Fri Jun 12 11:33:53 2009 +0200 digsy MTC: Add SPI support. Signed-off-by: Grzegorz Bernacki commit 6325b7780dad8be26ba6fc25ef88ba338c50205b Author: Grzegorz Bernacki Date: Fri Jun 12 11:33:52 2009 +0200 mpc52xx: Add SPI driver. Signed-off-by: Grzegorz Bernacki commit 5ec5529b82f314ca2cf9c262cdfc985d5fc468a0 Author: Mike Frysinger Date: Sun Jun 14 09:33:00 2009 -0400 allow boards to customize compiler options on a per-file/dir basis With our Blackfin boards, we like to build the compression routines with -O2 as our tests show a pretty good size/speed tradeoff. For the rest of U-Boot though, we want to stick with the default -Os as that is mostly control code. So in our case, we would add a line like so to the board specific config.mk file: CFLAGS_lib_generic += -O2 Now all files under lib_generic/ will have -O2 appended to their build. Signed-off-by: Mike Frysinger Acked-by: Jean-Christophe PLAGNIOL-VILLARD commit 6b1f78ae6ad037382ad430b07064105c88f7ac02 Author: Wolfgang Denk Date: Sun Jun 14 21:30:39 2009 +0200 Prepare v2009.06 Update CHANGELOG, fix minor coding stylke issue. Update Makefile. Signed-off-by: Wolfgang Denk commit c3147c1762f8caf99649051116a2411bdf887c10 Author: Wolfgang Denk Date: Sun Jun 14 20:31:36 2009 +0200 Revert "SMC911x driver fixed for NFS boot" This reverts commit ca9c8a1e10fac01e6a1129f82a7ce18bd818fa43, which causes compile warnings ("large integer implicitly truncated to unsigned type") on all systems that use this driver. The warning results from passing long constants (TX_CFG, RX_CFG) into smc911x_set_mac_csr() which is declared to accept "unsigned character" arguments only. Being close to a release, with nobody available to actually test the code or the suggested fixes, it seems better to revert the patch. commit 388517e4b745b00256c2fa201ce7bccb67b4f245 Author: Peter Tyser Date: Fri May 22 10:26:37 2009 -0500 xes: Update Freescale clock code to work with 86xx processors Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit 25623937bb81cae788d767e6c59a11c96fc82866 Author: Peter Tyser Date: Fri May 22 10:26:36 2009 -0500 xes: Update Freescale DDR code to work with 86xx processors Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit bef3013908bbc68f24084174a3ca86cc2a3eb986 Author: Peter Tyser Date: Fri May 22 10:26:35 2009 -0500 xes: Update Freescale PCI code to work with 86xx processors Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit 6442b71b522face775c1c31bd43121db3b4bf7d6 Author: Peter Tyser Date: Fri May 22 10:26:32 2009 -0500 85xx: Add PORBMSR and PORDEVSR shift defines Add defines similar to those already used for the the 86xx architecture. This will ease sharing of PCI code between the 85xx and 86xx architectures. Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit 2f21ce4d546d31289ac49a680f78bcc9a792c6ec Author: Peter Tyser Date: Thu May 21 12:10:00 2009 -0500 fsl/85xx, 86xx: Sync up DMA code The following changes were made to sync up the DMA code between the 85xx and 86xx architectures which will make it easier to break out common 8xxx DMA code: 85xx: - Don't set STRANSINT and SPCIORDER fields in SATR register. These bits only have an affect when the SBPATMU bit is set. - Write 0xffffffff instead of 0xfffffff to clear errors in the DMA status register. We may as well clear all 32 bits of the register... 86xx: - Add CONFIG_SYS_MPC86xx_DMA_ADDR define to address DMA registers - Add clearing of errors in the DMA status register when initializing the controller - Clear the channel start bit in the DMA mode register after a transfer Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit b1f12650d332eadac1306a772cab6096abee6ddd Author: Peter Tyser Date: Thu May 21 12:09:59 2009 -0500 fsl: Create common fsl_dma.h for 85xx and 86xx cpus Break out DMA structures for the Freescale MPC85xx and MPC86xx cpus to reduce a large amount of code duplication Signed-off-by: Peter Tyser Signed-off-by: Kumar Gala commit 3bd8e532b5de20647aeaff94a1cbf33fb8b897b9 Author: Haiying Wang Date: Wed May 20 12:30:41 2009 -0400 85xx: Add UEC6 and UEC8 at SGMII mode for MPC8569MDS On MPC8569MDS board, UCC6 and UCC8 can be configured to work at SGMII mode via UEM on PB board. Since MPC8569 supports up to 4 Gigabit Ethernet ports, we disable UEC6 and UEC8 by default. Signed-off-by: Haiying Wang Signed-off-by: Kumar Gala commit e8efef7c1b457442583a8b9d38d8a5b667661616 Author: Haiying Wang Date: Thu Jun 4 16:12:42 2009 -0400 drivers/qe: add sgmii support in for UEC driver Signed-off-by: Haiying Wang Signed-off-by: Kumar Gala commit 8e55258f144764de8902e9f078a7ad4c6c022c2f Author: Haiying Wang Date: Thu Jun 4 16:12:41 2009 -0400 qe: Pass in uec_info struct through uec_initialize The uec driver contains code to hard code configuration information for the uec ethernet controllers. This patch creates an array of uec_info structures, which are then parsed by the corresponding driver instance to determine configuration. It also creates function uec_standard_init() to initialize all UEC interfaces for 83xx and 85xx. Signed-off-by: Haiying Wang Signed-off-by: Kumar Gala commit 9a6110897fc9282ade598bbba70ad72b940436e3 Author: Haiying Wang Date: Thu Jun 4 16:12:40 2009 -0400 fsl: Update the number of ethxaddr in reading system eeprom We support up to 8 mac addresses in system eeprom, so we define the macro MAX_NUM_PORTS to limit the mac_count to 8, and update the number of ethxaddr according to mac_count. Signed-off-by: Haiying Wang Signed-off-by: Kumar Gala commit f82107f637f167a77803c0933f9b24741a91c711 Author: Haiying Wang Date: Wed May 20 12:30:37 2009 -0400 85xx: Add RMII support for MPC8569MDS This patch supports UCC working at RMII mode on PIB board, fixup fdt blob to support rmii in kernel. It also changes the name of enable_mpc8569mds_qe_mdio to enalbe_mpc8569mds_qe_uec which is more accurate. Signed-off-by: Haiying Wang Signed-off-by: Kumar Gala commit 750098d33bc362ac4263863e92da158cf011063f Author: Haiying Wang Date: Wed May 20 12:30:36 2009 -0400 85xx: Add UEC3 and UEC4 support for MPC8569MDS Signed-off-by: Haiying Wang Signed-off-by: Kumar Gala commit 4e7b25e4fe777f525e426cbd58c3a3976c564f2e Author: Haiying Wang Date: Wed May 20 12:30:35 2009 -0400 drivers/qe: Add more SNUM number for QE Some QE chips like 8569 need more SNUM numbers for supporting 4 UECs in RGMII- 1000 mode. Signed-off-by: Haiying Wang Acked-by: Timur Tabi Signed-off-by: Kumar Gala commit 7211fbfa18f3061858696150ee6e9e093d9eceae Author: Haiying Wang Date: Thu May 21 15:34:14 2009 -0400 drivers/qe: Change QE RISC ALLOCATION to support 4 RISCs Also define the QE_RISC_ALLOCATION_RISCs to MACROs instead of using enum, and define MAX_QE_RISC for QE based silicons. Signed-off-by: Haiying Wang Acked-by: Timur Tabi Signed-off-by: Kumar Gala commit b3d7f20f43a0f8d11c65e2f92153b5512b11580c Author: Haiying Wang Date: Wed May 20 12:30:29 2009 -0400 85xx: Add QE clk support Signed-off-by: Haiying Wang Acked-by: Timur Tabi Signed-off-by: Kumar Gala commit 71b358cc26792889bbac35054d8e89d59b3fabc4 Author: Kumar Gala Date: Wed May 20 01:11:33 2009 -0500 85xx: Added MPC8535/E identifiers Signed-off-by: Kumar Gala commit 22419d77976bbd0df9fcf45513f1b96bd73e50d1 Author: Kumar Gala Date: Thu May 21 08:36:43 2009 -0500 85xx: Always attempt ethernet device tree fixup Its reasonable that we may have ethernet devices but dont have drivers or support enabled for them in u-boot and want the device tree fixed up. Unconditionally calling the ethernet fixup is fine since if we dont have ethernet nodes that match (or aliases) we will not attempt to do anything. Signed-off-by: Kumar Gala Acked-by: Timur Tabi commit 52d6ad5ecfb22938441c8e3e62935fbd7b0f0920 Author: Haiying Wang Date: Thu May 21 15:32:13 2009 -0400 drivers/qe: Rename the camel-case identifiers in uec Rename riscRx/riscTx to risc_rx/risc_tx to comply with Codingstyle. Signed-off-by: Haiying Wang commit feb7838f979ec2b581df3c791b9ae3284c36bb47 Author: Srikanth Srinivasan Date: Fri Apr 3 15:36:13 2009 -0500 85xx: Add P2020DS support The patch adds support for P2020DS reference platform. DDR3 interface uses hard-coded initialization rather than SPD for now and was tested at 667Mhz. Some PIXIS register definitions and associated code sections need to be fixed. TSEC1/2/3, NOR flash, MAC/SYS ID EEPROM, PCIE1/2/3 are all tested under u-boot. Signed-off-by: Srikanth Srinivasan Signed-off-by: Travis Wheatley Signed-off-by: Kumar Gala commit 229549a56d9ae413c00f64fd7c728c6879a1b54b Author: Stefan Roese Date: Tue Jun 9 16:57:47 2009 +0200 mpc512x: MPC5121ADS: Add NAND support This patch adds NAND support to the MPC5121ADS board. Please note that the image size increased since NAND support didn't fit in the current image size (256k). Signed-off-by: Stefan Roese Signed-off-by: Wolfgang Denk Cc: Wolfgang Denk commit 35f2edbb6cad043ccd5ea6e78fe9b7aa21d8395f Author: Stefan Roese Date: Tue Jun 9 16:57:03 2009 +0200 nand/mpc512x: Add MPC512x NAND support (NFC) This patch adds NAND Flash Controller driver for MPC5121 revision 2. All device features, except hardware ECC and power management, are supported. This NFC driver replaces the one orignally posted by John Rigby: "[PATCH] Freescale NFC NAND driver" It's a port of the Linux driver version posted by Piotr Ziecik a few weeks ago. Using this driver has the following advantages (from my point of view): - Compatibility with the Linux NAND driver (e.g. ECC usage) - Better code quality in general - Resulting U-Boot image is a bit smaller (approx. 3k) - Better to sync with newer Linux driver versions The only disadvantage I can see, is that HW-ECC is not supported right now. But this could be added later (e.g. port from Linux driver after it's supported there). Using HW-ECC on the MCP5121 NFC has a general problem because of the ECC usage in the spare area. This collides with JFFS2 for example. Signed-off-by: Stefan Roese Cc: Piotr Ziecik Cc: Wolfgang Denk Cc: John Rigby Cc: Scott Wood commit e53b507cee5d976953134a565c72fd32c967d7dd Author: Stefan Roese Date: Tue Jun 9 11:50:40 2009 +0200 mpc512x: Add esd gmbh mecp5123 board support MECP5123 is a MPC5121E based module by esd gmbh. Signed-off-by: Stefan Roese Cc: Reinhard Arlt commit 6bd55cc65d0c3aa84d719518254fb3c650239ed9 Author: Stefan Roese Date: Tue Jun 9 11:50:05 2009 +0200 mcp512x: Add macros for SCFR LPC divisor access Thos macros will be used by the esd mecp5123 board. Signed-off-by: Stefan Roese commit c60dc8527dbb2a1318c03bc18bdebcfbd0164551 Author: Stefan Roese Date: Mon Jun 8 09:38:07 2009 +0200 mpc512x: Fix problem with I2C access before relocation This is needed for the upcoming esd MECP5123 board port which uses I2C EEPROM for environment storage. Signed-off-by: Stefan Roese Cc: Reinhard Arlt Acked-by: Heiko Schocher commit 58f10460b05e0928d986b15edd4f2e1e99403f7e Author: Stefan Roese Date: Thu Jun 4 13:35:39 2009 +0200 74xx_7xx: CPCI750: Add CPCI adapter/target support The CPCI750 can be built as CPCI host or adapter/target board. This patch adds support for runtime detection of those variants. Signed-off-by: Stefan Roese Cc: Reinhard Arlt commit ae7a2739d7a0704437376e229bb21940952c55be Author: Stefan Roese Date: Fri Jun 5 05:45:41 2009 +0200 74xx_7xx: CPCI750: Enable access to PCI function > 0 The Marvell bridge 64360 supports serveral PCI functions, not only 0. This patch enables access to those functions. Signed-off-by: Stefan Roese Cc: Reinhard Arlt commit e5b563e9ec54c3f6d702c8fa2b711b4a6150243a Author: Stefan Roese Date: Thu Jun 4 13:35:37 2009 +0200 74xx_7xx: CPCI750: Minor coding style cleanup of cpci750.c Signed-off-by: Stefan Roese Cc: Reinhard Arlt commit 0e5ef07d0d91bd3d87ebea0534f538561aa974d5 Author: Stefan Roese Date: Thu Jun 4 13:35:36 2009 +0200 74xx_7xx: CPCI750: Add loadpci command This command is used to load/boot an OS-image which is transferred from the CPCI host to the CPCI target/adapter. Signed-off-by: Stefan Roese Cc: Reinhard Arlt commit 0a14d6b8f4d21ff59a9b7686a49a77069a9fcd2a Author: Stefan Roese Date: Thu Jun 4 13:35:35 2009 +0200 74xx_7xx: CPCI750: Add commandline editing/history Signed-off-by: Stefan Roese Cc: Reinhard Arlt commit 60cfe87bd39e6f07f2b92eb4bff82bfd105f4724 Author: Stefan Roese Date: Thu Jun 4 16:55:34 2009 +0200 UBI: Add compile-time check for correct malloc area configuration UBI is quite memory greedy and requires at least approx. 512k of malloc area. This patch adds a compile-time check, so that boards will not build with less memory reserved for this area (CONFIG_SYS_MALLOC_LEN). Signed-off-by: Stefan Roese commit 7ce6031afc8671c8b47c6135b3678d43fcd02852 Author: Prafulla Wadaskar Date: Mon Apr 6 21:24:43 2009 +0530 sf: new Macronix MX25xx SPI flash driver Added macronix SF driver for MTD framework MX25L12805D is supported and tested TBD: sector erase implementation, other deivces support Signed-off-by: Prafulla Wadaskar Signed-off-by: Mike Frysinger commit 2a6cc58869305f346e389eefdfa96dea5146cb0c Author: Todor I Mollov Date: Sat Apr 4 07:14:44 2009 -0400 sf: atmel: implement power-of-two write/erase funcs Signed-off-by: Todor I Mollov Signed-off-by: Mike Frysinger CC: Haavard Skinnemoen commit 4bc6eb79be2a7317425575184324b94e3b43fbc2 Author: Vivek Mahajan Date: Mon May 25 17:23:18 2009 +0530 mpc85xx: 8536ds: Add USB related CONFIGs This patch adds CONFIGs for enabling USB in mpc8536ds and also adds usb_phy_type in CONFIG_EXTRA_ENV_SETTINGS. Also revamps its Copyright. Signed-off-by: Vivek Mahajan Signed-off-by: Remy Bohmer commit 6823e9b01290977c4d9c90381459c01f66e12e79 Author: Vivek Mahajan Date: Mon May 25 17:23:17 2009 +0530 mpc83xx: 8315erdb: Add USB related CONFIGs This patch adds CONFIGs for enabling USB in mpc8315erdb and also adds usb_phy_type in CONFIG_EXTRA_ENV_SETTINGS. Also revamps its Copyright. Signed-off-by: Vivek Mahajan Signed-off-by: Remy Bohmer commit a07bf180efc3c0de4a89a3bd49a7c7584dfb95a8 Author: Vivek Mahajan Date: Thu May 21 17:32:48 2009 +0530 mpc85xx: USB: Add support The following patch adds 85xx-specific USB support and also revamps Copyright in immap_85xx.h Signed-off-by: Vivek Mahajan Signed-off-by: Remy Bohmer commit 4ef01010aa4799c759d75e67007fdd3a38c88c8a Author: Vivek Mahajan Date: Mon May 25 17:23:16 2009 +0530 mpc83xx: USB: Reorganized its support The following patch reorganizes/reworks the USB support for mpc83xx as under:- * Moves the 83xx USB clock init from drivers/usb/host/ehci-fsl.c to cpu/mpx83xx/cpu_init.c * Board specific usb_phy_type is read from the environment * Adds USB EHCI specific structure in include/usb/ehci-fsl.h * Copyrights revamped in most of the following files Signed-off-by: Vivek Mahajan Signed-off-by: Remy Bohmer commit ed90d2c87158e5114b6009fa95bb6417e4b27b3e Author: Vivek Mahajan Date: Thu May 21 17:32:27 2009 +0530 mpc8xxx: USB: Relocates ehci-fsl.h to include/usb The following patch moves 8xxx-specifc USB #defines from drivers/usb/host/ehci-fsl.h to include/usb. Signed-off-by: Vivek Mahajan Signed-off-by: Remy Bohmer commit cfd39cdf9422d3d25e9b3c058865f4c1f66f34da Author: Vivek Mahajan Date: Thu May 21 17:32:15 2009 +0530 mpc8xxx: USB: Removed reenablement of its interface To prepare for the 85xx USB support, which requires interface enablement only once in (specified) order, no different than instructions for enabling the interface under 83xx. It is unknown why the original author enabled the interface twice (checked for references in errata, etc). Signed-off-by: Vivek Mahajan Signed-off-by: Remy Bohmer commit 2c7920afaf96d9779304202cd8a355b4f7576a83 Author: Peter Tyser Date: Fri May 22 17:23:25 2009 -0500 83xx: Replace CONFIG_MPC83[0-9]X with MPC83[0-9]x Use the standard lowercase "x" capitalization that other Freescale architectures use for CPU defines to prevent confusion and errors Signed-off-by: Peter Tyser Signed-off-by: Kim Phillips commit 0f898604945af4543c1525fc33b6bae621a3b805 Author: Peter Tyser Date: Fri May 22 17:23:24 2009 -0500 83xx: Replace CONFIG_MPC83XX with CONFIG_MPC83xx Use the standard lowercase "xx" capitalization that other Freescale architectures use for CPU defines to prevent confusion and errors Signed-off-by: Peter Tyser Signed-off-by: Kim Phillips commit ba4feae90ca71de1681d5808f17e73224d8f03c4 Author: Stefan Roese Date: Tue Jun 2 16:53:16 2009 +0200 mpc512x: Use serial_setbrg() in serial_init() to not duplicate the code This patch removes the duplicated code for baudrate generator configuration in the PSC serial_init() implementation by calling serial_setbrg() instead of duplicating the code. Signed-off-by: Stefan Roese commit b8c1d6a54ff8195488b68e163de8ec31f1603496 Author: Stefan Roese Date: Tue Jun 2 16:53:15 2009 +0200 mpc512x: Fix PSC divisor calculation for baudrate setting The wrong input frequency was used in serial_setbrg(). This patch fixes this by using ips_clk as input frequency for the PSC baudrate generator. Signed-off-by: Stefan Roese commit 52568c3654b2b257016d52167805ae132faac14e Author: Wolfgang Denk Date: Sat May 16 10:47:46 2009 +0200 MPC512x: add support for ARIA board ARIA is a MPC5121E based COM Express module by Dave/DENX. Signed-off-by: Wolfgang Denk Cc: John Rigby commit 3b74e7ec58e2cc352b0a396a614065cfeb8d138f Author: Wolfgang Denk Date: Sat May 16 10:47:45 2009 +0200 MPC512x: remove include/mpc512x.h Move needed definitions (register descriptions etc.) from include/mpc512x.h into include/asm-ppc/immap_512x.h. Instead of using a #define'd register offset, use a function that provides the PATA controller's base address. All the rest of include/mpc512x.h are register offset definitions which can be eliminated by proper use of C structures. There are only a few register offsets remaining that are needed in cpu/mpc512x/start.S; for these we provide cpu/mpc512x/asm-offsets.h which is intended as a temporary workaround only. In a later patch this file will be removed, too, and then auto-generated from the respective C structs. Signed-off-by: Wolfgang Denk Cc: John Rigby commit a927e491b2a326c1e9c4313e3ce4042988422697 Author: Wolfgang Denk Date: Sat May 16 10:47:44 2009 +0200 MPC512x FEC: get rid of duplicated struct ethernet_regs Use existing struct fec512x instead. Signed-off-by: Wolfgang Denk Cc: John Rigby Acked-by: Ben Warren commit 843efb1192cc8fd4f904a23dbab4e0fe3e1c5bc2 Author: Wolfgang Denk Date: Sat May 16 10:47:43 2009 +0200 MPC512x: use I/O accessors instead of pointer accesses This commit changes the MPC512x code to use I/O accessor calls (i.e. out_*() and in_*()) instead of using deprecated pointer accesses. Signed-off-by: Wolfgang Denk Cc: John Rigby commit 19dc7e179268be148e550c36203208c662610d76 Author: Wolfgang Denk Date: Sat May 16 10:47:42 2009 +0200 MPC512x: add more hardware description to immap_512x.h - add GPIO module description - add Address Latch Timing Register description - add IO Control Memory Map - add FEC Memory Map Also change board/freescale/mpc5121ads/mpc5121ads.c and cpu/mpc512x/iopin.c as needed. Signed-off-by: Wolfgang Denk Cc: John Rigby commit 72601d04fdfdd4c7597afcf1f6aab654bd99366c Author: Wolfgang Denk Date: Sat May 16 10:47:41 2009 +0200 Rename ads5121 board into mpc5121ads We rename the board so we use a consistent name in U-Boot and in Linux. Also, we use this opportunity to move the board into the Freecale vendor directory. Signed-off-by: Wolfgang Denk Cc: John Rigby commit debf87415579c0f50aab9e0832976d4506babe0f Author: Wolfgang Denk Date: Sat May 16 10:47:40 2009 +0200 cpu/mpc512x/diu.c: fix warning: assignment from incompatible pointer type Signed-off-by: Wolfgang Denk Cc: John Rigby commit 8b251263191ec554967dd1add6237c1ba7f7eb25 Author: Wolfgang Denk Date: Sat May 16 10:47:39 2009 +0200 cpu/mpc512x/pci.c: minor coding style cleanup Get rid of variable declaration in the middle of the code. Signed-off-by: Wolfgang Denk Cc: John Rigby commit de26ef99bddbce4ed225f93afcf0bee99c3b6f87 Author: Wolfgang Denk Date: Sat May 16 10:47:38 2009 +0200 mpc512x: Move common files to share them by several boards We will soon see several new MPC521x based boards added. This patch moves files that are not board specific to a common directory so they can be shared by all such ports. It also splits off common IDE code into a new file, cpu/mpc512x/ide.c . Signed-off-by: Wolfgang Denk Cc: John Rigby commit 03e069dc0a765d506f78a68319acf33d432e035b Author: Wolfgang Denk Date: Sat May 16 10:47:37 2009 +0200 mpc512x: change cpu/mpc512x/Makefile to use Kconfig style Signed-off-by: Wolfgang Denk Cc: John Rigby commit a89c33db96a1e55319a286dd4c3c05ca64ac6bfd Author: Wolfgang Denk Date: Sun May 24 17:06:54 2009 +0200 General help message cleanup Many of the help messages were not really helpful; for example, many commands that take no arguments would not print a correct synopsis line, but "No additional help available." which is not exactly wrong, but not helpful either. Commit ``Make "usage" messages more helpful.'' changed this partially. But it also became clear that lots of "Usage" and "Help" messages (fields "usage" and "help" in struct cmd_tbl_s respective) were actually redundant. This patch cleans this up - for example: Before: => help dtt dtt - Digital Thermometer and Thermostat Usage: dtt - Read temperature from digital thermometer and thermostat. After: => help dtt dtt - Read temperature from Digital Thermometer and Thermostat Usage: dtt Signed-off-by: Wolfgang Denk commit 94796d8544d4248028141bad11c6a74b840e9d6e Author: Wolfgang Denk Date: Sun May 24 19:17:29 2009 +0200 Make "usage" messages more helpful. In case of incorrect command invocations U-Boot used to print pretty useless "usage" messages, for example: => nand markbad Usage: nand - NAND sub-system In the result, the user would have to run the "help" command to get the (available) information about correct command usage. Change this, so that this information gets always printed. Note that this changes the user interface of all commands, but hopefully to the better. Signed-off-by: Wolfgang Denk commit 4c94f6c54bbc4dc5f418da01d8ec01e2adf636be Author: Mike Frysinger Date: Sun May 24 02:26:19 2009 -0400 nvedit: speed up printing of environment The printing code would check the same environment byte multiple times and write to the console one byte at a time. For some devices (such as the Blackfin JTAG console which operates in 8 bytes at a time), this is pretty damned slow. So create a small 16 byte buffer to fill up and send to puts as needed. In the process, unify the different print functions, shrink the resulting code (source and compiled), and avoid excess env reads as those too can be somewhat expensive depending on the board. Signed-off-by: Mike Frysinger commit 3112030a430553768de5d30c05bedf8710784452 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri May 22 19:28:52 2009 +0200 config.mk: remove un-needed REMOTE_BUILD check as $(obj) is empty when in tree build %.s: %.S $(CPP) $(AFLAGS) -o $@ $< and $(obj)%.s: %.S $(CPP) $(AFLAGS) -o $@ $< are the same Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Acked-by: Mike Frysinger commit 651351fe980b20217b014b9a888398f18d77951c Author: Tom Rix Date: Wed May 20 07:55:41 2009 -0500 FAT replace compare_sign with strncmp. The static function compare_sign is only used to compare the fs_type string and does not do anything more than what strncmp does. The addition of the trailing '\0' to fs_type, while legal, is not needed because the it is never printed out and strncmp does not depend on NULL terminated strings. Signed-off-by: Tom Rix commit ecb1dc892297d5d99876907328fed732feefeab2 Author: Mike Frysinger Date: Wed May 20 04:35:14 2009 -0400 Add support for Linux-like kallsysms The kernel stores address<->symbol names in it so things can be decoded at runtime. Do it in U-Boot, and we get nice symbol decoding when crashing. Signed-off-by: Mike Frysinger commit 36c9169aa6f79ddf604a3bca64e145654f94888b Author: Wolfgang Denk Date: Sun May 17 16:01:54 2009 +0200 cmd_mtdparts.c: allow to omit definitions for default settings There is actually no good reason to enforce that all board configuations must define default settings for "mtdids" and "mtdparts". Actually this may be difficult to handle, especially on boards where different sizes of flash chips can be fit, so there is no real "default" partition map for all boards. Lift this arbitrary limitation. Signed-off-by: Wolfgang Denk commit 864aa034f3a0e10ce710e8bbda171df3cab59414 Author: Stefan Roese Date: Tue May 12 14:31:56 2009 +0200 cmd_mtdparts: Move to common handling of FLASH devices via MTD layer This patch removes all references to the direct CFI FLASH interface (via flash_info[]). Now that all FLASH types currently handled in mtdparts are available (if selected, see below) via the MTD infrastructure. This is NOR, NAND and OneNAND right now. This can be achieved by defining the following options: CONFIG_MTD_DEVICE (for all FLASH types) plus CONFIG_FLASH_CFI_MTD (for NOR FLASH) So we need to add those defines to the board config headers currently using the mtdparts commands. This is done via another patch, so we shouldn't break mtdparts compatibility. One big advantage from this solution is that the cmd_mtdparts.c is *much* cleaner now. Lot's of #ifdef's are removed and the code itself is smaller. Additionally the newly added MDT concatenation feature can new be used via the mtdparts infrastructure and therefor via UBI etc. Signed-off-by: Stefan Roese Cc: Ladislav Michl Cc: Scott Wood commit d558107c18708050f05b6639b2192efb67c905dc Author: Stefan Roese Date: Tue May 12 14:31:18 2009 +0200 mtd: Introduce CONFIG_MTD_DEVICE to select compilation of mtdcore.o This new define enables mtdcore.c compilation and with this we can select the MTD device infrastructure needed for the reworked mtdparts command. We now have the 2 MTD infrastructure defines, CONFIG_MTD_DEVICE and CONFIG_MTD_PARTITIONS. CONFIG_MTD_DEVICE is needed (as explained above) for the "mtdparts" command and CONFIG_MTD_PARTITIONS is needed for UBI. Signed-off-by: Stefan Roese Cc: Scott Wood commit 942556a92a8c1eb1bd76584a5143f6f57dcb25ad Author: Stefan Roese Date: Tue May 12 14:32:58 2009 +0200 mtd: MTD related config header changes (mtdparts command) By changing the cmd_mtdparts to only use the MTD infrastructure and not the direct interface to the CFI NOR FLASH driver we now need to add the MTD infrastructure to all boards using those mtdparts commands. This patch adds those components: CONFIG_MTD_DEVICE (for all FLASH types) plus CONFIG_FLASH_CFI_MTD (for NOR FLASH) To all board maintainers: Please test this on your platforms and report any problems/issues found. Thanks. Signed-off-by: Stefan Roese Cc: Wolfgang Denk Cc: Ron Madrid Cc: Georg Schardt Cc: Michal Simek Cc: Ladislav Michl Cc: Martin Krause Cc: Gary Jennejohn Cc: Ricardo Ribalda commit 8d2effea23e938631126a7888008a0637e13b389 Author: Stefan Roese Date: Mon May 11 16:03:55 2009 +0200 mtd: Update MTD infrastructure to support 64bit device size This patch brings the U-Boot MTD infrastructure in sync with the current Linux MTD version (2.6.30-rc3). Biggest change is the 64bit device size support and a resync of the mtdpart.c file which has seen multiple fixes meanwhile. Signed-off-by: Stefan Roese Cc: Scott Wood Cc: Kyungmin Park commit 0a57265533c412adf6024f4b4955141f4346b2b9 Author: Stefan Roese Date: Tue May 12 14:29:39 2009 +0200 mtd: Add MTD concat support to concatenate multiple MTD NOR devices This patch adds concatenation support to the U-Boot MTD infrastructure. By enabling CONFIG_MTD_CONCAT this MTD CFI wrapper will concatenate all found NOR devices into one single MTD device. This can be used by e.g by UBI to access a partition that spans over multiple NOR chips. Signed-off-by: Stefan Roese commit 55e0ed6078b10b0d425b6a0677f38a015c277df6 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat Apr 25 14:57:52 2009 +0200 make MODEM SUPPORT generic instead of duplicate it and fix comment Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Adjusted Copyright message. Signed-off-by: Wolfgang Denk commit a30f519bd0cde78ba46b424314de94fdab863726 Author: Tom Rix Date: Tue Jun 2 20:53:56 2009 -0500 ZOOM2 detect the version of the zoom2 board at runtime. There are currently 3 versions of the zoom2 board. The production board, that is currently being released. The beta board, similar in form to the production board but not released. The alpha board, a set of PCBs with a very limited circulation. GPIO 94 is used to determine the version of the board. If GPIO 94 is clear, the board is a production board, otherwise it is a beta board. The alpha board will likely be mistaken for a beta board. An alpha board was unavailible for testing. This has been tested on the beta and production boards. Signed-off-by: Tom Rix Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 718763c4745fd3d987a5576d2a67325e9444f9d4 Author: Tom Rix Date: Wed Jun 3 01:53:57 2009 -0500 Beagle Convert the board version detection to use the OMAP3 GPIO interface. There is no new functionality in the change. This change is a conversion from the using raw register access to using the OMAP3 GPIO API described in doc/README.omap3. Signed-off-by: Tom Rix Acked-by: Dirk Behme commit 7caa13fdd2d3dc957b4e0a228810a3a4a8ba499b Author: Tom Rix Date: Wed Jun 3 01:53:55 2009 -0500 Fix a typo in the instructions on using omap3's gpio interface. Using the example for reading a gpio, shows the problem. NULL should be the gpio number. Signed-off-by: Tom Rix Acked-by: Dirk Behme commit 0c9520efd651ce13451654a35307ec87d4a13a69 Author: Tom Rix Date: Fri May 29 18:57:32 2009 -0500 ZOOM2 Define GPIO banks used. Enable the function and interface clocks for banks 2,3,5 and 6. Signed-off-by: Tom Rix Acked-by: Dirk Behme commit 708cfb74b7c6df9c37d3c48988a154be79daefeb Author: Tom Rix Date: Fri May 29 18:57:31 2009 -0500 OMAP3 Turn on the GPIO bank clocks The function and interface clocks for each GPIO bank, except the first, must be explicitly turned on. These are controlled by the config level defines CONFIG_OMAP3_GPIO_n where n is from 2 to 6. Signed-off-by: Tom Rix Acked-by: Dirk Behme commit 59272620c24549b5bcd03c94ba12ec302c1476a2 Author: Richard Retanubun Date: Thu Mar 26 15:26:01 2009 -0400 Coldfire M5271: Activate u-boot system timer interrupt. This patch assigns the u-boot system timer interrupt to interrupt level 3, priority 6. Without this patch the interrupt will be a level 0, priority 0, which disables it and cause u-boot functions that relies on the timer (e.g. sleep command) to never return. Signed-off-by: Richard Retanubun commit dc26965ad3acdfb18780361d77a276b2843a90af Author: Richard Retanubun Date: Mon Mar 23 13:35:48 2009 -0400 Compier warning cleanup Follow up to git commit: 19b5b533ccd522abeb501d510750693c35e20456 Cleanup on compiler warnings on unused variables now that bd->bi_enetaddr is no longer used. Signed-off-by: Richard Retanubun commit 42a83765d54f042b4079e05a3438789542429981 Author: Richard Retanubun Date: Fri Mar 20 15:30:10 2009 -0400 Adds WATCHDOG_RESET() function call to lib_m68k dtimer_interrupt. Ported from lib_ppc/interrupts.c, this adds the ability for the coldfire system timer to auto-reset the watchdog when dtimer_interrupts is called. Signed-off-by: Richard Retanubun commit a24d96e40e1ca66dde6e6c158e7ecffafc5a2199 Author: Prafulla Wadaskar Date: Sun May 31 14:53:20 2009 +0200 arch_misc_init support for ARM architectures This patch is required for Kirkwood support may be used by other ARM architectures Signed-off-by: Prafulla Wadaskar commit b2403589b4d9996394bafc73eca3623f43ac2c31 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun May 31 14:53:18 2009 +0200 at91: move cpu info print to cpu Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit b32e189079fa16e1b647ac6b949fd4e0a9435343 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun May 31 12:44:46 2009 +0200 at91: move cpu name define to arm/arch/ cpu header Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 5bb59b3c906ee01adfaac9565443e5236a793079 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun May 31 12:44:45 2009 +0200 at91: extract reset from timer Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 61cf851b09cf8b67009ec11fc47c16add6b142a5 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun May 31 12:44:43 2009 +0200 omap24xx: rename reset file Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 9d4fc99dbdbfda1260aad478e83fca7cdf0e1a32 Author: Dirk Behme Date: Sun May 31 12:44:42 2009 +0200 OMAP3: Fix CKE1 MUX setting to allow self-refresh The Beagle rev Cx and Overo boards are using both SDRC CSes. The MUX setting is needed for the second CS clock signal to allow the 2 RAM parts to be put in self-refresh correctly. This also works on rev B Beagle boards with 128M of RAM. From: Steve Sakoman From: Jean Pihet Signed-off-by: Jean Pihet Signed-off-by: Steve Sakoman Signed-off-by: Dirk Behme commit 3962c4f9fc4482a6547f3c3d3d5e986e625abb8a Author: Dirk Behme Date: Sun May 31 12:44:41 2009 +0200 OMAP3: Zoom2: Enable Board and CPU info With other OMAP3 boards we recently switched to CPU and Board info API. From parallel merge, this is missing for Zoom2. Enable it for Zoom2, too. Signed-off-by: Dirk Behme Acked-by: Tom Rix commit 83ae698ff26b81b569ca32f7f2b008ad0da15e66 Author: Tom Rix Date: Sun May 31 12:44:39 2009 +0200 ZOOM2 Add led support. This patch controls the large LED on the top left of the zoom2. Signed-off-by: Tom Rix commit 660888b7fb8840ce169dcd2589e49ab44c46b87b Author: Tom Rix Date: Sun May 31 12:44:37 2009 +0200 ZOOM2 Add serial support. Zoom2 serial is in general supplied by one of the 4 UARTS on the debug board. The default serial is from the USB connector on left side of the debug board. The USB connector will produce 2 of the 4 UARTS. On your host pick the first enumeration. The details of the setting of the serial gpmc setup are not available. The values were provided by another party. The serial port set up is the same with Zoom1. Baud rate 115200, 8 bit data, no parity, 1 stop bit, no flow. The kernel bootargs are console=ttyS3,115200n8 Signed-off-by: Tom Rix commit 3ea201b016ab259a5ac8824af767569522768c47 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun May 31 12:44:27 2009 +0200 lh7a40x: move serial driver to drivers/serial Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 379be585eb2343d8814a5cee5fb3da930d846bee Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat May 16 22:48:46 2009 +0200 pxa: move serial driver to drivers/serial Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit ad7e8aac6920f8b8a85b3cc2e93bca7458e99aa1 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat May 9 13:21:19 2009 +0200 arm: remove cpu_init move s3c44b0 to arch_cpu_init and as noone use cpu_init remove it Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit c358d9c3f16571e8f825e81b75eaf32e228cb669 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat May 9 13:21:18 2009 +0200 arm: unify interrupt init all arm init the IRQ stack the same way so unify it in lib_arm/interrupts.c and then call arch specific interrupt init Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 10a451cd57cffbca875c97bbd8929059c5627ec6 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri May 8 20:24:12 2009 +0200 arm: unify linker script all arm boards except a few use the same cpu linker script so move it to cpu/$(CPU) that could be overwrite in following order SOC BOARD via the corresponding config.mk Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 9475c63c7855edd863c93a9bb0f4b8e240d9d212 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat May 16 10:02:05 2009 +0200 afeb9260: fix macb device init uses PA10, PA11 for ETX2 and ETX3. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 1bbae2b816d4ed38db2ebf42166a973b1ffc0df7 Author: Stefan Roese Date: Wed May 27 10:34:32 2009 +0200 ppc4xx: Remove PCI async bootup message if PCI is not used Signed-off-by: Stefan Roese commit a3455c00510c5abf1e91743c4a02d8393b6df18d Author: Wolfgang Denk Date: Fri May 15 09:19:52 2009 +0200 TQM834x: use buffered writes to accelerate writing to flash Also enable display of 'E'mpty sectors in "flinfo" output. Signed-off-by: Wolfgang Denk Signed-off-by: Kim Phillips commit 4681e673a51c48f4c096aa3c8fae5e6217ffd58d Author: Wolfgang Denk Date: Thu May 14 23:18:34 2009 +0200 TQM834x: add FDT support Signed-off-by: Wolfgang Denk Signed-off-by: Kim Phillips commit 929b79a0b5e48303ab04aae9d0abceb0c707f111 Author: Wolfgang Denk Date: Thu May 14 23:18:33 2009 +0200 TQM834x: fix environment size; add redundant env. Also reserve more space for U-Boot as it will probably grow soon. Signed-off-by: Wolfgang Denk Signed-off-by: Kim Phillips commit 2ae0f35fd60c7345446835b95a4daff356e1f031 Author: Thomas Lange Date: Sun May 3 20:07:33 2009 +0200 ARM DaVinci: Reset with watchdog enabled Once the Davinci watchdog has been enabled, the timeout value cannot be changed. If the timeout in use is long, it can take a long time for card to reset. By writing an invalid service key, we can trigger an immediate reset. Signed-off-by: Thomas Lange commit 6cc7ba9ed43106946aa9aa868302aa2faf1d17be Author: Wolfgang Denk Date: Fri May 15 10:07:43 2009 +0200 video: Add an option to skip video initialization This patch adds an option to skip the video initialization on for all video drivers. This is needed for the CPCI750 which can be built as CPCI host and adapter/target board. And the adapter board can't access the video cards located on the CompactPCI bus. Signed-off-by: Stefan Roese Cc: Anatolij Gustschin Rebased against simplifying patch. Signed-off-by: Wolfgang Denk commit f62f64692ff7f6226ad221d5df6487ea5ef39bdd Author: Wolfgang Denk Date: Fri May 15 10:07:42 2009 +0200 drv_video_init(): simplify logic Simplify nesting of drv_video_init() and use a consistent way of indicating failure / success. Before, it took me some time to realize which of the returns was due to an error condition and which of them indicated success. Signed-off-by: Wolfgang Denk Cc: Anatolij Gustschin commit 1699da6297b8c22da16cf85b3c79192f1a6d70ca Author: Jean-Christophe PLAGNIOL-VILLARD Date: Wed May 13 21:01:13 2009 +0200 at91: regroup IP hw init in one file per soc Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 28b00324becf3552134ae1e086509dc9c3d6e932 Author: David Brownell Date: Fri May 15 23:48:37 2009 +0200 dm355 evm support Initial U-Boot support for the DaVinci DM355 EVM. This is a board from Spectrum Digital. Board docs include schematic and firmware for its microcontroller: http://c6000.spectrumdigital.com/evmdm355/revd/ Most of the DM355 chip is fully documented by TI, the most notable exception being the MPEG/JPEG coprocessor (programmable using codecs available at no cost from TI), which is omitted from its DM335 sibling: http://focus.ti.com/docs/prod/folders/print/tms320dm355.html This version can boot from the on-board DM9000 Ethernet chip, after being loaded (from NAND, MMC/SD, or UART). In the near future, NAND and USB support could be added ... NAND support is being held back until the support for the 4-bit ECC hardware is ready. Signed-off-by: David Brownell commit 136cf92dc9e84c9a1bf567f1fe741092bf765495 Author: Sanjeev Premi Date: Fri May 15 23:48:37 2009 +0200 OMAP3EVM: Set default bootfile The current configuration doesn't define default bootfile; leading to this warning at execution: OMAP3_EVM # dhcp ... ... DHCP client bound to address 192.168.1.11 *** Warning: no boot file name; using 'AC18BE16.img' TFTP from server 0.0.0.0; our IP address is 192.168.1.11; sending through gateway 192.168.1.1 Filename 'AC18BE16.img'. Load address: 0x82000000 Loading: * TFTP error: 'File not found' (1) Signed-off-by: Sanjeev Premi commit 1a09d05abfc6d4d4f1fce9f6bd0275bd1c08d4f5 Author: s-paulraj@ti.com Date: Fri May 15 23:48:36 2009 +0200 ARM DaVinci: Minor Updates to base addresses Patch adds base addresses for DaVinci DM365. Updated patches for DM365 will be posted soon. Signed-off-by: Sandeep Paulraj commit de193e8e369f5f029ed3b6e2fc60341098eea766 Author: Tom Rix Date: Fri May 15 23:48:36 2009 +0200 ZOOM2 Add support for debug board detection. The logicpd web site is a good source for general information on this board. Please start looking here if the below links are broken. http://www.logicpd.com This is a pdf of the product http://www.logicpd.com/sites/default/files/1012659A_Zoom_OMAP34x-II_MDP_Brief.pdf This is a pdf of the product quick start guide. The debug board is described here. http://support.logicpd.com/downloads/1165/ This is a wiki showing the debug board in use https://omapzoom.org/gf/project/omapzoom/wiki/?pagename=GettingStartedWithZoomII_AKA_OMAP34XII_MDP The zoom2 has an auxillary board that contains the serial, net, jtag and battery simulator. This change supports a runtime check if the debug board is connected. Signed-off-by: Tom Rix commit 0c872ecd01d6782ae9d37b6eb721404a4a48f356 Author: Tom Rix Date: Fri May 15 23:48:36 2009 +0200 OMAP3 Port kernel omap gpio interface. Port version 2.6.27 of the linux kernel's omap gpio interface to u-boot. The orignal source is in linux/arch/arm/plat-omap/gpio.c See doc/README.omap3 for instructions on use. Signed-off-by: Tom Rix commit 376aee78dd66ae0dc4ce496cbe93ecc80aaad48e Author: Tom Rix Date: Fri May 15 23:48:36 2009 +0200 ZOOM2 Add initial support for Zoom2 Zoom2 is a new board from Texas Instruments and LogicPD The logicpd web site is a good source for general information on this board. Please start looking here if the below links are broken. http://www.logicpd.com This is a pdf of the product http://www.logicpd.com/sites/default/files/1012659A_Zoom_OMAP34x-II_MDP_Brief.pdf This is the product description web page http://www.logicpd.com/products/development-kits/texas-instruments-zoom%E2%84%A2-omap34x-ii-mdp This patch provides a zoom2 base target by copying zoom1 and by making some obvious changes. To configure, run make omap3_zoom2_config Signed-off-by: Tom Rix commit 53925acf1b5c1a1e6230cda2697640cd05bd1104 Author: Sandeep Paulraj Date: Fri May 15 23:48:33 2009 +0200 ARM DaVinci:Consolidate common u-boot.lds The u-boot.lds is common for all DaVinci boards. The patch removes multiple instances and moves the u-boot.lds to /cpu/arm926ejs/davinci folder. This addresses one of the comments i received while submitting patches for DM3xx Signed-off-by: Sandeep Paulraj commit 68a531fd465f5c0b3d373e0010afed32e88d37c4 Author: Tom Rix Date: Fri May 15 23:47:52 2009 +0200 OMAP Consolidate common u-boot.lds to cpu layer. The u-boot.lds file is common for all omap boards. Move a cleaned up version to the cpu layer and add makefile logic to use it. Signed-off-by: Tom Rix commit 65a76d4f947a193e57bb8f8093c481f27e059f8f Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri May 15 23:47:14 2009 +0200 arm/dcc: add xscale support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 66e8f9da6879fe37f3159b3997bff874842dc51d Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri May 15 23:47:14 2009 +0200 arm/dcc: use static support to allow to use it at anytime the dcc can be used at the start of the cpu Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 7893aa1eb6f52c3957efc301b436f1fa11e91a00 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri May 15 23:47:13 2009 +0200 ARM: Update mach-types update against linux v2.6.29 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 2907798926ee932f453ac8538e7a6c05c18428a5 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri May 15 23:47:13 2009 +0200 arm920/926/926: remove non needed header Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 269dfea017b09c5a999d3053d00505c19789c350 Author: David Brownell Date: Fri May 15 23:47:13 2009 +0200 davinci dm6446evm NAND update This updates the optional (non-default!) NAND support for the DaVinci DM6446 EVM: - include MTD partitioning, defaulting to what Linux uses - use a flash-based BBT, which among other things speeds bootup This matches code that's now queued for mainline Linux, and might even merge in an upcoming 2.6.30-rc; and the MTIDS are set up so that the U-Boot $mtdparts environment variable can be passed as-is on the kernel command line as a cmdlinepart override. Signed-off-by: David Brownell commit 7a4f511b59f08f51dde4ceacbd45f49b8bf2a5cc Author: David Brownell Date: Fri May 15 23:47:12 2009 +0200 davinci: display correct clock info Move the clock-rate dumping code into the cpu/.../davinci area where it should have been, enabled by CONFIG_DISPLAY_CPUINFO, updating the format and showing the DSP clock (where relevant). Switch boards to use the cpuinfo() hook for this stuff. Remove a few now-obsolete PLL #defines. Signed-off-by: David Brownell commit daea928829098cae3c9ec6b801e52ba616725034 Author: Tom Rix Date: Fri May 15 23:47:12 2009 +0200 ZOOM1 Remove more legacy NAND defines. These legacy NAND defines are no longer needed by this target. Signed-off-by: Tom Rix commit 65fd21c80fcaca2bbfe3ab06ab6ac68207408078 Author: Tom Rix Date: Fri May 15 23:47:12 2009 +0200 LED Add documentation describing the status_led and colour led API. This document describes the u-boot status LED API. This allows common u-boot commands to use a board's leds to provide status for activities like booting and downloading files. Signed-off-by: Tom Rix commit 7cdf804f34378b910b4c4edd2dac7e3ca61c0825 Author: Tom Rix Date: Fri May 15 23:47:12 2009 +0200 ARM Add blue colour LED to status_led. There is exiting support for red,yellow,green but no blue. The main LED on the zoom2 is a blue LED. Signed-off-by: Tom Rix commit b54384e3ba6b5535751f317fcd3940a53eed0d3a Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri May 15 23:47:02 2009 +0200 arm: timer and interrupt init rework actually the timer init use the interrupt_init as init callback which make the interrupt and timer implementation difficult to follow so now rename it as int timer_init(void) and use interrupt_init for interrupt btw also remane the corresponding file to the functionnality implemented as ixp arch implement two timer - one based on interrupt - so all the timer related code is moved to timer.c Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 5b4bebe1d20c4f2b70d48b06aed1016785efcc25 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri May 15 23:45:22 2009 +0200 OMAP3: Reorganize Makefile style Reformat COBJS handling. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Dirk Behme commit b1966982718347f67317b3fb356439743ca68a37 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri May 15 23:45:22 2009 +0200 OMAP3: Remove dublicated interrupt code Remove duplicated interrupt code. Original, identical code can be found in lib_arm/interrupts.c Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Dirk Behme commit ac7260a4190315eba4a6e526c764f6cad0bbf8c5 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri May 15 23:45:22 2009 +0200 at91rm9200: move reset code to reset.c Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 2c75c78d94574ee996db2aa9b511258519471dd6 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri May 15 23:45:22 2009 +0200 ixp/interrupts: Move conditional compilation to Makefile Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 8fc3bb4b0603516ad641e2de252a400b85fd869b Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri May 15 23:45:20 2009 +0200 arm: cleanup remaining CONFIG_INIT_CRITICAL Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit c20e28f49aaf38c7dede46d8f8fe8234fe90822c Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri May 15 23:45:12 2009 +0200 arm946es: remove non used timer Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit f1d944e30eb8ff89080fa03fb98d8fb5c82388d2 Author: David Brownell Date: Fri May 15 23:44:09 2009 +0200 davinci: add basic dm355/dm350/dm335 support Add some basic declarations for DaVinci DM355/DM350/DM335 support, keyed on CONFIG_SOC_DM355. (DM35X isn't quite right because the DM357 is very different; while the DM355 is like a DM355 without the MPEG/JPEG coprocessor). These have different peripherals than the DM6446, and some of the peripherals are at different addresses. Notably for U-Boot, there's no EMAC, and the NAND controller address is different Signed-off-by: David Brownell commit bd36fdc146654f9de4e2ad346126e6bd2990fb19 Author: David Brownell Date: Fri May 15 23:44:09 2009 +0200 davinci: fix dm644x buglets Fix two buglets in the dm644x support: don't set two must-be-zero bits in the UART management register; and only include the I2C hooks if the I2C driver is being included. Signed-off-by: David Brownell commit f79043681ff44bae435c06f830e51e1546db7e19 Author: David Brownell Date: Fri May 15 23:44:08 2009 +0200 davinci: split out some dm644x-specific bits from psc Split out DaVinci DM6446-specific bits from more generic bits: - Add a CONFIG_SOC_DM644X. All current boards use DM6446 chips; DM6443 and DM6441 chips differ in available peripherals. - Move most DM644X-specific bits from psc.c to a new dm644x.c file, which is conditionally built. It provides device-specific setup. Plus minor coding style and comment updates with respect to the PSC. Signed-off-by: David Brownell commit 48ef5729555f41f51618b6a3016ac5c53c7c75dc Author: David Brownell Date: Fri May 15 23:44:08 2009 +0200 davinci: cpu-specific build uses conditional make syntax Update cpu/arm926ejs/davinci/Makefile to use COBJ-y type syntax. Add the first conditional: for EMAC driver support. Not all chips have an EMAC; and boards might not use it, anyway. This doesn't touch PHY configuration; that should eventually become conditional too. Signed-off-by: David Brownell commit 7b7808ae6dace59287f565e9323cda7b098a5612 Author: David Brownell Date: Fri May 15 23:44:06 2009 +0200 davinci: move psc support board-->cpu Move DaVinci PSC support from board/* to cpu/* where it belongs. The PSC module manages clocks and resets for all DaVinci-family SoCs, and isn't at all board-specific. Signed-off-by: David Brownell commit 84f7411cb901b8df2391cf7e967ad0737f6194aa Author: David Brownell Date: Tue Apr 14 08:52:58 2009 -0700 DaVinci now respects SKIP_LOWLEVEL_INIT Don't needlessly include lowlevel init code; that's only really needed with boot-from NOR (not boot-from-NAND). The 2nd stage loader (UBL) handles that before it loads U-Boot. Signed-off-by: David Brownell commit 641e0925e4bf7adf8e2e04e3ad81b840fd71cadd Author: David Brownell Date: Sun Apr 12 22:49:26 2009 -0700 DaVinci Ethernet cleanup Chips without the EMAC controller won't need the utilities it uses to read an Ethernet address from EEPROM; so don't include them needlessly. Use is_valid_ether() to validate the address from EEPROM. All-zero addresses aren't the only invalid addresses. A fully erased EEPROM returns all-ones, also invalid... Switch those Ethernet utilities to use "%pM" for printing MAC addresses; and not say ROM when they mean EEPROM. Signed-off-by: David Brownell Acked-by: Ben Warren commit c790b04d230363d03939dc008bcc80f3ba4de1ae Author: Stefan Roese Date: Mon May 11 15:50:12 2009 +0200 lib_arch/board.c: Move malloc initialization before flash_init() This patch moves the malloc initialization before calling flash_init(). Upcoming changes to the NOR FLASH common CFI driver with optional MTD infrastructure and MTD concatenation support will call malloc(). And nothing really speaks against enabling malloc just a little earlier in the boot stage. Some architectures already enable malloc before calling flash_init() so they don't need any changes here. Signed-off-by: Stefan Roese Cc: Wolfgang Denk Cc: Mike Frysinger Cc: Scott McNutt Cc: Shinya Kuribayashi Cc: Nobuhiro Iwamatsu Cc: Daniel Hellstrom Cc: Jean-Christophe PLAGNIOL-VILLARD Cc: John Rigby commit d873133f2ba9bd613d5f6552c31cc70fb13f15d3 Author: Stefan Roese Date: Mon May 11 13:46:14 2009 +0200 ppc4xx: Add Sequoia RAM-booting target This patch adds another build target for the AMCC Sequoia PPC440EPx eval board. This RAM-booting version is targeted for boards without NOR FLASH (NAND booting) which need a possibility to initially program their NAND FLASH. Using a JTAG debugger (e.g. BDI2000/3000) configured to setup the SDRAM, this debugger can load this RAM- booting image to the target address in SDRAM (in this case 0x1000000) and start it there. Then U-Boot's standard NAND commands can be used to program the NAND FLASH (e.g. "nand write ..."). Here the commands to load and start this image from the BDI2000: 440EPX>reset halt 440EPX>load 0x1000000 /tftpboot/sequoia/u-boot.bin 440EPX>go 0x1000000 Please note that this image automatically scans for an already initialized SDRAM TLB (detected by EPN=0). This TLB will not be cleared. This TLB doesn't need to be TLB #0, this RAM-booting version will detect it and preserve it. So booting via BDI2000 will work and booting with a complete different TLB init via U-Boot works as well. Signed-off-by: Stefan Roese commit 837db3d87f4bfe9261629fb4a1bb433506a3056a Author: Mike Frysinger Date: Wed May 6 08:41:45 2009 -0400 tools/envcrc: add --binary option to export embedded env The --binary option to envcrc can be used to export the embedded env as a binary blob so that it can be manipulated/examined/whatever externally. Signed-off-by: Mike Frysinger commit 18cc7afd9a153a66854af862d14ba01c5496cf07 Author: Ben Warren Date: Tue Apr 28 16:50:53 2009 -0700 Enable CONFIG_NET_MULTI on all remaining PPC4xx boards All in-tree PPC4xx boards now use CONFIG_NET_MULTI Signed-off-by: Ben Warren Signed-off-by: Stefan Roese commit 70be6c2d40076f14062b892152649f9a62832fc9 Author: Matthias Fuchs Date: Wed Apr 29 09:51:01 2009 +0200 4xx: Add support for DP405 hardware variants Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit de47a34d4de1d007a8951efd072283516d580ffa Author: Matthias Fuchs Date: Wed Apr 29 09:51:00 2009 +0200 4xx: Remove binary cpld bitstream from DP405 board This patch removes the cpld binary bitstream that is used by esd's cpld command on DP405 boards. Because u-boot with an external cpld bitstream may not take more space in flash than before the u-boot binary is shrinked a little bit. Some unused featues have been removed therefore. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit 700d553fd3afe804086de8f73d95153315eb0c32 Author: Matthias Fuchs Date: Wed Apr 29 09:50:59 2009 +0200 4xx: Remove binary cpld bitstream from VOM405 board This patch removes the cpld binary bitstream that is used by esd's cpld command on VOM405 boards. Because u-boot with an external cpld bitstream may not take more space in flash than before the u-boot binary is shrinked a little bit. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit 0bb10630364c48d9857cbf5353da609fc4dd6751 Author: Matthias Fuchs Date: Wed Apr 29 09:50:58 2009 +0200 4xx: Remove binary cpld bitstream from PMC405 board This patch removes the cpld binary bitstream that is used by esd's cpld command on PMC405 boards. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit 7cc635fb35f5b94e304fa2243d56758f57f6416b Author: Matthias Fuchs Date: Wed Apr 29 09:50:57 2009 +0200 4xx: Remove binary cpld bitstream from CMS700 board This patch removes the cpld binary bitstream that is used by esd's cpld command on CMS700 boards. Because u-boot with an external cpld bitstream may not take more space in flash than before the u-boot binary is shrinked a little bit. Some unused featues have been removed therefore. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit c1b2f79788deec75773b1d944d8aaf4a6d5baf9e Author: Matthias Fuchs Date: Wed Apr 29 09:50:56 2009 +0200 esd/common: extend cpld command with address parameter This patch adds support for an address parameter to esd's cpld command. This is in preparation to remove compiled-in binary cpld (xsvf) bitstreams. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit 9166b776350d16460c7330bfb0a50154ea0a1903 Author: Peter Tyser Date: Sat Apr 18 22:34:06 2009 -0500 cmd_i2c: Fix i2c help command output when CONFIG_I2C_MUX When CONFIG_I2C_MUX was defined the output of 'help i2c' was not correct, eg: => help i2c i2c bus [muxtype:muxaddr:muxchannel] - add a new bus reached over muxes. speed [speed] - show or set I2C bus speed i2c dev [dev] - show or set current I2C bus ... It has been changed to: i2c speed [speed] - show or set I2C bus speed i2c bus [muxtype:muxaddr:muxchannel] - add a new bus reached over muxes i2c dev [dev] - show or set current I2C bus ... Signed-off-by: Peter Tyser commit 0a45a6357b02e5ce5bf899a60db09def6a129fee Author: Peter Tyser Date: Sat Apr 18 22:34:05 2009 -0500 cmd_i2c: Clean up trivial helper functions Signed-off-by: Peter Tyser commit e96ad5d3aba42f8ffe99f7cc5ec1bb9f21810035 Author: Peter Tyser Date: Sat Apr 18 22:34:04 2009 -0500 cmd_i2c: Clean up i2c command argument parsing argc and argv should only be modified once instead of once for every i2c sub-command Signed-off-by: Peter Tyser commit 0f89c54be92773b23d66ac401ba6acb6144100c3 Author: Peter Tyser Date: Sat Apr 18 22:34:03 2009 -0500 i2c: Update references to individual i2c commands The individual i2c commands imd, imm, inm, imw, icrc32, iprobe, iloop, and isdram are no longer available so all references to them have been updated to the new form of "i2c ". Signed-off-by: Peter Tyser commit d48eb5131d287f52bb85b4c58c8680a2e8e3b641 Author: Peter Tyser Date: Sat Apr 18 22:34:02 2009 -0500 i2c: Remove deprecated individual i2c commands The following individual I2C commands have been removed: imd, imm, inm, imw, icrc32, iprobe, iloop, isdram. The functionality of the individual commands is still available via the 'i2c' command. This change only has an impact on those boards which did not have CONFIG_I2C_CMD_TREE defined. Signed-off-by: Peter Tyser commit 655b34a78adf60ef260981688837904208883ae9 Author: Peter Tyser Date: Sat Apr 18 22:34:01 2009 -0500 i2c: Create common default i2c_[set|get]_bus_speed() functions New default, weak i2c_get_bus_speed() and i2c_set_bus_speed() functions replace a number of architecture-specific implementations. Also, providing default functions will allow all boards to enable CONFIG_I2C_CMD_TREE. This was previously not possible since the tree-form of the i2c command provides the ability to display and modify the i2c bus speed which requires i2c_[set|get]_bus_speed() to be present. Signed-off-by: Peter Tyser commit 8229e9c04f7019ddd76aea05d4dca044cbc9a34a Author: Peter Tyser Date: Sat Apr 18 22:34:00 2009 -0500 cm5200: Make function test command names more unique Add "_test" to cm5200's function test command names to prevent overlap with common, global function names. Originally, the "do_i2c" function test command interfered with common/cmd_i2c.c's "do_i2c" when CONFIG_I2C_CMD_TREE was defined. The functions were also made static as they are not globally accessed. Signed-off-by: Peter Tyser commit f0722ee762e8dada9d7f74ac2745e043f83aae85 Author: Peter Tyser Date: Fri Apr 24 15:34:09 2009 -0500 tsi108_i2c: Add i2c_init() stub function Add the i2c_init() function so that the tsi108_i2c.c driver fits U-Boot's standard I2C API which is utilized by cmd_i2c.c Signed-off-by: Peter Tyser commit 8d907e79bc9babb27396e34be54cfdc36ff62fb9 Author: Peter Tyser Date: Fri Apr 24 15:34:08 2009 -0500 mpc7448hpc2: Add CONFIG_SYS_I2C_SPEED define Add standard CONFIG_SYS_I2C_SPEED define for the mpc7448hpc2 so that it can use the common 'i2c speed' command. Note that the I2C controller utilized by the mpc7448hpc2 has a fixed speed and cannot be changed dynamically. Signed-off-by: Peter Tyser commit a056b1ce9e19b4d4ab3dd01c3f897dcd832cd37f Author: Peter Tyser Date: Fri Apr 24 15:34:07 2009 -0500 Marvell: i2c cleanup The following changes were made, primarily to bring the Marvell i2c driver in line with U-Boot's current I2C API: - Made i2c_init() globally accessible - Made i2c_read() and i2c_write() return an integer - Updated i2c_init() calls to pass in CONFIG_SYS_I2C_SLAVE in the offhand chance someone adds slave support in the future Signed-off-by: Peter Tyser commit 54afc6ee10c8cd09598d814d49e601359b005e49 Author: Peter Tyser Date: Fri Apr 24 15:34:06 2009 -0500 cpci750: i2c cleanup The following changes were made, primarily to bring the cpci750 i2c driver in line with U-Boot's current I2C API: - Made i2c_init() globally accessible - Made i2c_read() and i2c_write() return an integer - Updated i2c_init() calls to pass in CONFIG_SYS_I2C_SLAVE in the offhand chance someone adds slave support in the future Signed-off-by: Peter Tyser commit 9c90a2c8e87414007a016b7cd099ac1e32fd301b Author: Peter Tyser Date: Fri Apr 24 15:34:05 2009 -0500 i2c.h: Provide a default CONFIG_SYS_I2C_SLAVE value Many boards/controllers/drivers don't support an I2C slave interface, however CONFIG_SYS_I2C_SLAVE is used in common code so provide a default Signed-off-by: Peter Tyser commit e7563aff174f77aa61dab1ef5d9b47bebaa43702 Author: Kumar Gala Date: Thu Jun 11 23:42:35 2009 -0500 fsl-ddr: Fix handling of >4G of memory when !CONFIG_PHYS_64BIT The ddr code computes most things as 64-bit quantities and had some places in the middle that it was using phy_addr_t and phys_size_t. Instead we use unsigned long long through out and only at the last stage of setting the LAWs and reporting the amount of memory to the board code do we truncate down to what we can cover via phys_size_t. This has the added benefit that the DDR controller itself is always setup the same way regardless of how much memory we have. Its only the LAW setup that limits what is visible to the system. Signed-off-by: Kumar Gala commit d4b130dc80761b430dc5b410159cd158fca1a348 Author: Kumar Gala Date: Thu Jun 11 23:40:34 2009 -0500 85xx: Use print_size to report amount of memory not mapped by TLBs Signed-off-by: Kumar Gala commit 6e2aebc33fa740c068fe28d40eaf0319b7c7287e Author: Haiying Wang Date: Wed May 20 12:30:42 2009 -0400 85xx: Add README for MPC8569MDS Signed-off-by: Haiying Wang Signed-off-by: Kumar Gala commit b2aab386e957ba684d4f2a466bfaa91770e5058a Author: Haiying Wang Date: Wed May 20 12:30:33 2009 -0400 85xx: Add UART1 support for MPC8569MDS MPC8569 UART1 signals are muxed with PortF bit[9-12], we need to define those pins before using UART1. Signed-off-by: Haiying Wang Signed-off-by: Kumar Gala commit 399b53cbab0b377ac4c5c16c19c6e41b68a9c719 Author: Haiying Wang Date: Wed May 20 12:30:32 2009 -0400 85xx: Add PIB support at CS4/CS5 for MPC8569MDS Signed-off-by: Haiying Wang Signed-off-by: Yu Liu Signed-off-by: Kumar Gala commit fb27949059f1bc84381a6216a819090f0cdbaa70 Author: Haiying Wang Date: Thu Jun 4 16:12:39 2009 -0400 85xx: Fix some settings for MPC8569MDS board - Increase the size of malloc to 512KB because MPC8569MDS needs more memory for malloc to support up to eight Ethernet interfaces. - Move Environment address out of uboot thus the saved environment variables will not be erased after u-boot is re-programmed. Signed-off-by: Haiying Wang Signed-off-by: Kumar Gala commit c7f60fd29f2d638d080cdf1a49ad985b85f9429d Author: Haiying Wang Date: Wed May 20 12:30:30 2009 -0400 85xx: Fix MURAM size for MPC8569 MPC8569 has 128K bytes MURAM. Signed-off-by: Haiying Wang Signed-off-by: Kumar Gala commit a53c997dd7fc858f2a27f5a47b200567b9343ae5 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri May 22 20:23:51 2009 +0200 at91/cpu.c: add missing Copyright & GPL header Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit aa446a591aca46ef2b53cc6598ea8091feb45444 Author: Shinya Kuribayashi Date: Sun Jun 7 21:45:16 2009 +0900 apollon: Fix a OBJCFLAGS typo Signed-off-by: Shinya Kuribayashi commit 580611cb0932143fc2d7a735cfa9ce1ef34d6002 Author: Wolfgang Denk Date: Wed Jun 10 00:19:28 2009 +0200 Prepare 2009.06-rc3 Update CHANGELOG Signed-off-by: Wolfgang Denk commit 3a76ab5c166d5956885f803ce975e7151cc0ca0e Author: Wolfgang Denk Date: Wed Jun 10 00:15:11 2009 +0200 rmu board: fix error: 'CONFIG_ENV_SECT_SIZE' undeclared Signed-off-by: Wolfgang Denk commit 165f9859b64ff59f0cfae3cc70a7e7ded7aaa4a7 Author: Daniel Mack Date: Thu Jun 4 19:44:12 2009 +0200 ubifs: fix small error path mismatch In do_readpage(), don't free 'dn' if its allocation failed. Signed-off-by: Daniel Mack commit de7cf709ebd3c01fbd094e8853dabb410c0370a1 Author: Wolfgang Denk Date: Thu Jun 4 00:31:07 2009 +0200 EP88x: fix broken linker script Signed-off-by: Wolfgang Denk Tested-by: Mikhail Zaturenskiy commit 7a2063bd80d3b58b2dd5d5e58f4411f8d250576c Author: Wolfgang Denk Date: Fri May 15 00:16:02 2009 +0200 TQM85xx: minor config file cleanup Remove "saveenv" from "update" definition: the environment is outside the U-Boot image on TQM85xx and therefor not affected by updates. Also "beautify" code a bit (vertical alignment). Signed-off-by: Wolfgang Denk commit c0296b1801fc9426d772fa75fe58458db605dfee Author: Wolfgang Denk Date: Fri May 15 00:16:01 2009 +0200 TQM85xx: adapt for new flash types Old TQM85xx boards had 'M' type Spansion Flashes from the S29GLxxxM series while new boards have 'N' type Flashes from the S29GLxxxN series, which have bigger sectors: 2 x 128 instead of 2 x 64 KB. We now change the configuration to the new flash types for all boards; this also works on old boards - we just waste two flash sectors for the environment which could be smaller there. Signed-off-by: Wolfgang Denk commit 6735104924f06340071a6914a9ee3345607fc102 Author: Dave Liu Date: Mon May 18 17:49:23 2009 +0800 85xx: Fix the wrong SYS_CLK_IN for 8569MDS The SYS_CLK_IN of MPC8569MDS is 66.66MHz, The DDR_CLK_IN is same with SYS_CLK_IN in 8569 processor. so, change the SYS_CLK_IN from 66MHz to 66.66MHz. Signed-off-by: Dave Liu commit 16e7559c08b6f29db4596d795b92914c01e6a1b3 Author: Dave Liu Date: Fri May 15 10:27:44 2009 +0800 85xx: Fix the wrong BCSR address of 8569MDS The BCSR17[7] = 1 will unlock the write protect of FLASH. The WP# pin only controls the write protect of top/bottom sector, That is why we can save env, but we can't write the first sector before the patch. Signed-off-by: Dave Liu commit 90d13b8ac3d515349626d7c8a3dc34ef38c43fa6 Author: Fredrik Arnerup Date: Tue Jun 2 16:27:10 2009 -0500 85xx: bugfix for reading maximum TLB size on mpc85xx The MAXSIZE field in the TLB1CFG register is 4 bits, not 8 bits. This made setup_ddr_tlbs() try to set up a TLB larger than the e500 maximum (256 MB) which made u-boot hang in board_init_f() when trying to create a new stack in RAM. I have an mpc8540 with one 1GB dimm. Signed-off-by: Fredrik Arnerup Signed-off-by: Andy Fleming Acked-by: Kumar Gala commit 1b5291dddf5f16c7ae10e3cb165882fa96038b26 Author: Dave Liu Date: Fri Mar 27 14:32:43 2009 +0800 85xx: Fix the clock adjust of mpc8569mds board Currently the clk_adj is 6 (3/4 cycle), The settings will cause the DDR controller hang at the data init. Change the clk_adj from 6 to 4 (1/2 cycle), make the memory system stable. Signed-off-by: Dave Liu commit faa14babd7466dfade358f9cac128ae246b9bf1b Author: RONETIX - Ilko Iliev Date: Fri Jun 5 16:54:31 2009 +0200 at91: fix a USB problem for AT91SAM9261 This patch corrects the missing PLLB initialization in usb_cpu_init() for AT91SAM9261. Because of the missing PLLB initialization, the USB support for all AT91SAM9261 based boards will work only if the PLLB is configured by a precedent bootloader. Signed-off-by: Ilko Iliev Acked-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Remy Bohmer commit 0c24dec550ddb7d86b8bfdd8645b18479f73e6e2 Author: Felix Radensky Date: Sun May 31 20:44:15 2009 +0300 ppc4xx/net: Fix MDIO clock setup This patch fixes MDIO clock setup in case when OPB frequency is 100MHz. Current code assumes that the value of sysinfo.freqOPB is 100000000 when OPB frequency is 100MHz. In reality it is 100000001. As a result MDIO clock is set to incorrect value, larger than 2.5MHz, thus violating the standard. This in not a problem on boards equipped with Marvell PHYs (e.g. Canyonlands), since those PHYs support MDIO clocks up to 8.3MHz, but can be a problem for other PHYs (e.g. Realtek ones). Signed-off-by: Felix Radensky Signed-off-by: Ben Warren commit d65e34d12514de2bbe3b8f519761d641c081bad0 Author: Yoshihiro Shimoda Date: Wed Feb 25 14:27:29 2009 +0900 rtl8169: fix PCI system memory address When PCI device use system memory, some PCI host controller should be set physical memory address. Signed-off-by: Yoshihiro Shimoda Signed-off-by: Ben Warren commit ca9c8a1e10fac01e6a1129f82a7ce18bd818fa43 Author: Manikandan Pillai Date: Wed Apr 8 09:14:35 2009 +0530 SMC911x driver fixed for NFS boot eth_halt() function in the smc911x drivers used to call the smc911x_reset() function. eth_halt() used to be called after tftp transfers. This used to put the ethernet chip in reset while the linux boots up resulting in the ethernet driver not coming up. NFS boot used to fail as a result. This patch calls smc911x_shutdown() instead of smc911x_reset(). Some comments received has also been fixed. Signed-off-by: Manikandan Pillai Signed-off-by: Ben Warren commit e5a3bc2401a23f1890611f020f57f94824a534db Author: Remy Bohmer Date: Sun May 3 12:11:40 2009 +0200 Add config option for disabling DM9000-SROM support. Some boards do not have SROM support for the DM9000 network adapter. Instead of listing these board names in the driver code, make this option configurable from the board config file. It also removes a build warning for the at91sam9261ek board: 'dm9000x.c:545: warning: 'read_srom_word' defined but not used' And it repaires the trizepsiv board build which was broken around the same routines Signed-off-by: Remy Bohmer Signed-off-by: Ben Warren commit 3c9b1ee17e19bd6d80344678d41a85e52b0be713 Author: Kim Phillips Date: Fri Jun 5 14:11:33 2009 -0500 mpc83xx: don't set SICRH_TSOBI1 to RMII/RTBI operation In GMII mode (which operates at 3.3V) both SICRH TSEC1/2 output buffer impedance bits should be clear, i.e., SICRH[TSIOB1] = 0 and SICRH[TSIOB2] = 0. SICRH[TSIOB1] was erroneously being set high. U-Boot always operated this PHY interface in GMII mode. It is assumed this was missed in the clean up by the original board porters, and copied along to the TQM and sbc boards. Signed-off-by: Kim Phillips Acked-by: Ira Snyder Reviewed-by: David Hawkins Tested-by: Paul Gortmaker CC: Dave Liu commit 2c0234fa79122a5aa77c4e17c33eb2fe184b61a7 Author: Daniel Mack Date: Wed Apr 8 13:23:37 2009 +0200 smc911x: write back the manually set MAC address If the MAX address is given by the environment, write it back to the hardware. Signed-off-by: Daniel Mack Cc: Sascha Hauer Signed-off-by: Ben Warren commit dfcd7f21607fd847236b04bb1a8d59a7c10ab99c Author: Wolfgang Denk Date: Fri May 15 00:16:03 2009 +0200 Redundant Environment: protect full sector size Several boards used different ways to specify the size of the protected area when enabling flash write protection for the sectors holding the environment variables: some used CONFIG_ENV_SIZE and CONFIG_ENV_SIZE_REDUND, some used CONFIG_ENV_SECT_SIZE, and some even a mix of both for the "normal" and the "redundant" areas. Normally, this makes no difference at all. However, things are different when you have to deal with boards that can come with different types of flash chips, which may have different sector sizes. Here we may have to chose CONFIG_ENV_SECT_SIZE such that it fits the biggest sector size, which may include several sectors on boards using the smaller sector flash types. In such a case, using CONFIG_ENV_SIZE or CONFIG_ENV_SIZE_REDUND to enable the protection may lead to the case that only the first of these sectors get protected, while the following ones aren't. This is no real problem, but it can be confusing for the user - especially on boards that use CONFIG_ENV_SECT_SIZE to protect the "normal" areas, while using CONFIG_ENV_SIZE_REDUND for the "redundant" area. To avoid such inconsistencies, I changed all sucn boards that I found to consistently use CONFIG_ENV_SECT_SIZE for protection. This should not cause any functional changes to the code. Signed-off-by: Wolfgang Denk Cc: Paul Ruhland Cc: Pantelis Antoniou Cc: Stefan Roese Cc: Gary Jennejohn Cc: Dave Ellis Acked-by: Stefan Roese commit b81830f6e3b3e6ed114d071eb107965e49fa9b5a Author: Ilya Yanok Date: Thu May 14 14:03:09 2009 +0400 mmc: it's safe to ignore mmc_send_if_cond() return value Return value of mmc_send_if_cond() can be safely ignored (as it is done in Linux). This makes older cards work with MXC MCI controller. Signed-off-by: Ilya Yanok commit dba6fcf6517faa5dda7df8109febe03c9c72a6f5 Author: Stefan Roese Date: Mon May 11 15:54:13 2009 +0200 cfi_mtd: Fix bug in last sector detection This patch now enabled this cfi-mtd wrapper to correctly detect and erase the last sector in an NOR FLASH device. Signed-off-by: Stefan Roese commit 4e3d89ba948eef801ffd46ef862cdede5b3f8320 Author: Yauhen Kharuzhy Date: Thu May 7 00:43:30 2009 +0300 mmc: Fix decoding of SCR & function switch data on little-endian machines SCR & switch data are read from card as big-endian words and should be converted to CPU byte order. Signed-off-by: Yauhen Kharuzhy Signed-off-by: Andy Fleming commit f33cb34b3971dabe3720d577b0e1b8601c09fe17 Author: Yauhen Kharuzhy Date: Thu May 7 13:08:53 2009 +0300 mmc: Remove return from mmc_init for non SD 2.0 compatible cards. Cards which are not compatible with SD 2.0 standard, may return response for CMD8 command, but it will be invalid in terms of SD 2.0. We should accept this case as admissible, just like Linux does. Signed-off-by: Yauhen Kharuzhy Signed-off-by: Andy Fleming commit 998be3dd59ed0af4bec38324047fecfa88ac45db Author: Rabin Vincent Date: Sun Apr 5 13:30:56 2009 +0530 mmc: drop unnecessary casts Now that response is a uint, we can drop all the casts. Signed-off-by: Rabin Vincent commit 0b453ffe28bb9227d86ddbe0893bd19c93f04ed7 Author: Rabin Vincent Date: Sun Apr 5 13:30:55 2009 +0530 mmc: fix response decoding on little endian The mmc code defines the response as an array of chars. However, it access the response bytes both as (i) an array of four uints (with casts) and (ii) as individual chars. The former case is used more often, including by the driver when it assigns the response. The char-wise accesses are broken on little endian systems because they assume that the bytes in the uints are in big endian byte order. This patch fixes this by changing the response to be an array of four uints and replacing the char-wise accesses with equivalent uint-wise accesses. Signed-off-by: Rabin Vincent commit 9b1f942c09dd942e6de3185caa81c111b14de567 Author: Rabin Vincent Date: Sun Apr 5 13:30:54 2009 +0530 mmc: use lldiv to fix arm eabi build The generic MMC core uses direct long long divisions, which do not build with ARM EABI toolchains. Use lldiv() instead, which works everywhere. Signed-off-by: Rabin Vincent commit e85649c7e683faea1ccfddc9fa9abc62f38e4201 Author: Rabin Vincent Date: Sun Apr 5 13:30:53 2009 +0530 mmc: check find_mmc_device return value find_mmc_device returns NULL if an invalid device number is specified. Check for this to avoid dereferencing NULL pointers. Signed-off-by: Rabin Vincent commit ac0865ff33870cdf2cd480165045e1bc311e9fa2 Author: Rabin Vincent Date: Sun Apr 5 13:30:52 2009 +0530 mmc: clean up help texts Remove some repeated words and superfluous newlines in the mmc command help entries. Signed-off-by: Rabin Vincent commit 7d6900ebe16d679c0e03f8d1584b64057a64ce39 Author: Mike Frysinger Date: Fri May 29 17:01:48 2009 -0400 Blackfin: spi: fix pin handling of SPI0 SSEL4 CS4 on SPI0 has a dedicated PH8 pin which needs to be enabled as a peripheral in order to work. Signed-off-by: Mike Frysinger commit 2157359dad2533987f5eb0181ef543693fad6a33 Author: Mike Frysinger Date: Tue May 26 02:51:57 2009 -0400 Blackfin: fix if() logic in bootrom evt1 check A missing set of parenthesis caused the silicon revision to apply only to the BF533 and not the BF531/BF532 variants. Signed-off-by: Mike Frysinger commit 76b5883da2cf049cd410901c04ea450e5f5c27c3 Author: Stefan Roese Date: Sat May 16 12:04:22 2009 +0200 jffs2/mtdparts: Fix problem with usage from JFFS2 and MTDPARTS together Currently using JFFS2 with MTDPARTS enabled doesn't work. This is because mtdparts_init() is available in both files, cmd_mtdparts.c and cmd_jffs2.c. Please note that in the original cmd_jffs2.c file (before the jffs2/mtdparts command/file split those 2 different versions already existed. So this is nothing new. The main problem is that the variables "current_dev" and "current_partnum" are declared in both files now. This doesn't work. This patch now changes the names of those variable to more specific names: "current_mtd_dev" and "current_mtd_partnum". This is because this patch also changes the declaration from static to global, so that they can be used from both files. Please note that my first tests were not successful. The MTD devices selected via mtdparts are now accessed but I'm failing to see the directory listed via the "ls" command. Nothing is displayed. Perhaps I didn't generate the JFFS2 image correctly (I never used JFFS2 in U-Boot before). Not sure. Perhaps somebody else could take a look at this as well. I'll continue looking into this on Monday. Signed-off-by: Stefan Roese Cc: Wolfgang Denk Cc: Detlev Zundel Cc: Ilya Yanok Cc: Renaud barbier commit ab687907980fa28940a1a992d3f1c5d17cdbbf5d Author: Graf Yang Date: Sun May 24 02:34:34 2009 -0400 Blackfin: bf518f-ezbrd: setup portmux for async flash The pins for async memory where parallel flash lives are not enabled by default, so make sure we mux them as needed. Signed-off-by: Graf Yang Signed-off-by: Mike Frysinger commit f40f6db278f602b55820693634a7256b0b4e4b80 Author: Stefan Roese Date: Wed May 20 10:58:03 2009 +0200 nand: Fix problem with ECC ordering for PPC4xx NDFC platforms This patch enables Smart Media (SMC) ECC byte ordering which is used on the PPC4xx NAND FLASH controller (NDFC). Without this patch we have incompatible ECC byte ordering to the Linux kernel NDFC driver. Signed-off-by: Stefan Roese Acked-by: Scott Wood commit 399aab7748bef053d59612211e1bd7a3fabfce18 Author: Stefan Roese Date: Wed May 20 10:58:02 2009 +0200 ppc4xx: Fix problem with ECC ordering for PPC4xx NDFC platforms This patch now uses the correct ECC byte order (Smart Media - SMC) to be used on the 4xx NAND FLASH driver. Without this patch we have incompatible ECC byte ordering to the Linux kernel NDFC driver. Please note that we also have to enable CONFIG_MTD_NAND_ECC_SMC in drivers/mtd/nand/nand_ecc.c for correct operation. This is done with a seperate patch. Signed-off-by: Stefan Roese Acked-by: Scott Wood commit 5d841fac8249a2b3f9a814da2140132be0a9f60d Author: Stefan Roese Date: Wed May 20 10:58:01 2009 +0200 ppc4xx: Move definition for PPC4xx NAND FLASH controller to header This patch moves the definition for the PPC4xx NAND FLASH controller (NDFC) CONFIG_NAND_NDFC into include/ppc4xx.h. This is needed for the upcoming fix for the ECC byte ordering of the NDFC driver. Signed-off-by: Stefan Roese Acked-by: Scott Wood commit 2df72b82bc9e17b88dc82735a067749220beb025 Author: Kim Phillips Date: Tue May 19 12:53:36 2009 -0500 common: fix inline--weak error spotted by gcc 4.4 cmd_ide.c:547: error: inline function 'ide_inb' cannot be declared weak removing the inline attribute fixes it. Signed-off-by: Kim Phillips commit 9fd9abedcc3c10cf89353265cbe05f58609d51f3 Author: Kim Phillips Date: Tue May 19 12:53:32 2009 -0500 TQM834x: remove defines causing gcc4.4 warnings Configuring for TQM834x board... cpu_init.c: In function 'cpu_init_f': cpu_init.c:262: warning: array subscript is above array bounds cpu_init.c:263: warning: array subscript is above array bounds cpu_init.c:270: warning: array subscript is above array bounds ... Signed-off-by: Kim Phillips commit 0850301747228a3327f2815a85284d26ade3de95 Author: Andreas Huber Date: Tue May 19 11:06:30 2009 +0200 UBI: fix return code in ubi_volume_read Return -ENODEV instead of 0 when trying to read from a non existing volume. Signed-off-by: Andreas Huber Signed-off-by: Stefan Roese commit ec01481ddc4cf302c7f6d760b776ca94819ec21e Author: Graf Yang Date: Tue May 19 04:40:08 2009 -0400 Blackfin: fix timer_init()/timer_reset() The timer_init() function was not using the right csync instruction, nor was it doing it right after disabling the core timer. The timer_reset() function would reset the timestamp, but not the actual timer, so there was a common edge case where get_timer() return a jump of one timestamp (couple milliseconds) right after resetting. This caused many functions to improperly timeout right away. Signed-off-by: Graf Yang Signed-off-by: Mike Frysinger commit c06326c73bf90e48a8e1cf8893ad31c575423f50 Author: Shinya Kuribayashi Date: Sat May 16 09:12:09 2009 +0900 MIPS: lib_mips/board.c: Remove unused variables This fixes the following build warnings: board.c: In function 'board_init_r': board.c:328: warning: unused variable 'i' board.c:326: warning: unused variable 'e' Signed-off-by: Shinya Kuribayashi commit 47f6a36cc3f3427cc8e4f1d0f3e6678be6f33769 Author: Shinya Kuribayashi Date: Sat May 16 09:12:09 2009 +0900 MIPS: Make all extern-ed functions in bitops.h static All these functions are expected to be static inline-ed. This patch also fixes the following build warnings on MIPS targets: include/asm/bitops.h: In function 'ext2_find_next_zero_bit': include/asm/bitops.h:862: warning: '__fswab32' is static but used in inline function 'ext2_find_next_zero_bit' which is not static include/asm/bitops.h:885: warning: '__fswab32' is static but used in inline function 'ext2_find_next_zero_bit' which is not static include/asm/bitops.h:887: warning: '__fswab32' is static but used in inline function 'ext2_find_next_zero_bit' which is not static Signed-off-by: Shinya Kuribayashi commit 87423d740b91329b8d1d0b73cafd6930993b558a Author: Thomas Lange Date: Fri Apr 24 16:22:16 2009 +0200 MIPS: Implement ethernet halt for au1x00 Implement ethernet halt() by putting MAC0 in reset. If we do not do this, we will get memory corruption when ethernet frames are received during early OS boot. Signed-off-by: Thomas Lange Signed-off-by: Shinya Kuribayashi commit a2e0ffcf2d9a22c582a93e84a4bef20fd3877f47 Author: Wolfgang Denk Date: Fri May 15 23:29:23 2009 +0200 Prepare v2009.06-rc2 Update CHANGELOG. Signed-off-by: Wolfgang Denk commit f4317ea91942f44cc1c433277927b61618e9b0a5 Author: Daniel Mack Date: Tue May 5 12:48:29 2009 +0200 ARM: fix PXA build by defining UP2OCR U-Boot does not currently build for PXA platforms with USB support enabled: usb.c:46: error: 'UP2OCR' undeclared (first use in this function) Signed-off-by: Daniel Mack Cc: Markus Klotzbuecher Edited commit message. Signed-off-by: Wolfgang Denk commit e26ad0eabd10a8cda51920fbcfe4da5b4ccf0c98 Author: Wolfgang Denk Date: Fri May 15 22:32:57 2009 +0200 Minor Coding Style fix; update CHANGELOG. Signed-off-by: Wolfgang Denk commit af75a45d23b72a59ac5cc0427696c7f634fdc94b Author: Wolfgang Denk Date: Fri May 15 09:27:58 2009 +0200 IDE: bail out of dev_print() for unknown device types Commit 574b319512 introduced a subtle bug by mixing a list of tests for "dev_desc->type" and "dev_desc->if_type" into one switch(), which then mostly did not work because "dev_desc->type" cannot take any "IF_*" type values. A later fix in commit 8ec6e332ea changed the switch() into testing "dev_desc->if_type", but at this point the initial test for unknown device types was completely lost, which resulted in output like that for IDE ports without device attached: Device 1: Model: Firm: Ser#: Type: # 1F # Capacity: not available This patch re-introduces the missing test for unknown device types. Signed-off-by: Wolfgang Denk Cc: Stefan Roese Cc: Detlev Zundel Tested-by: Stefan Roese commit c21f62d8483fbab44cd98d93ff2e9355a330d225 Author: Stefan Roese Date: Thu May 14 07:25:13 2009 +0200 74xx_7xx: Fix rounding problem in CPU frequency calculation This patch fixes a problem in the CPU frequency calculation. Without it a 798MHz CPU is displayed as 368.503 MHz. And with it it's 798 MHz. Signed-off-by: Stefan Roese commit 3ad8a0517b724782ab36f2b554a94de4c00c1adb Author: Jean-Christophe PLAGNIOL-VILLARD Date: Wed May 13 22:24:12 2009 +0200 console.h: remove unused prototype 'console_realloc' Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 84bf7ca522e94ec402a1264b01971b924b7e268f Author: Jean-Christophe PLAGNIOL-VILLARD Date: Wed May 13 22:16:31 2009 +0200 api: remove un-needed ifdef CONFIG_API already handle by the Makefile Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 792a09eb9d5d8c4f74b7e9f2e887316d511a4e80 Author: Detlev Zundel Date: Wed May 13 10:54:10 2009 +0200 Fix e-mail address of Gary Jennejohn. Signed-off-by: Detlev Zundel commit 5e2c08c3ac90808e9be64856916bfd6df984823c Author: Emil Medve Date: Tue May 12 13:48:32 2009 -0500 Remove inline qualifier from show_boot_progress() The 'inline' is conflicting with the semantic of 'weak' attribute and with the way the show_boot_progress() function is used. Also gcc 4.4 is complaining about it: main.c:51: error: inline function 'show_boot_progress' cannot be declared weak Signed-off-by: Emil Medve commit fe6da4837308aa33d537ac3e7f36c2d66e3d9a36 Author: Wolfgang Denk Date: Tue May 12 15:17:35 2009 +0200 MPC8260: fixup device tree by property instead of path cpu/mpc8260/cpu.c used to use do_fixup_by_path_u32() to update the clock frequencies in the device tree, using a CPU path "/cpus/OF_CPU", with OF_CPU beind defined in the board config file. However, this does not work when one board config file (here: MPC8260ADS.h) is intended to be used for several diffrent CPUs and therefor contains a generic definition like "cpu@0", as the device trees that will then be loaded will contain specific names like "PowerPC,8272@0". We switch to using do_fixup_by_prop_u32() instead, so we can search for device_type="cpu", as it is done in other architectures, too. Signed-off-by: Wolfgang Denk Cc: Heiko Schocher Acked-by: Heiko Schocher Tested-by: Heiko Schocher commit 12a6753155716e5c3c181a8f40e8b2d3d669aefd Author: Rohit Hagargundgi Date: Mon Mar 9 19:45:46 2009 +0530 Fix OneNAND ipl to read CONFIG_SYS_MONITOR_LEN Add CONFIG_SYS_MONITOR_LEN macro to apollon board config. CONFIG_SYS_MONITOR_LEN defines the U-Boot image size. and is used by OneNAND ipl when reading U-Boot image. Signed-off-by: Rohit Hagargundgi Acked-by: Kyungmin Park commit c404cc5884b0c82fd82d751dbd8e8b3f8919a23a Author: Ben Warren Date: Tue Apr 28 17:04:51 2009 -0700 Schedule removal of non-CONFIG_NET_MULTI net driver API This will make CONFIG_NET_MULTI the only net driver configuration and we'll be able to remove this option. Signed-off-by: Ben Warren commit 60bbcf0cc6e55095dd186e59a557d584b9b56eb1 Author: Detlev Zundel Date: Tue May 5 16:04:06 2009 +0200 powerpc/inka4x0: Remove left-over ide reset code. The pin which was used in preliminary versions of the board for ide reset is really connected to the rtc clock. Signed-off-by: Detlev Zundel commit f578a2da6770951239ad91ee9a1875fdc71dbe48 Author: Marco Stornelli Date: Tue Apr 28 19:04:02 2009 +0200 Add imls utility command This patch adds, under tools folder, a new command called imls. Its goal is the same of UBoot's imls but it can be used as Linux shell command. It reads from raw mtd partition and prints the list of the stored images. Signed-off-by: Marco Stornelli commit da95427ce431908714ae5e9f663ee6e2bc3bcc33 Author: Heiko Schocher Date: Tue Apr 28 08:36:11 2009 +0200 netloop: updates for NetLoop Fix some issues introduced from commit: 2f70c49e5b9813635ad73666aa30f304c7fdeda9 suggested by Mike Frysinger. - added some comment for the env_id variable in common_cmd_nvedit.c - moved some variables in fn scope instead of file scope - NetInitLoop now static void Signed-off-by: Heiko Schocher Acked-by: Ben Warren commit 3c1d89545de11822f8b5afb5646a57757620bd95 Author: Heiko Schocher Date: Tue Apr 28 07:48:39 2009 +0200 82xx, ids8247: added ids8247 board to MAKEALL script Signed-off-by: Heiko Schocher commit 890a017a8a995c921d1e889d360e8d6538ceecfe Author: Detlev Zundel Date: Thu May 7 13:08:55 2009 +0200 arm/imx31_phycore: Fix bi_arch_number Signed-off-by: Detlev Zundel Cc: Sascha Hauer commit ee47bfabefeb25bdfc83f49ef3bae0f325d3e69e Author: Sascha Hauer Date: Fri May 15 10:21:33 2009 +0200 remove myself as phycore/litekit Maintainer I never acked a patch that adds me as phycore i.MX31 maintainer nor was it me who pushed the patches, so remove myself from the maintainer list so that other people do not longer wait for my ack. Signed-off-by: Sascha Hauer commit c63254ef5628efe1c77cb2fdba20753f9666f55d Author: Sergey Lapin Date: Tue May 12 12:25:14 2009 +0400 AFEB9260 network fix AFEB9260 uses PA10, PA11 for ETX2 and ETX3. Also, due to extarnal pull-up on IRQ line, Micrel PHY ID is 1 after reset sequence, not 0. Signed-off-by: Sergey Lapin commit f8ddcd58221cab63dd25c2324dd2032487f748b1 Author: Graf Yang Date: Tue May 5 02:26:27 2009 -0400 Blackfin: bf518f-ezbrd: reset ethernet PHY during init We don't know what state the ethernet PHY is in when starting up, so make sure we set it to a sane state. This fixes troubles seen when Linux boots up, configures the PHY is a non-default state, and then the system reboots into U-Boot which previously expected a reset state only. Signed-off-by: Graf Yang Signed-off-by: Mike Frysinger commit 53310b88eaa27fb5cb83144d0b22389190ad87a1 Author: Mike Frysinger Date: Tue May 5 01:35:41 2009 -0400 Blackfin: bf527-ezkit: fix SPI flash env params The BF527-EZKIT settings for storing the environment in SPI flash wasn't using the correct sector settings for the SPI flash part that is actually on the board. Signed-off-by: Mike Frysinger commit f58bf804a14324c6c9186a7a664fa23281780e8b Author: Mike Frysinger Date: Fri Apr 24 23:54:19 2009 -0400 Blackfin: avoid get_sclk() with early serial debug When the clock functions were changed to use cached values (and thereby avoiding expensive math functions), early serial debug broke because the baud programming is called before external memory is available. Signed-off-by: Mike Frysinger commit 02778f2f1b4b1a28b492367477db27c58d45ae35 Author: Mike Frysinger Date: Fri Apr 24 23:39:41 2009 -0400 Blackfin: fix booting with older bootroms (no EVT1) When dropping jump block support, the assumption was that all bootroms supported entry point redirection via the EVT1 register. Unfortunately, this turned out to be incorrect for the oldest Blackfin parts (BF533-0.2 and older and BF561). No one really noticed earlier because these parts usually are booted by bypassing the bootrom entirely, and older BF533 parts are not supported at all (too many anomalies). Signed-off-by: Mike Frysinger commit af2c37378f203857d5e6c957e77a14c2da5b59d2 Author: Mike Frysinger Date: Fri Apr 24 23:22:48 2009 -0400 Blackfin: recurse with early serial initcode Make sure we recurse through serial_putc() rather than bang on the UART transmit register directly to avoid hardware overflows when using \n. Signed-off-by: Mike Frysinger commit 6b8edfde22acc574b5532e9f086e6a7287a9bc78 Author: Wolfgang Denk Date: Fri May 1 21:59:12 2009 +0200 Prepare v2009.06-rc1 Update CHANGELOG. Signed-off-by: Wolfgang Denk commit 6b2beb5626a143ca5347e7d2c6005be9936c1fbb Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri May 1 15:38:06 2009 +0200 at91: remove lowlevel_init.S lowlevel_init.S is not used any more so remove it. As consequence, we also don't have to generate u-boot.lds but can use a static version as before. This also fixes the out-of-tree build problem introduced with commit f0a2c7b4 "at91: add support for the PM9263 board" Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Wolfgang Denk commit 0ee7a310479640ef17ce2fc0f6c13cf7961d2330 Author: Wolfgang Denk Date: Fri May 1 00:16:11 2009 +0200 Update CHANGELOG; minor coding style cleanup. Signed-off-by: Wolfgang Denk commit d3a513c23ba4100d6983161cdc1f747dfd087bbd Author: Manikandan Pillai Date: Tue Apr 21 17:29:05 2009 +0200 OMAP3: Fix timer handling to 1ms and CONFIG_SYS_HZ to 1000 Signed-off-by: Dirk Behme Signed-off-by: Manikandan Pillai commit ac9140037a84629c5583066ff1a177396c47d89d Author: Dirk Behme Date: Fri Apr 17 14:27:56 2009 +0200 OMAP3: Beagle: Set pinmux conditionally for Rev C boards The Beagle Rev C boards pull UART2 from an alternate set of balls. Signed-off-by: Steve Sakoman Signed-off-by: Dirk Behme commit c1a0fd5f2864e9d381f4a3dc948942cac974e89a Author: Ricardo Ribalda Delgado Date: Mon Apr 27 18:33:33 2009 +0200 ubifs: BUG: Blocks commpressed with zlib Blocks compressed with zlib dont have the full gzip header. Without this patch, block compressed with zlib cannot be readed! Signed-off-by: Ricardo Ribalda Delgado commit 35f6a943f7d92145d607c1d55f5c2e2eae5be630 Author: Ricardo Ribalda Delgado Date: Mon Apr 27 18:33:32 2009 +0200 lib_generic: gunzip: New function zunzip Separate gunzip in gunzip: Find the end of the header and call zunzip. zunzip: Inflate gunzip block without header. UBI fs blocks can be compresed in lzo, zlib or no-compression. The current implementation of u-boot supported all the compressions but there was a bug in the implementation of the zlib blocks. UBIFS's Zlib blocks do not have header but they were compressed using gunzip, a function used to decompress gunzip files/sectors with a header. This patch adds a new function zunzip that uncompress a zlib block with no header. Signed-off-by: Ricardo Ribalda Delgado commit a1e5f93185d0d85a4b3fad3b6c743cddcd373b0c Author: Daniel Gorsulowski Date: Thu Apr 23 15:37:16 2009 +0200 at91: fixed plla calc when no USB support is active Signed-off-by: Daniel Gorsulowski Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 3791a1187c1401c33c9512595e6e89dbb46230c5 Author: Ladislav Michl Date: Wed Apr 22 01:12:04 2009 +0200 arm925t: Fix CONFIG_SYS_HZ to 1000 Let CONFIG_SYS_HZ to have value of 1000 effectively fixing all users of get_timer. Changes since original version: * Set PTV=2 (divisor 8) for boards using 12MHz timer clock source to improve timer resolution. Signed-off-by: Ladislav Michl commit 42bf4b2248146abdc592bde0009c6ea42067f437 Author: Dirk Behme Date: Tue Apr 14 20:15:17 2009 +0200 OMAP3: Remove legacy NAND defines Remove remaining legacy NAND defines for Beagle, EVM, Overo and Pandora. Signed-off-by: Dirk Behme commit cba0b778dd5f1ea32959b6825c7f0a31501a99d5 Author: Sanjeev Premi Date: Mon Apr 27 21:27:54 2009 +0530 OMAP3: Print correct silicon revision The function display_board_info() displays incorrect silicon revision - based on the return value from function get_cpu_rev(). This patch fixes the problem. Signed-off-by: Sanjeev Premi commit 90006e9b33bcdbf241b0295d186e3634137907a9 Author: Sanjeev Premi Date: Mon Apr 27 21:27:44 2009 +0530 OMAP3: Remove unused board-types The board-types defined in struct omap3_sysinfo seem to be unused. The function display_board_info() is passed board type as an argument; which is ignored. This patch removes all uses of board-type, related definitions and functions. Signed-off-by: Sanjeev Premi commit 6a6b62e3aa4b340c4f8fc67b1487ddb5436c684d Author: Sanjeev Premi Date: Mon Apr 27 21:27:27 2009 +0530 OMAP3: Use functions print_cpuinfo() and checkboard() Use the functions print_cpuinfo() and checkboard() to display the cpu and board specific information. These functions reuse content from the existing function display_board_info() - which has been removed. Also, updated the existig OMAP3 configurations to define: - CONFIG_DISPLAY_CPUINFO - CONFIG_DISPLAY_BOARDINFO Signed-off-by: Sanjeev Premi commit f8e2b3107ee00f2782f8ebf47e3f09cda4e2353a Author: Stefan Roese Date: Wed Mar 18 11:17:37 2009 +0100 MTD: Change cfi-mtd to accept non-uniform sector sizes With this patch non-uniform NOR FLASH chips (chips with multiple erase regions) can be exported via the cfi-mtd layer and therefor used by UBI. We select the largest sector size as erasesize. The cfi driver will make sure that the smaller sectors are handled correctly. Signed-off-by: Stefan Roese commit 3dcbe628d66b648e954bc8147d4faff2983206d9 Author: Anatolij Gustschin Date: Thu Apr 23 12:35:22 2009 +0200 video: fix bug in cfb_console.c code Fix bug in drawing long version/info strings: U-Boot version string like "U-Boot 2009.03-05647-g7c51e06 (Apr 23 2009 - 12:40:00) MPC83XX" is long and doesn't wrap around correctly while drawing beside the logo. Such long strings partially overwrite the logo. This patch is an attempt to fix it. Signed-off-by: Anatolij Gustschin commit 4d9eab89b3b2c2ed432b14d355a56f274d8aac75 Author: Wolfgang Denk Date: Tue Apr 28 08:50:31 2009 +0200 cmd_ext2.c: fix compile warnings Get rid of these warnings: cmd_ext2.c:247: warning: format '%ld' expects type 'long int', but argument 2 has type 'int' cmd_ext2.c:248: warning: format '%lX' expects type 'long unsigned int', but argument 3 has type 'int' Signed-off-by: Wolfgang Denk commit 28afe0160f87ff74574150d703055a965f91422a Author: Heiko Schocher Date: Mon Apr 27 10:48:20 2009 +0200 ids8247: Remove legacy NAND defines because legacy NAND support is deprecated converting to current NAND interface. !This just compile, because I have no more the hardware to test it. Signed-off-by: Heiko Schocher commit dbd33614404b65aa441c5620c3dbd560c4460c09 Author: Ricardo Ribalda Delgado Date: Mon Apr 27 09:13:31 2009 +0200 ubifs: BUG realpath string must be ended with NULL If the memory used to copy the link_make is "dirty" the string wont be ended with NULL, throwing out multiple memory bugs. Signed-off-by: Ricardo Ribalda Delgado Acked-by: Stefan Roese commit 65351a8793c51f3787efbbcf3aa1df0ad543c127 Author: Peter Tyser Date: Fri Apr 24 15:59:56 2009 -0500 bmp_logo: Check return value of fread() Add basic error handling to fread() function calls. This prevents compililation warnings such as: bmp_logo.c: In function ‘main’: bmp_logo.c:71: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result ... Signed-off-by: Peter Tyser commit eea8be86d1c2b570660d1f6c553845e13164231a Author: Peter Tyser Date: Fri Apr 24 15:59:46 2009 -0500 ncb: Check return value of write() This prevents the compilation warning: ncb.c: In function 'main': ncb.c:32: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result Signed-off-by: Peter Tyser commit dbe29e36a4c2775b69b5a63b0ce2bac89c08e691 Author: Stefan Roese Date: Fri Apr 24 15:59:35 2009 +0200 mtd: nand/onenand: Register mtd device upon device scanning With this patch the NAND and OneNAND devices are registered in the MTD subsystem and can then be referenced by the mtdcore code (e.g. get_mtd_device_nm()). This is needed for the new "ubi part" command syntax without the flash type parameter (nor|nand|onenand). Signed-off-by: Stefan Roese commit 10bb62d85a0850dbad1fdd34123378686373f166 Author: Stefan Roese Date: Fri Apr 24 15:58:33 2009 +0200 mtd: nand: Include linux/mtd/partitions.h in nand_base.h This patch removes this compilation warning when CONFIG_MTD_PARTITIONS is defined: nand_base.c: In function 'nand_release': nand_base.c:2922: warning: implicit declaration of function 'del_mtd_partitions' Signed-off-by: Stefan Roese commit 2d579e5060413af5a740cb396dc87e1ff31bf5a9 Author: Stefan Roese Date: Fri Apr 24 20:24:19 2009 +0200 ubi: Remove flash selection parameter (nor|nand|onenand) from "ubi part" This patch removes the now unnecessary flash type parameter from the "ubi part" command. Currently the user has to define the type of flash he will be using UBI on. Example: => ubi part nor partition1 With this patch this type parameter is not needed anymore. The user can now select the partition directly without the flash type paramter. Example: => ubi part partition1 This breaks backward compatibility right now because of the change in the command syntax. But UBI support is still quite fresh and the advantage of this new command is syntax big enough for this change. Additionally the code is much cleaner now. Signed-off-by: Stefan Roese CC: Kyungmin Park commit 294f10ca9ea82a15e135dcb0fc658382ab206940 Author: Detlev Zundel Date: Thu Apr 23 13:14:20 2009 +0200 mips/vcth: Use generic 16550 uart driver As the common code also handles baudrate switching, which the board specific vct.c driver did not support, this is one of the rare occassions where deleting code actually adds a feature :) Signed-off-by: Detlev Zundel Acked-by: Stefan Roese Acked-by: Shinya Kuribayashi commit 0c8a84916c5dacccdc5b27b63fc463e9f3b04f07 Author: Ladislav Michl Date: Tue Apr 21 02:26:31 2009 +0200 Separate mtdparts command from jffs2 On Thu, Mar 19, 2009 at 01:30:36PM +0100, Stefan Roese wrote: > Currently the mtdparts commands are included in the jffs2 command support. > This doesn't make sense anymore since other commands (e.g. UBI) use this > infrastructure as well now. This patch separates the mtdparts commands from > the jffs2 commands making it possible to only select mtdparts when no JFFS2 > support is needed. One more leftover... Let nboot command know about partitions even if JFFS2 support is not enabled. Signed-off-by: Ladislav Michl Acked-by: Stefan Roese commit 67c2e57c0875139dbfcd6f41c43e6ad0cb2e40c9 Author: Peter Tyser Date: Mon Apr 20 11:22:13 2009 -0500 cmd_ide: Remove unused AmigaOneG3SE code The output_data_short() and input_data_short() functions for the AmigaOneG3SE are unused and result in compiler warnings. Signed-off-by: Peter Tyser commit c93c102ace00764a56dbdf78bac134a23906721e Author: Peter Tyser Date: Mon Apr 20 11:21:40 2009 -0500 AmigaOneG3SE: Fix CONFIG_CMD_CONSOLE definition Signed-off-by: Peter Tyser commit 54e822f9590cc6c70411bd8cabd42236e07a2aa7 Author: Peter Tyser Date: Mon Apr 20 11:09:05 2009 -0500 Replace __asm references with __asm__ __asm__ follows gcc's documented syntax and is generally more common than __asm. This change is only asthetic and should not affect functionality. Signed-off-by: Peter Tyser commit f9a109b3adc5e8647535357500e2a38f0558b5c2 Author: Peter Tyser Date: Mon Apr 20 11:08:46 2009 -0500 Replace __attribute references with __attribute__ __attribute__ follows gcc's documented syntax and is generally more common than __attribute. This change is only asthetic and should not affect functionality. Signed-off-by: Peter Tyser commit 08f077da9298ff65cc6f85f90d2770000a1beee9 Author: David Brownell Date: Thu Apr 16 19:55:48 2009 -0700 mtdpart command: align output columns Make the headers in the "mtdparts" command output line up with their columns ... strike the extra TAB character. Signed-off-by: David Brownell commit 06f41f825c23344d889d5419bb5eaeceb3ed2a02 Author: Shinya Kuribayashi Date: Thu Apr 16 10:51:03 2009 +0900 Remove sa1100.h sa1100.h is not used anywhere, then remove it. $ find . -name '*.h' -empty -print ./include/sa1100.h $ git grep 'sa1100.h' . $ Signed-off-by: Shinya Kuribayashi Acked-by: Jean-Christophe PLAGNIOL-VILLARD commit 7d3d30b1b3fbd0a07db254ead99fa6fff4f4d992 Author: Stefan Roese Date: Tue Apr 14 17:51:21 2009 +0200 UBIFS: Remove tnc_commit.c which is not used in the read-only version I missed removing this file while implementing the UBIFS support. It's not referenced at all, so let's remove it. Thanks to Artem Bityutskiy for spotting. Signed-off-by: Stefan Roese commit 6356daff70867822bdb23cea49f98e65421a25b8 Author: Adrian Hunter Date: Tue Apr 14 17:50:38 2009 +0200 UBIFS: fix recovery bug UBIFS did not recovery in a situation in which it could have. The relevant function assumed there could not be more nodes in an eraseblock after a corrupted node, but in fact the last (NAND) page written might contain anything. The correct approach is to check for empty space (0xFF bytes) from then on. Signed-off-by: Adrian Hunter Signed-off-by: Stefan Roese commit 351f40caf2f7806b2cefb93e077ea619b9f684e8 Author: Gao Guanhua Date: Tue Apr 14 14:37:35 2009 +0800 fs: Fix the wrong type of var The filelen should be signed type, not unsigned type. otherwise, The condition as below never take. if (filelen < 0) Signed-off-by: Gao Guanhua Signed-off-by: Dave Liu commit 05f474c4d0469bebc0bb05df60a39dc7fdf28e62 Author: Wolfgang Denk Date: Tue Apr 28 00:29:34 2009 +0200 Update CHANGELOG Signed-off-by: Wolfgang Denk commit ad74cae9ff8790727bc81ee91c6bca7d50dca446 Author: David Brownell Date: Thu Apr 16 23:15:15 2009 -0700 dm9000 EEPROM reading bugfix Make the U-Boot dm9000 driver read addresses from EEPROM just like Linux does ... read six bytes, instead of reading twelve bytes and then discarding every other one. Using the right Ethernet address is a big win. Signed-off-by: David Brownell Acked-by: Jean-Christophe PLAGNIOL-VILLARD Acked-by: Ben Warren commit d4c02e6f5d49880123e7f584b88f857ffd874381 Author: Yoshihiro Shimoda Date: Wed Feb 25 14:27:24 2009 +0900 rtl8169: fix cache coherency problem Fix the problem that cannot access actual data when CPU data cache enabled. Signed-off-by: Yoshihiro Shimoda Tested-by: Nobuhiro Iwamatsu Acked-by: Ben Warren commit a85693b3bd4431b05b7df608b6f7733c0f80c53e Author: Dirk Behme Date: Tue Apr 21 17:30:51 2009 +0200 OMAP3: Fix changed mmc init command In recent U-Boot mmcinit changed to mmc init. Signed-off-by: Steve Sakoman Signed-off-by: Dirk Behme commit 34b76a14f676bc6501c27a96564e4dfb4793f033 Author: Wolfgang Denk Date: Sun Apr 26 20:39:26 2009 +0200 lib_arm/board.c: remove misleading "test-only" comment. For a long time, the print_cpuinfo() declaration in lib_arm/board.c had been marked as "test-only", which is plain wrong considering current usage. Delete this misleading comment. Signed-off-by: Wolfgang Denk commit 7239c5da5e9197accb3dfe395be4502c3b9bca8e Author: David Brownell Date: Sun Apr 12 15:40:16 2009 -0700 minor DaVinci clock cleanup Minor cleanup to clock-related defines for DaVinci DM6446 boards: - CONFIG_SYS_CLK_FREQ is unused; remove it. - CONFIG_SYS_NS16550_CLK must be the same as CONFIG_SYS_HZ_CLOCK On DM6446 both of those peripheral clocks actually come from the same source, the primary oscillator. Having them use the same symbol avoids bugs in the clone'n'modify development cycle. Signed-off-by: David Brownell commit ffd8c7170d55c34bbfcfd2c84093dcaff796cbf3 Author: Minkyu Kang Date: Mon Apr 6 19:59:29 2009 +0900 s3c64xx: remove unnecessary definition CONFIG_S3C6400 is must defined at config header file That definition is unnecessary at this file Signed-off-by: Minkyu Kang commit 14b9308d511b53042ef478936e367a67282df66a Author: Heiko Schocher Date: Fri Apr 24 06:50:45 2009 +0200 83xx: searching "muram-data" by compatible property if using CONFIG_BOOTCOUNT_LIMIT feature on a MPC8360 CPU in the muram-data node, the reg entry needs to be updated. This is done in fdt_fixup_muram(), but we should use the compatible "fsl,qe-muram-data" for searching the node instead of searching the muram-data node with an absolute path. Signed-off-by: Heiko Schocher Signed-off-by: Kim Phillips commit 8e15088794807944b221c11609d36789efc7f767 Author: Anatolij Gustschin Date: Thu Apr 23 21:29:34 2009 +0200 mpc83xx: MPC8360ERDK: fix environment offset configuration bug The size of U-Boot binary for MPC8360ERDK increased (> 2 flash sectors now), so 'saveenv' will partially overwrite U-Boot in flash and will brick the board. This patch moves environment offset to fourth flash sector and also fixes CONFIG_SYS_MONITOR_LEN. Signed-off-by: Anatolij Gustschin Signed-off-by: Kim Phillips commit 3c172c4fdbbb5858fae38478d6399be4a16be3fc Author: Michael Zaidman Date: Sat Apr 4 01:43:00 2009 +0300 NetLoop initialization bug The patch fixes the bug of partial initialization of global network parameters. Upon u-boot's start up the first ping command causes a failure of the consequent TFTP command. It happens in the recently added mechanism of the NetLoop initialization where initialization of global network parameters is separated in the NetInitLoop routine which is called per env_id change. Thus, ping request will initialize the network parameters necessary for ping operation only, afterwards the env_changed_id will be set to the env_id that will prevent all following initialization requests from other protocols. The problem is that the initialized by ping subset of network parameters is not sufficient for other protocols and particularly for TFTP which requires the NetServerIp also. Signed-off-by: Michael Zaidman Signed-off-by: Ben Warren commit b11f664f52c2855990107c18f242223377183575 Author: Timur Tabi Date: Thu Apr 9 10:27:05 2009 -0500 net: fix ULI 526x macro usage in netdev.h Change netdev.h to use CONFIG_ULI526X instead of CONFIG_ULI526. CONFIG_ULI526X is used everywhere else, so that's the correct macro name. Without this fix, Ethernet will not work on the Freescale MPC8610 HPCD. Signed-off-by: Timur Tabi Signed-off-by: Ben Warren commit 7ee38c044ca5041d3378d6507580ea4ec344af96 Author: David Brownell Date: Sun Apr 12 15:38:06 2009 -0700 fix DaVinci NS16550_REG_SIZE regression Update the DaVinci DM6446 boards to use the new convention for CONFIG_SYS_NS16550_REG_SIZE ... the size hasn't changed from the original 4 bytes, but these chips are little-endian. (Resolves a regression added recently by the include/ns16550.h patch to "Unify structure declaration for registers". The code previously worked just fine because the registers were accessed as host-endian words, not as bytes.) Signed-off-by: David Brownell commit dfc99e143fca44a492918ac6cf3f76ee9c2473a9 Author: Mike Frysinger Date: Sun Apr 12 22:29:20 2009 -0400 cmd_nand: drop duplicate NULL ptr check The first if statement checks for NULL ptrs, so there is no need to check it again in later else cases (such as .oob). Signed-off-by: Mike Frysinger CC: Scott Wood commit 7732cef2eeb4e339cfcd8553fab773af73a20805 Author: David Brownell Date: Mon Apr 13 08:03:38 2009 -0700 CMD_UBI != MTD_PARTITIONS Fix dependency goofage: it should certainly be possible to have the partition support without bringing in UBI commands. Signed-off-by: David Brownell Acked-by: Stefan Roese commit 6ebff365eb63093ca35b687316002535c6a18820 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Thu Apr 16 21:30:48 2009 +0200 at91sam9/at91cap: fix CONFIG_SYS_HZ to 1000 The timer has been rewrote with a precision at ~0,18% Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Tested-by: Sergey Lapin Tested-by: Eric BENARD commit f0a2c7b4b64eacd06bb272856bcc056be8719f5a Author: Ilko Iliev Date: Thu Apr 16 21:30:48 2009 +0200 at91: add support for the PM9263 board of Ronetix GmbH The PM9263 board is based on the AT91SAM9263-EK board. Here is the page on Ronetix website: http://www.ronetix.at/starter_kit_9263.html Signed-off-by: Ilko Iliev Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit dc39ae9513c32dfeb9e018dc0d22c6484514fefb Author: Jean-Christophe PLAGNIOL-VILLARD Date: Thu Apr 16 21:30:44 2009 +0200 at91sam9/at91cap: improve clock framework calculate dynamically the clock rate and pllb setting for usb Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit dd7c302099ef5590069bdbf292aaa8230cd59de7 Author: Stefan Roese Date: Wed Apr 15 14:08:48 2009 +0200 ppc4xx: Disable POST memory test on NAND-booting Kilauea Don't run the memory POST on the NAND-booting version. It will overwrite part of the U-Boot image which is already loaded from NAND to SDRAM. We were just lucky that it booted at all with this SDRAM test enabled. Signed-off-by: Stefan Roese commit 9a929170be89b27bce677504da27e88600c06c49 Author: Stefan Roese Date: Wed Apr 15 14:06:26 2009 +0200 ppc4xx: Disable POST memory test on NAND-booting Sequoia Don't run the memory POST on the NAND-booting version. It will overwrite part of the U-Boot image which is already loaded from NAND to SDRAM. We were just lucky that it booted at all with this SDRAM test enabled. Signed-off-by: Stefan Roese commit 17c1b0e89b8be7d90f605eb19af9218c6275bfb3 Author: Stefan Roese Date: Wed Apr 15 11:32:53 2009 +0200 ppc4xx: Remove unused code for Sequoia NAND booting version The current define of get_bus_freq() in the CONFIG_NAND_SPL #ifdef is not used at all. This patch changes it's define to the currently used value of 133333333 and removes the unnecessary code. Signed-off-by: Stefan Roese commit cf9409885cbe01405bad76790e99f8adf3351f4d Author: Stefan Roese Date: Wed Apr 15 10:50:48 2009 +0200 ppc4xx: Add "booting from NAND" to 4xx NAND-booting targets This additional text in the bootup log helps to see if the board is configured for NAND-booting. Especially helpful for boards that can boot from NOR and NAND (e.g. most of the AMCC eval boards). Signed-off-by: Stefan Roese commit 5132106a27b8fb302677852b26ffd319b40d17e2 Author: Stefan Roese Date: Wed Apr 8 10:36:22 2009 +0200 ppc4xx: Fixup chip-selects in dtb for NAND-booting Sequoia Currently the NOR & NAND support in Linux only works for the "standard" Sequoia, the version booting for NOR flash. The NAND-booting version has the chip-selects swapped. Here the chip-select mappings: "Standard" NOR-booting version: CS0 NOR CS3 NAND NAND-booting version: CS0 NAND CS3 NOR With this path the dtb gets fixed-up, so that the correct chip-select numbers are patched in the dtb enabling correct NOR & NAND support in Linux on the NAND-booting Sequoia version. Signed-off-by: Stefan Roese commit aad4eca4ba8d597747199d8af723426681557dda Author: Mike Frysinger Date: Sat Apr 4 09:10:27 2009 -0400 Blackfin: audit UART for all known anomalies There is no code change here, just new comments, but this keeps me from having to do another audit from scratch in the future. Signed-off-by: Mike Frysinger commit 8ef929afa43c77c9573caa57c6e17a97a33775c0 Author: Mike Frysinger Date: Sat Apr 4 08:40:13 2009 -0400 Blackfin: add check for anomaly 05000362 DESCRIPTION: The column address width settings for banks 2 and 3 are misconnected in the SDRAM controller. Accesses to bank 2 will result in an error if the Column Address Width for bank 3 (EB3CAW ) is not set to be the same as that of bank 2. WORKAROUND: If using bank 2, make sure that banks 2 and 3 have the same column address width settings in the EBIU_SDBCTL register. This must be the case regardless of whether or not bank 3 is enabled. Signed-off-by: Mike Frysinger commit c2e07449f546fb375289cdac1a608fdc20357873 Author: Mike Frysinger Date: Sat Apr 4 08:29:55 2009 -0400 Blackfin: add comment about anomaly 05000430 avoidance Signed-off-by: Mike Frysinger commit 48ab1509254a4c175e4f65c478a978928ffe09ec Author: Mike Frysinger Date: Sat Apr 4 08:10:22 2009 -0400 Blackfin: add workaround for anomaly 05000242 DESCRIPTION: If the DF bit is set prior to a hardware reset, the PLL will continue to divide CLKIN by 2 after the hardware reset, but the DF bit itself will be cleared in the PLL_CTL register. WORKAROUND: Reprogram the PLL with DF cleared if the desire is to not divide CLKIN by 2 after reset. Signed-off-by: Mike Frysinger commit ce1fe4ba6bb9df7c57351436fa17d1af8bbe7916 Author: Mike Frysinger Date: Sat Apr 4 08:09:24 2009 -0400 Blackfin: add workaround for anomaly 05000171 DESCRIPTION: The Boot ROM is executed at power up/reset and changes the value of the SICA_IWR registers from their default reset value of 0xFFFF, but does not restore them. WORKAROUND: User code should not rely on the default value of these registers. Set the desired values explicitly. Signed-off-by: Mike Frysinger commit 51ee6e057f7a920e2a125cd9f985d10f625e355f Author: Mike Frysinger Date: Sat Apr 4 08:22:36 2009 -0400 Blackfin: update anomaly sheets Signed-off-by: Mike Frysinger commit a343ba87ea0320ca0a4ecfa2c42cd9d4f18883df Author: Graf Yang Date: Sat Apr 4 07:45:57 2009 -0400 Blackfin: nand: flush peripheral before polling it We need to make sure the data written to the nand flash controller makes it there before we start polling its status register. Otherwise, we may get stale data and return before the controller is actually ready. Signed-off-by: Graf Yang Signed-off-by: Mike Frysinger Acked-by: Scott Wood commit 3ccbfb25f48af78e7092ac75f3115e924e76c748 Author: Remy Bohmer Date: Sun Apr 5 11:43:28 2009 +0200 Support for PXA27X UDC. This Patch adds Support for PXA27X UDC. (Rebased to drivers/usb reorganisation) Signed-off-by: Vivek Kutal Signed-off-by: Remy Bohmer commit 2731b9a86685190d26b1883f27afda5ac8e1a313 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri Apr 3 12:46:58 2009 +0200 drivers/usb: regorganisation move to linux usb driver organisation as following drivers/usb/gadget drivers/usb/host drivers/usb/musb Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Remy Bohmer commit d04371a116d102e587ba7aa4c329b441cdbea3f4 Author: Todor I Mollov Date: Sat Apr 4 06:53:06 2009 -0400 Blackfin: spi: make cs deassert function deterministic Blackfin SPI driver was not driving the SPI chip-select high before putting the chip-select signals into tri-state mode. This is probably something that slipped by unnoticed in most designs. If the signals are put directly into a tri-state mode, then the board is relying on the pull-up resistors to pull up the chip-select before the next transaction. Most of the time this is fine, except when you have two transactions that follow each other very closely, such as the flash erase and read status register commands. In this case I was seeing a 500ns separation between the transactions. In my setup, with a 10kOhm pull-up, it would meet timing spec about half the time and resulted in intermittent errors. (A stronger pull up would fix this, but our design is targeted for low power consumption and a 3.3kOhm @ 3.3v is 3.3mW of needless power consumption.) I modified the spi_cs_deactivate() function in bfin_spi.c to drive the chip-selects high before putting them into tri-state. For me, this resulted in a rise time of 5ns instead of the previous rise time of about 1us, and fully satisfied the timing spec of the chip. Signed-off-by: Todor I Mollov Signed-off-by: Mike Frysinger commit c6fadb9c73a6a3e0c7f20696e978304a593a8d2d Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat Dec 13 21:08:05 2008 +0100 integratorap: fix PCI support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 1c397508c836dfcb01fb2471c71de0727051f117 Author: Dirk Behme Date: Mon Mar 30 21:15:23 2009 +0200 OMAP3: Update Overo pin mux for new expansion board A new Overo expansion board uses GPIO 14, 21, 22 and 23 for LED's and switches. This patch changes the pinmux configuration for those pins. They were previously set up for unused MMC3_DAT4-7. Signed-off-by: Steve Sakoman Signed-off-by: Dirk Behme commit ab298231518675b3784aea88ee9b978438f99e63 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Apr 5 13:08:03 2009 +0200 arm: unify reset command Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit b3acb6cd4059dfb29a5e99095d802717f53ff784 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Apr 5 13:06:31 2009 +0200 arm: clean cache management unify arm cache management except for non standard cache as ARM7TDMI Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 677e62f43235de9a1701204d7bcea0fb3d233fa1 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Apr 5 13:02:43 2009 +0200 arm: update co-processor 15 access import system.h from linux Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 23e4af49e066a53cd3e3659b68ef90572d88de84 Author: Guennadi Liakhovetski Date: Sun Apr 5 00:42:02 2009 +0200 ARM: add the imx31_phycore_eet target to MAINTAINERS imx31_phycore_eet is a variant of the imx31_phycore board with a few extensions, which justifies a separate entry in the MAINTAINERS list, whereas normally all entries sharing a single configuration file and a board/ directory have only one entry in MAINTAINERS. Reported-by: Wolfgang Denk Signed-off-by: Guennadi Liakhovetski commit 69c5bf29908b3a7f8e23bd9891b7ecc5b21f23e5 Author: Guennadi Liakhovetski Date: Sun Apr 5 00:37:07 2009 +0200 ARM: fix out-of-tree build of imx31_phycore_eet Fix out-of-tree build of the imx31_phycore_eet target. Reported-by: Wolfgang Denk Signed-off-by: Guennadi Liakhovetski commit 3c853f31d6a8e4407f73a2ca2c63d383a245f237 Author: Jon Smirl Date: Sat Apr 4 17:44:51 2009 -0400 mpc5200: reduce delays in i2c The previous code waited 1000us before checking i2c status. Measurement shows i2c is usually ready in under 50us. Change the polling interval to 15us, loop 6,667 times to keep the polling timeout constant at 100ms. commit 36003268968949110ef145d9f2eaf8439c96d25b Author: Sanjeev Premi Date: Fri Apr 3 14:00:07 2009 +0530 OMAP: Fix compile issue Fixes this compile error: board.c: In function 'do_switch_ecc': board.c:339: error: 'cmd_tbl_t' has no member named 'help' make[1]: *** [board.o] Error 1 make[1]: Leaving directory `/db/psp_git/users/a0756819/u-boot/cpu/arm_cortexa8/omap3' make: *** [cpu/arm_cortexa8/omap3/libomap3.a] Error 2 This is due to the fact that current command uses long help for the usage print even if the CONFIG_SYS_LONGHELP is not enabled. (Thanks Jean-Christophe for explanation). Signed-off-by: Sanjeev Premi commit 342c1a5d9ab74febf3226a86216dc5aa05295d46 Author: Minkyu Kang Date: Fri Apr 3 09:56:16 2009 +0900 s3c64xx: fix the wrong gpio offset This patch fix the wrong gpio offset Signed-off-by: Minkyu Kang commit ab0689c316c9b2ee33f4de1c50263b64e539f12a Author: Kyungmin Park Date: Wed Nov 26 10:18:13 2008 +0900 Move machine specific code to board at s3c64xx (v2) Move machine specific code to smdk6400. Some board use OneNAND instead of NAND. Some register MP0_CS_CFG[5:0] are controled by both h/w and s/w. So it's better to use macro instead of hard-coded value. Signed-off-by: Kyungmin Park commit 767f3acd9f6e1dcb8ada926c333945382eddc7e8 Author: Tom Rix Date: Wed Apr 1 22:02:19 2009 -0500 ZOOM1 Remove legacy NAND defines Signed-off-by: Tom Rix commit 5891151707ee5902fe62d554c247f42865815757 Author: Tom Rix Date: Wed Apr 1 22:02:20 2009 -0500 OMAP3 Fix multiline formatting in board init files. Signed-off-by: Tom Rix commit c0a14aedc3440d6591b8c86d45861a0a8b46e11d Author: Wolfgang Denk Date: Sun Apr 5 00:27:57 2009 +0200 Update CHANGELOG, coding style cleanup. commit f63728c804ab7413a67d70f6774cd30c3f7b40fb Author: Wolfgang Denk Date: Sun Apr 5 00:18:44 2009 +0200 One more fix for building env_embedded.o In addition to the changes for CONFIG_ENV_IS_IN_FLASH as done in commit afcbce07, we also need to do the same for CONFIG_ENV_IS_IN_EEPROM and CONFIG_ENV_IS_IN_NVRAM. Signed-off-by: Wolfgang Denk commit e3d1ac7bb1955d36980d267cb4cec40b0f7d30b5 Author: Scott Wood Date: Thu Apr 2 16:15:10 2009 -0500 common/image.c: Relocate strings in tables. Without this, u-boot can crash or print garbage if the original link address no longer points to a valid string. Signed-off-by: Scott Wood commit 3a671fc06ae1d9e8eba76600372317c75ae0eb3e Author: Scott Wood Date: Thu Apr 2 16:10:36 2009 -0500 mpc8260: Fill in brg's clock-frequency in device tree. Signed-off-by: Scott Wood commit c73ed274a211699739d83c2cef92853dc6716e15 Author: Scott Wood Date: Thu Apr 2 18:20:43 2009 -0500 MPC8260ADS: Add nfsboot/ramboot to default environment. This brings it in line with other Freescale boards. Signed-off-by: Scott Wood commit c203ef5db0476a8c4f6dd86b2e9e9db0ea973f84 Author: Andreas Huber Date: Thu Apr 2 17:15:34 2009 +0200 UBI/cfi-mtd: Fix mtd name for multiple chips On platforms with multiple NOR chips, currently only the first one can be selected using the "ubi part" command. This patch fixes this problem by using different names for the NOR "mtd devices". It also changes the name of the NOR MTD device from "cfi-mtd" to "norX" (X indexing the device numer) to better match the mtdparts defaults. Signed-off-by: Stefan Roese Signed-off-by: Andreas Huber commit 6b6bb02f27fcabfb37ea717fb7e243248e1e2acf Author: Peter Korsgaard Date: Tue Mar 31 17:52:16 2009 +0200 tools/setlocalversion: use git svn instead of git-svn Use the new "git " syntax instead of the deprecated "git-". Signed-off-by: Peter Korsgaard commit 7fa96a9a54eb0d87d73888ec2565cda790ba0dff Author: Mingkai Hu Date: Tue Mar 31 14:09:40 2009 +0800 eSPI: add the eSPI register support Signed-off-by: Mingkai Hu commit 869f6bf4def5a053fbd1aecd8b2fc36f05196c0b Author: Minkyu Kang Date: Mon Mar 30 14:55:51 2009 +0900 cmd_mmc: add support for device command for selecting mmc device This patch improves device command for selecting mmc device Signed-off-by: Minkyu Kang commit 9abc9ef8fbe079bf75a634ce64b7dcdb7b0d8bdc Author: Alan Carvalho de Assis Date: Sat Mar 28 19:50:16 2009 -0300 Small fix to m5282evb This is just a small fix to get u-boot on m5282evb. Signed-off-by: Alan Carvalho de Assis commit febd7e4174e54579c9aa165c85c519fe5288f9d2 Author: Artem Bityutskiy Date: Fri Mar 27 10:21:14 2009 +0100 UBIFS: add R/O compatibility Now UBIFS is supported by u-boot. If we ever decide to change the media format, then people will have to upgrade their u-boots to mount new format images. However, very often it is possible to preserve R/O forward-compatibility, even though the write forward-compatibility is not preserved. This patch introduces a new super-block field which stores the R/O compatibility version. Signed-off-by: Artem Bityutskiy Acked-by: Adrian Hunter Signed-off-by: Stefan Roese commit 852dbfdd56f68eb67d138b306a64e4de58dabb91 Author: Mike Frysinger Date: Mon Mar 23 22:27:34 2009 -0400 more command usage cleanup Fix up a few dangling commands like in "Command usage cleanup" commit. Signed-off-by: Mike Frysinger commit b93b24bf76f8a8220b236df3a5f30b2204eb4edc Author: Ladislav Michl Date: Mon Mar 23 12:06:07 2009 +0100 Separate mtdparts command from jffs2 On Thu, Mar 19, 2009 at 01:30:36PM +0100, Stefan Roese wrote: > Currently the mtdparts commands are included in the jffs2 command support. > This doesn't make sense anymore since other commands (e.g. UBI) use this > infrastructure as well now. This patch separates the mtdparts commands from > the jffs2 commands making it possible to only select mtdparts when no JFFS2 > support is needed. ... and to make it useful for NAND chips as well, we should also remove now unrelated CONFIG_JFFS2_NAND. Note that struct part_info etc is in jffs2/load_kernel.h which is a bit misleading filename for that purpose, but that can be fixed later (tm). Signed-off-by: Ladislav Michl commit b196ca75503ce307c535b87bf47d51f05e7530df Author: Mike Frysinger Date: Sun Mar 22 22:18:01 2009 -0400 smc91111_eeprom: move board-specific init into SMC91111_EEPROM_INIT() Rather than sticking Blackfin-specific stuff into the eeprom example, use an indirect macro so that any board can override it with their own magic sauce in their board config file. Also fix some spurious semi-colons in defines while I'm at it ... Signed-off-by: Mike Frysinger CC: Ben Warren commit f5cf2ef2ad2a8bf321712ab460ed846120163d74 Author: Sascha Hauer Date: Sat Mar 21 09:38:46 2009 -0400 mpc52xx phy: initialize only when needed Do not initialize phy on startup, instead initialize it when we actually need it. Signed-off-by: Sascha Hauer commit 03bab0091948196b9558248684c04f60943ca4b5 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Mon Mar 30 16:51:40 2009 +0200 at91sam9263ek: enable hush and auto complete support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Acked-by: Stelian Pop commit 4758ebdd53571d4d183be5c2db8f0ee4ef368915 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri Mar 27 23:26:44 2009 +0100 at91: move dataflash spi driver to drivers/spi Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 2b7178afce59f71e95da657273f4132012098c1f Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri Mar 27 23:26:44 2009 +0100 at91: move usb driver to drivers/usb Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit f82518d7f443ebac5f8821103a3c521c963aa6ee Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri Mar 27 23:26:43 2009 +0100 at91rm9200: Reset update Update the rm9200 reset sequence to try executing a board-specific reset function and move specific board reset to board. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 3524049cd053746298e4cfab2449882e75c146fc Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri Mar 27 23:26:43 2009 +0100 at91rm9200: move serial shutdown code to serial drivers introduce serial_exit for this purpose. Use it only when the rm9200 serial driver is active Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit beebd851cdbc9dd070bcdfec1fd8f17e3cc91bc0 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri Mar 27 23:26:43 2009 +0100 at91rm9200: move serial driver to drivers/serial add CONFIG_AT91RM9200_USART to activate the driver Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit cb82a532669f6b02225ec3429ea4d49ff2b97d0a Author: Ulf Samuelsson Date: Fri Mar 27 23:26:43 2009 +0100 Add support for the AT91RM9200EK Board. The AT91RM9200-EK Evaluation Board supports the AT91RM9200 ARM9-based 32-bit RISC microcontroller and enables real-time code development and evaluation. Here is the chip page on Atmel website: http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3507 with - NOR (cfi driver) - DataFlash - USB OHCI - Net - I2C (hard) Signed-off-by: Ulf Samuelsson Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit b9c0e4c29e3ec12668ac50e954e7c9ba8f7aa10a Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri Mar 27 23:26:42 2009 +0100 add dataflash mmc mux missing support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 2a325ce3c705ab2d82760afc541c511328472df8 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri Mar 27 23:26:42 2009 +0100 at91rm9200dk: Move conditional compilation to Makefile Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 90a92a708d5180a20d600ba0fc2352ec76dc3829 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri Mar 27 23:26:42 2009 +0100 at91: rename DATAFLASH_MMC_SELECT to CONFIG_DATAFLASH_MMC_SELECT Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 843a2654bce74192de2b5a43474fdc27a572ab40 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri Mar 27 23:26:42 2009 +0100 at91sam9: add watchdog support Signed-off-by: Nicolas Ferre Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit a47492ac60657dd9d59c713aa049319ea6eabd52 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Fri Mar 27 13:14:52 2009 +0100 at91sam9/at91cap: spi init add hardware chip select support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 66932ac3929c7a145a6ef6574a96fd7535154951 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat Apr 4 19:15:40 2009 +0200 netstar: fix crc32.c dependancy location Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 42f9ebff2f758bef524780a00c712eb63a72d99b Author: Scott Wood Date: Fri Apr 3 15:24:40 2009 -0500 MPC8260ADS: Define CONFIG_HAS_ETH0. This is required so that the MAC address will be updated in the device tree. Signed-off-by: Scott Wood commit 8701eceffdf77e2908d0b58add0dabc16edf6087 Author: Scott Wood Date: Fri Apr 3 15:26:45 2009 -0500 PQ2FADS: Enable PCI. PCI on PQ2FADS is very similar to PCI on MPC8272ADS. Signed-off-by: Scott Wood commit 83863df04bd30bfe2430b0c43ca9f78596d3f0bc Author: Wolfgang Denk Date: Sat Apr 4 16:57:50 2009 +0200 Fix quoting bug introduced by commit 74de7aef Signed-off-by: Wolfgang Denk commit ecf3fb223a56e3c6aa696d94d694eeaca0f44d33 Author: Wolfgang Denk Date: Sat Apr 4 16:14:51 2009 +0200 Fix implicit declaration of function 'htons' Include instead of to get htons() prototpye. Signed-off-by: Wolfgang Denk commit e6a6789f41f0560ce280089fbd3f1bd0f0f64306 Author: Kumar Gala Date: Sat Apr 4 10:21:02 2009 -0500 fsl_law: Fix bug in calculation of LAW sizing In set_ddr_laws() when we determined how much of the size requested to be mapped was covered by the the first LAW we needed to recalculate the size based on what was actually mapped. Signed-off-by: Kumar Gala commit 32049b4048ff8e59bd5ba6160d6d5206d283b2a2 Author: Kumar Gala Date: Thu Apr 2 13:57:05 2009 -0500 fsl_pci: Move prototypes into fsl_pci.h and remove explicit externs Signed-off-by: Kumar Gala commit c8514622e2713d9c47919acfe23fce386782afe7 Author: Kumar Gala Date: Thu Apr 2 13:22:48 2009 -0500 fsl_pci: Renamed immap_fsl_pci.h to fsl_pci.h Rename the pci header for FSL HW so we can move some prototypes in there and stop doing explicit externs Signed-off-by: Kumar Gala commit afcbce07e9323c0e8aeb783ba7ce6104860fd7a7 Author: Wolfgang Denk Date: Sat Apr 4 16:10:40 2009 +0200 Fix building of env_embedded.o Since commit a706bfc7 common/env_embedded.o and tools/envcrc were only built when CONFIG_ENV_IS_EMBEDDED was set, but this breaks building for many boards. We always have to build these files when CONFIG_ENV_IS_IN_FLASH is set. Signed-off-by: Wolfgang Denk commit a31e091ad70915278fb15b79d6ae53ea2d44b251 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat Apr 4 12:49:11 2009 +0200 rename include/zlib.h to include/u-boot/zlib.h Some systems have zlib.h installed in /usr/include/. This isn't the desired file for u-boot code - we want the one in include/zlib.h. This rename will avoid the conflict. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Mike Frysinger commit ae644c178f097874a92a6d934f364985fc7e075a Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat Apr 4 12:46:31 2009 +0200 tools/Makefile: fix image.c dependancy location Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Mike Frysinger commit b074a7081124d7f05fd1651a3bc0b5579fdfa473 Author: Mike Frysinger Date: Sat Apr 4 07:42:25 2009 -0400 tools: add ncb to gitignore Signed-off-by: Mike Frysinger commit 453c0d7558215cbc8636d94af172886d84e0dbba Author: Detlev Zundel Date: Fri Apr 3 16:45:46 2009 +0200 include/ns16550.h: Unify structure declaration for registers Instead of special casing the different access patterns, use common code with light macros sprinkled in to accomodate for the different layouts of the register structure. Note that this also changes the types of the registers for the "positively packed (>1)" cases. As the registers truly are unsigned chars, this is surely the Right Thing, but it is a semantic change. Note that for this case depending on the endianness on the bus, we may see a change of behaviour. Signed-off-by: Detlev Zundel commit 0a145ce6e7075aa0f4869d6f6149a5ff205d95df Author: Peter Tyser Date: Fri Mar 13 18:54:52 2009 -0500 Delete now unused tools/Makefile.win32 Signed-off-by: Peter Tyser commit 2f8d396b9302eddcd8d552648e101a46b7a80acd Author: Peter Tyser Date: Fri Mar 13 18:54:51 2009 -0500 Add support for building native win32 tools Add support for compiling the host tools in the tools directory using the MinGW toolchain. This produces executables which can be used on standard Windows computers without requiring cygwin. One must specify the MinGW compiler and strip utilities as if they were the host toolchain in order to build win32 executables, eg: make HOSTCC=i586-mingw32msvc-gcc HOSTSTRIP=i586-mingw32msvc-strip tools Signed-off-by: Peter Tyser commit e50abf662efbf4ce0e731062c8d3c8ec54763ae2 Author: Peter Tyser Date: Fri Mar 13 18:54:50 2009 -0500 tools/Makefile: Simplify HOST_CFLAGS/HOST_LDFLAGS generation Signed-off-by: Peter Tyser commit b0d4d7219a4806e46affc96bd1f65397194a6e72 Author: Peter Tyser Date: Fri Mar 13 18:54:49 2009 -0500 tools/Makefile: Create generic build rules Create a few generic build rules to replace the current method which has 1 build target for each file Signed-off-by: Peter Tyser commit 273174ddbcce215c42f6c307470cd5580a3f72bf Author: Peter Tyser Date: Fri Mar 13 18:54:48 2009 -0500 tools/Makefile: Use auto-generated object file dependencies Files in the SRCS variable have their dependencies automatically generated so remove duplicate explicit dependencies Signed-off-by: Peter Tyser commit fb8b33c1e6d621ea3347a75ad3a42a386b44e589 Author: Peter Tyser Date: Fri Mar 13 18:54:47 2009 -0500 tools/Makefile: Remove symlinks for remaining source files Signed-off-by: Peter Tyser commit eed073315b6447eceadf7468a4c2b757442c7c6f Author: Peter Tyser Date: Fri Mar 13 18:54:46 2009 -0500 tools/Makefile: Dynamically generate libfdt object dependencies Add the libfdt files to the SRCS variable so that they have their dependencies automatically generated Signed-off-by: Peter Tyser commit c0170175393b94560fa7a5da6dd31377df5f4a72 Author: Peter Tyser Date: Fri Mar 13 18:54:45 2009 -0500 tools/Makefile: Remove symlinks for fdt targets Signed-off-by: Peter Tyser commit 45d6bdff68877ea214ff33cc1c89a29c76e96f51 Author: Peter Tyser Date: Fri Mar 13 18:54:44 2009 -0500 tools/Makefile: Add libfdt/ to the include search path This change makes the process of symlinking libfdt_internal.h unnecessary Signed-off-by: Peter Tyser commit fba0e3a0814f9bf48c32a4c8a7987c36ae96651b Author: Peter Tyser Date: Fri Mar 13 18:54:43 2009 -0500 tools: Remove unecessary symlinking of zlib.h crc32.c uses the zlib.h header in include/u-boot/zlib.h. The symlink was previously necessary to give U-Boot's version of zlib.h precedence over the host computer's version of zlib.h. Signed-off-by: Peter Tyser commit 40b8d909ace06f6f494dee08ffa64a82493e72e9 Author: Peter Tyser Date: Fri Mar 13 18:54:42 2009 -0500 tools/Makefile: Add tools/ to the include search path This change makes the process of symlinking mkimage.h and fdt_host.h unnecessary Signed-off-by: Peter Tyser commit 1cd300de5e19c9e8383ee2eb2b6bd3b8b9378c78 Author: Peter Tyser Date: Fri Mar 13 18:54:41 2009 -0500 tools/Makefile: Compile ncb when CONFIG_NETCONSOLE Also conditionally add ncb.o to OBJ_FILES list Signed-off-by: Peter Tyser commit 123c48a21ce08b4a33f36e96cc75f92324e761d7 Author: Peter Tyser Date: Fri Mar 13 18:54:40 2009 -0500 tools/Makefile: Make gen_eth_addr dependent upon CONFIG_CMD_NET Signed-off-by: Peter Tyser commit 4d93a0a807b8ca0289ba5da00c646cd2d54af120 Author: Peter Tyser Date: Fri Mar 13 18:54:39 2009 -0500 tools/Makefile: Make envcrc dependent upon CONFIG_ENV_IS_EMBEDDED Signed-off-by: Peter Tyser commit cd26a31a23f9a58ba52870f8ffb57d77d1baee20 Author: Peter Tyser Date: Fri Mar 13 18:54:38 2009 -0500 tools/Makefile: Make inca-swap-bytes dependent on CONFIG_INCA_IP Signed-off-by: Peter Tyser commit 7cd5cbc34699ccc15d0277f48375cad928d04faf Author: Peter Tyser Date: Fri Mar 13 18:54:37 2009 -0500 tools/Makefile: Make ubsha1 dependent upon CONFIG_SHA1_CHECK_UB_IMG Signed-off-by: Peter Tyser commit eeba8617908e33f7e7db3b1588c04ca65b856793 Author: Peter Tyser Date: Fri Mar 13 18:54:36 2009 -0500 tools/Makefile: Make img2srec dependent upon CONFIG_CMD_LOADS Signed-off-by: Peter Tyser commit 335ffe7e0e0a30e90ce409c3279016a582157d8e Author: Peter Tyser Date: Fri Mar 13 18:54:35 2009 -0500 tools/Makefile: Build bmp_logo only when LCD or VIDEO logos are enabled Signed-off-by: Peter Tyser commit ee3584a5970230ee96aae19505ad3226734ee4ff Author: Peter Tyser Date: Fri Mar 13 18:54:34 2009 -0500 tools/Makefile: Split variable declarations into multiple lines Split variable declarations into multiple lines and use the standard VAR-y convention. Also move object and binary variable declarations to after config.mk has been included to allow for these lists to utilize the CONFIG_XXX variables. These changes lay the groundwork for conditional compilation of files in the tools directory. Signed-off-by: Peter Tyser commit 21d28e95ed874ab1ed9787f939d8a53e99d30ddb Author: Peter Tyser Date: Fri Mar 13 18:54:33 2009 -0500 tools/Makefile: Remove inappropriate double-tabs Signed-off-by: Peter Tyser commit 652f4ba076689fd0acd447561a777b1c440a4b57 Author: Peter Tyser Date: Fri Mar 13 18:54:32 2009 -0500 tools/Makefile: Remove HOSTARCH HOSTOS defines The values of HOSTARCH and HOSTOS which are exported from the top-level Makefile should be used Signed-off-by: Peter Tyser commit 2eeb4e95fbfafe54645fae7ec0b2594101f0573b Author: Peter Tyser Date: Fri Mar 13 18:54:31 2009 -0500 gen_eth_addr: Use POSIX rand() and srand() Replace random()/srandom() use with rand()/srand() to support compilation with the mingw toolchain. The rand()/srand() functions are generally more common and are functionally equivalent to the original random()/srandom() calls. Signed-off-by: Peter Tyser commit 24d2ae5e9debe4b75151a55251031a14477fa875 Author: Peter Tyser Date: Fri Mar 13 18:54:28 2009 -0500 elf.h: Use stdint.h to provide standard typedefs for WIN32 The original code provided an incomplete set of typedefs for WIN32 compiles and replicated the standard typedefs that are already provided by stdint.h Signed-off-by: Peter Tyser commit a706bfc7d0e2d1935c5670045288e6cd1ffdfabc Author: Peter Tyser Date: Fri Mar 13 18:54:27 2009 -0500 common/Makefile: Conditionally compile env_embedded.o Signed-off-by: Peter Tyser commit 2b48f7d5f62835f87278efb498397b6ae9e2d117 Author: Peter Tyser Date: Fri Mar 13 18:54:26 2009 -0500 Makefile: Add removal of *.exe files to clean target Signed-off-by: Peter Tyser commit d0d6144e0e4a03a68311b781f3dde38dc9316b82 Author: Peter Tyser Date: Fri Mar 13 18:54:25 2009 -0500 Makefile: Make autoconf.mk a dependency of the depend target The original code did not generate autoconf.mk until after some targets dependencies had already been calculated, for example the directories in the SUBDIRS variable Signed-off-by: Peter Tyser commit 75eb82ec7cacb18d059d701b35677b93d2bb7596 Author: unsik Kim Date: Wed Feb 25 11:31:24 2009 +0900 mflash: Initial mflash support Mflash is fusion memory device mainly targeted consumer eletronic and mobile phone. Internally, it have nand flash and other hardware logics and supports some different operation (ATA, IO, XIP) modes. IO mode is custom mode for the host that doesn't have IDE interface. (Many mobile targeted SoC doesn't have IDE bus) This driver support mflash IO mode. Followings are brief descriptions about IO mode. 1. IO mode based on ATA protocol and uses some custom command. (read confirm, write confirm) 2. IO mode uses SRAM bus interface. Signed-off-by: unsik Kim commit 200779e3e2a9aeda7030b171a8c39d7797019917 Author: Detlev Zundel Date: Fri Apr 3 11:53:01 2009 +0200 Rename common ns16550 constants with UART_ prefix to prevent conflicts Fix problems introduced in commit 7b5611cdd12ca0cc33f994f0d4a4454788fc3124 [inka4x0: Add hardware diagnosis functions for inka4x0] which redefined MSR_RI which is already used on PowerPC systems. Also eliminate redundant definitions in ps2mult.h. More cleanup will be needed for other redundant occurrences though. Signed-off-by: Detlev Zundel commit 99067b08f4a0ce20ff337a35211239f334d8f451 Author: Scott Wood Date: Wed Apr 1 15:33:24 2009 -0500 Noisily disable the legacy NAND subsystem. Legacy NAND is marked for feature removal after April 2009 (i.e. this upcoming release). There are still several boards that reference it (though many do so only for disk-on-chip support which has been silently disabled for a while now). These boards will now fail to build with #error, though the code is still there if the user removes #error. The plan is to remove the code outright in the next release, along with any board code that refers to it (such as board/esd/common/auto_update.c). Also, remove the legacy NAND API description from README.nand. Signed-off-by: Scott Wood commit 69bcabb51686fdd133cb1848c0d3b0a4fc6ca5cf Author: apgmoorthy Date: Fri Mar 27 14:45:23 2009 +0530 Fix OneNAND ipl to read CONFIG_SYS_MONITOR_LEN Currently OneNAND initial program loader (ipl) reads only block 0 ie 128KB. However, u-boot image for apollon board is 195KB making the board unbootable with OneNAND. Fix ipl to read CONFIG_SYS_MONITOR_LEN. CONFIG_SYS_MONITOR_LEN macro holds the U-Boot image size. Signed-off-by: Rohit Hagargundgi Signed-off-by: Gangheyamoorthy Signed-off-by: Scott Wood commit 74de7aefd79690bae8cf5a5120f5962d444be089 Author: Wolfgang Denk Date: Wed Apr 1 23:34:12 2009 +0200 Add "source" command; prepare removal of "autoscr" command According to the doc/feature-removal-schedule.txt, the "autoscr" command will be replaced by the "source" command in approximately 6 months from now. This patch prepares this change and starts a 6 month transition period as follows: - The new "source" command has been added, which implements exactly the same functionlaity as the old "autoscr" command before - The old "autoscr" command name is kept as an alias for compatibility - Command sequences, script files atc. have been adapted to use the new "source" command - Related environment variables ("autoscript", "autoscript_uname") have *not* been adapted yet; these will be renamed resp. removed in a separate patch when the support for the "autoscr" command get's finally dropped. Signed-off-by: Wolfgang Denk commit 78237df55248034a2d7c2daea992b9dbe7ca8e96 Author: Wolfgang Denk Date: Thu Apr 2 17:31:09 2009 +0200 Add "GPL cleanup" task to feature-removal-schedule.txt Announce removal of all non-GPL or GPL-incompatible files after August 2009. Signed-off-by: Wolfgang Denk commit d9596ffbdc79cea285010b67dd20a4618303f624 Author: Mike Frysinger Date: Thu Apr 2 12:51:28 2009 -0400 sf: stmicro: dont send 4 bytes when reading status register I can't find anywhere in the datasheet that says the status register needs 3 dummy bytes sent to it before being able to read back the first real result. Tests on a Blackfin board show that after writing the opcode, the status register starts coming back immediately. So only write out the read status register opcode before polling the result. Signed-off-by: Mike Frysinger CC: Jason McMullan CC: TsiChung Liew commit 1abe365ffcfc29c061e8fd8b45551be5ad1428dd Author: Mike Frysinger Date: Thu Apr 2 08:11:31 2009 -0400 sf: set common timeouts in seconds, not milliseconds Since timeouts are only hit when there is a problem in the system, we don't want to prematurely timeout on a functioning setup. Thus having low timeouts (in milliseconds) doesn't gain us anything in the production case, but rather increases likely hood of causing problems where none otherwise exist. Signed-off-by: Mike Frysinger CC: Haavard Skinnemoen commit 2a6ce1115b3cbe746965cfa0058ce645b6c1ada1 Author: Mike Frysinger Date: Thu Apr 2 06:51:49 2009 -0400 sf: stmicro: use common page timeout define Signed-off-by: Mike Frysinger CC: Haavard Skinnemoen commit 0dcdbb172c2fdf60c5c578980308b312fd56496f Author: Mike Frysinger Date: Sat Mar 28 06:41:09 2009 -0400 sf: always read 5 bytes for the idcode Some SPI flash drivers like to have extended id information available (like the spansion flash), so rather than making it re-issue the ID cmd to get at the last 2 bytes, have the common code read 5 bytes rather than just 3. This also matches the Linux behavior where it always reads 5 id bytes from all flashes. Signed-off-by: Mike Frysinger Acked-by: Haavard Skinnemoen CC: Mingkai Hu commit 9726ba4abaa16cd6c385ad350d403f98a8eacf52 Author: Mike Frysinger Date: Fri Mar 27 16:34:21 2009 -0400 sf: stmicro: drop redundant id read The common SPI flash code reads the idcode and passes it down to the SPI flash driver, so there is no need to read it again ourselves. Signed-off-by: Mike Frysinger Acked-by: Haavard Skinnemoen CC: Jason McMullan CC: TsiChung Liew commit 1c5874374e091b4bb62917c519861f7682fe066e Author: Mike Frysinger Date: Fri Mar 27 19:27:58 2009 -0400 sf: add driver for SST flashes Signed-off-by: Mike Frysinger Acked-by: Haavard Skinnemoen commit f773a1bbdb8f3bf1ddab2874f36f043c4f8f044d Author: Mike Frysinger Date: Mon Mar 23 23:03:58 2009 -0400 sf: drop DEBUG defines Signed-off-by: Mike Frysinger Acked-by: Haavard Skinnemoen commit 6b850a9fa8a216f3692da2511cb1a6c16409b1af Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Jan 4 07:44:07 2009 +0100 mtd: add some at45 spi flash support - AT45DB321D - AT45DB161D - AT45DB081D - AT45DB041D - AT45DB021D - AT45DB011D Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Mike Frysinger commit 6805e4bf83e6f444f7411101228766c8a7aec5f7 Author: Mingkai Hu Date: Tue Mar 31 14:09:41 2009 +0800 mtd: SPI Flash: Support the Spansion Flash Add MTD SPI Flash support for S25FL008A, S25FL016A, S25FL032A, S25FL064A, S25FL128P. Signed-off-by: Mingkai Hu Signed-off-by: Mike Frysinger commit 40587701924aa0afc86b3840421b4cc6de42c748 Author: Mike Frysinger Date: Mon Mar 30 20:56:45 2009 -0400 Blackfin: force all boards to HZ of 1000 Since the Blackfin timer code requires HZ to be 1000, barf on any board that tries to use a different value. Signed-off-by: Mike Frysinger commit f4032d2eec9d71a59c6c724671e577f67a76839b Author: Mike Frysinger Date: Fri Mar 27 21:07:45 2009 -0400 Blackfin: bf533-stamp: drop old spi flash driver Now that the common SPI flash code supports all the flashes, we can stop using the old driver. Signed-off-by: Mike Frysinger commit bc72f50a659d0d1b551817e1910b9b2be1c7e496 Author: Mike Frysinger Date: Thu Mar 26 15:42:12 2009 -0400 Blackfin: add BF538/BF539 SPI portmux handling Signed-off-by: Mike Frysinger commit 46ac352f0f9406a5f9aa157ac62867fb4650dfd3 Author: Mike Frysinger Date: Mon Mar 23 22:36:10 2009 -0400 Blackfin: do not delay on output bytes Signed-off-by: Mike Frysinger commit dbc6ab9f75bd0c13d3f42692e9463f8ab65fc382 Author: Mike Frysinger Date: Mon Mar 23 22:17:27 2009 -0400 Blackfin: drop newline from OTP help Looks like I accidentally added a newline to the OTP help when merging and older change. Signed-off-by: Mike Frysinger commit d3c38d96b991d641a33f7748130dae008563cdc9 Author: Mike Frysinger Date: Sun Mar 22 23:43:31 2009 -0400 Blackfin: convert bfin_sdh to legacy mmc The Blackfin SDH controller is still using the legacy framework, so update the driver to use the renamed functions. Signed-off-by: Mike Frysinger commit d248cfb2d940b742f6bfdba9b832a3df96da3101 Author: Mike Frysinger Date: Sun Feb 22 16:30:38 2009 -0500 Blackfin: bf537-stamp: split CF/IDE code out into dedicated cf-ide.c Signed-off-by: Mike Frysinger commit ad9073211ca9e62162a39851e082b8d07a662fb6 Author: Mike Frysinger Date: Fri Feb 13 17:10:58 2009 -0500 Blackfin: fix crash when booting from external memory When testing a u-boot binary that hasn't been booted from the bootrom, we have to make sure the bootstruct structure has sane storage space. If we don't, the initcode will crash when it tries to dereference an invalid pointer. Signed-off-by: Mike Frysinger commit 84a9dda324c3faa56be14449d7519b993d9397a9 Author: Mike Frysinger Date: Sun Oct 12 21:32:52 2008 -0400 Blackfin: bf518f-ezbrd: new board port Signed-off-by: Mike Frysinger commit 0c31ddf7b70f77dede42dc82ecab7753a819acaa Author: Mike Frysinger Date: Sun Oct 12 21:30:48 2008 -0400 Blackfin: bf526-ezbrd: new board port Signed-off-by: Mike Frysinger commit 5c45f7cac2f74e2c14aa6b028cd969651cc9ac8e Author: Mike Frysinger Date: Sun Oct 12 21:25:33 2008 -0400 Blackfin: bf538f-ezkit: new board port Signed-off-by: Mike Frysinger commit d9a5d113b93583c984711127ab8503e136ed1e4a Author: Mike Frysinger Date: Sun Oct 12 20:59:12 2008 -0400 Blackfin: bf527-ezkit: new board port Signed-off-by: Mike Frysinger commit 76d21803ddd7dc4bcb81739ea2d3cd679e052f46 Author: Mike Frysinger Date: Sun Oct 12 05:05:42 2008 -0400 Blackfin: bf548-ezkit: new board port Signed-off-by: Mike Frysinger commit 67b89c79e72fe86b0ea0199425d880630beb95d8 Author: Laurent Gregoire Date: Tue Mar 3 14:23:59 2009 +0100 libfdt: Fix C++ compile-time cast error on gnu 4.2.1 Allow the inclusion of libfdt.h in C++ source. Signed-off-by: Laurent Gregoire Acked-by: David Gibson commit 13d93f38e86818739317b0206d597265cf9e675e Author: Emil Medve Date: Mon Feb 23 10:43:36 2009 -0600 Fix a possible overflow case detected by gcc 4.3.2 .../dtc/libfdt/fdt_sw.c: In function 'fdt_end_node': .../dtc/libfdt/fdt_sw.c:81: error: assuming signed overflow does not occur when assuming that (X + c) < X is always false Signed-off-by: Emil Medve commit a22d9cfbb5bcfb3dc6ffd64d391b568e8a0ce383 Author: David Gibson Date: Fri Feb 6 14:03:24 2009 +1100 libfdt: Rework/cleanup fdt_next_tag() Currently, callers of fdt_next_tag() must usually follow the call with some sort of call to fdt_offset_ptr() to verify that the blob isn't truncated in the middle of the tag data they're going to process. This is a bit silly, since fdt_next_tag() generally has to call fdt_offset_ptr() on at least some of the data following the tag for its own operation. This patch alters fdt_next_tag() to always use fdt_offset_ptr() to verify the data between its starting offset and the offset it returns in nextoffset. This simplifies fdt_get_property() which no longer has to verify itself that the property data is all present. At the same time, I neaten and clarify the error handling for fdt_next_tag(). Previously, fdt_next_tag() could return -1 instead of a tag value in some circumstances - which almost none of the callers checked for. Also, fdt_next_tag() could return FDT_END either because it encountered an FDT_END tag, or because it reached the end of the structure block - no way was provided to tell between these cases. With this patch, fdt_next_tag() always returns FDT_END with a negative value in nextoffset for an error. This means the several places which loop looking for FDT_END will still work correctly - they only need to check for errors at the end. The errors which fdt_next_tag() can report are: - -FDT_ERR_TRUNCATED if it reached the end of the structure block instead of finding a tag. - -FDT_BADSTRUCTURE if a bad tag was encountered, or if the tag data couldn't be verified with fdt_offset_ptr(). This patch also updates the callers of fdt_next_tag(), where appropriate, to make use of the new error reporting. Finally, the prototype for the long gone _fdt_next_tag() is removed from libfdt_internal.h. Signed-off-by: David Gibson commit 2c0b843e710aa1e2da25c2592e6dbe5d0b0ab7da Author: David Gibson Date: Fri Feb 6 14:01:56 2009 +1100 libfdt: Rework fdt_next_node() Currently fdt_next_node() will find the next node in the blob regardless of whether it is above, below or at the same level in the tree as the starting node - the depth parameter is updated to indicate which is the case. When a depth parameter is supplied, this patch makes it instead terminate immediately when it finds the END_NODE tag for a node at depth 0. In this case it returns the offset immediately past the END_NODE tag. This has a couple of advantages. First, this slightly simplifies fdt_subnode_offset(), which no longer needs to explicitly check that fdt_next_node()'s iteration hasn't left the starting node. Second, this allows fdt_next_node() to be used to implement _fdt_node_end_offset() considerably simplifying the latter function. The other users of fdt_next_node() either don't need to iterate out of the starting node, or don't pass a depth parameter at all. Any callers that really need to iterate out of the starting node, but keep tracking depth can do so by biasing the initial depth value. This is a semantic change, but I think it's very unlikely to break any existing library users. Signed-off-by: David Gibson commit c123098035be8bae3859bbfbd06861f197c07631 Author: Scott Wood Date: Tue Mar 31 17:49:36 2009 -0500 mpc83xx: Set guarded bit on BAT that covers the end of the address space The mpc8313erdb board currently sets DBAT6 to cover all of the final 256MiB of address space; however, not all of this space is covered by a device. In particular, flash sits at 0xfe000000-0xfe7fffff, and nothing is mapped at the far end of the address space. In zlib, there is a loop that references p[-1] if p is non-NULL. Under some circumstances, this leads to the CPU speculatively loading from 0xfffffff8 if p is NULL. This leads to a machine check. Signed-off-by: Scott Wood continuation to the remaining mpc83xx boards that suffer from the same problem. Signed-off-by: Kim Phillips commit c2eb8be7f760a2efe30a495bfb10857838dcf3fa Author: Kim Phillips Date: Mon Mar 30 14:28:05 2009 -0500 rtc: remove broken rtc_read and rtc_write declarations commit 04e11cf3 "rtc: add support for 4543 RTC (manufactured by e.g. EPSON)" introduces the following build error on boards configuring e.g, the ds1374 rtc: Configuring for MPC837XEMDS board... ds1374.c:103: error: static declaration of 'rtc_read' follows non-static declaration /home/r1aaha/git/u-boot/include/rtc.h:64: error: previous declaration of 'rtc_read' was here ds1374.c:104: error: conflicting types for 'rtc_write' /home/r1aaha/git/u-boot/include/rtc.h:65: error: previous declaration of 'rtc_write' was here this reverts the erroneous chunk. Signed-off-by: Kim Phillips Acked-by: Detlev Zundel CC: Detlev Zundel CC: Andreas Pfefferle commit fc39c2fd51e64707de4d61ed49479ebea2847e1b Author: Kumar Gala Date: Tue Mar 31 17:58:13 2009 -0500 85xx/86xx: Ensure MP boot page is not used We had a bug on 86xx in which the boot page used to bring up secondary cores was being overwritten and used for the malloc region in u-boot. We need to reserve the region of memory that the boot page is going to be put at so nothing uses it. Signed-off-by: Kumar Gala Acked-by: Becky Bruce commit c840d26c752141b94bbc24ac748ddd45752a955a Author: Kumar Gala Date: Tue Mar 31 23:11:05 2009 -0500 85xx: Introduce determine_mp_bootpg() helper. Match determine_mp_bootpg() that was added for 86xx. We need this to address a bug introduced in v2009.03 with 86xx MP booting. We have to make sure to reserve the region of memory used for the MP bootpg() so other u-boot code doesn't use it. Also added a comment about how cpu_reset() is dealing w/an errata on early 85xx MP HW. Signed-off-by: Kumar Gala commit 7649a590b53ee548f41428bf20780f74ce9fc099 Author: Kumar Gala Date: Tue Mar 31 23:02:38 2009 -0500 86xx: Cleanup MP support * Use CONFIG_MP instead of CONFIG_NUM_CPUS to match 85xx * Introduce determine_mp_bootpg() helper. We'll need this to address a bug introduced in v2009.03 with 86xx MP booting. We have to make sure to reserve the region of memory used for the MP bootpg() so other u-boot code doesn't use it. * Added dummy versions of cpu_reset(), cpu_status() & cpu_release() to allow cmd_mp.c to build and work. In the future we should look at implementing all these functions. This could be common w/85xx if we use spin tables on 86xx. Signed-off-by: Kumar Gala commit f6ef8b7a43ed7f68a4bb524faad5e4f75ea3e3e2 Author: Becky Bruce Date: Tue Mar 31 18:38:37 2009 -0500 mpc8641hpcn/sbc8641d: Add missing board_lmb_reserves We're missing the board_lmb_reserve definitions that allow cpu_mp_lmb_reserve to be called; this means that Linux is free to reallocate reserved pages. Linux currently boots because we're getting lucky - the page we've reserved is high enough in memory that it isn't allocated by Linux while we still need it to be in existence. Signed-off-by: Becky Bruce Signed-off-by: Kumar Gala commit 0fc4f64c59873a47d555dd66bad25797d4ecb0ed Author: Ladislav Michl Date: Tue Mar 31 13:43:10 2009 +0200 NetStar: fix NAND Fix NAND support broken during new NAND code merge. Move those few lines of code to board/netstar/netstar.c Signed-off-by: Ladislav Michl commit d144f94d590b5190a9963bd0f2026b2a7ce67eda Author: Jens Scharsig Date: Tue Mar 31 08:18:29 2009 +0200 soft_i2c.c compiler/linker error This patch fix the compiler/linker errors common/cmd_i2c.c:1252: undefined reference to `i2c_get_bus_speed' common/cmd_i2c.c:1256: undefined reference to `i2c_set_bus_speed' if board use CONFIG_I2C_CMD_TREE and CONFIG_I2C_MULTI_BUS is not uesd/undef (wrong define order) and removes additional empty lines Signed-off-by: Jens Scharsig commit 765547dc5e0e8cbe6b8f4ea8a5d6ff237935c352 Author: Haiying Wang Date: Fri Mar 27 17:02:45 2009 -0400 MPC85xx: Add MPC8569MDS board support This patch adds MPC8569MDS board support. The UART, QE UEC1 and UEC2, BRD EEPROM on I2C2 bus, PCI express and DDR3 SPD are supported in this patch. Signed-off-by: Haiying Wang Signed-off-by: Hillel Avni Signed-off-by: Kumar Gala commit 22b6dbc1696d927d938dd4e16f65d83c0d4fb3f4 Author: Haiying Wang Date: Fri Mar 27 17:02:44 2009 -0400 MPC85xx: Add MPC8569 CPU support There is a workaround for MPC8569 CPU Errata, which needs to set Bit 13 of LBCR in 4K bootpage. We setup a temp TLB for eLBC controller in bootpage, then invalidate it after LBCR bit 13 is set. Signed-off-by: Haiying Wang Signed-off-by: Kumar Gala commit 2d4de6ae5be54b367a72a7ef4e0cf36a9cd4881f Author: Haiying Wang Date: Thu Mar 26 17:01:49 2009 -0400 MPC85xx: Load and enable QE microcode patch in IRAM For the silicon which doesn't have ROM support in QE, it always needs to load a pre-built ucode binary to IRAM so that QE can work. Signed-off-by: Haiying Wang Signed-off-by: Hillel Avni commit 1b3e4044a28a3d95b0aad41bdc52482bb2cc9b2b Author: Kumar Gala Date: Thu Mar 19 09:16:10 2009 -0500 85xx: Add support for additional e500mc features * Enable backside L2 * e500mc no longer has timebase enable in HID (moved to CCSR register) Signed-off-by: Kumar Gala commit c360ceac0286159f94d9d1a9496fc9858c8d9bec Author: Dave Liu Date: Sat Mar 14 12:48:30 2009 +0800 fsl-ddr: add the DDR3 SPD infrastructure - support mirrored DIMMs, not support register DIMMs - test passed on P2020DS board with MT9JSF12872AY-1G1D1 - test passed on MPC8569MDS board with MT8JSF12864HY-1G1D1 Signed-off-by: Dave Liu Signed-off-by: Travis Wheatley commit 6a8197836702991468cead5ead073f589e2623ad Author: Dave Liu Date: Sat Mar 14 12:48:19 2009 +0800 fsl-ddr: Fix two bugs in the ddr infrastructure 1. wr_lat UM said the total write latency for DDR2 is equal to WR_LAT + ADD_LAT, the write latency is CL + ADD_LAT - 1. so, the WR_LAT = CL - 1; 2. rd_to_pre we missed to add the ADD_LAT for DDR2 case. Reported-by: Joakim Tjernlund Signed-off-by: Dave Liu commit 540dcf1cb86961e11aa92c47671f27762c581d8c Author: Kumar Gala Date: Thu Mar 26 01:34:39 2009 -0500 83xx: Use common LSDMR defines from asm/fsl_lbc.h Signed-off-by: Kumar Gala Acked-by: Kim Phillips commit b0fe93eda69721aef1fdef576164b668fad83bbd Author: Kumar Gala Date: Thu Mar 26 01:34:38 2009 -0500 85xx: Use common LSDMR defines from asm/fsl_lbc.h Signed-off-by: Kumar Gala commit 0088c298f0eeb90ec001f744e9959dea83dd563a Author: Kumar Gala Date: Thu Mar 26 01:34:37 2009 -0500 Add LSDMR (SDRAM Mode Register) definition on localbus The masks for various bit defines of LSDMR are common and thus we can define them in one place rather than replicating them in each config.h Signed-off-by: Kumar Gala commit 89c00fb15859213788f0ad089934c376fb356099 Author: Ladislav Michl Date: Mon Mar 30 18:58:41 2009 +0200 OMAP: use {read,write}l to access timer registers Signed-off-by: Ladislav Michl commit 81472d893fa565c9d300928a40e504a689bde131 Author: Ladislav Michl Date: Mon Mar 30 18:58:41 2009 +0200 OMAP: rename timer divisor Divisor field is called PTV not PVT. Signed-off-by: Ladislav Michl Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit fe672d60b2a8c9e803596ba4533fa1776015551d Author: Ladislav Michl Date: Mon Mar 30 18:58:40 2009 +0200 OMAP: reindent timer code Signed-off-by: Ladislav Michl commit b3f66b0ba09949e0796ce7fad6367f75f15ed890 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Mon Mar 30 18:58:40 2009 +0200 s3c2410: move nand driver to drivers/mtd/nand Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit d3b635774194404bcd424f6b376419bce22076ad Author: Jean-Christophe PLAGNIOL-VILLARD Date: Mon Mar 30 18:58:40 2009 +0200 s3c24x0: move i2c driver to drivers/i2c Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 300f99f4539dd5caf7e19af5e4ea5eb259445913 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Mon Mar 30 18:58:39 2009 +0200 s3c24x0: move serial driver to drivers/serial Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 942ba9969b9efa25f816c238861ecb339c54ed73 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Mon Mar 30 18:58:39 2009 +0200 davinci: move i2c driver to drivers/i2c Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit ee4f3e2765a1c65c9861c5d2cf2e6feb84b90bd8 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Mon Mar 30 18:58:39 2009 +0200 davinci: move nand driver to drivers/mtd/nand Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit d3e55d0774a180c1837bd7ddec464015e883bd86 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Mon Mar 30 18:58:38 2009 +0200 imx: move serial driver to drivers/serial Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 2344bb8de2354101a8264c2123303c9d8d2aed3c Author: Detlev Zundel Date: Mon Mar 30 00:31:36 2009 +0200 inka4x0: Use proper accessor macros for memory mapped registers. Signed-off-by: Detlev Zundel commit e979e85fd39b06436922bb4d6bb5fafcbc775182 Author: Detlev Zundel Date: Mon Mar 30 00:31:35 2009 +0200 inka4x0: Add hardware diagnosis and RTC in configuration. This patch adds the board specific communication routines needed by the external 4543 RTC. Signed-off-by: Detlev Zundel Signed-off-by: Andreas Pfefferle commit 7b5611cdd12ca0cc33f994f0d4a4454788fc3124 Author: Detlev Zundel Date: Mon Mar 30 00:31:34 2009 +0200 inka4x0: Add hardware diagnosis functions for inka4x0 This patch adds advanced diagnosis functions for the inka4x0 board. Signed-off-by: Andreas Pfefferle Signed-off-by: Detlev Zundel commit 04e11cf383ff6231535fd981023bb1306b2133d4 Author: Detlev Zundel Date: Mon Mar 30 00:31:33 2009 +0200 rtc: add support for 4543 RTC (manufactured by e.g. EPSON) Signed-off-by: Detlev Zundel Signed-off-by: Andreas Pfefferle commit 572e6179adb5447ff42ec2aa5cf3a26decf97583 Author: Detlev Zundel Date: Mon Mar 30 00:31:32 2009 +0200 drivers/twserial: Add protocol driver for "three wire serial" interface. This pretty unintelligent interface is used on some RTC chips. Signed-off-by: Detlev Zundel commit a6ef3ddeafbe8007af3662cc4509b897c53ab395 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Mar 29 23:01:42 2009 +0200 arm720t/clps7111: move serial driver to drivers/serial add CONFIG_CLPS7111_SERIAL to activate the driver Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 6790c55704531eb98f76b51d50e0f73d19fa2988 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Mar 29 23:01:42 2009 +0200 lpc2292: move serial driver to drivers/serial add CONFIG_LPC2292_SERIAL to activate the driver Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 176a600d0ecdaccbac483d2ba992d0119f853119 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Mar 29 23:01:42 2009 +0200 ks8695: move serial driver to drivers/serial add CONFIG_KS8695_SERIAL to activate the driver Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 6d27bca15d445fcf07d6e7e30ced95c945c875ea Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Mar 29 23:01:42 2009 +0200 s3c64xx: move usb driver to drivers/usb add CONFIG_USB_S3C64XX to activate the driver Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit ecfa8dda2f55e1fbe12dee0b5cc16e7d484674c9 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Mar 29 23:01:41 2009 +0200 imx31: move serial driver to drivers/serial Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 9ea91c9fefb3920d735533a7798c1a44a3ed3ffc Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Mar 29 23:01:41 2009 +0200 netarm: move serial driver to drivers/serial add CONFIG_NETARM_SERIAL to activate the driver Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 412ab705888742add435dd6ffc2e8bda14962235 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Mar 29 23:01:41 2009 +0200 sa1100: move serial driver to drivers/serial add CONFIG_SA1100_SERIAL to activate the driver Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit b2368754a9202225fd072e159fb78da7d2cdb623 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Mar 29 23:01:41 2009 +0200 s3c44b0: extract cache from cpu.c Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 40fd626223eae5363719bcb9a6896f08ceeee90a Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Mar 29 23:01:41 2009 +0200 s3c44b0: move serial driver to drivers/serial Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 5fe1377cc46199fe71c47be4b1aa81440ae96f9f Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Mar 29 23:01:40 2009 +0200 s3c44b0: move rtc driver to drivers/rtc Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 50f601cca8985615f9e3de4c34887448ade8a64b Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Mar 29 23:01:40 2009 +0200 s3c44b0: move i2c driver to drivers/i2c Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 281dfb0c0c531194f99e60d6285cca4e2a9fb1b6 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Mar 29 23:01:36 2009 +0200 s3c4510b: move specific code to soc directory Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 04531f3c11c693dc54924f82c41979d960309c9d Author: Ladislav Michl Date: Wed Mar 25 23:43:58 2009 +0100 NetStar: add RTC support Add RTC support. Signed-off-by: Ladislav Michl commit 71f7bd305d9768bcb7ddbe4b5823cbf3b3597b11 Author: Ladislav Michl Date: Wed Mar 25 23:43:50 2009 +0100 NetStar: use generic flash driver Signed-off-by: Ladislav Michl commit 3f464b0fc009d41d2734c08e472eb6d445f73a5c Author: Ladislav Michl Date: Mon Mar 16 23:31:20 2009 +0100 NetStar: update crcit utility Make crc32 function to match its prototype. Use more meaningful identifiers. Signed-off-by: Ladislav Michl commit 488f5d8790c451fc527fe5d2ef218f2a5e40ea17 Author: Ladislav Michl Date: Mon Mar 23 17:46:27 2009 +0100 Remove nowhere used symbol CONFIG_SYS_CLKS_IN_HZ Signed-off-by: Ladislav Michl commit 88685b5f62274167ad2ba8a58e108d89ff71955b Author: Wolfgang Denk Date: Sun Mar 29 00:58:16 2009 +0100 VCMA9: fix compile errors Fix these: cmd_vcma9.c:82: warning: implicit declaration of function 'eth_getenv_enetaddr' cmd_vcma9.c:89: error: 'enetaddr' undeclared (first use in this function) Signed-off-by: Wolfgang Denk commit 26e42cbd786241fec370a0b92ad591f4e9cc423b Author: Wolfgang Denk Date: Sun Mar 29 00:54:21 2009 +0100 ARM: fix warning: 'print_eth' defined but not used This warning got issued for all ARM systems that don't have CONFIG_CMD_NET enabled. Signed-off-by: Wolfgang Denk commit fd88d91a639ce41b825c8d50dc2182050e98fe53 Author: Ladislav Michl Date: Mon Mar 23 18:16:34 2009 +0100 cs8900 compile fix cs8900.c: In function 'eth_init': cs8900.c:164: warning: passing argument 2 of 'eth_getenv_enetaddr' from incompatible pointer type cs8900.c:165: error: invalid operands to binary << cs8900.c:166: error: invalid operands to binary << cs8900.c:167: error: invalid operands to binary << Signed-off-by: Ladislav Michl Acked-by: Jean-Christophe PLAGNIOL-VILLARD commit d2567be915036720693f3ddd00c39b5b4d86fb8d Author: Wolfgang Denk Date: Sat Mar 28 20:16:16 2009 +0100 Fix implicit declaration of function 'eth_[gs]etenv_enetaddr' ...and some other compile warnings. Signed-off-by: Wolfgang Denk commit 97b05d7d524a6b4f195f07b8f90e98561a85596c Author: Wolfgang Denk Date: Sat Mar 28 16:17:29 2009 +0100 mpc8xx/ether.c: fix warning: unused variable 'bd' Also minor coding style cleanup. Signed-off-by: Wolfgang Denk commit 2dce551e10728f9e5655279f761f1d3cc0a8fe90 Author: Detlev Zundel Date: Wed Mar 25 17:27:52 2009 +0100 command.c: Expose the core of do_help as _do_help to the rest of u-boot. Other commands implementing subcommands can reuse this code nicely. Signed-off-by: Detlev Zundel Signed-off-by: Andreas Pfefferle commit 4e325fbfa4dea04eceb6392e00807c40d214dc6f Author: Detlev Zundel Date: Tue Mar 24 18:02:33 2009 +0100 mpc5xxx: Add structure definition for several more register blocks. Signed-off-by: Detlev Zundel commit 739b0e594677a0676577bc95db4495a5563fc7f8 Author: Detlev Zundel Date: Fri Mar 27 15:03:55 2009 +0100 MAINTAINERS: Add entry for 'inka4x0' board. Signed-off-by: Detlev Zundel commit e55ecec45340755ef47cbbb13fb35ceed60eb115 Author: Detlev Zundel Date: Fri Mar 27 15:03:54 2009 +0100 MAINTAINERS: Keep list sorted. Signed-off-by: Detlev Zundel commit 0baeca4b09b703728f8e66b52418039fd8f8ce35 Author: Mike Frysinger Date: Thu Mar 26 11:17:41 2009 -0400 karef/metrobox/xpedite1k: fix eth_setenv_enetaddr typos The function is called "eth_setenv_enetaddr", not "eth_putenv_enetaddr". Signed-off-by: Mike Frysinger CC: Ben Warren commit 76756e41cde0a617e781a604cc47dfaef63697cd Author: Heiko Schocher Date: Thu Mar 26 07:33:59 2009 +0100 ppc: cleanup compiler errors/warnings Current u-boot top of tree builds with warnings/errors for the following boards: ads5121 cpci5200 mecp5200 v38b IAD210 MBX MBX860T NX823 RPXClassic debris PN62 following patch solves this. Signed-off-by: Heiko Schocher Acked-by: Mike Frysinger commit 3edf68c47fdd52f19c1e840771c19ba90cf5ced1 Author: Stefan Roese Date: Thu Mar 26 16:14:13 2009 +0100 ppc4xx: Sequoia: Fix TLB reassignment in NAND booting code This patch fixes a bug in the Sequoia TLB init code to reconfigure the correct TLB (boot space) after running from RAM. This bug was introduced with patch 4d332dbeb08f5863d1ea69d91a00c5499d3a87ed [ppc4xx: Make Sequoia boot vxWorks] which changed the order of the TLB in the Sequoia init.S file. Signed-off-by: Stefan Roese commit e2b66fe453a3679f807b37fc5923d89214302764 Author: Wolfgang Denk Date: Thu Mar 26 10:00:57 2009 +0100 ads5121: enable instruction cache Enabling the instruction cache significantly accelerates U-Boot operations like CRC checking, image uncompression, etc. Kudos to Andrea Scian for pointing out. Signed-off-by: Wolfgang Denk commit 33e88c557b29c84c52039ba05993fa70fe62afe3 Author: Jon Smirl Date: Sun Mar 22 22:55:45 2009 -0400 mpc5200: suppress printf until console initialized On boards which have the environment in eeprom, i2c_init() is called before the console and RAM are initialized. Suppress printfs until the console is initialized. Signed-off-by: Jon Smirl Acked-by: Heiko Schocher commit 0c6926736effbb9a19047949b7e9b3e8feab7c46 Author: Guennadi Liakhovetski Date: Wed Mar 25 11:36:50 2009 +0100 ARM: Add the imx31_phycore_eet board to MAKEALL Signed-off-by: Guennadi Liakhovetski commit 917cfc70c18b74fa8a80189bdce8395199fa8360 Author: Nishanth Menon Date: Wed Mar 25 22:13:56 2009 +0100 OMAP3:Beagle: Enable mtdparts http://www.denx.de/wiki/DULG/UBootCmdGroupFlash#UBootCmdFlMtdparts provides a flexible way to create and maintain u-boot mtd partitions. This allows commands such as "nand erase fs" to work and the user no longer needs to decode the absolute nand offsets. This patch enables this function for beagleboard Signed-off-by: Nishanth Menon Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 4de1a5daab079ddc8ce1274144700203d692105c Author: Mike Frysinger Date: Sun Feb 22 16:26:35 2009 -0500 Blackfin: bf537-stamp: split post code out into dedicated post.c Signed-off-by: Mike Frysinger commit 5e8f245743ed14c89e495ba2c027703db9813160 Author: Mike Frysinger Date: Sat Oct 11 22:51:56 2008 -0400 Blackfin: add support for S25FL128 parts Signed-off-by: Mike Frysinger commit bf1e028bf3eab1d702fa0627cade4460688f3913 Author: Mike Frysinger Date: Sat Oct 11 22:51:23 2008 -0400 Blackfin: overhaul SPI flash handling to speed things up Signed-off-by: Mike Frysinger commit efcc08cededa2168b96f12a22a5872340880d334 Author: Mike Frysinger Date: Sat Oct 11 22:51:05 2008 -0400 Blackfin: add support for SST SPI flashes Signed-off-by: Mike Frysinger commit 5b8cfbe63f7242ebb1008f30bbbc85a9d54b38cf Author: Mike Frysinger Date: Sat Oct 11 22:50:10 2008 -0400 Blackfin: add hack for crappy m25p80 Signed-off-by: Mike Frysinger commit 6f5fd56f0832ea5c254e2e4be84ea21fc8ecd5c5 Author: Mike Frysinger Date: Wed Jan 21 20:47:12 2009 -0500 Blackfin: bf537-stamp: increase monitor size The new jffs2 code pushed the code size just over the limit, so increase the limit a bit more. Signed-off-by: Mike Frysinger commit f82caaccc87e1f76448ff42a6b930e59797e4f65 Author: Mike Frysinger Date: Mon Dec 8 16:16:11 2008 -0500 Blackfin: bf537-stamp: bump default SCLK up to 125MHz Since all of the bf537-stamp and bf537-ezkit boards out there can handle it, increase the speed of SCLK to 125MHz rather than 100MHz. Signed-off-by: Mike Frysinger commit 751e54c3b77311b720b794813cce20546f288ada Author: Mike Frysinger Date: Sat Oct 11 22:44:14 2008 -0400 Blackfin: bf537-stamp: rewrite MAC-in-flash handling Use the common net eth functions to setup the env/global data with the MAC address, and properly handle the case where CONFIG_SYS_NO_FLASH is defined. Signed-off-by: Mike Frysinger commit 88f9faffb383bbc6f23b8cc8519c5ffecfa2c8ad Author: Mike Frysinger Date: Tue Dec 9 13:47:39 2008 -0500 Blackfin: add clkin_hz= to default kernel command line for ADI boards Signed-off-by: Mike Frysinger commit 9f64ba2412d3cede9eb1f290987e5c3a28df3232 Author: Mike Frysinger Date: Sun Oct 12 23:49:13 2008 -0400 Blackfin: bf533-stamp: bump up default clocks Since the hardware can handle it, bump the default clocks from 80mhz SCLK and 398mhz CCLK to 100mhz SCLK and 498mhz CCLK. Signed-off-by: Mike Frysinger commit 23fd959eeaaa0434ac7f9c1191de66c76d97d699 Author: Mike Frysinger Date: Sat Oct 11 22:40:22 2008 -0400 Blackfin: bf533-stamp: rewrite startup LED notifications Again, don't clobber pins that we aren't actually using, and use the common LED framework rather than our own hob-job-but-not-really-working. Signed-off-by: Mike Frysinger commit cf6f469e2730fc8ab3523808b828be000d6eee77 Author: Mike Frysinger Date: Sun Jun 1 09:09:48 2008 -0400 Blackfin: unify common ADI board settings Rather than duplicate the same ADI settings in every ADI board, create a common ADI config header and have all ADI boards start using that. This will also make merging the ~10 boards I have to forward port a lot easier. Signed-off-by: Mike Frysinger commit 196c74311f394c6eb08bd9ab07a35671299b9851 Author: Kyungmin Park Date: Tue Mar 3 09:05:53 2009 +0900 Reduce OneNAND IPL common code OneNAND IPL has common codes for RAM init, load data, and jump to 2nd bootloader, but it's common code used about 300~400 bytes. So board specific codes, such as lowlevel_init, can't has enough code. It make a difficult to implement OneNAND IPL. his patch make this common code as small as possible. and give lowlevel_init can have more codes. Signed-off-by: Kyungmin Park Signed-off-by: Scott Wood commit 16f2f5a351004129e79e79816697a367fd9e5446 Author: Wolfgang Grandegger Date: Wed Feb 11 18:38:24 2009 +0100 Add multi-chip NAND support for the TQM8548 modules This patches configures the NAND UPM-FSL driver with multi-chip support for the Micron MT29F8G08FAB NAND flash memory on the TQM8548 modules. Signed-off-by: Wolfgang Grandegger Signed-off-by: Scott Wood commit 33846df28fa1f4cf96a96c18142d48d813caa892 Author: Wolfgang Grandegger Date: Wed Feb 11 18:38:23 2009 +0100 Add wait flags to support board/chip specific delays The NAND flash on the TQM8548_BE modules requires a short delay after running the UPM pattern like the MPC8360ERDK board does. The TQM8548_BE requires a further short delay after writing out a buffer. Normally the R/B pin should be checked, but it's not connected on the TQM8548_BE. The corresponding Linux FSL UPM driver uses similar delay points at the same locations. To manage these extra delays in a more general way, I introduced the "wait_flags" field allowing the board-specific driver to specify various types of extra delay. Signed-off-by: Wolfgang Grandegger Signed-off-by: Scott Wood commit 06e9f7df054d26d7f49c56bf9a6844b193ad6313 Author: Wolfgang Grandegger Date: Wed Feb 11 18:38:22 2009 +0100 Add support for TQM-specific chip select logic to FSL-UPM For the NAND chips on the TQM8548 modules, a special chip-select logic is used. It uses dedicated address lines to be set via UPM machine address register (mar). This patch adds such support to the FSL-UPM driver. Signed-off-by: Wolfgang Grandegger Signed-off-by: Scott Wood commit e93c1c169d49eda7babad9c781f541e2e34f0ff0 Author: Wolfgang Grandegger Date: Wed Feb 11 18:38:21 2009 +0100 Add multi chip support to the FSL-UPM driver This patch adds support for multi-chip NAND devices to the FSL-UPM driver. The "dev_ready" callback of the "struct fsl_upm_nand" is now called with the argument "chip_nr" to allow testing the proper chip select line. The NAND support of the MPC8360ERDK is updated as well. No other boards are currently using the FSL UPM driver. Signed-off-by: Wolfgang Grandegger Signed-off-by: Scott Wood commit 672ed2aee91b4856f6671fc72cd34168d8f1b624 Author: Wolfgang Grandegger Date: Wed Feb 11 18:38:20 2009 +0100 Enable multi chip support in the NAND layer This patch adds support for NAND_MAX_CHIPS to the MTD NAND layer. Multi-chips devices are displayed as shown: Device 0: 2x NAND 512MiB 3,3V 8-bit, sector size 128 KiB Signed-off-by: Wolfgang Grandegger Signed-off-by: Scott Wood commit 74398b23f9c2ffdc137fd92910a46e3333fb93f9 Author: Mike Frysinger Date: Sat Oct 11 21:58:33 2008 -0400 Blackfin: put memory into self-refresh before/after programming clocks When initializing the core clocks, stick external memory into self-refresh. This gains us a few cool things: - support suspend-to-RAM with Linux - reprogram clocks automatically when doing "go" on u-boot.bin in RAM - make sure settings are stable before flashing new version - finally fully unify initialize startup code path between LDR/non-LDR Signed-off-by: Mike Frysinger commit d347d572ab1f2d47bf257c9f7ca2e602038a136b Author: Mike Frysinger Date: Sat Oct 11 21:56:08 2008 -0400 Blackfin: do not program voltage regulator on parts that do not have one Some newer Blackfins (like the BF51x) do not have an on-chip voltage regulator, so do not attempt to program the memory as if it does. Signed-off-by: Mike Frysinger commit 0d4f24b70f7a979f58174f3eb271874950b551b6 Author: Mike Frysinger Date: Sun Jun 1 01:28:24 2008 -0400 Blackfin: setup a sane default EBIU_SDBCTL for SDRAM controllers If the board config does not specify an explicit EBIU_SDBCTL value, set it up with sane values based on other configuration options. Signed-off-by: Mike Frysinger commit 3986e981f565c08f10c7e526af8cb518d741c349 Author: Mike Frysinger Date: Sat Dec 6 18:06:58 2008 -0500 Blackfin: handle reboot anomaly 432 Workaround anomaly 432: The bfrom_SysControl() firmware function does not clear the SIC_IWR1 register before executing the PLL programming sequence. Therefore, any interrupt enabled in the SIC_IWR1 register prior to the call to bfrom_SysControl() can prematurely terminate the idle sequence required for the PLL to relock properly. SIC_IWR0 is properly handled. Signed-off-by: Mike Frysinger commit 7e1d212b6da492c6ea32c62af92e185284f41291 Author: Mike Frysinger Date: Sat Oct 18 04:04:49 2008 -0400 Blackfin: kill off LDR jump block The Boot ROM uses EVT1 as the entry point so set that rather than having to use a tiny jump block in the default EVT1 location. Signed-off-by: Mike Frysinger commit a75fa148d60b1975403441e45565621bba50d2d9 Author: Mike Frysinger Date: Tue Jan 6 10:00:48 2009 -0500 Blackfin: simplify symbol_lookup() a bit No need to skip a byte as the symbol table handles this. Signed-off-by: Mike Frysinger commit 59f0978a7e78d20277ddbde7caf0ea877f3cfd98 Author: Mike Frysinger Date: Sat Feb 7 05:43:21 2009 -0500 Blackfin: fix SIC_RVECT definition: it is 16bits, not 32bits Signed-off-by: Mike Frysinger commit 58130f8920151d9e8942bbdf3388f2defb47e415 Author: Mike Frysinger Date: Sat Feb 7 05:41:17 2009 -0500 Blackfin: drop SPORT_TX read helper macros The SPORT_TX registers cannot be read (the hardware will trigger an error), so drop the read helper macros. Signed-off-by: Mike Frysinger commit 820b076c449688bcd4af6db5a33ae424d1a60d0e Author: Mike Frysinger Date: Sat Feb 7 05:25:35 2009 -0500 Blackfin: unify duplicate CPU port definitions Signed-off-by: Mike Frysinger commit 744fd240d181b0b05b1436e1b655c9a62526c752 Author: Mike Frysinger Date: Fri Feb 6 00:59:50 2009 -0500 Blackfin: drop now-unused CONFIG_SYS_BFIN_CMD_XXX With the new CONFIG_XXX system and CONFIG_CMD_XXX handling, these defines are no longer used/needed. Signed-off-by: Mike Frysinger commit 45c48953e8a4038bd49c46813fcff5a207867ae4 Author: Mike Frysinger Date: Mon Oct 6 04:01:26 2008 -0400 Blackfin: print out Flash: before checking it If there is some problem in the flash init/checking code, it's nicer to see the message "Flash:" before crashing. This way the source of the problem is a bit more straightforward. Signed-off-by: Mike Frysinger commit 1c7a79a04eb916f685f7275520b5eea6968a1559 Author: Mike Frysinger Date: Thu Aug 7 15:33:09 2008 -0400 Blackfin: safely flush data caches when in writeback mode Signed-off-by: Mike Frysinger commit c06f2b13022703611bc3e512bd34f9014a46f448 Author: Mike Frysinger Date: Thu Aug 7 13:21:48 2008 -0400 Blackfin: update lockbox api according to latest documentation Signed-off-by: Mike Frysinger commit 2decc2a8d17a5397cb5956e46c8466c736e305a2 Author: Mike Frysinger Date: Sat Oct 11 21:49:06 2008 -0400 Blackfin: mark bfin_reset static The function is only used locally, so mark it static. Signed-off-by: Mike Frysinger commit 974473caa732f63312687ef2bd2d22dad8e99b9a Author: Sonic Zhang Date: Fri Mar 20 19:28:20 2009 -0400 Blackfin: spi: there is no PORTJ_FER MMR on BF537 Since the PORTJ on the BF537 is peripheral-only (no GPIO functionality), then there is no PORTJ_FER register for us to worry about. Signed-off-by: Sonic Zhang Signed-off-by: Mike Frysinger commit e82b762f293debc53c5afa90f37264f6b07520f9 Author: Mike Frysinger Date: Tue Mar 17 13:58:23 2009 -0400 Blackfin: fix jtag console tstc The jtag tstc operation was checking the hardware to see if data is available from it (which is fine for the jtag getc operation), but the higher layers need to know whether any data is available. Since we have to read up to 4 bytes at a time from the hardware, the higher layers need to know they can consume the cached bytes as well. Signed-off-by: Mike Frysinger commit bc683f58b1f1d8d20546fe019483967a51a49df1 Author: Mike Frysinger Date: Sun Feb 22 16:23:41 2009 -0500 Blackfin: bf537-stamp: move CONFIG_POST handling to COBJS-$(...) Signed-off-by: Mike Frysinger commit 8996d1608acb8f59fcb186dc7ed7d87f8fee1297 Author: Mike Frysinger Date: Sun Feb 22 16:02:27 2009 -0500 Blackfin: unify net-related init code Unify all of the net-related init code in the common Blackfin board init code to clean up the ifdef mess a bit. Signed-off-by: Mike Frysinger commit c6ea30e52ea82af4858d2b6f99e0fd2ea276d657 Author: Mike Frysinger Date: Wed Feb 18 12:51:48 2009 -0500 Blackfin: fix SWRST/SYSCR register sizes Signed-off-by: Mike Frysinger commit a9d6777d39154978b9ef9c682b2627a3480b194c Author: Mike Frysinger Date: Wed Feb 18 12:51:31 2009 -0500 Blackfin: update anomaly lists Signed-off-by: Mike Frysinger commit 4d7c32dad2e787f890ebcd51bfb723a126913c90 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Thu Mar 19 18:31:38 2009 +0100 avr32: fix cacheflush.h location introducted by d8f2aa3298610b Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Haavard Skinnemoen commit 3a3baf3ee61e6b28af3b49ebabc9ab4f6015aa48 Author: Eric Schumann Date: Sat Mar 21 09:59:34 2009 -0400 Make flash protection work, when the environment is in EEPROM On the pcm030 the environment is located in the onboard EEPROM. But we want to handle flash sector protection in a safe manner. So we must read the unlock environment variable from EEPROM instead from flash. This patch is required as long the evironment is saved into the EEPROM. Stefan: Additional change as suggested by Wolfgang, use bigger char array (instead of 4). Signed-off-by: Eric Schumann Signed-off-by: Sascha Hauer Acked-by: Wolfgang Denk Signed-off-by: Stefan Roese commit de3ce8c59f48f99779d7d7379a5432ded12ec06c Author: Jon Smirl Date: Sat Mar 21 11:17:56 2009 -0400 Add define for mpc5200 CDM_CLK_ENA Signed-off-by: Jon Smirl commit df486b1fa3f750b153eac7daa0b3bf1f594e5098 Author: Nicolas Ferre Date: Sun Mar 22 14:48:16 2009 +0100 at91: Support for the at91sam9g20 : Atmel 400Mhz ARM 926ej-s SOC. AT91sam9g20 is an evolution of the at91sam9260 with a faster clock speed. The AT91SAM9G20-EK board is an updated revision of the AT91SAM9260-EK board. It is essentially the same, with a few minor differences. Here is the chip page on Atmel website: http://www.atmel.com/dyn/products/product_card.asp?part_id=4337 Signed-off-by: Justin Waters Signed-off-by: Nicolas Ferre Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 118d168035cc93f586da4812c89cb153eb9f4243 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Mar 22 14:28:14 2009 +0100 cmc_pu2: fix implicit declaration of function 'eth_setenv_enetaddr' Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 176c4a982c6531f96426afaa1126cf9a5e2d5e03 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Mar 22 14:28:13 2009 +0100 cmc_pu2: fix misc_init_r prototype Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 53158aea995221706b42c7bad9f717b31ae20414 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Jan 11 03:32:01 2009 +0100 at91sam9xeek: fix soc name Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 74c076d6c33d6d42ab065541a38383587879e7b7 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sun Mar 22 10:22:34 2009 +0100 at91sam9/at91cap: move nand drivers to drivers/mtd/nand Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 163966087d62680547f188a93c61d01c8155254e Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat Mar 21 21:08:01 2009 +0100 atmel/at91/boards: compile dataflash partition only when dataflash is Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit e2c0476f958f8e0b269a1118f4ba4a5cd475aa56 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat Mar 21 21:08:00 2009 +0100 at91sam9/at91cap: move common macb initialisation to cpu Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit f3f91f886bc8927fd692ac411b7423a87ffec532 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat Mar 21 21:08:00 2009 +0100 at91sam9/at91cap: move common usb host initialisation to cpu Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit a484b00b86e72ac6da6ee4fce13dbc6b256672fe Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat Mar 21 21:08:00 2009 +0100 at91sam9/at91cap: move common led management to cpu Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 7ebafb7ec1a0285af8380623c009576f92583b98 Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat Mar 21 21:07:59 2009 +0100 at91sam9/at91cap: move common spi initialisation to cpu Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit 1332a2a0694c8e10a5bade397cf83645b2c3fd7e Author: Jean-Christophe PLAGNIOL-VILLARD Date: Sat Mar 21 21:07:59 2009 +0100 at91sam9/at91cap: move common serial initialisation to cpu Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD commit e60beb13cf0135dc71c541021487b5ccc4d269cb Author: Wolfgang Denk Date: Sat Mar 21 22:04:41 2009 +0100 Prepare 2009.03 Update CHANGELOG Signed-off-by: Wolfgang Denk commit 9e78dae2b276c5bf9ab92cd85173f6cb92b1b7d5 Author: Vivek Kutal Date: Mon Feb 23 21:35:11 2009 +0530 Replaced endpoint numbers with appropriate macros in usbtty.c. Signed-off-by: Vivek Kutal Signed-off-by: Remy Bohmer commit faac4fd852e39cb1d7a740801b060e41aeacef1f Author: Michael Lawnick Date: Thu Mar 19 10:06:41 2009 +0100 UBIFS: Missing offset relocation for compressor 'none' On systems where U-Boot is linked to another address than it really lays (e.g. backup image), calls via function pointers must be fixed with a '+= gd->reloc_off'. This was not done for none_compr in ubifs_compressors_init() what leads to system crash on ubifsmount command. Signed-off-by: Michael Lawnick Acked-by: Stefan Roese commit ce6d0c8de031f345bde745f3b855082adf1c4e45 Author: Stefan Roese Date: Thu Mar 19 15:35:50 2009 +0100 UBIFS: Add UBIFS commands This patchset adds these UBIFS related commands: - ubifsmount Mount an UBIFS volume - ubifsls List a directory of the mounted UBIFS volume - ubifsload Load a file from the mounted UBIFS volume to memory Signed-off-by: Stefan Roese commit 9eefe2a2b37a838558e3d213a9f5519503d0c180 Author: Stefan Roese Date: Thu Mar 19 15:35:05 2009 +0100 UBIFS: Implement read-only UBIFS support in U-Boot The U-Boot UBIFS implementation is largely a direct copy from the current Linux version (2.6.29-rc6). As already done in the UBI version we have an "abstraction layer" to redefine or remove some OS calls (e.g. mutex_lock() ...). This makes it possible to use the original Linux code with very little changes. And by this we can better update to later Linux versions. I removed some of the Linux features that are not used in the U-Boot version (e.g. garbage-collection, write support). Signed-off-by: Stefan Roese CC: Artem Bityutskiy CC: Adrian Hunter commit b1b4e89a0f3b75854c39a62cae41bad56d210adf Author: Stefan Roese Date: Thu Mar 19 15:34:56 2009 +0100 Add LZO decompressor support This patch adds LZO decompression support to U-Boot. It is needed for the upcoming UBIFS support, since UBIFS uses LZO as default compressor/ decompressor. Since we only support read-only in UBIFS, only the decompressor is needed. All this is copied with minor changes from the current Linux kernel version (2.6.28-rc8). This patch only implements this LZO decompressor support for PPC. Other platforms using UBIFS will have to add the required "include/asm/unaligned.h" as well. It should be fairly easy to copy this from the Linux source tree as I have done it for PPC in this patch. Signed-off-by: Stefan Roese commit 68d7d65100e84df00bca971c114092731b441090 Author: Stefan Roese Date: Thu Mar 19 13:30:36 2009 +0100 Separate mtdparts command from jffs2 Currently the mtdparts commands are included in the jffs2 command support. This doesn't make sense anymore since other commands (e.g. UBI) use this infrastructure as well now. This patch separates the mtdparts commands from the jffs2 commands making it possible to only select mtdparts when no JFFS2 support is needed. Signed-off-by: Stefan Roese Signed-off-by: Kyungmin Park commit 02a301cd5087eaffdf456e0a5cec1100c4d9a398 Author: Stefan Roese Date: Wed Feb 25 12:11:15 2009 +0100 powerpc: Only use eth_getenv_enetaddr() if networking is enabled Signed-off-by: Stefan Roese commit 5c4fa9b474af95d60f019ec6369cbe77b9dab4b5 Author: Grzegorz Bernacki Date: Tue Mar 17 10:06:40 2009 +0100 Add support for the digsy MTC board. This is the InterControl custom device based on the MPC5200B chip. Signed-off-by: Grzegorz Bernacki commit ff7dc067369e30066744f096995aef7d97574d15 Author: Stefan Roese Date: Mon Feb 23 16:52:36 2009 +0100 powerpc: Fix compilation warning in board.c Fix this warning: board.c: In function 'board_init_r': board.c:653: warning: unused variable 'i' board.c:651: warning: unused variable 'e' Signed-off-by: Stefan Roese commit 9cd690160d3ce1a7fb4ceeee6c99cedb1ac1d49c Author: Stefan Roese Date: Mon Feb 23 16:42:51 2009 +0100 ppc4xx: Don't write the MAC address into the internal SoC registers Remove this code. It's not needed. The 4xx EMAC driver stores the MAC addresses into the SoC registers instead. Signed-off-by: Stefan Roese commit bb57ad4be76d0e2e7f9ec56678235cc9872ff40f Author: Matthias Fuchs Date: Fri Feb 20 10:19:19 2009 +0100 ppc4xx: Use correct io accessors for esd 405/440 boards This patch replaces in/out8/16/32 macros by in/out_8/_be16/_be32 macros. Also volatile pointer references are replaced by the new accessors. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit 049216f045fd8e0f45bcef121c2bb1c7d3de6988 Author: Matthias Fuchs Date: Fri Feb 20 10:19:18 2009 +0100 ppc4xx: Use correct io accessors for esd 405 boards This patch replaces in/out8/16/32 macros by in/out_8/_be16/_be32 macros. Also volatile pointer references are replaced by the new accessors. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit a59205d1519375d027f97a545ad642ab20fce6f8 Author: Matthias Fuchs Date: Fri Feb 20 10:19:17 2009 +0100 ppc4xx: Cleanup linker scripts of esd 4xx boards Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit 2f103ee284e68934a648732db5e0b6ceb4a1ed8f Author: Matthias Fuchs Date: Fri Feb 20 10:19:16 2009 +0100 ppc4xx: Update TEXT_BASE for DASA_SIM boards Fix building DASA_SIM boards by increasing U-Boot's size in flash. Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit 09db8f4de6805f1dde510c167f20e56a5405d29e Author: Matthias Fuchs Date: Fri Feb 20 10:19:15 2009 +0100 ppc4xx: DU405 maintenance fix -strip unused features -fix resetting phy Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit 75511b47ac2647be48218dbb93af05b21f404f67 Author: Matthias Fuchs Date: Fri Feb 20 10:19:14 2009 +0100 ppc4xx: Abort autoboot only by space key on CPCI405 boards Signed-off-by: Matthias Fuchs Signed-off-by: Stefan Roese commit e17ee157ca9ff0d4cc5841d06c4b70c1603df29c Author: Graeme Russ Date: Tue Feb 24 21:14:56 2009 +1100 Add basic relocation to i386 port Signed-off-by: Graeme Russ commit 8c63d47651f77d9fb887cad433370b866eb0a193 Author: Graeme Russ Date: Tue Feb 24 21:14:45 2009 +1100 Implement SC520 timers Signed-off-by: Graeme Russ commit 6d7f610b09f813b1239eedcbfe921cfd439aea25 Author: Graeme Russ Date: Tue Feb 24 21:14:32 2009 +1100 Factor out SC520 sub-features Moved sub-features of the SC520 code which is currently selectively compiled using #ifdef out of sc520.c into individual files selectively compiled via the makefile Signed-off-by: Graeme Russ commit abf0cd3dff227cfb6e82ad13be62e28e6e89d5df Author: Graeme Russ Date: Tue Feb 24 21:13:40 2009 +1100 Rewrite i386 interrupt handling Rewrite interrupt handling functionality for the i386 port. Separated functionality into separate CPU and Architecture components. It appears as if the i386 interrupt handler functionality was intended to allow multiple handlers to be installed for a given interrupt. Unfortunately, this functionality was not fully implemented and also had the problem that irq_free_handler() does not allow the passing of the handler function pointer and therefore could never be used to free specific handlers that had been installed for a given IRQ. There were also various issues with array bounds not being fully tested. I had two objectives in mind for the new implementation: 1) Keep the implementation as similar as possible to existing implementations. To that end, I have used the leon2/3 implementations as the reference 2) Seperate CPU and Architecture specific elements. All specific i386 interrupt functionality is now in cpu/i386/ with the high level API and architecture specific code in lib_i386. Functionality specific to the PC/AT architecture (i.e. cascaded i8259 PICs) has been further split out into an individual file to allow for the implementation of the PIC architecture of the SC520 CPU (supports more IRQs) Signed-off-by: Graeme Russ commit ece444b42b71eb5bce34a24ec584573b3c8c4a98 Author: Graeme Russ Date: Tue Feb 24 21:12:35 2009 +1100 Move ali512x.h Moved ali512x.h from include/asm-i386/ic/ to /include Signed-off-by: Graeme Russ commit 6d83e3ac61dcdbcb7f04664309a9689fe01c5704 Author: Graeme Russ Date: Tue Feb 24 21:12:20 2009 +1100 Rename SC520 Configuration Options Options are now all uniformly CONFIG_SYS_SC520_