summaryrefslogtreecommitdiff
path: root/cpu
AgeCommit message (Collapse)AuthorFilesLines
2009-02-10mpc86xx: Add support to populate addr map based on BATsBecky Bruce1-0/+27
If CONFIG_ADDR_MAP is enabled, update the address map whenever we write a bat. Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org>
2009-02-07pci: Rename PCI_REGION_MEMORY to PCI_REGION_SYS_MEMORY for clarityKumar Gala10-13/+13
The PCI_REGION_MEMORY and PCI_REGION_MEM are a bit to similar and can be confusing when reading the code. Rename PCI_REGION_MEMORY to PCI_REGION_SYS_MEMORY to clarify its used for system memory mapping purposes. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2009-02-07Merge branch 'master' of git://git.denx.de/u-boot-coldfireWolfgang Denk2-3/+10
2009-02-07Merge branch 'master' of git://git.denx.de/u-boot-blackfinWolfgang Denk2-121/+108
2009-02-07Merge branch 'master' of git://git.denx.de/u-boot-ppc4xxWolfgang Denk3-5/+26
2009-02-07Merge branch 'master' of git://git.denx.de/u-boot-mpc5xxxWolfgang Denk2-0/+397
2009-02-06Coldfire: M5271: Allow board header file to specify clock multiplierRichard Retanubun1-1/+6
M5271 dynamic clock multiplier. It is currently fixed at 100MHz. Allow the board header file to set their own multiplier and divider. Added the #define for the multiplier and divider to the cpu header file. Signed-off-by: Richard Retanubun <RichardRetanubun@RuggedCom.com>
2009-02-06Coldfire: M5271EVB: Remove usage of CONFIG_SYS_FECI2CRichard Retanubun1-1/+2
Discontinue the use of CONFIG_SYS_FECI2C (only used by M5271EVB). Use read-modify-write to activate the FEC pins without disabling I2C. Signed-off-by: Richard Retanubun <RichardRetanubun@RuggedCom.com>
2009-02-06Coldfire: Fix half-baud UART by adding M5271 to Coldfire v2 core listRichard Retanubun1-1/+2
Added the CONFIG_M5271 to the list of Coldfire V2 processor. This was causing the bus clock (not CPU clock) to be declared twice as fast as it actually is. This causes UARTS to operate at half the specified baudrate. Signed-off-by: Richard Retanubun <RichardRetanubun@RuggedCom.com>
2009-02-06ppc4xx: Make PCIE support selectableDirk Eibach2-3/+4
On some platforms PCIE support is not required, but would be included because the cpu supports it. To reduce fooprint it is now configurable via CONFIG_PCI_DISABLE_PCIE. Signed-off-by: Dirk Eibach <eibach@gdsys.de> Signed-off-by: Stefan Roese <sr@denx.de>
2009-02-06ppc4xx: Only fixup opb attached UARTsMatthias Fuchs1-2/+22
This patch updates the fdt UART clock fixup code to only touch CPU internal UARTs on 4xx systems. Only these UARTs are definitely clocked by gd->uart_clk. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com> Signed-off-by: Stefan Roese <sr@denx.de>
2009-02-05Blackfin: dynamically update UART speed when initializingMike Frysinger2-91/+43
Previously, booting over the UART required the baud rate to be known ahead of time. Using a bit of tricky simple math, we can calculate the new board rate based on the old divisors. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org>
2009-02-05Blackfin: add support for fast SPI reads with Boot ROMMike Frysinger1-8/+17
Newer Blackfin boot roms support using the fast SPI read command rather than just the slow one. If the functionality is available, then use it. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-02-05Blackfin: check for reserved settings in DDR MMRsMike Frysinger1-0/+7
Some bits of the DDR MMRs should not be set. If they do, bad things may happen (like random failures or hardware destruction). Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-02-05Blackfin: set default voltage levels for BF538/BF539 partsMike Frysinger1-0/+3
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-02-05Blackfin: use on-chip syscontrol() rom function when availableMike Frysinger1-22/+38
Newer Blackfin's have an on-chip rom with a syscontrol() function that needs to be used to properly program the memory and voltage settings as it will include (possibly critical) factory tested bias values. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-02-03ADS5121 Add IC Ident Module (IIM) supportMartha Marx2-0/+397
IIM (IC Identification Module) is the fusebox for the mpc5121. Use #define CONFIG_IIM to turn on the clock for this module use #define CONFIG_CMD_FUSE to add fusebox commands. Fusebox commands include the ability to read the status, read the register cache, override the register cache, program the fuses and sense them. Signed-off-by: Martha Marx <mmarx@silicontkx.com> Signed-off-by: John Rigby <jrigby@freescale.com>
2009-02-02Blackfin: rewrite cache handling functionsMike Frysinger1-46/+72
Take the cache flush functions from the kernel as they use hardware loops in order to get optimal performance. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-02-02Blackfin: enable --gc-sectionsMike Frysinger1-0/+1
Start building all Blackfin boards with -ffunction-sections/-fdata-sections and linking with --gc-sections. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-02-02Blackfin: dont check baud if it wont actually get usedMike Frysinger1-1/+5
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-02-01Merge branch 'master' of git://git.denx.de/u-boot-armWolfgang Denk16-0/+3169
2009-02-01Merge branch 'master' of git://git.denx.de/u-boot-netWolfgang Denk4-12/+57
2009-01-31ixp: move serial to drivers/serialJean-Christophe PLAGNIOL-VILLARD2-126/+0
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-01-31ixp: move pci init in arm/board instead of cpuJean-Christophe PLAGNIOL-VILLARD1-3/+0
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-01-31ixp: move pci drivers to drivers/pciJean-Christophe PLAGNIOL-VILLARD2-572/+0
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-01-31ixp: Move conditional compilation to MakefileJean-Christophe PLAGNIOL-VILLARD3-10/+10
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-01-31ixp: add missing os defineJean-Christophe PLAGNIOL-VILLARD1-1/+1
need by arm-elf toolchains and no impact on the arm-linux one Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-01-31ixp: remove the option to include the MicrocodeJean-Christophe PLAGNIOL-VILLARD2-13/+8
instead the board will have to load it from flash or ram which will be specified by npe_ucode env var Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-01-30ixp/npe: Move conditional compilation to MakefileJean-Christophe PLAGNIOL-VILLARD2-10/+6
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-01-28Merge branch 'master' of git://git.denx.de/u-boot-usbWolfgang Denk2-7/+3
2009-01-28usb.h: use standard __LITTLE_ENDIAN from Linux headersMike Frysinger2-7/+3
Rather than forcing people to define a custom "LITTLEENDIAN", just use the __LITTLE_ENDIAN one from the Linux byteorder headers that every arch is already setting up. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Remy Bohmer <linux@bohmer.net>
2009-01-28Blackfin: fixup misc warnings such as printf's and missing castsMike Frysinger1-10/+11
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-01-28Blackfin: allow serial console to be disabledMike Frysinger2-0/+8
Some devices have no UART device pulled out, so allow people to disable the driver completely in favor of other methods (like JTAG-console). Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-01-28Blackfin: support console-over-JTAGMike Frysinger2-4/+130
The Blackfin JTAG has the ability to pass data via a back-channel without halting the processor. Utilize that channel to emulate a console. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-01-28Blackfin: handle new anomalies with resetMike Frysinger1-5/+15
Workaround fun new anomalies related to software reset of the processor. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-01-28Blackfin: pass RETX to LinuxMike Frysinger1-0/+6
Make sure we save the value of RETX at power on and then pass it on to the kernel so that it can nicely debug a "double-fault-caused-a-reset" crash. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-01-28Blackfin: clarify relocation comment during initMike Frysinger1-3/+7
People often ask questions about the init process and when things go from flash to relocated base, so clarify the comments a bit. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-01-28Blackfin: just set SP register directly during initMike Frysinger1-3/+2
No need to set the SP register indirectly to the configured value when it can be set directly. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-01-28Blackfin: add portmuxing for UARTs on the BF51xMike Frysinger1-1/+10
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-01-28Blackfin: respect CONFIG_CLKIN_HALFMike Frysinger1-1/+1
As pointed out by Ivan Koryakovskiy, the initialization code was not actually respecting the CONFIG_CLKIN_HALF option when configuring the PLL_CTL register. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-01-28Blackfin: use common memcpy routine during initMike Frysinger1-21/+11
Rather than using a local custom memcpy function, just call the existing optimized Blackfin version. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-01-28Blackfin: overhaul i2c driverMike Frysinger2-429/+1
The current Blackfin i2c driver does not work properly with certain devices due to it breaking up transfers incorrectly. This is a rewrite of the driver and relocates it to the newer place in the source tree. Also remove duplicated I2C speed defines in Blackfin board configs and disable I2C slave address usage since it isn't implemented. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-01-28Blackfin: fix dcache handling when doing dma memcpy'sMike Frysinger1-2/+2
Our dcache invalidate function doesn't just invalidate, it also flushes. So rename the function accordingly and fix the dma_memcpy() function so it doesn't inadvertently corrupt the data destination. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-01-28Blackfin: minimize time cache is turned off when replacing cplb entriesMike Frysinger1-22/+9
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-01-28Command usage cleanupPeter Tyser4-4/+4
Remove command name from all command "usage" fields and update common/command.c to display "name - usage" instead of just "usage". Also remove newlines from command usage fields. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2009-01-28Standardize command usage messages with cmd_usage()Peter Tyser4-8/+8
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2009-01-27Merge branch 'master' of git://git.denx.de/u-boot-mipsWolfgang Denk1-0/+28
2009-01-27MIPS: Add flush_dcache_range() and invalidate_dcache_range()Stefan Roese1-0/+28
This patch adds flush_/invalidate_dcache_range() to the MIPS architecture. Those functions are needed for the upcoming dcache support for the USB EHCI driver. I chose this API because those cache handling functions are already present in the PPC architecture. Signed-off-by: Stefan Roese <sr@denx.de> Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
2009-01-26ppc4xx: Improve DDR autodetectDirk Eibach1-5/+50
Added support for a second memory bank to DDR autodetection for 440 platforms. Made hardcoded values configurable. Signed-off-by: Dirk Eibach <eibach@gdsys.de> Signed-off-by: Stefan Roese <sr@denx.de>
2009-01-24mgcoge make ether_scc.c work with CONFIG_NET_MULTIGary Jennejohn3-12/+49
This change is needed for mgcoge because it uses two ethernet drivers. Add a check for the presence of the PIGGY board on mgcoge. Without this board networking cannot work and the initialization must be aborted. Only allocate rtx once to prevent DPRAM exhaustion. Initialize ether_scc.c and the keymile-specific HDLC driver (to be added soon) in eth.c. Signed-off-by: Gary Jennejohn <garyj@denx.de> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>