aboutsummaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)Author
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-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>
2010-10-04APM821xx: Add CPU supportTirumala Marri
APM821XX is a new line of SoCs which are derivatives of PPC44X family of processors. This patch adds support of CPU, cache, tlb, 32k ocm, bootstraps, PLB and AHB bus. Signed-off-by: Tirumala R Marri <tmarri@apm.com> Signed-off-by: Stefan Roese <sr@denx.de>
2010-10-02Blackfin: fix MMC init output alignmentMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-02Blackfin: propagate target cpu defines when building embedded envMike Frysinger
Since we're no longer extracting the env from the target ELF file (since upstream wouldn't take that change), we're back to the problem of cpu defines not properly propagating to the env setup stage. So the embedded env built by the host compiler doesn't match the one that is linked into the u-boot env. Reported-by: Vivi Li <vivi.li@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-02Blackfin: cmd_gpio: accept upper case pin namesMike Frysinger
The intention all along was to accept pin names irrelevant of their case. But I guess I forgot to test/implement support for that. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-02Blackfin: cmd_gpio: return gpio value to callerMike Frysinger
Make the GPIO command usable in a scripting environment by returning the GPIO value rather than always 0. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-02Blackfin: cmd_gpio: document/extend input sub-optionMike Frysinger
The input sub command was missing from the help text, and it didn't show the actual value currently read on the GPIO. This allows people to read the value of input pins. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-02Blackfin: move CONFIG_BFIN_CPU to board config.mkMike Frysinger
The CONFIG_BFIN_CPU option is largely used in the build system, so move it out of the board config.h and into the board config.mk. It'd be nice to keep everything in the config.h, but the patch to extract that value early was rejected. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-02Blackfin: bf561: merge headersMike Frysinger
Only the BF561 port was using the common dual core headers, so merge them into the BF561 specific headers. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-02Blackfin: bf533: merge headersMike Frysinger
Only the BF533 port was using the common extended headers, so merge them into the BF533 specific headers. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-02Blackfin: unify core MMRsMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-02Blackfin: bf52x: unify arch header duplicationMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-02Blackfin: bf537: unify arch header duplicationMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-02Blackfin: punt old *p style volatile MMR definesMike Frysinger
These are unused now, so punt them to clean things up. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-02Blackfin: punt headers for non-existent BF541Mike Frysinger
There is no BF541 processor variant, so punt headers for it. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-02Blackfin: bfin_spi: add optional DMA supportMike Frysinger
This moves the last piece from the old spi_flash driver to the new SPI framework -- optional DMA RX support. This typically cuts speeds by ~40% at the cost of additional ~300 bytes. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-02Blackfin: add support for BF51x partsMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-02Blackfin: add support for BF538/BF539 processorsMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-09-28Merge branch 'next' of /home/wd/git/u-boot/nextWolfgang Denk
Conflicts: include/ppc4xx.h Signed-off-by: Wolfgang Denk <wd@denx.de>
2010-09-28mpc512x: fix build issuesWolfgang Denk
Commit 800eb0964 "POST cleanup." removed file arch/powerpc/cpu/mpc512x/common.c but failed to remove the reference to it from arch/powerpc/cpu/mpc512x/Makefile which causes somewhat obscure build errors: make[1]: *** No rule to make target `/work/wd/tmp-ppc/arch/powerpc/cpu/mpc512x/.depend', needed by `_depend'. Stop. Fix these. Signed-off-by: Wolfgang Denk <wd@denx.de>
2010-09-28ARMV7: OMAP4: Calculate SDRAM sizeAneesh V
Calculate the SDRAM size from DMM configuration registers instead of using hard-coded values. This gives correct values for all different boards. It's assumed that DMM sections do not overlap memory areas. Signed-off-by: Aneesh V <aneesh@ti.com> Tested-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
2010-09-28ixp/npe: Remove duplicated commentThomas Weber
Signed-off-by: Thomas Weber <weber@corscience.de>