Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Álvaro Fernández Rojas | ee42214 | 2017-04-25 00:39:20 +0200 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com> |
Álvaro Fernández Rojas | ee42214 | 2017-04-25 00:39:20 +0200 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #ifndef __CONFIG_BMIPS_COMMON_H |
| 7 | #define __CONFIG_BMIPS_COMMON_H |
| 8 | |
Álvaro Fernández Rojas | 55daf1c | 2019-08-30 11:54:27 +0200 | [diff] [blame] | 9 | #include <linux/sizes.h> |
| 10 | |
Álvaro Fernández Rojas | 55e55fe | 2018-12-01 19:00:24 +0100 | [diff] [blame] | 11 | /* ETH */ |
| 12 | #define CONFIG_PHY_RESET_DELAY 20 |
| 13 | #define CONFIG_SYS_RX_ETH_BUFFER 6 |
| 14 | |
Álvaro Fernández Rojas | f530eb9 | 2017-05-22 20:02:06 +0200 | [diff] [blame] | 15 | /* UART */ |
| 16 | #define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200, \ |
| 17 | 230400, 500000, 1500000 } |
| 18 | |
Álvaro Fernández Rojas | ee42214 | 2017-04-25 00:39:20 +0200 | [diff] [blame] | 19 | /* Memory usage */ |
| 20 | #define CONFIG_SYS_MAXARGS 24 |
Álvaro Fernández Rojas | 55daf1c | 2019-08-30 11:54:27 +0200 | [diff] [blame] | 21 | #define CONFIG_SYS_MALLOC_LEN SZ_2M |
| 22 | #define CONFIG_SYS_BOOTPARAMS_LEN SZ_128K |
| 23 | #define CONFIG_SYS_CBSIZE SZ_512 |
Álvaro Fernández Rojas | ee42214 | 2017-04-25 00:39:20 +0200 | [diff] [blame] | 24 | |
| 25 | /* U-Boot */ |
| 26 | #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE |
| 27 | |
| 28 | #endif /* __CONFIG_BMIPS_COMMON_H */ |