From: Jagannadha Sutradharudu Teki Date: Sat, 3 Aug 2013 19:24:01 +0000 (+0530) Subject: zynq_cse: Add initial support for cse nor board X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3b62b46fb4aa0e4470b2580a1161f8ed06c23d60;p=thirdparty%2Fu-boot.git zynq_cse: Add initial support for cse nor board 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 --- diff --git a/boards.cfg b/boards.cfg index db58ed4344f..af6828f8019 100644 --- a/boards.cfg +++ b/boards.cfg @@ -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 diff --git a/include/configs/zynq_common.h b/include/configs/zynq_common.h index 126e0f99aae..cbcea6d33d9 100644 --- a/include/configs/zynq_common.h +++ b/include/configs/zynq_common.h @@ -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 diff --git a/include/configs/zynq_cse.h b/include/configs/zynq_cse.h index 84ce3330aba..7c83778af2b 100644 --- a/include/configs/zynq_cse.h +++ b/include/configs/zynq_cse.h @@ -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 @@ -62,6 +65,11 @@ # 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 */