u-boot-brain/arch/arm/cpu
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
..
arm720t Reduce build times 2011-11-03 20:44:58 +01:00
arm920t add print_cpuinfo to s3c24x0 2011-12-19 17:52:44 +01:00
arm925t Reduce build times 2011-11-03 20:44:58 +01:00
arm926ejs mx28: fix SPL code to make USB booting work 2012-02-27 21:19:23 +01:00
arm946es Reduce build times 2011-11-03 20:44:58 +01:00
arm1136 MX31: add missing get_tbclk() 2012-02-27 21:19:23 +01:00
arm1176 Reduce build times 2011-11-03 20:44:58 +01:00
arm_intcm Reduce build times 2011-11-03 20:44:58 +01:00
armv7 MX5/MX6: add missing get_ticks() and get_tbclk() 2012-02-27 21:19:23 +01:00
ixp Reduce build times 2011-11-03 20:44:58 +01:00
lh7a40x Reduce build times 2011-11-03 20:44:58 +01:00
pxa pxa: activate the first usb host port on pxa27x by default 2011-12-11 14:41:05 +01:00
s3c44b0 Reduce build times 2011-11-03 20:44:58 +01:00
sa1100 Reduce build times 2011-11-03 20:44:58 +01:00