u-boot/cpu/mpc85xx
Dave Liu f51f07eb58 85xx: Fix the boot window issue
If one custom board is using the 8MB flash, it is set
as FLASH_BASE = 0xef000000, TEXT_BASE = 0xef780000.
The current start.S code will be broken at switch_as.

It is because the TLB1[15] is set as 16MB page size,
EPN = TEXT_BASE & 0xff000000, RPN = 0xff000000.

For the 8MB flash case, the EPN = 0xefxxxxxx,
RPN = 0xffxxxxxx. Assume the virt address of switch_as
is 0xef7ff18c, the real address of the instruction at
switch_as should be 0xff7ff18c. the 0xff7ff18c is out
of the range of the default 8MB boot LAW window
0xff800000 - 0xffffffff.

So when we switch to AS1 address space at switch_as,
the core can't fetch the instruction at switch_as any
more. It will cause broken issue.

Signed-off-by: Dave Liu <daveliu@freescale.com>
2008-12-19 18:32:48 -06:00
..
commproc.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
config.mk 85xx: Add -mno-spe to e500/85xx builds 2008-04-29 20:08:43 +02:00
cpu.c mpc8xxx: LCRR[CLKDIV] is sometimes five bits 2008-12-19 18:20:25 -06:00
cpu_init.c 85xx: init gd as early as possible 2008-12-04 03:15:43 -06:00
ddr-gen1.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
ddr-gen2.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
ddr-gen3.c 85xx: Fix the incorrect register used for DDR erratum1 2008-10-24 17:29:37 -05:00
ether_fcc.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
fdt.c mpc8[56]xx: Put localbus clock in device tree 2008-12-19 18:20:20 -06:00
interrupts.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
Makefile mpc85xx: Add support for the MPC8536 2008-08-27 11:43:54 -05:00
mp.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
mp.h 85xx: Add cpu_mp_lmb_reserve helper to reserve boot page 2008-03-26 11:43:04 -05:00
mpc8536_serdes.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
pci.c 85xx: Add PORDEVSR_PCI1 define 2008-12-04 03:15:43 -06:00
qe_io.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
release.S Set IVPR to kenrel entry point in second core boot page 2008-12-19 18:32:41 -06:00
resetvec.S * Patches by Xianghua Xiao, 15 Oct 2003: 2003-10-15 23:53:47 +00:00
serial_scc.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
speed.c Merge 'next' branch 2008-10-18 21:59:44 +02:00
start.S 85xx: Fix the boot window issue 2008-12-19 18:32:48 -06:00
tlb.c 85xx: Add support to populate addr map based on TLB settings 2008-12-19 18:20:08 -06:00
traps.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00