u-boot-brain/arch
Gabor Juhos 10473d0490 malta: use unmapped flash base address
The physical base address of the NOR flash is 0x1e000000
on the Malta boards. The hardware also maps the first 4MiB
of the flash into the 0x1fc00000-0x1fffffff range.

Currently, U-Boot uses the mapped address to access the
flash, which does not work in recent qemu versions.

Since commit a427338b222b43197c2776cbc996936df0302f51
(mips_malta: correct reading MIPS revision at 0x1fc00010)
writing to the mapped address space causes a CPU exception.
Due to the exception, U-Boot hangs during boot when it tries
to detect the CFI flash chip.

Use the correct physical address for the MALTA_FLASH_BASE
constant to fix the problem. In order to avoid relocation
problems, also update the CONFIG_SYS_{TEXT,MONITOR}_BASE
constants.

The change makes it possible to start U-Boot on a Malta
board emulated with Qemu 1.6.1 and 1.7.0-rc0. It also
works on older versions (tested with 1.1.1, 1.2.2, 1.4.2,
1.5.3).

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Cc: Paul Burton <paul.burton@imgtec.com>
2013-11-15 11:16:59 +01:00
..
arm omap3_dss: define DSS_ONOFF 2013-11-12 10:11:03 +01:00
avr32 avr32: convert makefiles to Kbuild style 2013-10-31 13:26:45 -04:00
blackfin include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00
m68k include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00
microblaze include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00
mips malta: use unmapped flash base address 2013-11-15 11:16:59 +01:00
nds32 nds32: convert makefiles to Kbuild style 2013-11-01 11:42:11 -04:00
nios2 nios2: convert makefiles to Kbuild style 2013-11-01 11:42:11 -04:00
openrisc openrisc: convert makefiles to Kbuild style 2013-10-31 13:26:45 -04:00
powerpc MPC824x: remove obsolete "PN62" board 2013-11-11 14:46:24 -05:00
sandbox sandbox: convert makefiles to Kbuild style 2013-10-31 13:26:44 -04:00
sh sh: convert to common timer code 2013-11-04 11:08:10 -05:00
sparc include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00
x86 cosmetic: remove empty lines at the top of file 2013-11-08 09:41:37 -05:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00