Skip to contentSkip to conversation

Add support for reading memory configuration from DT at run-time

PATCH Superseded Michal Simek 2 participants 7 messages Jul 16, 2018 – Jul 19, 2018

Subsystems (6)

v5 of 6 Superseded Latest is v6 →

lore
Share & tools
lore
#0 lore raw

v5 cover Add support for reading memory configuration from DT at run-time

Hi,

this is series which was send by Siva. I have just put there missing Tom's tag which we got and adding more people to TO.

Thanks,
Michal

Changes in v5:
- Add Tom's tag -
https://lists.denx.de/pipermail/u-boot/2018-June/332810.html
- Add Tom's tag -
https://lists.denx.de/pipermail/u-boot/2018-June/332810.html

Changes in v4:
- Rebased on latest master and used
available ram_base
- Separate the rename patch
- Rebased on latest master
- None, rebased on latest master

Changes in v3:
- Used new varibale ram_start
- Rename fdtdec_setup_memory_size

Changes in v2:
- Removed commit reference from description as per comment
- Update memory node as per comment
- Removed intc and fclk as per comment

Siva Durga Prasad Paladugu (5):
lib: fdtdec: Update ram_base to store ram start adddress
lib: fdtdec: Rename routine fdtdec_setup_memory_size()
arm: zynq: Dont define SDRAM_BASE and SDRAM_SIZE in .h
arm: zynq: Add Nand flash mini u-boot configuration for zynq
arm: zynq: Add parallel NOR flash mini u-boot configuration for zynq

 arch/arm/dts/Makefile                              |  2 +
 arch/arm/dts/zynq-cse-nand.dts                     | 80 ++++++++++++++++++++
 arch/arm/dts/zynq-cse-nor.dts                      | 88 ++++++++++++++++++++++
 arch/arm/mach-mvebu/arm64-common.c                 |  2 +-
 board/emulation/qemu-arm/qemu-arm.c                |  2 +-
 board/renesas/alt/alt.c                            |  2 +-
 board/renesas/blanche/blanche.c                    |  2 +-
 board/renesas/draak/draak.c                        |  2 +-
 board/renesas/eagle/eagle.c                        |  2 +-
 board/renesas/gose/gose.c                          |  2 +-
 board/renesas/koelsch/koelsch.c                    |  2 +-
 board/renesas/lager/lager.c                        |  2 +-
 board/renesas/porter/porter.c                      |  2 +-
 board/renesas/salvator-x/salvator-x.c              |  2 +-
 board/renesas/silk/silk.c                          |  2 +-
 board/renesas/stout/stout.c                        |  2 +-
 board/renesas/ulcb/ulcb.c                          |  2 +-
 board/st/stm32f429-discovery/stm32f429-discovery.c |  2 +-
 .../st/stm32f429-evaluation/stm32f429-evaluation.c |  2 +-
 board/st/stm32f469-discovery/stm32f469-discovery.c |  2 +-
 board/st/stm32h743-disco/stm32h743-disco.c         |  2 +-
 board/st/stm32h743-eval/stm32h743-eval.c           |  2 +-
 board/xilinx/zynq/board.c                          |  2 +-
 board/xilinx/zynqmp/zynqmp.c                       |  2 +-
 board/xilinx/zynqmp_r5/board.c                     |  2 +-
 common/board_f.c                                   |  4 +-
 configs/zynq_cse_nand_defconfig                    | 50 ++++++++++++
 configs/zynq_cse_nor_defconfig                     | 50 ++++++++++++
 include/configs/zynq_cse.h                         |  3 -
 include/fdtdec.h                                   | 16 ++--
 lib/fdtdec.c                                       |  3 +-
 tools/patman/func_test.py                          |  2 +-
 tools/patman/test/0000-cover-letter.patch          |  2 +-
 ...-cast-for-sandbox-in-fdtdec_setup_memory_.patch |  4 +-
 tools/patman/test/test01.txt                       |  2 +-
 35 files changed, 310 insertions(+), 40 deletions(-)
 create mode 100644 arch/arm/dts/zynq-cse-nand.dts
 create mode 100644 arch/arm/dts/zynq-cse-nor.dts
 create mode 100644 configs/zynq_cse_nand_defconfig
 create mode 100644 configs/zynq_cse_nor_defconfig
Signature · 1 line
1.9.1
#1 lore raw

PATCH v5 1/5 lib: fdtdec: Update ram_base to store ram start adddress

From: Siva Durga Prasad Paladugu <[email protected]>

This patch updates the ram_base to store the start address of the first bank DRAM and the use this ram_base to calculate ram_top properly. This patch fixes the erroneous calculation of ram_top incase of non zero ram start address.

---

Changes in v5:
- Add Tom's tag -
https://lists.denx.de/pipermail/u-boot/2018-June/332810.html

Changes in v4:
- Rebased on latest master and used
available ram_base

Changes in v3:
- Used new varibale ram_start
- Rename fdtdec_setup_memory_size

Changes in v2: None

 common/board_f.c | 4 ++--
 lib/fdtdec.c     | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)
common/board_f.c +2 -2
index e943347ce3df..88d770071c38 100644
@@ -281,9 +281,9 @@ static int setup_dest_addr(void)
 	gd->ram_size -= CONFIG_SYS_MEM_TOP_HIDE;
 #endif
 #ifdef CONFIG_SYS_SDRAM_BASE
-	gd->ram_top = CONFIG_SYS_SDRAM_BASE;
+	gd->ram_base = CONFIG_SYS_SDRAM_BASE;
 #endif
-	gd->ram_top += get_effective_memsize();
+	gd->ram_top = gd->ram_base + get_effective_memsize();
 	gd->ram_top = board_get_usable_ram_top(gd->mon_len);
 	gd->relocaddr = gd->ram_top;
 	debug("Ram top: %08lX\n", (ulong)gd->ram_top);
lib/fdtdec.c +1 -0
index 1b0c430945a9..66dff0f906b7 100644
@@ -1173,6 +1173,7 @@ int fdtdec_setup_memory_size(void)
 	}
 
 	gd->ram_size = (phys_size_t)(res.end - res.start + 1);
+	gd->ram_base = (unsigned long)res.start;
 	debug("%s: Initial DRAM size %llx\n", __func__,
 	      (unsigned long long)gd->ram_size);
 
Signature · 1 line
1.9.1
#2 lore raw

PATCH v5 2/5 lib: fdtdec: Rename routine fdtdec_setup_memory_size()

In reply to Michal Simek

From: Siva Durga Prasad Paladugu <[email protected]>

This patch renames the routine fdtdec_setup_memory_size() to fdtdec_setup_mem_size_base() as it now fills the mem base as well along with size.

---

Changes in v5:
- Add Tom's tag -
https://lists.denx.de/pipermail/u-boot/2018-June/332810.html

Changes in v4:
- Separate the rename patch

Changes in v3: None
Changes in v2: None

 arch/arm/mach-mvebu/arm64-common.c                       |  2 +-
 board/emulation/qemu-arm/qemu-arm.c                      |  2 +-
 board/renesas/alt/alt.c                                  |  2 +-
 board/renesas/blanche/blanche.c                          |  2 +-
 board/renesas/draak/draak.c                              |  2 +-
 board/renesas/eagle/eagle.c                              |  2 +-
 board/renesas/gose/gose.c                                |  2 +-
 board/renesas/koelsch/koelsch.c                          |  2 +-
 board/renesas/lager/lager.c                              |  2 +-
 board/renesas/porter/porter.c                            |  2 +-
 board/renesas/salvator-x/salvator-x.c                    |  2 +-
 board/renesas/silk/silk.c                                |  2 +-
 board/renesas/stout/stout.c                              |  2 +-
 board/renesas/ulcb/ulcb.c                                |  2 +-
 board/st/stm32f429-discovery/stm32f429-discovery.c       |  2 +-
 board/st/stm32f429-evaluation/stm32f429-evaluation.c     |  2 +-
 board/st/stm32f469-discovery/stm32f469-discovery.c       |  2 +-
 board/st/stm32h743-disco/stm32h743-disco.c               |  2 +-
 board/st/stm32h743-eval/stm32h743-eval.c                 |  2 +-
 board/xilinx/zynq/board.c                                |  2 +-
 board/xilinx/zynqmp/zynqmp.c                             |  2 +-
 board/xilinx/zynqmp_r5/board.c                           |  2 +-
 include/fdtdec.h                                         | 16 +++++++++-------
 lib/fdtdec.c                                             |  2 +-
 tools/patman/func_test.py                                |  2 +-
 tools/patman/test/0000-cover-letter.patch                |  2 +-
 ...orrect-cast-for-sandbox-in-fdtdec_setup_memory_.patch |  4 ++--
 tools/patman/test/test01.txt                             |  2 +-
 28 files changed, 37 insertions(+), 35 deletions(-)
arch/arm/mach-mvebu/arm64-common.c +1 -1
index d3ea9e67e07f..f47273fde9c6 100644
@@ -54,7 +54,7 @@ int dram_init_banksize(void)
 
 int dram_init(void)
 {
-	if (fdtdec_setup_memory_size() != 0)
+	if (fdtdec_setup_mem_size_base() != 0)
 		return -EINVAL;
 
 	return 0;
board/emulation/qemu-arm/qemu-arm.c +1 -1
index 085cbbef994e..1f5a33d520bd 100644
@@ -47,7 +47,7 @@ int board_init(void)
 
 int dram_init(void)
 {
-	if (fdtdec_setup_memory_size() != 0)
+	if (fdtdec_setup_mem_size_base() != 0)
 		return -EINVAL;
 
 	return 0;
board/renesas/alt/alt.c +1 -1
index 86e9d2446dcc..b18ab7ce8872 100644
@@ -78,7 +78,7 @@ int board_init(void)
 
 int dram_init(void)
 {
-	if (fdtdec_setup_memory_size() != 0)
+	if (fdtdec_setup_mem_size_base() != 0)
 		return -EINVAL;
 
 	return 0;
board/renesas/blanche/blanche.c +1 -1
index 7d48d0faf957..f5ada6e288e9 100644
@@ -339,7 +339,7 @@ int board_eth_init(bd_t *bis)
 
 int dram_init(void)
 {
-	if (fdtdec_setup_memory_size() != 0)
+	if (fdtdec_setup_mem_size_base() != 0)
 		return -EINVAL;
 
 	return 0;
board/renesas/draak/draak.c +1 -1
index f804fae6eebf..852fdda843c7 100644
@@ -96,7 +96,7 @@ int board_init(void)
 
 int dram_init(void)
 {
-	if (fdtdec_setup_memory_size() != 0)
+	if (fdtdec_setup_mem_size_base() != 0)
 		return -EINVAL;
 
 	return 0;
board/renesas/eagle/eagle.c +1 -1
index 7b89c10cc742..931741007196 100644
@@ -74,7 +74,7 @@ int board_init(void)
 
 int dram_init(void)
 {
-	if (fdtdec_setup_memory_size() != 0)
+	if (fdtdec_setup_mem_size_base() != 0)
 		return -EINVAL;
 
 	return 0;
board/renesas/gose/gose.c +1 -1
index 96ac29d9ab03..282381ede56f 100644
@@ -83,7 +83,7 @@ int board_init(void)
 
 int dram_init(void)
 {
-	if (fdtdec_setup_memory_size() != 0)
+	if (fdtdec_setup_mem_size_base() != 0)
 		return -EINVAL;
 
 	return 0;
board/renesas/koelsch/koelsch.c +1 -1
index b6688a2cc082..52f37c970e78 100644
@@ -85,7 +85,7 @@ int board_init(void)
 
 int dram_init(void)
 {
-	if (fdtdec_setup_memory_size() != 0)
+	if (fdtdec_setup_mem_size_base() != 0)
 		return -EINVAL;
 
 	return 0;
board/renesas/lager/lager.c +1 -1
index 6bfb0d140489..062e88c19832 100644
@@ -94,7 +94,7 @@ int board_init(void)
 
 int dram_init(void)
 {
-	if (fdtdec_setup_memory_size() != 0)
+	if (fdtdec_setup_mem_size_base() != 0)
 		return -EINVAL;
 
 	return 0;
board/renesas/porter/porter.c +1 -1
index cadff2cd0230..663b8001ef6b 100644
@@ -83,7 +83,7 @@ int board_init(void)
 
 int dram_init(void)
 {
-	if (fdtdec_setup_memory_size() != 0)
+	if (fdtdec_setup_mem_size_base() != 0)
 		return -EINVAL;
 
 	return 0;
board/renesas/salvator-x/salvator-x.c +1 -1
index 651877cac253..00256bc1a343 100644
@@ -108,7 +108,7 @@ int board_init(void)
 
 int dram_init(void)
 {
-	if (fdtdec_setup_memory_size() != 0)
+	if (fdtdec_setup_mem_size_base() != 0)
 		return -EINVAL;
 
 	return 0;
board/renesas/silk/silk.c +1 -1
index 5fa472ce81b8..966c0717b249 100644
@@ -78,7 +78,7 @@ int board_init(void)
 
 int dram_init(void)
 {
-	if (fdtdec_setup_memory_size() != 0)
+	if (fdtdec_setup_mem_size_base() != 0)
 		return -EINVAL;
 
 	return 0;
board/renesas/stout/stout.c +1 -1
index 778593b9ba5d..85e30db635f6 100644
@@ -97,7 +97,7 @@ int board_init(void)
 
 int dram_init(void)
 {
-	if (fdtdec_setup_memory_size() != 0)
+	if (fdtdec_setup_mem_size_base() != 0)
 		return -EINVAL;
 
 	return 0;
board/renesas/ulcb/ulcb.c +1 -1
index 9e15e45a3047..213e869ebe66 100644
@@ -96,7 +96,7 @@ int board_init(void)
 
 int dram_init(void)
 {
-	if (fdtdec_setup_memory_size() != 0)
+	if (fdtdec_setup_mem_size_base() != 0)
 		return -EINVAL;
 
 	return 0;
board/st/stm32f429-discovery/stm32f429-discovery.c +1 -1
index b7638c0f6a91..e800d70f763b 100644
@@ -29,7 +29,7 @@ int dram_init(void)
 		return rv;
 	}
 
-	if (fdtdec_setup_memory_size() != 0)
+	if (fdtdec_setup_mem_size_base() != 0)
 		rv = -EINVAL;
 
 	return rv;
board/st/stm32f429-evaluation/stm32f429-evaluation.c +1 -1
index 2e638c605990..fd2109b27c0f 100644
@@ -23,7 +23,7 @@ int dram_init(void)
 		return rv;
 	}
 
-	if (fdtdec_setup_memory_size() != 0)
+	if (fdtdec_setup_mem_size_base() != 0)
 		rv = -EINVAL;
 
 	return rv;
board/st/stm32f469-discovery/stm32f469-discovery.c +1 -1
index 90d7045e9ab7..a457f9095276 100644
@@ -23,7 +23,7 @@ int dram_init(void)
 		return rv;
 	}
 
-	if (fdtdec_setup_memory_size() != 0)
+	if (fdtdec_setup_mem_size_base() != 0)
 		rv = -EINVAL;
 
 	return rv;
board/st/stm32h743-disco/stm32h743-disco.c +1 -1
index fa007c79864d..3ab95188048d 100644
@@ -20,7 +20,7 @@ int dram_init(void)
 		return ret;
 	}
 
-	if (fdtdec_setup_memory_size() != 0)
+	if (fdtdec_setup_mem_size_base() != 0)
 		ret = -EINVAL;
 
 	return ret;
board/st/stm32h743-eval/stm32h743-eval.c +1 -1
index fa007c79864d..3ab95188048d 100644
@@ -20,7 +20,7 @@ int dram_init(void)
 		return ret;
 	}
 
-	if (fdtdec_setup_memory_size() != 0)
+	if (fdtdec_setup_mem_size_base() != 0)
 		ret = -EINVAL;
 
 	return ret;
board/xilinx/zynq/board.c +1 -1
index 9c005e40e895..614d93c082a6 100644
@@ -98,7 +98,7 @@ int dram_init_banksize(void)
 
 int dram_init(void)
 {
-	if (fdtdec_setup_memory_size() != 0)
+	if (fdtdec_setup_mem_size_base() != 0)
 		return -EINVAL;
 
 	zynq_ddrc_init();
board/xilinx/zynqmp/zynqmp.c +1 -1
index 06cdcbdba6b9..89fac6bb67ca 100644
@@ -423,7 +423,7 @@ int dram_init_banksize(void)
 
 int dram_init(void)
 {
-	if (fdtdec_setup_memory_size() != 0)
+	if (fdtdec_setup_mem_size_base() != 0)
 		return -EINVAL;
 
 	return 0;
board/xilinx/zynqmp_r5/board.c +1 -1
index 70fb20235498..1c45ee7196f7 100644
@@ -18,7 +18,7 @@ int dram_init_banksize(void)
 
 int dram_init(void)
 {
-	if (fdtdec_setup_memory_size() != 0)
+	if (fdtdec_setup_mem_size_base() != 0)
 		return -EINVAL;
 
 	return 0;
include/fdtdec.h +9 -7
index 58d5b721aa60..83be06403d8b 100644
@@ -957,20 +957,22 @@ int fdtdec_decode_display_timing(const void *blob, int node, int index,
 				 struct display_timing *config);
 
 /**
- * fdtdec_setup_memory_size() - decode and setup gd->ram_size
+ * fdtdec_setup_mem_size_base() - decode and setup gd->ram_size and
+ * gd->ram_start
  *
- * Decode the /memory 'reg' property to determine the size of the first memory
- * bank, populate the global data with the size of the first bank of memory.
+ * Decode the /memory 'reg' property to determine the size and start of the
+ * first memory bank, populate the global data with the size and start of the
+ * first bank of memory.
  *
  * This function should be called from a boards dram_init(). This helper
- * function allows for boards to query the device tree for DRAM size instead of
- * hard coding the value in the case where the memory size cannot be detected
- * automatically.
+ * function allows for boards to query the device tree for DRAM size and start
+ * address instead of hard coding the value in the case where the memory size
+ * and start address cannot be detected automatically.
  *
  * @return 0 if OK, -EINVAL if the /memory node or reg property is missing or
  * invalid
  */
-int fdtdec_setup_memory_size(void);
+int fdtdec_setup_mem_size_base(void);
 
 /**
  * fdtdec_setup_memory_banksize() - decode and populate gd->bd->bi_dram
lib/fdtdec.c +1 -1
index 66dff0f906b7..c373ddee358d 100644
@@ -1155,7 +1155,7 @@ int fdtdec_decode_display_timing(const void *blob, int parent, int index,
 	return ret;
 }
 
-int fdtdec_setup_memory_size(void)
+int fdtdec_setup_mem_size_base(void)
 {
 	int ret, mem;
 	struct fdt_resource res;
tools/patman/func_test.py +1 -1
index 3f7e03214470..d79e716074b6 100644
@@ -210,7 +210,7 @@ Changes in v4:
 
 Simon Glass (2):
   pci: Correct cast for sandbox
-  fdt: Correct cast for sandbox in fdtdec_setup_memory_size()
+  fdt: Correct cast for sandbox in fdtdec_setup_mem_size_base()
 
  cmd/pci.c                   | 3 ++-
  fs/fat/fat.c                | 1 +
tools/patman/test/0000-cover-letter.patch +1 -1
index 29062015bc21..c99e635623f3 100644
@@ -10,7 +10,7 @@ Content-Transfer-Encoding: 8bit
 
 Simon Glass (2):
   pci: Correct cast for sandbox
-  fdt: Correct cast for sandbox in fdtdec_setup_memory_size()
+  fdt: Correct cast for sandbox in fdtdec_setup_mem_size_base()
 
  cmd/pci.c                   | 3 ++-
  fs/fat/fat.c                | 1 +
tools/patman/test/0002-fdt-Correct-cast-for-sandbox-in-fdtdec_setup_memory_.patch +2 -2
index e3284973a0d3..702c0306ffe1 100644
@@ -1,7 +1,7 @@
 From 5ab48490f03051875ab13d288a4bf32b507d76fd Mon Sep 17 00:00:00 2001
 From: Simon Glass <[email protected]>
 Date: Sat, 15 Apr 2017 15:39:08 -0600
-Subject: [RFC 2/2] fdt: Correct cast for sandbox in fdtdec_setup_memory_size()
+Subject: [RFC 2/2] fdt: Correct cast for sandbox in fdtdec_setup_mem_size_base()
 MIME-Version: 1.0
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: 8bit
@@ -58,7 +58,7 @@ diff --git a/lib/fdtdec.c b/lib/fdtdec.c
 index c072e54..942244f 100644
 --- a/lib/fdtdec.c
 +++ b/lib/fdtdec.c
-@@ -1200,7 +1200,8 @@ int fdtdec_setup_memory_size(void)
+@@ -1200,7 +1200,8 @@ int fdtdec_setup_mem_size_base(void)
  	}
  
  	gd->ram_size = (phys_size_t)(res.end - res.start + 1);
tools/patman/test/test01.txt +1 -1
index 8ad9587aef53..478ea93674d0 100644
@@ -28,7 +28,7 @@ commit 5ab48490f03051875ab13d288a4bf32b507d76fd
 Author: Simon Glass <[email protected]>
 Date:   Sat Apr 15 15:39:08 2017 -0600
 
-    fdt: Correct cast for sandbox in fdtdec_setup_memory_size()
+    fdt: Correct cast for sandbox in fdtdec_setup_mem_size_base()
     
     This gives a warning with some native compilers:
     
Signature · 1 line
1.9.1
#3 lore raw

PATCH v5 3/5 arm: zynq: Dont define SDRAM_BASE and SDRAM_SIZE in .h

In reply to Michal Simek

From: Siva Durga Prasad Paladugu <[email protected]>

Remove the SDRAM_BASE nad SDRAM_SIZE as it can now get these details from DT.

---

Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2:
- Removed commit reference from description as per comment

 include/configs/zynq_cse.h | 3 ---
 1 file changed, 3 deletions(-)
include/configs/zynq_cse.h +0 -3
index 2f5843f9ec31..adc02f0a4a3b 100644
@@ -41,7 +41,4 @@
 #undef CONFIG_SYS_MALLOC_LEN
 #define CONFIG_SYS_MALLOC_LEN	0x1000
 
-#define CONFIG_SYS_SDRAM_BASE	0xfffc0000
-#define CONFIG_SYS_SDRAM_SIZE	0x40000
-
 #endif /* __CONFIG_ZYNQ_CSE_H */
Signature · 1 line
1.9.1
#4 lore raw

PATCH v5 3/5 arm: zynq: Dont define SDRAM_BASE and SDRAM_SIZE in .h

Quoted 3 lines · Michal Simek

From: Siva Durga Prasad Paladugu <[email protected]>

Remove the SDRAM_BASE nad SDRAM_SIZE as it can now get these

and

Quoted 6 lines

details from DT.

---

Quoted 8 lines

Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2:
- Removed commit reference from description as per comment

 include/configs/zynq_cse.h | 3 ---
 1 file changed, 3 deletions(-)
#5 lore raw

PATCH v5 4/5 arm: zynq: Add Nand flash mini u-boot configuration for zynq

In reply to Michal Simek

From: Siva Durga Prasad Paladugu <[email protected]>

Add configuration files/dtses for mini u-boot configuration which runs on smaller footprint of memory. This configuration has only required nand flash support.

---

Changes in v5: None
Changes in v4:
- Rebased on latest master

Changes in v3: None
Changes in v2:
- Update memory node as per comment
- Removed intc and fclk as per comment

 arch/arm/dts/Makefile           |  1 +
 arch/arm/dts/zynq-cse-nand.dts  | 80 +++++++++++++++++++++++++++++++++++++++++
 configs/zynq_cse_nand_defconfig | 50 ++++++++++++++++++++++++++
 3 files changed, 131 insertions(+)
 create mode 100644 arch/arm/dts/zynq-cse-nand.dts
 create mode 100644 configs/zynq_cse_nand_defconfig
arch/arm/dts/Makefile +1 -0
index 946023093df6..834a19b664e9 100644
@@ -129,6 +129,7 @@ dtb-$(CONFIG_ARCH_UNIPHIER_SLD8) += \
 
 dtb-$(CONFIG_ARCH_ZYNQ) += \
 	zynq-cc108.dtb \
+	zynq-cse-nand.dtb \
 	zynq-cse-qspi-single.dtb \
 	zynq-microzed.dtb \
 	zynq-minized.dtb \
arch/arm/dts/zynq-cse-nand.dts new file +80 -0

80 lines not on this page · raw message

configs/zynq_cse_nand_defconfig new file +50 -0

50 lines not on this page · raw message

Signature · 1 line
1.9.1
#6 lore raw

PATCH v5 5/5 arm: zynq: Add parallel NOR flash mini u-boot configuration for zynq

In reply to Michal Simek

From: Siva Durga Prasad Paladugu <[email protected]>

Add configuration files/dtses for mini u-boot configuration which runs on smaller footprint OCM memory. This configuration only has required parallel nor flash support.

---

Changes in v5: None
Changes in v4:
- None, rebased on latest master

Changes in v3: None
Changes in v2: None

 arch/arm/dts/Makefile          |  1 +
 arch/arm/dts/zynq-cse-nor.dts  | 88 ++++++++++++++++++++++++++++++++++++++++++
 configs/zynq_cse_nor_defconfig | 50 ++++++++++++++++++++++++
 3 files changed, 139 insertions(+)
 create mode 100644 arch/arm/dts/zynq-cse-nor.dts
 create mode 100644 configs/zynq_cse_nor_defconfig
arch/arm/dts/Makefile +1 -0
index 834a19b664e9..6785fefff52a 100644
@@ -130,6 +130,7 @@ dtb-$(CONFIG_ARCH_UNIPHIER_SLD8) += \
 dtb-$(CONFIG_ARCH_ZYNQ) += \
 	zynq-cc108.dtb \
 	zynq-cse-nand.dtb \
+	zynq-cse-nor.dtb \
 	zynq-cse-qspi-single.dtb \
 	zynq-microzed.dtb \
 	zynq-minized.dtb \
arch/arm/dts/zynq-cse-nor.dts new file +88 -0

88 lines not on this page · raw message

configs/zynq_cse_nor_defconfig new file +50 -0

50 lines not on this page · raw message

Signature · 1 line
1.9.1