summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
* sbc8560: add default fdt valuesPaul Gortmaker2008-07-14-5/+33
| | | | | | | | | | 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>
* sbc8560: add in ft_board_setup()Paul Gortmaker2008-07-14-0/+28
| | | | | | | Add in for the sbc8560, the ft_board_setup() routine, based on what is in use for the Freescale MPC8560ADS board. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
* sbc8560: define eth0 and eth1 instead of eth1 and eth2Paul Gortmaker2008-07-14-26/+29
| | | | | | | | | | | | | | | 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>
* sbc8560: properly set cs0_bnds for 512MBPaul Gortmaker2008-07-14-0/+4
| | | | | | | | The sbc8560 board ships with 512MB of memory installed, but the current cs0_bnds is hard coded for 256MB. Set the value based on CFG_SDRAM_SIZE. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
* sbc8560: proper definitions for TSEC.Paul Gortmaker2008-07-14-10/+22
| | | | | | | | | 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>
* 8xxx-fdt: set ns16550 clock from CFG_NS16550_CLK, not bi_busfreqPaul Gortmaker2008-07-14-3/+3
| | | | | | | | | | Some boards that have external 16550 UARTs don't have a direct tie between bi_busfreq and the clock used for the UARTs. Boards that do have such a tie should set CFG_NS16550_CLK to be get_bus_freq(0) -- which most of them do already. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Acked-by: Kim Phillips <kim.phillips@freescale.com>
* Change the temp map to ROM to align addresses to page size.Andrew Klossner2008-07-14-4/+5
| | | | | | | | | | With a page size of BOOKE_PAGESZ_16M, both the real and effective addresses must be multiples of 16MB. The hardware silently truncates them so the code happens to work. This patch clarifies the situation by establishing addresses that the hardware doesn't need to truncate. Signed-off-by: Andrew Klossner <andrew@cesa.opbu.xerox.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
* mpc85xx: use IS_E_PROCESSOR macroKim Phillips2008-07-14-1/+1
| | | | Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
* fdt: add crypto node handling for MPC8{3, 5}xxE processorsKim Phillips2008-07-14-1/+131
| | | | | | | | 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>
* Remove LBC_CACHE_BASE from 8544 DSAndy Fleming2008-07-14-13/+3
| | | | | | | | | | 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>
* Fix some more printf() format problems.Wolfgang Denk2008-07-13-12/+15
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* ADS5121: Fix (delete) incorrect ads5121_diu_init() prototypeWolfgang Denk2008-07-13-2/+0
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Fix bug in Lime video driverAnatolij Gustschin2008-07-13-0/+2
| | | | | | | | | | | We need to wait while drawing engine clears frame buffer before any further software accesses to frame buffer will be initiated. Otherwise software drawn parts could be partially destroyed by the drawing engine or even GDC chip freeze could occur (as observed on socrates board). Signed-off-by: Anatolij Gustschin <agust@denx.de>
* Fix some more printf() format issues.Jean-Christophe PLAGNIOL-VILLARD2008-07-13-23/+25
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* hwmon: rename CONFIG_DS1722 to CONFIG_DTT_DS1722Michal Simek2008-07-13-2/+2
| | | | | Signed-off-by: Michal Simek <monstr@monstr.eu> Acked-by: Stefan Roese <sr@denx.de>
* hwmon: Cleaning hwmon devicesMichal Simek2008-07-13-105/+66
| | | | | | | | 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>
* FIS: repare incorrect return value with ramdisk handlingMichal Simek2008-07-13-8/+8
| | | | | | | | | | | | | | | Microblaze and PowerPC use boot_get_ramdisk for loading ramdisk to memory with checking return value. Return 0 means success. Return 1 means failed. Here is correspond part of code from bootm.c which check return code. ret = boot_get_ramdisk (argc, argv, images, IH_ARCH_PPC, &rd_data_start, &rd_data_end); if (ret) goto error; Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Remove useless ancient headersMichal Simek2008-07-13-645/+0
| | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Clean uartlite driverMichal Simek2008-07-13-16/+23
| | | | | | | | 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>
* Enable passing of ATAGs required by latest Linux kernel.Marcel Ziswiler2008-07-13-0/+4
|
* Fix integer overflow warning in calc_divisor()Hugo Villeneuve2008-07-13-2/+9
| | | | | | which happened when rounding the serial port clock divisor Signed-off-by: Hugo Villeneuve <hugo.villeneuve@lyrtech.com>
* Fix build time warnings in function mmc_decode_csd()Marcel Ziswiler2008-07-13-1/+1
| | | | Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
* ARM: Fix for broken compilation when defining CONFIG_CMD_ELFHugo Villeneuve2008-07-13-12/+40
| | | | | | caused by missing dcache status/enable/disable functions. Signed-off-by: Hugo Villeneuve <hugo.villeneuve@lyrtech.com>
* ppc4xx: Remove redundant ft_board_setup() functions from some 4xx boardsStefan Roese2008-07-13-149/+10
| | | | | | | | | This patch removes some ft_board_setup() functions from some 4xx boards. This can be done since we now have a default weak implementation for this in cpu/ppc4xx/fdt.c. Only board in need for a different/custom implementation like canyonlands need their own version. Signed-off-by: Stefan Roese <sr@denx.de>
* Add last known maintainer for orphaned boards; reformat.Wolfgang Denk2008-07-13-342/+339
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Remove kharris@nexus-tech.net from MAINTAINERSHaavard Skinnemoen2008-07-13-6/+8
| | | | | | | | | | | | Mail to kharris@nexus-tech.net bounces because the user doesn't exist anymore. You can't be a maintainer without a valid e-mail address, so move all boards that used to be maintained by Kyle Harris to the "orphaned" list. Currently, only PowerPC has a list of orphaned boards, so this patch creates one for ARM as well. Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
* Merge branch 'master' of /home/wd/git/u-boot/custodiansWolfgang Denk2008-07-13-47/+69
|\
| * Merge branch 'master' of git://git.denx.de/u-boot-mpc512xWolfgang Denk2008-07-13-47/+69
| |\
| | * fix DIU for small screensKenneth Johansson2008-07-12-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | The DIU_DIV register is 8 bit not 5 bit. This prevented large DIV values so it was not possible to set a slow pixel clock and thus prevented display on small screens. Signed-off-by: Kenneth Johansson <kenneth@southpole.se> Acked-by: John Rigby <jrigby@freescale.com>
| | * ADS5121 cleanup compile warningsJohn Rigby2008-07-12-46/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | board/ads5121/iopin.c Replace bit fields in struct iopin_t with a single field and intialize it via plain old macros. This fixes the type pun warnings and makes the code more readable. board/ads5121/ads5121.c Add include iopin.h to ads5121.c for the iopin_initialize prototype. Add an extern void ads5121_diu_init(void) Signed-off-by: John Rigby <jrigby@freescale.com>
* | | Merge branch 'master' of /home/wd/git/u-boot/custodiansWolfgang Denk2008-07-13-26/+39
|\ \ \ | |/ /
| * | Merge branch 'master' of git://git.denx.de/u-boot-coldfireWolfgang Denk2008-07-13-26/+39
| |\ \
| | * | ColdFire: Fix FB CS not setup properly for Mcf5282TsiChung Liew2008-07-11-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove all CFG_CSn_RO in cpu/mcf52x2/cpu_init.c. If CFG_CSn_RO is defined as 0, the chipselect will not be assigned. Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
| | * | ColdFire: Fix incorrect define for mcf5227x and mcf5445x RTCTsiChung Liew2008-07-11-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename CONFIG_MCFTMR to CONFIG_MCFRTC to include real time clock module in cpu/<cf arch>/cpu_init.c Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
| | * | ColdFire: Fix incorrect board name in MAKEALL for M5253EVBETsiChung Liew2008-07-11-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
| | * | Fix compile error caused by missing timer functionTsiChung Liew2008-07-11-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Add #define CONFIG_MCFTMR in EB+MCF-EV123.h configuration file Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
| | * | Fix compile error caused by incorrect function return typeTsiChung Liew2008-07-11-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Rename int mii_init(void) to void mii_init(void) Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
| | * | ColdFire: Fix power up issue for MCF5235TsiChung Liew2008-07-11-0/+3
| | | | | | | | | | | | | | | | Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
| | * | ColdFire: Fix compiling error for MCF5275TsiChung Liew2008-07-11-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The compiling error was caused by missing a closed parentheses in speed.c Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
| | * | ColdFire: Fix timer issue for MCF5272TsiChung Liew2008-07-11-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| | * | ColdFire: Change invalid JMP to BRA caught by new v4e toolchainTsiChung Liew2008-07-11-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Kurt Mahan <kmahan@freescale.com>
| | * | ColdFire: Add -got=single param for new linux v4e toolchainsTsiChung Liew2008-07-11-0/+12
| | | | | | | | | | | | | | | | Signed-off-by: Kurt Mahan <kmahan@freescale.com>
| | * | ColdFire: Fix code flash configuration for M547x/M548x boardsTsiChung Liew2008-07-11-4/+4
| | | | | | | | | | | | | | | | Signed-off-by: Kurt Mahan <kmahan@freescale.com>
| | * | ColdFire: Fix warning messages by passing correct data type in board.cTsiChung Liew2008-07-11-3/+3
| | | | | | | | | | | | | | | | Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
| | * | ColdFire: Fix UART baudrate formulaTsiChung Liew2008-07-11-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The formula "counter = (u32) (gd->bus_clk / gd->baudrate) / 32" can generate the wrong divisor due to integer division truncation. Round the calculated divisor value by adding 1/2 the baudrate before dividing by the baudrate. Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com> Acked-by: Gerald Van Baren <vanbaren@cideas.com>
* | | | Merge branch 'master' of /home/wd/git/u-boot/custodiansWolfgang Denk2008-07-13-3/+3
|\ \ \ \ | |/ / /
| * | | Merge branch 'master' of git://git.denx.de/u-boot-ppc4xxWolfgang Denk2008-07-13-3/+3
| |\ \ \
| | * | | ppc4xx: Fix include sequence in 4xx_pcie.cStefan Roese2008-07-11-3/+3
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch now moves common.h to the top of the inlcude list. This is needed for boards with CONFIG_PHYS_64BIT set (e.g. katmai), so that the phys_size_t/phys_addr_t are defined to the correct size in this driver. Signed-off-by: Stefan Roese <sr@denx.de>
* | | | at91: Fix to enable using Teridian MII phy (78Q21x3) with at91sam9260Anatolij Gustschin2008-07-13-0/+9
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On the at91sam9260ep development board there is an EEPROM connected to the TWI interface (PA23, PA24 Peripheral A multiplexing), so we cannot use these pins as ETX2, ETX3. This patch configures PA10, PA11 pins for ETX2, ETX3 instead of PA23, PA24 pins. Signed-off-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Manuel Sahm <Manuel.Sahm@feig.de>
* | | Merge branch 'master' of git://git.denx.de/u-boot-at91Wolfgang Denk2008-07-13-11/+16
|\ \ \ | |_|/ |/| |