u-boot-brain/cpu
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
..
74xx_7xx Update U-Boot's build timestamp on every compile 2008-12-06 23:36:43 +01:00
arm720t Remove compiler warning: target CPU does not support interworking 2008-12-13 23:41:23 +01:00
arm920t i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions 2008-12-15 23:46:21 +01:00
arm925t Remove compiler warning: target CPU does not support interworking 2008-12-13 23:41:23 +01:00
arm926ejs i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions 2008-12-15 23:46:21 +01:00
arm946es Remove compiler warning: target CPU does not support interworking 2008-12-13 23:41:23 +01:00
arm1136 Change to use "do_div" macro 2008-11-04 23:40:05 +01:00
arm1176 rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
arm_intcm Remove compiler warning: target CPU does not support interworking 2008-12-13 23:41:23 +01:00
at32ap rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
blackfin i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions 2008-12-15 23:46:21 +01:00
i386 Fixed path to sc520 SSI include file 2008-12-10 00:34:09 +01:00
ixp Moved initialization of IXP4XX_NPE Ethernet controller to cpu_eth_init() 2008-11-09 21:38:02 -08:00
leon2 Update U-Boot's build timestamp on every compile 2008-12-06 23:36:43 +01:00
leon3 Update U-Boot's build timestamp on every compile 2008-12-06 23:36:43 +01:00
lh7a40x Remove compiler warning: target CPU does not support interworking 2008-12-13 23:41:23 +01:00
mcf52x2 Coding style cleanup, update CHANGELOG. 2008-12-16 01:02:17 +01:00
mcf523x Update U-Boot's build timestamp on every compile 2008-12-06 23:36:43 +01:00
mcf532x Update U-Boot's build timestamp on every compile 2008-12-06 23:36:43 +01:00
mcf547x_8x Update U-Boot's build timestamp on every compile 2008-12-06 23:36:43 +01:00
mcf5227x Update U-Boot's build timestamp on every compile 2008-12-06 23:36:43 +01:00
mcf5445x Update U-Boot's build timestamp on every compile 2008-12-06 23:36:43 +01:00
microblaze rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
mips MIPS: Flush data cache upon relocation 2008-12-10 23:29:12 +09:00
mpc5xx Update U-Boot's build timestamp on every compile 2008-12-06 23:36:43 +01:00
mpc5xxx i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions 2008-12-15 23:46:21 +01:00
mpc8xx i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions 2008-12-15 23:46:21 +01:00
mpc8xxx/ddr fsl ddr skip interleaving if not supported. 2008-12-03 22:47:19 -06:00
mpc83xx Update U-Boot's build timestamp on every compile 2008-12-06 23:36:43 +01:00
mpc85xx 85xx: Fix the boot window issue 2008-12-19 18:32:48 -06:00
mpc86xx mpc8xxx: LCRR[CLKDIV] is sometimes five bits 2008-12-19 18:20:25 -06:00
mpc512x i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions 2008-12-15 23:46:21 +01:00
mpc824x i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions 2008-12-15 23:46:21 +01:00
mpc8220 i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions 2008-12-15 23:46:21 +01:00
mpc8260 i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions 2008-12-15 23:46:21 +01:00
nios Update U-Boot's build timestamp on every compile 2008-12-06 23:36:43 +01:00
nios2 Update U-Boot's build timestamp on every compile 2008-12-06 23:36:43 +01:00
ppc4xx Coding style cleanup, update CHANGELOG. 2008-12-16 01:02:17 +01:00
pxa i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions 2008-12-15 23:46:21 +01:00
s3c44b0 Remove compiler warning: target CPU does not support interworking 2008-12-13 23:41:23 +01:00
sa1100 Remove compiler warning: target CPU does not support interworking 2008-12-13 23:41:23 +01:00
sh2 sh: Update sh timer function 2008-12-10 23:11:35 +09:00
sh3 sh: Update sh timer function 2008-12-10 23:11:35 +09:00
sh4 sh: Update sh timer function 2008-12-10 23:11:35 +09:00