summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
* UBI/cfi-mtd: Fix mtd name for multiple chipsAndreas Huber2009-04-04-8/+24
| | | | | | | | | | | | | 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 <sr@denx.de> Signed-off-by: Andreas Huber <andreas.huber@keymile.com>
* tools/setlocalversion: use git svn instead of git-svnPeter Korsgaard2009-04-04-1/+1
| | | | | | | Use the new "git <subcmd>" syntax instead of the deprecated "git-<subcmd>". Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* eSPI: add the eSPI register supportMingkai Hu2009-04-04-0/+17
| | | | Signed-off-by: Mingkai Hu <Mingkai.hu@freescale.com>
* cmd_mmc: add support for device command for selecting mmc deviceMinkyu Kang2009-04-04-5/+56
| | | | | | This patch improves device command for selecting mmc device Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
* Small fix to m5282evbAlan Carvalho de Assis2009-04-04-1/+1
| | | | | | This is just a small fix to get u-boot on m5282evb. Signed-off-by: Alan Carvalho de Assis <acassis@gmail.com>
* UBIFS: add R/O compatibilityArtem Bityutskiy2009-04-04-11/+71
| | | | | | | | | | | | | | | 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 <Artem.Bityutskiy@nokia.com> Acked-by: Adrian Hunter <Adrian.Hunter@nokia.com> Signed-off-by: Stefan Roese <sr@denx.de>
* more command usage cleanupMike Frysinger2009-04-04-4/+4
| | | | | | Fix up a few dangling commands like in "Command usage cleanup" commit. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Separate mtdparts command from jffs2Ladislav Michl2009-04-04-6/+3
| | | | | | | | | | | | | | | | 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 <ladis@linux-mips.org>
* smc91111_eeprom: move board-specific init into SMC91111_EEPROM_INIT()Mike Frysinger2009-04-04-9/+6
| | | | | | | | | | | 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 <vapier@gentoo.org> CC: Ben Warren <biggerbadderben@gmail.com>
* mpc52xx phy: initialize only when neededSascha Hauer2009-04-04-2/+9
| | | | | | | Do not initialize phy on startup, instead initialize it when we actually need it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'master' of git://git.denx.de/u-boot-at91Wolfgang Denk2009-04-04-81/+1201
|\
| * at91sam9263ek: enable hush and auto complete supportJean-Christophe PLAGNIOL-VILLARD2009-04-04-0/+3
| | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by: Stelian Pop <stelian@popies.net>
| * at91: move dataflash spi driver to drivers/spiJean-Christophe PLAGNIOL-VILLARD2009-04-04-1/+7
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * at91: move usb driver to drivers/usbJean-Christophe PLAGNIOL-VILLARD2009-04-04-1/+6
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * at91rm9200: Reset updateJean-Christophe PLAGNIOL-VILLARD2009-04-04-10/+14
| | | | | | | | | | | | | | 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 <plagnioj@jcrosoft.com>
| * at91rm9200: move serial shutdown code to serial driversJean-Christophe PLAGNIOL-VILLARD2009-04-04-10/+9
| | | | | | | | | | | | | | introduce serial_exit for this purpose. Use it only when the rm9200 serial driver is active Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * at91rm9200: move serial driver to drivers/serialJean-Christophe PLAGNIOL-VILLARD2009-04-04-1/+9
| | | | | | | | | | | | add CONFIG_AT91RM9200_USART to activate the driver Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * Add support for the AT91RM9200EK Board.Ulf Samuelsson2009-04-04-7/+747
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 <ulf@atmel.com> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * add dataflash mmc mux missing supportJean-Christophe PLAGNIOL-VILLARD2009-04-04-0/+66
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * at91rm9200dk: Move conditional compilation to MakefileJean-Christophe PLAGNIOL-VILLARD2009-04-04-14/+12
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * at91: rename DATAFLASH_MMC_SELECT to CONFIG_DATAFLASH_MMC_SELECTJean-Christophe PLAGNIOL-VILLARD2009-04-04-13/+18
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * at91sam9: add watchdog supportJean-Christophe PLAGNIOL-VILLARD2009-04-04-1/+178
| | | | | | | | | | Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * at91sam9/at91cap: spi init add hardware chip select supportJean-Christophe PLAGNIOL-VILLARD2009-04-04-27/+136
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | netstar: fix crc32.c dependancy locationJean-Christophe PLAGNIOL-VILLARD2009-04-04-1/+1
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | Merge branch 'master' of git://git.denx.de/u-boot-mpc85xxWolfgang Denk2009-04-04-99/+28
|\ \ | |/ |/|
| * fsl_law: Fix bug in calculation of LAW sizingKumar Gala2009-04-04-0/+3
| | | | | | | | | | | | | | | | 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 <galak@kernel.crashing.org>
| * fsl_pci: Move prototypes into fsl_pci.h and remove explicit externsKumar Gala2009-04-04-83/+9
| | | | | | | | Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
| * fsl_pci: Renamed immap_fsl_pci.h to fsl_pci.hKumar Gala2009-04-04-16/+16
| | | | | | | | | | | | | | 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 <galak@kernel.crashing.org>
* | MPC8260ADS: Define CONFIG_HAS_ETH0.Scott Wood2009-04-04-0/+2
| | | | | | | | | | | | This is required so that the MAC address will be updated in the device tree. Signed-off-by: Scott Wood <scottwood@freescale.com>
* | PQ2FADS: Enable PCI.Scott Wood2009-04-04-4/+15
| | | | | | | | | | | | PCI on PQ2FADS is very similar to PCI on MPC8272ADS. Signed-off-by: Scott Wood <scottwood@freescale.com>
* | Fix quoting bug introduced by commit 74de7aefWolfgang Denk2009-04-04-3/+3
| | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* | Fix implicit declaration of function 'htons'Wolfgang Denk2009-04-04-1/+1
| | | | | | | | | | | | | | Include <netinet/in.h> instead of <linux/in.h> to get htons() prototpye. Signed-off-by: Wolfgang Denk <wd@denx.de>
* | Fix building of env_embedded.oWolfgang Denk2009-04-04-1/+3
| | | | | | | | | | | | | | | | | | | | | | 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 <wd@denx.de>
* | rename include/zlib.h to include/u-boot/zlib.hJean-Christophe PLAGNIOL-VILLARD2009-04-04-12/+12
| | | | | | | | | | | | | | | | | | 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 <plagnioj@jcrosoft.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | tools/Makefile: fix image.c dependancy locationJean-Christophe PLAGNIOL-VILLARD2009-04-04-1/+1
| | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | tools: add ncb to gitignoreMike Frysinger2009-04-04-0/+1
|/ | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* include/ns16550.h: Unify structure declaration for registersDetlev Zundel2009-04-04-93/+37
| | | | | | | | | | | | | | 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 <dzu@denx.de>
* Delete now unused tools/Makefile.win32Peter Tyser2009-04-04-37/+0
| | | | Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* Add support for building native win32 toolsPeter Tyser2009-04-04-7/+231
| | | | | | | | | | | | | 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 <ptyser@xes-inc.com>
* tools/Makefile: Simplify HOST_CFLAGS/HOST_LDFLAGS generationPeter Tyser2009-04-04-12/+5
| | | | Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* tools/Makefile: Create generic build rulesPeter Tyser2009-04-04-46/+9
| | | | | | | Create a few generic build rules to replace the current method which has 1 build target for each file Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* tools/Makefile: Use auto-generated object file dependenciesPeter Tyser2009-04-04-12/+12
| | | | | | | Files in the SRCS variable have their dependencies automatically generated so remove duplicate explicit dependencies Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* tools/Makefile: Remove symlinks for remaining source filesPeter Tyser2009-04-04-38/+14
| | | | Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* tools/Makefile: Dynamically generate libfdt object dependenciesPeter Tyser2009-04-04-7/+6
| | | | | | | Add the libfdt files to the SRCS variable so that they have their dependencies automatically generated Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* tools/Makefile: Remove symlinks for fdt targetsPeter Tyser2009-04-04-32/+8
| | | | Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* tools/Makefile: Add libfdt/ to the include search pathPeter Tyser2009-04-04-11/+7
| | | | | | | This change makes the process of symlinking libfdt_internal.h unnecessary Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* tools: Remove unecessary symlinking of zlib.hPeter Tyser2009-04-04-7/+2
| | | | | | | | 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 <ptyser@xes-inc.com>
* tools/Makefile: Add tools/ to the include search pathPeter Tyser2009-04-04-6/+1
| | | | | | | This change makes the process of symlinking mkimage.h and fdt_host.h unnecessary Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* tools/Makefile: Compile ncb when CONFIG_NETCONSOLEPeter Tyser2009-04-04-4/+4
| | | | | | Also conditionally add ncb.o to OBJ_FILES list Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* tools/Makefile: Make gen_eth_addr dependent upon CONFIG_CMD_NETPeter Tyser2009-04-04-2/+2
| | | | Signed-off-by: Peter Tyser <ptyser@xes-inc.com>