summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-12-27TQM885D: fix SDRAM refreshJens Gehrlein
At 133 MHz the current SDRAM refresh rate is too fast (measured 4 * 1.17 us). CFG_MAMR_PTA changes from 39 to 128. This result in a refresh rate of 4 * 7.8 us at the default clock 66 MHz. At 133 MHz the value will be then 4 * 3.8 us. This is a compromise until a new method is found to adjust the refresh rate. Signed-off-by: Martin Krause <martin.krause@tqs.de>
2007-12-27TQM860M: Support for 10col SDRAMs, max. 128 MiBJens Gehrlein
Signed-off-by: Martin Krause <martin.krause@tqs.de>
2007-12-27Merge branch 'master' of git://www.denx.de/git/u-boot-shWolfgang Denk
Conflicts: MAINTAINERS Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-12-26Merge branch 'master' of git://www.denx.de/git/u-boot-avr32Wolfgang Denk
2007-12-26Merge branch 'testing' of git://www.denx.de/git/u-boot-fdtWolfgang Denk
2007-12-17cfi_flash: Add manufacturer-specific fixupsHaavard Skinnemoen
Run fixups based on the JEDEC manufacturer ID independent of the command set ID. This changes current behaviour: Previously, geometry reversal for AMD chips were done based on the command set ID, while they are now done based on the JEDEC manufacturer and device ID. Also add fixup for top-boot Atmel chips. A fixup is needed for AT49BV6416(T) too, but since u-boot currently only reads the low byte of the device ID, there's no way to tell it apart from AT49BV642D, which should not have this fixup. Since AT49BV642D support is necessary to get ATNGW100 board support into mainline, I've commented out the fixup for now. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2007-12-17cfi_flash: Add cmdset-specific init functionsHaavard Skinnemoen
Move things like reading JEDEC IDs and fixing up geometry reversal into separate functions. The geometry reversal fixup is now performed by altering the qry structure directly, which makes the sector init code slightly cleaner. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2007-12-17cfi_flash: Read whole QRY structure in one goHaavard Skinnemoen
Read out the whole CFI Standard Query structure after successful cfi identification. This allows subsequent code to access this information directly without having to go through flash_read_uchar() and friends. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2007-12-17AVR32: Fix logic inversion in disable_interrupts()Haavard Skinnemoen
disable_interrupts() should return nonzero if interrupts were _enabled_ before, not disabled. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2007-12-17AVR32: Enable interrupts at bootupHaavard Skinnemoen
The timer code depends on the timer interrupt to keep track of the upper 32 bits of the cycle counter. This obviously doesn't work when interrupts are disabled the whole time. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2007-12-17AVR32: Fix wrong pin setup for USART3Haavard Skinnemoen
As reported by Gerhard Berghofer: in "gpio_enable_usart3" the correct pins for USART 3 are PB17 and PB18 instead of PB18 and PB19. which is obviously correct. There's currently no code that uses USART3, but custom boards may run into problems. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2007-12-17README: Remove ATSTK1000 daughterboard listHaavard Skinnemoen
As noted by Kim Phillips, these lists tend to become out of date. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2007-12-17Add ATSTK100[234] to MAINTAINERSHaavard Skinnemoen
Add all the ATSTK1000 daughterboards to MAINTAINERS along with their "mother". Also update the entry for ATSTK1000 to be not only about the AP7000 CPU; it's intended to handle all CPUs in the AT32AP family. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2007-12-17AVR32: Add support for the ATSTK1004 boardHaavard Skinnemoen
ATSTK1004 is a daughterboard for ATSTK1000 with the AT32AP7002 CPU, which is a derivative of AT32AP7000. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2007-12-17AVR32: Add support for the ATSTK1003 boardHaavard Skinnemoen
ATSTK1003 is a daughterboard for ATSTK1000 with the AT32AP7001 CPU, which is a derivative of AT32AP7000. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2007-12-17AVR32: Make some AT32AP700x peripherals optionalHaavard Skinnemoen
Add a chip-features file providing definitions of the form AT32AP700x_CHIP_HAS_<peripheral> to indicate the availability of the given peripheral on the currently selected chip. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2007-12-17AVR32: Rename at32ap7000 -> at32ap700xHaavard Skinnemoen
The SoC-specific code for all the AT32AP700x CPUs is practically identical; the only difference is that some chips have less features than others. By doing this rename, we can add support for the AP7000 derivatives simply by making some features conditional. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2007-12-17atmel_mci: Show SR when block read failsHaavard Skinnemoen
Show controller status as well as card status when an error occurs during block read. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2007-12-13cfi_flash: Use map_physmem() and unmap_physmem()Haavard Skinnemoen
Use map_physmem() and unmap_physmem() to convert from physical to virtual addresses. This gives the arch a chance to provide an uncached mapping for flash accesses. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2007-12-13Introduce map_physmem() and unmap_physmem()Haavard Skinnemoen
map_physmem() returns a virtual address which can be used to access a given physical address without involving the cache. unmap_physmem() should be called when the virtual address returned by map_physmem() is no longer needed. This patch adds a stub implementation which simply returns the physical address cast to a uchar * for all architectures except AVR32, which converts the physical address to an uncached virtual mapping. unmap_physmem() is a no-op on all architectures, but if any architecture needs to do such mappings through the TLB, this is the hook where those TLB entries can be invalidated. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2007-12-13cfi_flash: Introduce read and write accessorsHaavard Skinnemoen
Introduce flash_read{8,16,32,64) and flash_write{8,16,32,64} and use them to access the flash memory. This makes it clearer when the flash is actually being accessed; merely dereferencing a volatile pointer looks just like any other kind of access. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2007-12-13Implement __raw_{read,write}[bwl] on all architecturesHaavard Skinnemoen
This adds implementations of __raw_read[bwl] and __raw_write[bwl] to m68k, ppc, nios and nios2. The m68k and ppc implementations were taken from Linux. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2007-12-13cfi_flash: Reorder functions and eliminate extra prototypesHaavard Skinnemoen
Reorder the functions in cfi_flash.c so that each function only uses functions that have been defined before it. This allows the static prototype declarations near the top to be eliminated and might allow gcc to do a better job inlining functions. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2007-12-13cfi_flash: Make some needlessly global functions staticHaavard Skinnemoen
Make functions not declared in any header file static. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2007-12-13cfi_flash: Break long linesHaavard Skinnemoen
This patch tries to keep all lines in the cfi_flash driver below 80 columns. There are a few lines left which don't fit this requirement because I couldn't find any trivial way to break them (i.e. it would take some restructuring, which I intend to do in a later patch.) Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2007-12-13CFI: synchronize command offsets with Linux CFI driverBartlomiej Sieka
Fixes non-working CFI Flash on the Inka4x0 board. Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
2007-12-08CFI: Coding style cleanupStefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>
2007-12-08CFI: support JEDEC flash roms in CFI-flash frameworkMichael Schwingen
The following patch adds support for non-CFI flash ROMS, by hooking into the CFI flash code and using most of its code, as recently discussed here in the thread "Mixing CFI and non-CFI flashs". Signed-off-by: Michael Schwingen <michael@schwingen.org> Signed-off-by: Stefan Roese <sr@denx.de>
2007-12-08Conditionally compile fdt_fixup_ethernet()Gerald Van Baren
Fix compiler warnings: On boards that don't have ethernets defined, don't compile fdt_fixup_ethernet().
2007-12-08Convert boards that set memory node to use fdt_fixup_memory()Kumar Gala
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2007-12-08Added fdt_fixup_stdout that uses aliases to set linux,stdout-pathKumar Gala
We use a combination of the serialN alias and CONFIG_CONS_INDEX to determine which serial alias we should set linux,stdout-path to. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2007-12-08Add common memory fixup functionKumar Gala
Add the function fdt_fixup_memory() to fixup the /memory node of the fdt Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2007-12-08Conditionally compile fdt_support.cKumar Gala
Modify common/Makefile to conditionally compile fdt_support.c based on CONFIG_OF_LIBFDT. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2007-12-08Fix build breakage due to libfdt importKumar Gala
The IDS8247 got lost in the update and need an API update do to rename of functions in libfdt. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2007-12-08Add spaces around the = in the fdt print format.Gerald Van Baren
Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
2007-12-06sh: Moved driver of the SuperH dependenceNobuhiro Iwamatsu
The composition of the directory in the drivers/ changed. I moved SuperH serial driver and marubun PCMCIA driver. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2007-12-06Merge git://www.denx.de/git/u-bootNobuhiro Iwamatsu
2007-12-06Merge git://www.denx.de/git/u-bootNobuhiro Iwamatsu
Conflicts: drivers/Makefile
2007-12-06Release v1.3.1Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-12-06ADS5121 Board: fix compile problem.Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-12-02Prepare for 1.3.1-rc1Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-11-28sh: Add SuperH boards maintainer to MAINTAINERS fileNobuhiro Iwamatsu
Add MS7750SE and MS7722SE's board maintainer to MAINTAINERS file. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2007-11-28sh: Add ms7750se support in MAKEALLNobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2007-11-28sh: Add sh3 and sh4 support in MAKEALLJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2007-11-28sh: Add document for SuperH.Nobuhiro Iwamatsu
This document is a summary of information concerning SuperH of U-Boot. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2007-11-28sh: Add marubun's pcmcia driverNobuhiro Iwamatsu
Marubun pcmcia is a chip for PCMCIA used with SuperH. Of course, this can be used even by other architectures. When use this driver, came to be able to use CompactFlash and Ethernet. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2007-11-28sh: Update SuperH SCIF driverNobuhiro Iwamatsu
- Changed volatile unsigned to vu_. - Changed Makefile for kconfig. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2007-11-28Merge git://www.denx.de/git/u-bootNobuhiro Iwamatsu
Conflicts: drivers/Makefile
2007-11-26Merge commit '3deca9d'Wolfgang Denk
Conflicts: Makefile Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-11-26Cleanup coding style; update CHANGELOGWolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>