1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Board configuration file for Bubblegum-96
5 * Copyright (C) 2015 Actions Semi Co., Ltd.
6 * Copyright (C) 2018 Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
10 #ifndef _BUBBLEGUM_96_H_
11 #define _BUGGLEGUM_96_H_
13 /* SDRAM Definitions */
14 #define CONFIG_SYS_SDRAM_BASE 0x0
15 #define CONFIG_NR_DRAM_BANKS 1
16 #define CONFIG_SYS_SDRAM_SIZE 0x80000000
18 /* Generic Timer Definitions */
19 #define COUNTER_FREQUENCY (24000000) /* 24MHz */
21 #define CONFIG_SYS_MALLOC_LEN (32 * 1024 * 1024)
23 /* Some commands use this as the default load address */
24 #define CONFIG_SYS_LOAD_ADDR (CONFIG_SYS_SDRAM_BASE + 0x7ffc0)
27 * This is the initial SP which is used only briefly for relocating the u-boot
28 * image to the top of SDRAM. After relocation u-boot moves the stack to the
31 #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_TEXT_BASE + 0x7ff00)
33 /* UART Definitions */
34 #define CONFIG_BAUDRATE 115200
36 #define CONFIG_ENV_SIZE 0x2000
38 /* Console configuration */
39 #define CONFIG_SYS_CBSIZE 1024 /* Console buffer size */
40 #define CONFIG_SYS_MAXARGS 64
41 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE