From: Jagannadha Sutradharudu Teki Date: Sat, 3 Aug 2013 19:16:53 +0000 (+0530) Subject: zynq_cse: Add initial support for cse nand board X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fa7c6b53044d4fe00a7f12a82e9019dfc33b5bb2;p=thirdparty%2Fu-boot.git zynq_cse: Add initial support for cse nand board Added zynq cse board support with nand flash as a config option. bash> make zynq_cse_nand_config Configuring for zynq_cse_nand - Board: zynq_cse, Options: CSE_NAND Signed-off-by: Jagannadha Sutradharudu Teki --- diff --git a/boards.cfg b/boards.cfg index 969220cde72..db58ed4344f 100644 --- a/boards.cfg +++ b/boards.cfg @@ -324,6 +324,7 @@ zynq_afx_nand arm armv7 zynq xilinx zynq_zc70x arm armv7 zynq xilinx zynq 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 omap5_uevm arm armv7 omap5_uevm ti omap5 dra7xx_evm arm armv7 dra7xx ti omap5 s5p_goni arm armv7 goni samsung s5pc1xx diff --git a/include/configs/zynq_common.h b/include/configs/zynq_common.h index e55f6fbffa1..126e0f99aae 100644 --- a/include/configs/zynq_common.h +++ b/include/configs/zynq_common.h @@ -38,6 +38,8 @@ /* TEXT BASE defines */ #if defined(CONFIG_CSE_QSPI) # define CONFIG_SYS_TEXT_BASE 0xFFFC4800 +#elif defined(CONFIG_CSE_NAND) +# define CONFIG_SYS_TEXT_BASE 0x00100000 #else # define CONFIG_SYS_TEXT_BASE 0x04000000 #endif diff --git a/include/configs/zynq_cse.h b/include/configs/zynq_cse.h index 7f12b81a672..84ce3330aba 100644 --- a/include/configs/zynq_cse.h +++ b/include/configs/zynq_cse.h @@ -18,6 +18,10 @@ #if defined(CONFIG_CSE_QSPI) # define CONFIG_ZYNQ_QSPI + +#elif defined(CONFIG_CSE_NAND) +# define CONFIG_NAND_ZYNQ + #endif #include @@ -52,6 +56,12 @@ # define PHYS_SDRAM_1_SIZE (256 * 1024) # define CONFIG_SYS_SDRAM_BASE 0xFFFD0000 # define CONFIG_ENV_SIZE 1400 + +#elif defined(CONFIG_CSE_NAND) +# define PHYS_SDRAM_1_SIZE (4 * 1024 * 1024) +# define CONFIG_SYS_SDRAM_BASE 0 +# define CONFIG_ENV_SIZE 0x10000 + #endif #endif /* __CONFIG_ZYNQ_CSE_H */