public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH][v2] boards/c29xpcie: Update TLB and LAW size for IFC NAND, CPLD
@ 2013-09-24 10:28 Prabhakar Kushwaha
  2013-10-01 15:51 ` York Sun
  0 siblings, 1 reply; 2+ messages in thread
From: Prabhakar Kushwaha @ 2013-09-24 10:28 UTC (permalink / raw)
  To: u-boot

 NAND,CPLD AMASK register is programmed for 64K size.

so Update TLB & LAW size accordingly.

Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
---

 Based upon git://git.denx.de/u-boot.git branch master

  changes for v2: 
  - Updated both CPLD and NAND

 board/freescale/c29xpcie/law.c |    4 ++--
 board/freescale/c29xpcie/tlb.c |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/board/freescale/c29xpcie/law.c b/board/freescale/c29xpcie/law.c
index cd8fc21..80e5fff 100644
--- a/board/freescale/c29xpcie/law.c
+++ b/board/freescale/c29xpcie/law.c
@@ -10,8 +10,8 @@
 
 struct law_entry law_table[] = {
 	SET_LAW(CONFIG_SYS_FLASH_BASE_PHYS, LAW_SIZE_64M, LAW_TRGT_IF_IFC),
-	SET_LAW(CONFIG_SYS_CPLD_BASE_PHYS, LAW_SIZE_4K, LAW_TRGT_IF_IFC),
-	SET_LAW(CONFIG_SYS_NAND_BASE_PHYS, LAW_SIZE_16K, LAW_TRGT_IF_IFC),
+	SET_LAW(CONFIG_SYS_CPLD_BASE_PHYS, LAW_SIZE_64K, LAW_TRGT_IF_IFC),
+	SET_LAW(CONFIG_SYS_NAND_BASE_PHYS, LAW_SIZE_64K, LAW_TRGT_IF_IFC),
 	SET_LAW(CONFIG_SYS_PLATFORM_SRAM_BASE_PHYS, LAW_SIZE_512K,
 					LAW_TRGT_IF_PLATFORM_SRAM),
 };
diff --git a/board/freescale/c29xpcie/tlb.c b/board/freescale/c29xpcie/tlb.c
index ddd1ef8..84844ee 100644
--- a/board/freescale/c29xpcie/tlb.c
+++ b/board/freescale/c29xpcie/tlb.c
@@ -46,11 +46,11 @@ struct fsl_e_tlb_entry tlb_table[] = {
 
 	SET_TLB_ENTRY(1, CONFIG_SYS_CPLD_BASE, CONFIG_SYS_CPLD_BASE_PHYS,
 			MAS3_SW|MAS3_SR, MAS2_I|MAS2_G,
-			0, 4, BOOKE_PAGESZ_4K, 1),
+			0, 4, BOOKE_PAGESZ_64K, 1),
 
 	SET_TLB_ENTRY(1, CONFIG_SYS_NAND_BASE, CONFIG_SYS_NAND_BASE_PHYS,
 			MAS3_SW|MAS3_SR, MAS2_I|MAS2_G,
-			0, 5, BOOKE_PAGESZ_16K, 1),
+			0, 5, BOOKE_PAGESZ_64K, 1),
 
 	SET_TLB_ENTRY(1, CONFIG_SYS_PLATFORM_SRAM_BASE,
 			CONFIG_SYS_PLATFORM_SRAM_BASE_PHYS,
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH][v2] boards/c29xpcie: Update TLB and LAW size for IFC NAND, CPLD
  2013-09-24 10:28 [U-Boot] [PATCH][v2] boards/c29xpcie: Update TLB and LAW size for IFC NAND, CPLD Prabhakar Kushwaha
@ 2013-10-01 15:51 ` York Sun
  0 siblings, 0 replies; 2+ messages in thread
From: York Sun @ 2013-10-01 15:51 UTC (permalink / raw)
  To: u-boot

On 09/24/2013 03:28 AM, Prabhakar Kushwaha wrote:
>  NAND,CPLD AMASK register is programmed for 64K size.
> 
> so Update TLB & LAW size accordingly.
> 
> Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
> ---
> 
>  Based upon git://git.denx.de/u-boot.git branch master
> 
>   changes for v2: 
>   - Updated both CPLD and NAND
> 

Applied to u-boot-mpc85xx/next branch, pending merging to
u-boot-mpc85xx/master branch.

York

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-10-01 15:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-24 10:28 [U-Boot] [PATCH][v2] boards/c29xpcie: Update TLB and LAW size for IFC NAND, CPLD Prabhakar Kushwaha
2013-10-01 15:51 ` York Sun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox