diff options
author | Thomas Chou <thomas@wytron.com.tw> | 2015-10-23 14:55:36 +0800 |
---|---|---|
committer | Thomas Chou <thomas@wytron.com.tw> | 2015-10-23 14:55:36 +0800 |
commit | 6168dc6a7a28da3e865314bf1ba5a53eaebe63ac (patch) | |
tree | d0592c9c6515885f0fdadb9e94a7b3defe20b846 /include/configs | |
parent | 7cacb64a354a1d996ba55e5e35b95f111f00648d (diff) | |
download | u-boot-6168dc6a7a28da3e865314bf1ba5a53eaebe63ac.tar.gz |
nios2: zap nios2-generic board dir
As we use device tree to control u-boot now, the generic
board can be removed.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/nios2-generic.h | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/include/configs/nios2-generic.h b/include/configs/nios2-generic.h index e4b5abb90d..8cff3ded1c 100644 --- a/include/configs/nios2-generic.h +++ b/include/configs/nios2-generic.h @@ -12,12 +12,8 @@ /* * BOARD/CPU */ -#include "../board/altera/nios2-generic/custom_fpga.h" /* fpga parameters */ -#define CONFIG_BOARD_NAME "nios2-generic" /* custom board name */ -#define CONFIG_BOARD_EARLY_INIT_F /* enable early board-spec. init */ #define CONFIG_DISPLAY_CPUINFO #define CONFIG_DISPLAY_BOARDINFO_LATE -#define CONFIG_SYS_NIOS_SYSID_BASE CONFIG_SYS_SYSID_BASE /* * SERIAL @@ -26,6 +22,18 @@ #define CONFIG_SYS_CONSOLE_INFO_QUIET /* Suppress console info */ /* + * CFI Flash + */ +#define CONFIG_SYS_FLASH_BASE 0xe0000000 +#define CONFIG_FLASH_CFI_DRIVER +#define CONFIG_SYS_CFI_FLASH_STATUS_POLL /* fix amd flash issue */ +#define CONFIG_SYS_FLASH_CFI +#define CONFIG_SYS_FLASH_USE_BUFFER_WRITE +#define CONFIG_SYS_FLASH_PROTECTION +#define CONFIG_SYS_MAX_FLASH_BANKS 1 +#define CONFIG_SYS_MAX_FLASH_SECT 512 + +/* * BOOTP options */ #define CONFIG_BOOTP_BOOTFILESIZE @@ -49,11 +57,9 @@ */ #define CONFIG_ENV_IS_IN_FLASH -#define CONFIG_ENV_SIZE 0x20000 /* 128k, 1 sector */ +#define CONFIG_ENV_SIZE 0x20000 /* 128k, 1 sector */ #define CONFIG_ENV_OVERWRITE /* Serial change Ok */ -#define CONFIG_ENV_ADDR ((CONFIG_SYS_RESET_ADDR + \ - CONFIG_SYS_MONITOR_LEN) | \ - CONFIG_SYS_FLASH_BASE) +#define CONFIG_ENV_ADDR 0xe2840000 /* * MEMORY ORGANIZATION @@ -61,6 +67,8 @@ * -The heap is placed below the monitor * -The stack is placed below the heap (&grows down). */ +#define CONFIG_SYS_SDRAM_BASE 0xD0000000 +#define CONFIG_SYS_SDRAM_SIZE 0x08000000 #define CONFIG_MONITOR_IS_IN_RAM #define CONFIG_SYS_MONITOR_LEN 0x40000 /* Reserve 256k */ #define CONFIG_SYS_MONITOR_BASE (CONFIG_SYS_SDRAM_BASE + \ |