blob: a0f7ead4c749402fe4e73e8a384e848ae6b1b1a4 [file] [log] [blame]
Philippe Reynes2d299182019-01-31 18:57:36 +01001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright (C) 2019 Philippe Reynes <philippe.reynes@softathome.com>
4 */
5
6#include <linux/sizes.h>
7
8/*
9 * common
10 */
11
12/* UART */
13#define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200, \
14 230400, 500000, 1500000 }
15/* Memory usage */
16#define CONFIG_SYS_MAXARGS 24
17#define CONFIG_SYS_MALLOC_LEN (1024 * 1024)
18#define CONFIG_SYS_BOOTM_LEN (16 * 1024 * 1024)
19
20/*
21 * 63158
22 */
23
24/* RAM */
25#define CONFIG_SYS_SDRAM_BASE 0x00000000
26
27/* U-Boot */
28#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_TEXT_BASE + SZ_16M)
29#define CONFIG_SYS_LOAD_ADDR CONFIG_SYS_TEXT_BASE
30
31#define CONFIG_SKIP_LOWLEVEL_INIT
32
Philippe Reynes2004e432019-03-15 15:14:47 +010033#ifdef CONFIG_NAND
34#define CONFIG_SYS_MAX_NAND_DEVICE 1
35#define CONFIG_SYS_NAND_SELF_INIT
36#define CONFIG_SYS_NAND_ONFI_DETECTION
Philippe Reynes2004e432019-03-15 15:14:47 +010037#endif /* CONFIG_NAND */
38
Philippe Reynes2d299182019-01-31 18:57:36 +010039/*
40 * bcm963158
41 */
42
43#define CONFIG_ENV_SIZE (8 * 1024)