1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (C) 2019 Microchip Technology Inc.
4 * Padmarao Begari <padmarao.begari@microchip.com>
11 * CPU and Board Configuration Options
13 #define CONFIG_BOOTP_SEND_HOSTNAME
16 * Miscellaneous configurable options
18 #define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */
23 #define CONFIG_SYS_PBSIZE \
24 (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)
27 * max number of command args
29 #define CONFIG_SYS_MAXARGS 16
32 * Boot Argument Buffer Size
34 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
37 * Size of malloc() pool
38 * 512kB is suggested, (CONFIG_ENV_SIZE + 128 * 1024) was not enough
40 #define CONFIG_SYS_MALLOC_LEN (512 << 10)
45 #define PHYS_SDRAM_0 0x80000000 /* SDRAM Bank #1 */
46 #define PHYS_SDRAM_0_SIZE 0x40000000 /* 1 GB */
47 #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_0
49 /* Init Stack Pointer */
50 #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x200000)
52 #define CONFIG_SYS_LOAD_ADDR 0x80000000 /* SDRAM */
55 * memtest works on DRAM
57 #define CONFIG_SYS_MEMTEST_START PHYS_SDRAM_0
58 #define CONFIG_SYS_MEMTEST_END (PHYS_SDRAM_0 + PHYS_SDRAM_0_SIZE)
60 /* When we use RAM as ENV */
61 #define CONFIG_ENV_SIZE 0x2000
63 #endif /* __CONFIG_H */