public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Andre Przywara <andre.przywara@arm.com>
To: u-boot@lists.denx.de
Subject: [PATCH 2/3] rpi4: Update memory map to accommodate scb devices
Date: Wed, 18 Dec 2019 11:59:17 +0000	[thread overview]
Message-ID: <20191218115918.6366-3-andre.przywara@arm.com> (raw)
In-Reply-To: <20191218115918.6366-1-andre.przywara@arm.com>

From: Amit Singh Tomar <amittomer25@gmail.com>

Some of the devices(for instance, pcie and gnet controller) sitting on
SCB bus falls behind/below the memory range that we currenty have.

This patch updates the memory range to map those devices correctly.

Signed-off-by: Amit Singh Tomar <amittomer25@gmail.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
---
 arch/arm/mach-bcm283x/init.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/mach-bcm283x/init.c b/arch/arm/mach-bcm283x/init.c
index 3b5f45b431..9966d6c833 100644
--- a/arch/arm/mach-bcm283x/init.c
+++ b/arch/arm/mach-bcm283x/init.c
@@ -42,9 +42,9 @@ static struct mm_region bcm2711_mem_map[] = {
 		.attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) |
 			 PTE_BLOCK_INNER_SHARE
 	}, {
-		.virt = 0xfe000000UL,
-		.phys = 0xfe000000UL,
-		.size = 0x01800000UL,
+		.virt = 0xfc000000UL,
+		.phys = 0xfc000000UL,
+		.size = 0x03800000UL,
 		.attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) |
 			 PTE_BLOCK_NON_SHARE |
 			 PTE_BLOCK_PXN | PTE_BLOCK_UXN
-- 
2.17.1

  parent reply	other threads:[~2019-12-18 11:59 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-18 11:59 [PATCH 0/3] Ethernet support for Raspberry Pi 4 Andre Przywara
2019-12-18 11:59 ` [PATCH 1/3] net: Add support for Broadcom GENETv5 Ethernet controller Andre Przywara
2019-12-19 11:32   ` Daniel Schwierzeck
2019-12-19 11:42     ` Andre Przywara
2019-12-19 12:58       ` Daniel Schwierzeck
2019-12-20 15:47         ` Andre Przywara
2019-12-21  3:41         ` Florian Fainelli
2019-12-19 17:29   ` Matthias Brugger
2019-12-20 19:29   ` Stefan Wahren
2019-12-23 18:42     ` Stefan Wahren
2019-12-23 22:24       ` André Przywara
2019-12-24 18:30         ` Sascha Dewald
2019-12-27 11:15           ` Amit Tomer
2019-12-18 11:59 ` Andre Przywara [this message]
2019-12-18 11:59 ` [PATCH 3/3] rpi4: Enable GENET " Andre Przywara
2019-12-19  8:27 ` [PATCH 0/3] Ethernet support for Raspberry Pi 4 Sascha Dewald

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=20191218115918.6366-3-andre.przywara@arm.com \
    --to=andre.przywara@arm.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox