u-boot-brain/arch
Matthias Fuchs 61698fd563 mx28: fix SPL code to make USB booting work
This patch fixes booting i.MX28 CPUs via USB download.
In this mode the CPU's bootrom implements a USB HID device that
accepts a bootstream.

When downloading the bootstream via USB, first the SPL code is
received and executed. Then the u-boot image is received and
called.

The USB bootmode is interrupt driven.

This patch fixes two things:

1) The ARM's fast interrupt mode is disabled when the SPL code
has been run. So save and restore the CPSR register.

2) Save and restore c1 control register: the exception vector
location needs to be set back to bootrom space to make the USB
interrupts work again. The SPL code needs to change this
option for the ram size probing.

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu>
Acked-by: Marek Vasut <marek.vasut@gmail.com>
2012-02-27 21:19:23 +01:00
..
arm mx28: fix SPL code to make USB booting work 2012-02-27 21:19:23 +01:00
avr32 Merge branch 'next' of ../next 2011-12-23 20:53:58 +01:00
blackfin linkage.h: move from blackfin to common includes 2012-02-12 15:03:26 -05:00
m68k m68k: fix ambiguous bit testing 2011-12-05 21:55:25 +01:00
microblaze microblaze: avoid interrupt race conditions 2012-02-23 12:16:04 +01:00
mips arch/mips/lib/board.c: Fix GCC 4.6 build warning 2011-12-08 21:01:15 +01:00
nds32 nds32/ag101: clean up for SoC related code 2011-11-23 14:05:51 +08:00
nios2 nios2: Offer ft_board_setup() capability and call fdt_fixup_ethernet(). 2011-10-30 21:02:43 +08:00
openrisc openrisc: Add library functions 2012-01-13 21:16:48 +01:00
powerpc powerpc/8xxx:Add MPH controller support in USB device-tree fixup 2012-02-15 16:50:14 -06:00
sandbox sandbox: fix compiling of cpu/os.c 2011-12-10 17:56:37 -05:00
sh Coding Style cleanup 2011-12-19 12:03:40 +01:00
sparc sparc: fix unused variable warnings 2011-12-05 21:55:24 +01:00
x86 x86: Convert board_init_f_r to a processing loop 2012-01-04 22:53:14 +11:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00