All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vignesh Raghavendra <vigneshr@ti.com>
To: u-boot@lists.denx.de
Subject: [PATCH v2 02/12] ARM: mach-k3: arm64-mmu: map 64bit FSS MMIO space in A53 MMU
Date: Tue, 4 Feb 2020 11:09:49 +0530	[thread overview]
Message-ID: <20200204053959.8802-3-vigneshr@ti.com> (raw)
In-Reply-To: <20200204053959.8802-1-vigneshr@ti.com>

Populate address mapping entries in A53 MMU for 4 GB of MMIO space
reserved for providing MMIO access to multiple flash devices through
OSPI/HBMC IPs within FSS.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
---
 arch/arm/mach-k3/arm64-mmu.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/mach-k3/arm64-mmu.c b/arch/arm/mach-k3/arm64-mmu.c
index 7f908eee803b..b1d1d6e494fc 100644
--- a/arch/arm/mach-k3/arm64-mmu.c
+++ b/arch/arm/mach-k3/arm64-mmu.c
@@ -49,6 +49,13 @@ struct mm_region am654_mem_map[NR_MMU_REGIONS] = {
 		.size = 0x80000000UL,
 		.attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) |
 			 PTE_BLOCK_INNER_SHARE
+	}, {
+		.virt = 0x500000000UL,
+		.phys = 0x500000000UL,
+		.size = 0x400000000UL,
+		.attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) |
+			 PTE_BLOCK_NON_SHARE |
+			 PTE_BLOCK_PXN | PTE_BLOCK_UXN
 	}, {
 		/* List terminator */
 		0,
-- 
2.25.0

  parent reply	other threads:[~2020-02-04  5:39 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-04  5:39 [PATCH v2 00/12] TI: AM654/J721e: Add support to boot from OSPI Vignesh Raghavendra
2020-02-04  5:39 ` [PATCH v2 01/12] drivers: Descend to drivers/soc unconditionally Vignesh Raghavendra
2020-06-02 13:46   ` Simon Glass
2020-02-04  5:39 ` Vignesh Raghavendra [this message]
2020-02-04  5:39 ` [PATCH v2 03/12] ARM: mach-k3: sysfw-loader: Use SPI memmapped addr when loading SYSFW Vignesh Raghavendra
2020-02-04  5:39 ` [PATCH v2 04/12] ARM: dts: k3-am65: Add OSPI DT nodes Vignesh Raghavendra
2020-02-04  5:39 ` [PATCH v2 05/12] ARM: dts: k3-j721e: " Vignesh Raghavendra
2020-02-04  5:39 ` [PATCH v2 06/12] configs: am65x_evm: Setup mtdparts for OSPI Vignesh Raghavendra
2020-02-04  5:39 ` [PATCH v2 07/12] configs: j721e_evm: " Vignesh Raghavendra
2020-02-04  5:39 ` [PATCH v2 08/12] configs: j721e_evm_defconfig: Enable OSPI configs Vignesh Raghavendra
2020-02-04  5:39 ` [PATCH v2 09/12] configs: am65x_evm_defconfig: " Vignesh Raghavendra
2020-02-04  5:39 ` [PATCH v2 10/12] board: ti: Update AM65x and J721e READMEs for OSPI boot Vignesh Raghavendra
2020-02-04  5:39 ` [PATCH v2 11/12] configs: ama65x_hs_evm: Enable OSPI related configs Vignesh Raghavendra
2020-02-04  5:39 ` [PATCH v2 12/12] configs: j721e_hs_evm: " Vignesh Raghavendra
2020-02-04 13:36 ` [PATCH v2 00/12] TI: AM654/J721e: Add support to boot from OSPI Andreas Dannenberg
2020-02-23  8:13 ` Lokesh Vutla

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200204053959.8802-3-vigneshr@ti.com \
    --to=vigneshr@ti.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.