summaryrefslogtreecommitdiffstats
path: root/include/configs/xilinx_zynqmp_mini_nand.h
diff options
context:
space:
mode:
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>2018-01-05 16:16:15 +0530
committerMichal Simek <michal.simek@xilinx.com>2018-01-30 14:29:07 +0100
commitc8a6bade5b558beadb0547fa4571b71d1ecbf954 (patch)
tree86d37d195a66cd754093d9c53d9971478e8cda75 /include/configs/xilinx_zynqmp_mini_nand.h
parent3b644a3c2f6925d4e9fb030c11cc8ce3ad472468 (diff)
downloadu-boot-c8a6bade5b558beadb0547fa4571b71d1ecbf954.tar.gz
u-boot-c8a6bade5b558beadb0547fa4571b71d1ecbf954.tar.xz
u-boot-c8a6bade5b558beadb0547fa4571b71d1ecbf954.zip
xilinx: zynqmp: Add new target with only nand enabled
This patch adds new target which is called as mini configuration with only nand functionality and other required basic features enabled. This will be used to run in system with small footprint and needs nand support. Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include/configs/xilinx_zynqmp_mini_nand.h')
-rw-r--r--include/configs/xilinx_zynqmp_mini_nand.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/include/configs/xilinx_zynqmp_mini_nand.h b/include/configs/xilinx_zynqmp_mini_nand.h
new file mode 100644
index 0000000000..8c13f4742d
--- /dev/null
+++ b/include/configs/xilinx_zynqmp_mini_nand.h
@@ -0,0 +1,24 @@
+/*
+ * Configuration for Xilinx ZynqMP Nand Flash utility
+ *
+ * (C) Copyright 2018 Xilinx, Inc.
+ * Michal Simek <michal.simek@xilinx.com>
+ * Siva Durga Prasad Paladugu <sivadur@xilinx.com>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef __CONFIG_ZYNQMP_MINI_NAND_H
+#define __CONFIG_ZYNQMP_MINI_NAND_H
+
+#include <configs/xilinx_zynqmp_mini.h>
+
+#define CONFIG_SYS_ICACHE_OFF
+#define CONFIG_NR_DRAM_BANKS 1
+#define CONFIG_SYS_SDRAM_SIZE 0x1000000
+#define CONFIG_SYS_SDRAM_BASE 0x0
+#define CONFIG_ENV_SIZE 0x10000
+#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x40000)
+#define CONFIG_SYS_MALLOC_LEN 0x800000
+
+#endif /* __CONFIG_ZYNQMP_MINI_NAND_H */