summaryrefslogtreecommitdiff
path: root/board/freescale/t4qds/law.c
diff options
context:
space:
mode:
authorPrabhakar Kushwaha <prabhakar@freescale.com>2012-12-18 00:15:45 +0000
committerAndy Fleming <afleming@freescale.com>2013-01-30 11:25:09 -0600
commitac13eb5de0e465b1bfddab2cdb3a902f583043e8 (patch)
tree6e924a651af14ccf472e6c949602c806cfc1ecb9 /board/freescale/t4qds/law.c
parent2d9f26b69377b3a5953d4422724069d9456c2684 (diff)
downloadu-boot-imx-ac13eb5de0e465b1bfddab2cdb3a902f583043e8.zip
u-boot-imx-ac13eb5de0e465b1bfddab2cdb3a902f583043e8.tar.gz
u-boot-imx-ac13eb5de0e465b1bfddab2cdb3a902f583043e8.tar.bz2
board/T4240qds:Fix TLB and LAW size of NAND flash
The internal SRAM of Freescale's IFC NAND machine is of 64K and controller's Address Mask Registers is initialised with the same. So Update TLB and LAW size of NAND flash accordingly. Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'board/freescale/t4qds/law.c')
-rw-r--r--board/freescale/t4qds/law.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/t4qds/law.c b/board/freescale/t4qds/law.c
index 5debcf6..6f2c5c8 100644
--- a/board/freescale/t4qds/law.c
+++ b/board/freescale/t4qds/law.c
@@ -40,7 +40,7 @@ struct law_entry law_table[] = {
SET_LAW(CONFIG_SYS_DCSRBAR_PHYS, LAW_SIZE_4M, LAW_TRGT_IF_DCSR),
#endif
#ifdef CONFIG_SYS_NAND_BASE_PHYS
- SET_LAW(CONFIG_SYS_NAND_BASE_PHYS, LAW_SIZE_1M, LAW_TRGT_IF_IFC),
+ SET_LAW(CONFIG_SYS_NAND_BASE_PHYS, LAW_SIZE_64K, LAW_TRGT_IF_IFC),
#endif
};