Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Álvaro Fernández Rojas | 98a97a8 | 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 | 98a97a8 | 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 | 9e2b1d0 | 2017-05-22 20:02:06 +0200 | [diff] [blame] | 9 | /* UART */ |
| 10 | #define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200, \ |
| 11 | 230400, 500000, 1500000 } |
| 12 | |
Álvaro Fernández Rojas | 98a97a8 | 2017-04-25 00:39:20 +0200 | [diff] [blame] | 13 | /* RAM */ |
| 14 | #define CONFIG_SYS_MEMTEST_START 0xa0000000 |
| 15 | #define CONFIG_SYS_MEMTEST_END 0xa2000000 |
| 16 | |
| 17 | /* Memory usage */ |
| 18 | #define CONFIG_SYS_MAXARGS 24 |
| 19 | #define CONFIG_SYS_MALLOC_LEN (1024 * 1024) |
| 20 | #define CONFIG_SYS_BOOTPARAMS_LEN (128 * 1024) |
| 21 | #define CONFIG_SYS_CBSIZE 512 |
| 22 | |
| 23 | /* U-Boot */ |
| 24 | #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE |
| 25 | |
| 26 | #endif /* __CONFIG_BMIPS_COMMON_H */ |