diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2008-12-02 14:19:34 -0600 |
---|---|---|
committer | Andrew Fleming-AFLEMING <afleming@freescale.com> | 2009-01-23 17:03:13 -0600 |
commit | c953ddfd56b3ae3f28910fe3aed6de6968d1c9aa (patch) | |
tree | d0057760ae704d3a5a6fe30803243cdbb3d923b1 /board/freescale/mpc8536ds/tlb.c | |
parent | 52b565f5ad23b682489055b187767d8bf1c2e444 (diff) | |
download | u-boot-imx-c953ddfd56b3ae3f28910fe3aed6de6968d1c9aa.zip u-boot-imx-c953ddfd56b3ae3f28910fe3aed6de6968d1c9aa.tar.gz u-boot-imx-c953ddfd56b3ae3f28910fe3aed6de6968d1c9aa.tar.bz2 |
85xx: separate FLASH BASE virtual from physical address
Added a CONFIG_SYS_FLASH_BASE_PHYS for use as the physical address and
maintain CONFIG_SYS_FLASH_BASE as the virtual address of the flash.
This allows us to deal with 36-bit phys on these boards in the future.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'board/freescale/mpc8536ds/tlb.c')
-rw-r--r-- | board/freescale/mpc8536ds/tlb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/mpc8536ds/tlb.c b/board/freescale/mpc8536ds/tlb.c index 89d5097..f4bab55 100644 --- a/board/freescale/mpc8536ds/tlb.c +++ b/board/freescale/mpc8536ds/tlb.c @@ -53,7 +53,7 @@ struct fsl_e_tlb_entry tlb_table[] = { /* W**G* - Flash/promjet, localbus */ /* This will be changed to *I*G* after relocation to RAM. */ - SET_TLB_ENTRY(1, CONFIG_SYS_FLASH_BASE, CONFIG_SYS_FLASH_BASE, + SET_TLB_ENTRY(1, CONFIG_SYS_FLASH_BASE, CONFIG_SYS_FLASH_BASE_PHYS, MAS3_SX|MAS3_SR, MAS2_W|MAS2_G, 0, 1, BOOKE_PAGESZ_256M, 1), |