Philippe Reynes | 2d29918 | 2019-01-31 18:57:36 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
| 3 | * Copyright (C) 2019 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 | #define CONFIG_SYS_BOOTM_LEN (16 * 1024 * 1024) |
| 19 | |
| 20 | /* |
| 21 | * 63158 |
| 22 | */ |
| 23 | |
| 24 | /* RAM */ |
| 25 | #define CONFIG_SYS_SDRAM_BASE 0x00000000 |
| 26 | |
| 27 | /* U-Boot */ |
| 28 | #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_TEXT_BASE + SZ_16M) |
| 29 | #define CONFIG_SYS_LOAD_ADDR CONFIG_SYS_TEXT_BASE |
| 30 | |
| 31 | #define CONFIG_SKIP_LOWLEVEL_INIT |
| 32 | |
Philippe Reynes | 2004e43 | 2019-03-15 15:14:47 +0100 | [diff] [blame] | 33 | #ifdef CONFIG_NAND |
| 34 | #define CONFIG_SYS_MAX_NAND_DEVICE 1 |
| 35 | #define CONFIG_SYS_NAND_SELF_INIT |
| 36 | #define CONFIG_SYS_NAND_ONFI_DETECTION |
| 37 | #define CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT |
| 38 | #endif /* CONFIG_NAND */ |
| 39 | |
Philippe Reynes | 2d29918 | 2019-01-31 18:57:36 +0100 | [diff] [blame] | 40 | /* |
| 41 | * bcm963158 |
| 42 | */ |
| 43 | |
| 44 | #define CONFIG_ENV_SIZE (8 * 1024) |