summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2008-07-31Fix printf() format problems with configurable promptsWolfgang Denk
U-Boot allows for configurable prompt strings using the CONFIG_AUTOBOOT_PROMPT resp. CONFIG_MENUPROMPT definitions. So far, the assumption was that any such user defined problts would contain exactly one "%d" format specifier. But some boards did not. To allow for flexible boot prompts without adding too complex code we now allow to specify the whole list of printf() arguments in the user definition. This is powerful, but requires a responsible user who really understands what he is doing, as he needs to know for exanple which variables are available in the respective context. Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-07-31E1000: clean up CONFIG_E1000_FALLBACK_MAC handlingWolfgang Denk
Avoid "integer constant is too large for 'long' type" warnings. And simplify the code. Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-07-31Merge branch 'master' of ssh://10.10.0.7/home/wd/git/u-boot/masterWolfgang Denk
2008-07-31PPC: Add pci_clk in the global_data for CPM2 processorsMatvejchikov Ilya
This patch adds pci_clk field to the global_data structure for the processors which have CPM2 module in case the CONFIG_PCI is defined. Signed-off-by: Matvejchikov Ilya <matvejchikov@gmail.com>
2008-07-31Remove unused I2C at apollon boardKyungmin Park
There are no I2C devices on this board. Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
2008-07-31at91rm9200dk, csb637: fix NAND related build problemsWolfgang Denk
Tried fixing NAND support for the at91rm9200dk board; untested. Disabled NAND support in the csb637 board config file. Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-07-31Merge branch 'master' of git://git.denx.de/u-boot-avr32Wolfgang Denk
2008-07-29Adder8xx: Fix CFG_MONITOR_LENFrank Svendsbøe
Due to increased space usage, U-Boot can no longer be stored in three sectors. The current U-Boot use just over three flash sectors (197k), and U-Boot will become corrupt after saving environment variables. This patch adds another 64k to CFG_MONITOR_LEN. Signed-off-by: Frank E. Svendsbøe <frank.svendsboe@gmail.com>
2008-07-29API: Teach the storage layer about SATA and MMC options.Rafal Jaworowski
Signed-off-by: Rafal Czubak <rcz@semihalf.com> Acked-by: Rafal Jaworowski <raj@semihalf.com>
2008-07-29Fix remaining CFG_CMD_ define, ifdef and commentsJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-07-29Add include for config.h in command.h.Stefano Babic
Because the cmd_tbl_s structure depends on the configuration file, it must be assured that config.h is included before the structure is evaluated by the compiler. If this is not certain, it could happen that the compiler generates structures of different size, depending on the fact if the source file includes <config.h> before or after <command.h>. The effect is that u-boot crashes when tries to relocate the command table (for ppc) or try to access to the command table for other architectures. The problem can happen on board-depending commands. All general commands under /common are unaffected, because they include already config.h before command.h. Signed-off-by: Stefano Babic <sbabic@denx.de>
2008-07-29Removed support for the adsvix board.Adrian Filipi
Support for the adsvix was originally provided by Applied Data Systems (ADS), inc., now EuroTech, Inc. The board never shipped aside from some sample boards. Signed-off-by: Adrian Filipi <adrian.filipi@eurotech.com>
2008-07-24Merge branch 'format-warnings' of git://git.denx.de/u-boot-avr32Haavard Skinnemoen
2008-07-23avr32: Fix printf() format warningsHaavard Skinnemoen
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
2008-07-23avr32: asm/io.h needs asm/types.hHaavard Skinnemoen
map_physmem() takes a phys_addr_t as parameter. This type is defined in asm/types.h, so we need to include that file. Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
2008-07-2083xx/85xx/86xx: Add LTEDR local bus definitionsDetlev Zundel
Signed-off-by: Detlev Zundel <dzu@denx.de>
2008-07-18ppc4xx: Enable 64bit printf format on 440/460 platformsStefan Roese
This patch defines CFG_64BIT_VSPRINTF and CFG_64BIT_STRTOUL for all 440/460 platforms. This may be needed since those platforms support 36bit physical address space. Signed-off-by: Stefan Roese <sr@denx.de>
2008-07-15Merge branch 'master' of git://git.denx.de/u-boot-mpc5xxxWolfgang Denk
2008-07-15Merge branch 'master' of git://git.denx.de/u-boot-mpc86xxWolfgang Denk
2008-07-15Merge branch 'master' of git://git.denx.de/u-boot-mpc85xxWolfgang Denk
2008-07-15mpc5xxx: Add MVBC_P board supportAndre Schwarz
The MVBC_P is a MPC5200B based camera system with Intel Gigabit ethernet controller (using e1000) and custom Altera Cyclone-II FPGA on PCI. Signed-off-by: Andre Schwarz <andre.schwarz@matrix-vision.de> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2008-07-15Update Freescale sys_eeprom.c to handle CCID formatsTimur Tabi
Update the sys_eeprom.c file to handle both NXID and CCID EEPROM formats. The NXID format replaces the older CCID format, but it's important to support both since most boards out there still use the CCID format. This change is in preparation for using one file to handle both formats. This will also unify EEPROM support for all Freescale 85xx and 86xx boards. Also update the 86xx board header files to use the standard CFG_I2C_EEPROM_ADDR instead of ID_EEPROM_ADDR. Signed-off-by: Timur Tabi <timur@freescale.com>
2008-07-15Clean up INIT_RAM optionsAndy Fleming
The L2_INIT_RAM option was unused, and recent changes to the TLB code meant that the INIT_RAM TLBs weren't being cleared out. In order to reduce the amount of mapped space attached to nothing, we change things so the TLBs get cleared. Signed-off-by: Andy Fleming <afleming@freescale.com>
2008-07-15Remove fake flash bank from 8544 DSAndy Fleming
The fake flash bank was generating errors for anyone who didn't have a PromJET hooked up to the board. As that constitutes the vast majority of users, we remove it. Signed-off-by: Andy Fleming <afleming@freescale.com>
2008-07-15MPC8544DS: Add ATI Video card supportKumar Gala
Add support for using a PCIe ATI Video card on PCIe2. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2008-07-1585xx: Add some L1/L2 SPR register definitionsKumar Gala
Add new L1/L2 SPRs related to e500mc cache config and control. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2008-07-15sbc8560: enable CONFIG_OF_LIBFDT by defaultPaul Gortmaker
Make the default build for the sbc8560 board be powerpc capable with libfdt support. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
2008-07-15Fix indentation for default boot environment variablesAndy Fleming
This was proposed by Paul Gortmaker in response to Wolfgang's comments on similar #defines in sbc8560.h. Signed-off-by: Andy Fleming <afleming@freescale.com>
2008-07-15sbc8560: add default fdt valuesPaul Gortmaker
Add in the default fdt settings and the typical EXTRA_ENV settings as borrowed from the mpc8560ads. Fix a couple of stale references to the mpc8560ads dating back to the original clone/fork. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
2008-07-15sbc8560: define eth0 and eth1 instead of eth1 and eth2Paul Gortmaker
The existing config doesn't define CONFIG_HAS_ETH0, and so the fdt support doesn't update the zeros in the dtb local-mac with real data from the u-boot env. Since the existing config is tailored to just two interfaces, get rid of the ETH2 definitions at the same time. Also don't include any end user specific data into the environment by default -- things like MAC address, network parameters etc. need to come from the end user. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
2008-07-15sbc8560: proper definitions for TSEC.Paul Gortmaker
The definitions for the TSEC have become out of date. There is no longer any such options like "CONFIG_MPC85xx_TSEC1" or similar. Update to match those of other boards, like the MPC8560ADS. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Acked-by: Ben Warren <biggerbadderben@gmail.com>
2008-07-14fdt: add crypto node handling for MPC8{3, 5}xxE processorsKim Phillips
Delete the crypto node if not on an E-processor. If on 8360 or 834x family, check rev and up-rev crypto node (to SEC rev. 2.4 property values) if on an 'EA' processor, e.g. MPC8349EA. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
2008-07-14Remove LBC_CACHE_BASE from 8544 DSAndy Fleming
The 8544 DS doesn't have any cacheable Local Bus memories set up. By mapping space for some anyway, we were allowing speculative loads into unmapped space, which would cause an exception (annoying, even if ultimately harmless). Removing LBC_CACHE_BASE, and using LBC_NONCACHE_BASE for the LBC LAW solves the problem. Signed-off-by: Andy Fleming <afleming@freescale.com>
2008-07-13Fix some more printf() format issues.Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-07-13hwmon: rename CONFIG_DS1722 to CONFIG_DTT_DS1722Michal Simek
Signed-off-by: Michal Simek <monstr@monstr.eu> Acked-by: Stefan Roese <sr@denx.de>
2008-07-13hwmon: Cleaning hwmon devicesMichal Simek
Clean Makefile Move device specific values to driver for better reading Signed-off-by: Michal Simek <monstr@monstr.eu> Acked-by: Stefan Roese <sr@denx.de>
2008-07-13microblaze: Remove useless ancient headersMichal Simek
Signed-off-by: Michal Simek <monstr@monstr.eu>
2008-07-13microblaze: Clean uartlite driverMichal Simek
Redesign uartlite driver to in_be32 and out_be32 macros Fix missing header in io.h Signed-off-by: Michal Simek <monstr@monstr.eu> Acked-by: Grant Likely <grant.likely@secretlab.ca>
2008-07-13Enable passing of ATAGs required by latest Linux kernel.Marcel Ziswiler
2008-07-13ARM: Fix for broken compilation when defining CONFIG_CMD_ELFHugo Villeneuve
caused by missing dcache status/enable/disable functions. Signed-off-by: Hugo Villeneuve <hugo.villeneuve@lyrtech.com>
2008-07-13Merge branch 'master' of git://git.denx.de/u-boot-coldfireWolfgang Denk
2008-07-11Fix compile error caused by missing timer functionTsiChung Liew
Add #define CONFIG_MCFTMR in EB+MCF-EV123.h configuration file Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
2008-07-11ColdFire: Fix timer issue for MCF5272TsiChung Liew
The timer was assigned to wrong timer memory mapped which caused udelay() and timer() not working properly. Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
2008-07-11ColdFire: Fix code flash configuration for M547x/M548x boardsTsiChung Liew
Signed-off-by: Kurt Mahan <kmahan@freescale.com>
2008-07-10DataFlash AT45DB021 supportSergey Lapin
Some boards based on AT91SAM926X-EK use smaller DF chips to keep bootstrap, u-boot and its environment, using NAND or other external storage for kernel and rootfs. This patch adds support for small 1024x263 chip. Signed-off-by: Sergey Lapin <slapin@ossfans.org>
2008-07-10Merge branch 'master' of git://git.denx.de/u-boot-mpc512xWolfgang Denk
2008-07-10Configuration changes for ADS5121 Rev 3Martha Marx
ADS5121 Rev 3 board is now the default config config targets are now ads5121_config Rev 3 board with PCI M41T62 on board RTC 512MB DRAM ads5121_rev2_config Rev 2 board with No PCI 256MB DRAM Signed-off-by: Martha Marx <mmarx@silicontkx.com> Acked-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: John Rigby <jrigby@freescale.com>
2008-07-10Consolidate ADS5121 IO Pin configurationMartha Marx
Consolidate ADS5121 IO Pin configuration to one file board/ads5121/iopin.c. Remove pin config from cpu/mpc512x/fec.c Signed-off-by: Martha Marx <mmarx@silicontkx.com> Acked-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: John Rigby <jrigby@freescale.com>
2008-07-10Merge commit 'wd/master'Jon Loeliger
2008-07-10ppc4xx: Enable support for > 2GB SDRAM on AMCC KatmaiStefan Roese
Newer PPC's like 440SPe, 460EX/GT can be equipped with more than 2GB of SDRAM. To support such configurations, we "only" map the first 2GB via the TLB's. We need some free virtual address space for the remaining peripherals like, SoC devices, FLASH etc. Note that ECC is currently not supported on configurations with more than 2GB SDRAM. This is because we only map the first 2GB on such systems, and therefore the ECC parity byte of the remaining area can't be written. Signed-off-by: Stefan Roese <sr@denx.de>