[U-Boot] [PATCH] LS1043A: Add bugfix for IFC beyond 4 GiB

Priyanka Jain priyanka.jain at nxp.com
Fri Oct 18 10:36:40 UTC 2019



>-----Original Message-----
>From: U-Boot <u-boot-bounces at lists.denx.de> On Behalf Of
>georg.kirschbaum at siemens.com
>Sent: Tuesday, September 24, 2019 4:16 PM
>To: u-boot at lists.denx.de
>Subject: [U-Boot] [PATCH] LS1043A: Add bugfix for IFC beyond 4 GiB
>
>From b5691db49dc3844b650f78634c35f091df906095 Mon Sep 17 00:00:00
>2001
>From: Georg Kirschbaum <georg.kirschbaum at siemens.com>
>Date: Fri, 13 Sep 2019 14:45:30 +0200
>Subject: [PATCH] LS1043A: Add bugfix for IFC beyond 4 GiB
>
>IFC region 2 [0x620000000, 0x700000000) was not usable because the MMU
>entries were missing.
>In case of CONFIG_FSL_LSCH2 they are added in early_map and final_map.
>
>Signed-off-by: Georg Kirschbaum <georg.kirschbaum at siemens.com>
>Cc: Prabhakar Kushwaha <prabhakar.kushwaha at nxp.com>
Above email-id does not exists
Please update to Priyanka Jain <Priyanka.jain at nxp.com>
>---
> arch/arm/cpu/armv8/fsl-layerscape/cpu.c        | 12 ++++++++++++
> arch/arm/include/asm/arch-fsl-layerscape/cpu.h |  2 ++
> 2 files changed, 14 insertions(+)
>
>diff --git a/arch/arm/cpu/armv8/fsl-layerscape/cpu.c
>b/arch/arm/cpu/armv8/fsl- layerscape/cpu.c index edb9c96658..4ecdb6a7c4
>100644
>--- a/arch/arm/cpu/armv8/fsl-layerscape/cpu.c
>+++ b/arch/arm/cpu/armv8/fsl-layerscape/cpu.c
>@@ -168,6 +168,12 @@ static struct mm_region early_map[] = {  #endif
> 	  PTE_BLOCK_OUTER_SHARE | PTE_BLOCK_NS
> 	},
>+#ifdef CONFIG_FSL_IFC
>+	{ CONFIG_SYS_FSL_IFC_BASE2, CONFIG_SYS_FSL_IFC_BASE2,
>+	  CONFIG_SYS_FSL_IFC_SIZE2,
>+	  PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) |
>PTE_BLOCK_NON_SHARE
>+	},
>+#endif
Please rebase to top of tree. IFC_BASE2 entry already exists in early_map

<snip>

--priyankajain


More information about the U-Boot mailing list