blob: fdb620341dc719a04fa05ea385876983ba43ad33 [file] [log] [blame]
Philippe Reynes3da5fb42018-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
Philippe Reynesf66ff1f2019-03-15 15:14:44 +010032#ifdef CONFIG_NAND
33#define CONFIG_SYS_MAX_NAND_DEVICE 1
34#define CONFIG_SYS_NAND_SELF_INIT
35#define CONFIG_SYS_NAND_ONFI_DETECTION
Philippe Reynesf66ff1f2019-03-15 15:14:44 +010036#endif /* CONFIG_NAND */
37
Philippe Reynes3da5fb42018-10-11 18:31:59 +020038/*
39 * 968580xref
40 */
41
42#define CONFIG_ENV_SIZE (8 * 1024)