Philippe Reynes | 0d87fc4 | 2020-01-07 20:14:17 +0100 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
| 3 | * Copyright (C) 2020 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 | |
| 32 | #ifdef CONFIG_MTD_RAW_NAND |
| 33 | #define CONFIG_SYS_MAX_NAND_DEVICE 1 |
| 34 | #define CONFIG_SYS_NAND_SELF_INIT |
| 35 | #define CONFIG_SYS_NAND_ONFI_DETECTION |
| 36 | #endif /* CONFIG_MTD_RAW_NAND */ |
| 37 | |
| 38 | /* |
| 39 | * 968360bg |
| 40 | */ |