u-boot/arch/arm/cpu/arm926ejs
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
..
armada100 bugfix: all Marvell specific build fails due to undefined reference to `get_ticks' 2012-02-12 10:11:28 +01:00
at91 Fix Stelian's email address 2011-11-29 15:43:38 +01:00
davinci Changes to move hawkboard to the new spl infrastructure 2012-02-12 10:11:33 +01:00
kirkwood bugfix: all Marvell specific build fails due to undefined reference to `get_ticks' 2012-02-12 10:11:28 +01:00
mb86r0x Fix Stelian's email address 2011-11-29 15:43:38 +01:00
mx25 net: imx: Add multi-FEC support for imx_get_mac_from_fuse 2012-01-16 08:40:09 +01:00
mx27 mmc: access mxcmmc from mx31 boards 2012-02-12 10:11:26 +01:00
mx28 mx28: fix SPL code to make USB booting work 2012-02-27 21:19:23 +01:00
nomadik Timer: Remove reset_timer() for non-Nios2 arches 2011-07-26 14:53:30 +02:00
omap arch/arm/cpu/arm926ejs/omap/cpuinfo.c: Fix GCC 4.6 warnings 2011-11-23 08:14:27 +01:00
orion5x bugfix: all Marvell specific build fails due to undefined reference to `get_ticks' 2012-02-12 10:11:28 +01:00
pantheon bugfix: all Marvell specific build fails due to undefined reference to `get_ticks' 2012-02-12 10:11:28 +01:00
spear punt unused clean/distclean targets 2011-10-15 22:20:36 +02:00
versatile Convert ISO-8859 files to UTF-8 2011-08-04 23:34:02 +02:00
cache.c arm, arm-kirkwood: disable l2c before linux boot 2012-02-12 10:11:28 +01:00
config.mk Reduce build times 2011-11-03 20:44:58 +01:00
cpu.c arm, arm-kirkwood: disable l2c before linux boot 2012-02-12 10:11:28 +01:00
Makefile arm926ejs: add noop implementation for dcache ops 2011-12-06 23:59:35 +01:00
start.S arm, arm926ejs: Enable icache only if CONFIG_SYS_ICACHE_OFF is not defined 2012-02-12 10:11:33 +01:00
u-boot.lds arm: fix incorrect monitor protection region in FLASH 2011-03-27 19:18:52 +02:00