Philippe Reynes | 3da5fb4 | 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 | f66ff1f | 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 |
| 36 | #define CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT |
| 37 | #endif /* CONFIG_NAND */ |
| 38 | |
Philippe Reynes | 3da5fb4 | 2018-10-11 18:31:59 +0200 | [diff] [blame] | 39 | /* |
| 40 | * 968580xref |
| 41 | */ |
| 42 | |
| 43 | #define CONFIG_ENV_SIZE (8 * 1024) |