]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
zynq_cse: Add initial support for cse nor board
authorJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Sat, 3 Aug 2013 19:24:01 +0000 (00:54 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 9 Aug 2013 07:40:58 +0000 (09:40 +0200)
Added zynq cse board support with nor flash as a config
option.

bash> make zynq_cse_nor_config
Configuring for zynq_cse_nor - Board: zynq_cse, Options: CSE_NOR

Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
boards.cfg
include/configs/zynq_common.h
include/configs/zynq_cse.h

index db58ed4344f827562cade8e050dac43e599db6f5..af6828f801950e86a8e8082f3668541cc13691b6 100644 (file)
@@ -325,6 +325,7 @@ zynq_zc70x                   arm         armv7       zynq                xilinx
 zynq_zed                     arm         armv7       zynq                xilinx         zynq
 zynq_cse_qspi               arm         armv7       zynq                xilinx         zynq    zynq_cse:CSE_QSPI
 zynq_cse_nand               arm         armv7       zynq                xilinx         zynq    zynq_cse:CSE_NAND
+zynq_cse_nor                arm         armv7       zynq                xilinx         zynq    zynq_cse:CSE_NOR
 omap5_uevm                   arm         armv7       omap5_uevm          ti            omap5
 dra7xx_evm                  arm         armv7       dra7xx              ti             omap5
 s5p_goni                     arm         armv7       goni                samsung        s5pc1xx
index 126e0f99aae2a933f8ae7a0729b77dc7119221a6..cbcea6d33d95e34875bc2080a296673634795866 100644 (file)
@@ -36,7 +36,7 @@
 #define CONFIG_SYS_SDRAM_SIZE  PHYS_SDRAM_1_SIZE
 
 /* TEXT BASE defines */
-#if defined(CONFIG_CSE_QSPI)
+#if defined(CONFIG_CSE_QSPI) || defined(CONFIG_CSE_NOR)
 # define CONFIG_SYS_TEXT_BASE          0xFFFC4800
 #elif defined(CONFIG_CSE_NAND)
 # define CONFIG_SYS_TEXT_BASE          0x00100000
index 84ce3330aba79636d6e6d167a303d941edc64c62..7c83778af2b59e103f1c2da6555ae0dfd3508dde 100644 (file)
@@ -22,6 +22,9 @@
 #elif defined(CONFIG_CSE_NAND)
 # define CONFIG_NAND_ZYNQ
 
+#elif defined(CONFIG_CSE_NOR)
+#undef CONFIG_SYS_NO_FLASH
+
 #endif
 
 #include <configs/zynq_common.h>
 # define CONFIG_SYS_SDRAM_BASE         0
 # define CONFIG_ENV_SIZE               0x10000
 
+#elif defined(CONFIG_CSE_NOR)
+# define PHYS_SDRAM_1_SIZE             (256 * 1024)
+# define CONFIG_SYS_SDRAM_BASE         0xFFFD0000
+# define CONFIG_ENV_SIZE               1400
+
 #endif
 
 #endif /* __CONFIG_ZYNQ_CSE_H */