aboutsummaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)Author
2010-10-14Blackfin: update anomaly lists to latest sheetsMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-13ppc: Conditionally compile bat_rw.cPeter Tyser
Only a few PPC boards actually use the common BAT manipulation functions, so only compile it for them. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2010-10-13Merge branch 'master' of git://git.denx.de/u-boot-armWolfgang Denk
2010-10-13ARMV7: Versatile Express Coretile CortexA9x4 supportMatt Waddel
Adds support for the ARM quad-core Cortex-A9 processor This system includes a motherboard(Versatile Express), daughterboard (Coretile), and SOC(Cortex-A9 quad core). The serial port, ethernet, and flash systems work with these additions. The naming convention is: SOC -> CortexA9 quad core = ca9x4 daughterboard -> Coretile = ct motherboard -> Versatile Express = vxp This gives ca9x4_ct_vxp.c as the board support file. Signed-off-by: Matt Waddel <matt.waddel@linaro.org>
2010-10-13arch/arm/include/asm/sizes.h: cleanupsAndreas Bießmann
Merge several sizes.h in asm/arch subdirectories into a single asm/sizes.h file. Fixup usage of asm/arch/sizes.h in some files to use the merged file. Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
2010-10-13Kirkwood: dram_init is moved to dram.cPrafulla Wadaskar
For all Kirkwood boards so far dram_init function is duplicated dram_init function is moved to dram.c and relevant code from all board specific files removed If any board needs specific dram init handling than standard one, then, a macro CONFIG_SYS_BOARD_DRAM_INIT should be defined in board config header file and the dram_init function can be put in board specific source file For ex. keymile boards Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
2010-10-13orion5x: optimize window size computationAlbert Aribaud
Signed-off-by: Chris Moore <moore@free.fr> Signed-off-by: Albert Aribaud <albert.aribaud@free.fr>
2010-10-13Kirkwood: print_cpuinfo fixed for valid devid revidPrafulla Wadaskar
Earlier Device Identification register was used to detect the type for SoC, considering 88F6282 support to be added, It is not possible to detect the same using current algorithm. With this patch, device ID is being read using PCIE devid register, also valid chip revision ID will also be read and displayed Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
2010-10-12powerpc: Remove warm reset entry pointPeter Tyser
No boards utilize the warm reset entry point, so remove it. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2010-10-12powerpc: Zero out board info struct on bootupPeter Tyser
This puts the board info struct in a known state and allows the removal of other code which initialized board info fields to 0. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2010-10-12Merge branch 'master' of git://git.denx.de/u-boot-microblazeWolfgang Denk
2010-10-12microblaze: Support little-endian microblaze targetMichal Simek
Microblaze little-endian toolchain should export __MICROBLAZEEL__. Signed-off-by: Michal Simek <monstr@monstr.eu>
2010-10-12microblaze: Add support for NET_MULTI apiMichal Simek
Microblaze hasn't supported NET_MULTI support. Signed-off-by: Michal Simek <monstr@monstr.eu>
2010-10-11davinci_emac: davinci_eth_set_mac_addr to ->write_hwaddrBen Gardiner
This patch proposes to migrate the davinci_emac driver to using the eth_device->write_hwaddr function pointer as suggested by Ben Warren. All the davinci boards had the behaviour, prior to this patch, of sync'ing the environment variable enetaddr with the MAC address read from non-volatile storage on boot -- when the two locations disagreed, the environment variable value took precendence. This patch keeps the same behaviour but lets eth_initialize take care of it. This patch refactors davinci_emac setup in the boards so that the MAC address is read from non-volatile storage into the environment variable and then the environment variable value is use in eth_intialize. The only exception is the direct call to davinci_eth_set_mac_addr made by the da830evm board init which was changed into an assignment of the enetaddr field. Signed-off-by: Ben Gardiner <bengardiner@nanometrics.ca> Tested-by: Nick Thompson <nick.thompson@ge.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
2010-10-11orion5x: fix relocation-incompatible codeAlbert Aribaud
Signed-off-by: Albert Aribaud <albert.aribaud@free.fr>
2010-10-11arm: bugfix: replace ble with blo in start.S filesAlbert Aribaud
Generalized misuse of ble within relocation and bss initialization loops caused one iteration too many. Instead of ble ('branch if lower or equal'), use blo ('branch if lower'). While we're at it, fix all 'addreee' typos. Signed-off-by: Albert Aribaud <albert.aribaud@free.fr>
2010-10-11Merge branch 'at91' of git://git.denx.de/u-boot-atmelWolfgang Denk
2010-10-11Merge branch 'master' of git://git.denx.de/u-boot-imxWolfgang Denk
2010-10-11Merge branch 'master' of git://git.denx.de/u-boot-x86Wolfgang Denk
2010-10-11Merge branch 'master' of git://git.denx.de/u-boot-mpc85xxWolfgang Denk
2010-10-07powerpc/85xx: fix rev.2 job queue LIODN error stormKim Phillips
pumping line-rate traffic though a p4080 rev.2, which is configured to encrypt packets prior to forwarding through an IPsec tunnel, gets this error: of_platform ffe302000.jq: DECO: desc idx 22: LIODN error. DECO was trying to share from itself or from another DECO but the two Non-SEQ LIODN values didn't match or the "shared from" DECO's Descriptor required that the SEQ LIODNs be the same and they aren't. Since high traffic rates cause DECOs to begin to start sharing shared descriptors amongst themselves, and DECOs inherit job queue LIODNs when accessing shared descriptors, and a recently discovered rev.2 h/w erratum requires all sharing job queues in a partition have same liodn assignment, reassign the first job queue's liodn assignment to the rest. Signed-off-by: Kim Phillips <kim.phillips@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2010-10-07powerpc/p4080: Add new CPC register - HDBCR0Kumar Gala
Manual was updated to add a new register for disabling CDQ speculation. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2010-10-07x86: Implement fully relocatable imageGraeme Russ
u-boot.bin can be loaded at any 4-byte aligned memory location and directly 'jumped' to using the 'go' command using the load address as the start address. Doing so performs a 'warm boot' which skips memory initialisation and other low-level initialisations, relocates U-Boot to upper memory and starts U-Boot in RAM as per normal 'cold boot'
2010-10-07x86: Use loops instead of memcpy/memset in board_init_fGraeme Russ
Provides a small speed increase and prepares for fully relocatable image. Downside is the TEXT_BASE, bss, load address etc must ALL be aligned on a a 4-byte boundary which is not such a terrible restriction as everything is already 4-byte aligned anyway
2010-10-07x86: Rearrange linker scriptGraeme Russ
Tidy up the linker script and discard some sections to save space
2010-10-07x86: Rename linker script symbolsGraeme Russ
Create more generic names for the symbols exported from the linker script
2010-10-07x86: Set cold/warm boot flagGraeme Russ
2010-10-07x86: Place global data below stack before entering CGraeme Russ
By reserving space for the Global Data immediately below the stack during assembly level initialisation, the C declaration of the static global data can be removed, along with the 'RAM Bootstrap' function. This results in cleaner code, and the ability to pass boot-up flags from assembler into C
2010-10-07x86: Dont clobber %eax after getting memory sizeGraeme Russ
By using another register, reduce code size by one instruction
2010-10-07x86: Don't clobber %ebxGraeme Russ
%ebx will hold low-level boot flags and must be preserved
2010-10-07x86: Remove usage of %ebp as a return pointerGraeme Russ
Using %ebp as a return pointer prevents creating 'load anywhere' images
2010-10-07x86: Move ECC initialisation outside RAM initialisationGraeme Russ
To allow for 'load anywhere' images, the %ebp return pointer 'hack' must be removed, so we cannot have two 'calls' to get_mem_size
2010-10-07x86: Remove progress indication in low-level initGraeme Russ
Progress indication is not relocation friendly so remove it in preperation for full relocatability support
2010-10-07x86: Fix %ss and %esp in register structure for interruptsGraeme Russ
2010-10-07x86: Change compiler optionsGraeme Russ
Change to: - reparam=3 - no-from-pointer - no-stack-protector - preferred-stack-boundary=2 - no-top-level-reorder These options make the code a little smaller and faster
2010-10-07x86: Coding Style CleanupGraeme Russ
Perform some basic code cleanups of the x86 files
2010-10-07x86: Move loading of GTD to C codeGraeme Russ
Linux has C macros and code to load the GTD after switching to Protected Mode. Using these greatly simplifies the assembler code
2010-10-07x86: use gc sections to reduce image sizeGraeme Russ
Follow the discussion of Charles Manning and Mike Frysinger. Using gc_sections helps reduce image size.
2010-10-07x86: zboot updateGraeme Russ
The header of recent Linux Kernels includes the size of the image, and therefore is not needed to be passed to zboot. Still process the third parameter (size of image) in the event that an older kernel is being loaded
2010-10-07x86: Make CONFIG_RELOC_FIXUP_WORKS generic for all x86 boardsGraeme Russ
Relocation is not board-specific for the x86 architectrure, so CONFIG_RELOC_FIXUP_WORKS can be defined globally in the config.h
2010-10-06PowerPC: change board specific early pci_init() into generic.Andre Schwarz
Signed-off-by: Andre Schwarz <andre.schwarz@matrix-vision.de>
2010-10-06PCU_E: remove code for yet another corpseWolfgang Denk
The PCU_E board has long reached EOL, and support for it is no longer relevant in current versions of U-Boot. Remove it. Signed-off-by: Wolfgang Denk <wd@denx.de>
2010-10-05at91: Add arch_preboot_os which disables PIT in a faster wayAlexander Stein
When disabled the PIT runs until it reaches the CPIV value. The Linux PIT driver stops the PIT and waits until it stopped. This can take over 100ms. Simply stopping in u-boot isn't sufficient as the PIT will still be running when Linux is waiting until it stopped. So, we stop it in u-boot by setting the compare value to a value slightly greater than the current running counter to make the PIT stopped in short time. Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
2010-10-05at91_emac.h: fix typo in register definitionAndreas Bießmann
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com> Acked-by: Jens Scharsig <js_at_ng@scharsoft.de>
2010-10-05AT91: convert cpu.c to struct SoC accessReinhard Meyer
Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
2010-10-05Merge branch 'master' of git://git.denx.de/u-boot-blackfinWolfgang Denk
2010-10-05Merge branch 'master' of git://git.denx.de/u-boot-ppc4xxWolfgang Denk
2010-10-05Merge branch 'next' of git://git.denx.de/u-boot-videoWolfgang Denk
2010-10-04ppc4xx: Remove some testing hacks from ppc4xx.hStefan Roese
I accidentally left these hacks in the code while doing the big header cleanup. Let's remove it now. Signed-off-by: Stefan Roese <sr@denx.de>
2010-10-04ppc4xx: Add defines for COM3 & COM4 (UART2 & UART3) on 440EPx/GRxStefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>