3 * Greg Ungerer <greg.ungerer@opengear.com>.
4 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
6 * SPDX-License-Identifier: GPL-2.0+
12 * High Level Configuration Options
15 #define CONFIG_KS8695 1 /* it is a KS8695 CPU */
16 #define CONFIG_CM41xx 1 /* it is an OpenGear CM41xx boad */
18 #define CONFIG_CMDLINE_TAG 1 /* enable passing of ATAGs */
19 #define CONFIG_SETUP_MEMORY_TAGS 1
20 #define CONFIG_INITRD_TAG 1
22 #define CONFIG_DRIVER_KS8695ETH /* use KS8695 ethernet driver */
25 * Size of malloc() pool
27 #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 128*1024)
34 * select serial console configuration
36 #define CONFIG_ENV_IS_NOWHERE
37 #define CONFIG_KS8695_SERIAL
38 #define CONFIG_SERIAL1
39 #define CONFIG_CONS_INDEX 1
40 #define CONFIG_BAUDRATE 115200
45 #define CONFIG_BOOTP_BOOTFILESIZE
46 #define CONFIG_BOOTP_BOOTPATH
47 #define CONFIG_BOOTP_GATEWAY
48 #define CONFIG_BOOTP_HOSTNAME
52 * Command line configuration.
54 #include <config_cmd_default.h>
56 #undef CONFIG_CMD_SAVEENV
59 #define CONFIG_BOOTDELAY 0
60 #define CONFIG_BOOTARGS "mem=32M console=ttyAM0,115200"
61 #define CONFIG_BOOTCOMMAND "gofsk 0x02200000"
64 * Miscellaneous configurable options
66 #define CONFIG_SYS_LONGHELP /* undef to save memory */
67 #define CONFIG_SYS_PROMPT "boot > " /* Monitor Command Prompt */
68 #define CONFIG_SYS_CBSIZE 256 /* Console I/O Buffer Size */
69 #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE+sizeof(CONFIG_SYS_PROMPT)+16) /* Print Buffer Size */
70 #define CONFIG_SYS_MAXARGS 16 /* max number of command args */
71 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE /* Boot Argument Buffer Size */
73 #define CONFIG_SYS_MEMTEST_START 0x00800000 /* memtest works on */
74 #define CONFIG_SYS_MEMTEST_END 0x01000000 /* 16 MB in DRAM */
76 #define CONFIG_SYS_LOAD_ADDR 0x00008000 /* default load address */
78 /*-----------------------------------------------------------------------
81 #define CONFIG_NR_DRAM_BANKS 1 /* we have 1 bank of DRAM */
82 #define PHYS_SDRAM_1 0x00000000 /* SDRAM Bank #1 */
83 #define PHYS_SDRAM_1_SIZE 0x02000000 /* 32 MB */
84 #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1
86 #define CONFIG_SYS_INIT_SP_ADDR 0x00020000 /* lowest 128k of RAM */
88 #define PHYS_FLASH_1 0x02000000 /* Flash Bank #1 */
89 #define PHYS_FLASH_SECT_SIZE 0x00020000 /* 128 KB sectors (x1) */
90 #define CONFIG_SYS_FLASH_BASE PHYS_FLASH_1
92 /*-----------------------------------------------------------------------
93 * FLASH and environment organization
95 #define CONFIG_SYS_MAX_FLASH_BANKS 2 /* max number of flash banks */
96 #define CONFIG_SYS_MAX_FLASH_SECT (128) /* max number of sectors on one chip */
98 /* timeout values are in ticks */
99 #define CONFIG_SYS_FLASH_ERASE_TOUT (20*CONFIG_SYS_HZ) /* Timeout for Flash Erase */
100 #define CONFIG_SYS_FLASH_WRITE_TOUT (20*CONFIG_SYS_HZ) /* Timeout for Flash Write */
102 #define CONFIG_ENV_SIZE 0x20000 /* Total Size of Environment */
104 #endif /* __CONFIG_H */