blob: febe6c0a04fc1ca6524faaf6d1231fc8127bfa12 [file] [log] [blame]
Philippe Reynes786dc912018-10-11 18:31:59 +02001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright (C) 2018 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
19/*
20 * 6858
21 */
22
23/* RAM */
24#define CONFIG_SYS_SDRAM_BASE 0x00000000
25
26/* U-Boot */
27#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_TEXT_BASE + SZ_16M)
28#define CONFIG_SYS_LOAD_ADDR CONFIG_SYS_TEXT_BASE
29
30#define CONFIG_SKIP_LOWLEVEL_INIT
31
Miquel Raynal88718be2019-10-03 19:50:03 +020032#ifdef CONFIG_MTD_RAW_NAND
Philippe Reynesf3136362019-03-15 15:14:44 +010033#define CONFIG_SYS_MAX_NAND_DEVICE 1
34#define CONFIG_SYS_NAND_SELF_INIT
35#define CONFIG_SYS_NAND_ONFI_DETECTION
Miquel Raynal88718be2019-10-03 19:50:03 +020036#endif /* CONFIG_MTD_RAW_NAND */
Philippe Reynesf3136362019-03-15 15:14:44 +010037
Philippe Reynes786dc912018-10-11 18:31:59 +020038/*
39 * 968580xref
40 */
41