Philippe Reynes | 786dc91 | 2018-10-11 18:31:59 +0200 | [diff] [blame] | 1 | /* 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 Reynes | f313636 | 2019-03-15 15:14:44 +0100 | [diff] [blame] | 32 | #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 Reynes | f313636 | 2019-03-15 15:14:44 +0100 | [diff] [blame] | 36 | #endif /* CONFIG_NAND */ |
| 37 | |
Philippe Reynes | 786dc91 | 2018-10-11 18:31:59 +0200 | [diff] [blame] | 38 | /* |
| 39 | * 968580xref |
| 40 | */ |
| 41 | |
| 42 | #define CONFIG_ENV_SIZE (8 * 1024) |