On Tue, May 08, 2018 at 02:29:32PM -0700, Andrey Smirnov wrote:
> Seeing
>
> create_sections(ttb, 0, PAGE_SIZE, ...);
>
> as the code the creates initial flat 4 GiB mapping is a bit less
> intuitive then
>
> create_sections(ttb, 0, SZ_4G, ...);
>
> so, for the sake of clarificat
Hi Andrey,
On Tue, May 08, 2018 at 02:29:30PM -0700, Andrey Smirnov wrote:
> Both TTB index and address used to fill that entry are derived from
> the same variable 'addr' which requires shifting right and left by 20
> and somewhat confusing.
>
> Split the counter used to iterate over elements of
Signed-off-by: Alexander Kurz
---
arch/arm/mach-imx/imx50.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/arch/arm/mach-imx/imx50.c b/arch/arm/mach-imx/imx50.c
index d6ff6dfc2..6d121eaf8 100644
--- a/arch/arm/mach-imx/imx50.c
+++ b/arch/arm/mach-imx/imx50.c
@@ -83
The given SRSR register location is also valid for the i.MX50.
Signed-off-by: Alexander Kurz
---
arch/arm/mach-imx/imx50.c | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/mach-imx/imx50.c b/arch/arm/mach-imx/imx50.c
index 6d121eaf8..f7cbc9d4b 100644
--- a/arch/arm/mach-imx/imx50