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 | |
Miquel Raynal | d093536 | 2019-10-03 19:50:03 +0200 | [diff] [blame] | 33 | #ifdef CONFIG_MTD_RAW_NAND |
Philippe Reynes | 2004e43 | 2019-03-15 15:14:47 +0100 | [diff] [blame] | 34 | #define CONFIG_SYS_MAX_NAND_DEVICE 1 |
| 35 | #define CONFIG_SYS_NAND_SELF_INIT |
| 36 | #define CONFIG_SYS_NAND_ONFI_DETECTION |
Miquel Raynal | d093536 | 2019-10-03 19:50:03 +0200 | [diff] [blame] | 37 | #endif /* CONFIG_MTD_RAW_NAND */ |
Philippe Reynes | 2004e43 | 2019-03-15 15:14:47 +0100 | [diff] [blame] | 38 | |
Philippe Reynes | 2d29918 | 2019-01-31 18:57:36 +0100 | [diff] [blame] | 39 | /* |
| 40 | * bcm963158 |
| 41 | */ |
| 42 | |