blob: 238ae9c010e754b8e88eeb8bbd5ec803d49d4521 [file] [log] [blame]
Philippe Reynesbe2fc082019-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
Miquel Raynal88718be2019-10-03 19:50:03 +020033#ifdef CONFIG_MTD_RAW_NAND
Philippe Reynesc986aa62019-03-15 15:14:47 +010034#define CONFIG_SYS_MAX_NAND_DEVICE 1
35#define CONFIG_SYS_NAND_SELF_INIT
36#define CONFIG_SYS_NAND_ONFI_DETECTION
Miquel Raynal88718be2019-10-03 19:50:03 +020037#endif /* CONFIG_MTD_RAW_NAND */
Philippe Reynesc986aa62019-03-15 15:14:47 +010038
Philippe Reynesbe2fc082019-01-31 18:57:36 +010039/*
40 * bcm963158
41 */
42