Álvaro Fernández Rojas | 98a97a8 | 2017-04-25 00:39:20 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com> |
| 3 | * |
| 4 | * SPDX-License-Identifier: GPL-2.0+ |
| 5 | */ |
| 6 | |
| 7 | #ifndef __CONFIG_BMIPS_COMMON_H |
| 8 | #define __CONFIG_BMIPS_COMMON_H |
| 9 | |
Álvaro Fernández Rojas | 9e2b1d0 | 2017-05-22 20:02:06 +0200 | [diff] [blame] | 10 | /* UART */ |
| 11 | #define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200, \ |
| 12 | 230400, 500000, 1500000 } |
| 13 | |
Álvaro Fernández Rojas | 98a97a8 | 2017-04-25 00:39:20 +0200 | [diff] [blame] | 14 | /* RAM */ |
| 15 | #define CONFIG_SYS_MEMTEST_START 0xa0000000 |
| 16 | #define CONFIG_SYS_MEMTEST_END 0xa2000000 |
| 17 | |
| 18 | /* Memory usage */ |
| 19 | #define CONFIG_SYS_MAXARGS 24 |
| 20 | #define CONFIG_SYS_MALLOC_LEN (1024 * 1024) |
| 21 | #define CONFIG_SYS_BOOTPARAMS_LEN (128 * 1024) |
| 22 | #define CONFIG_SYS_CBSIZE 512 |
| 23 | |
| 24 | /* U-Boot */ |
| 25 | #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE |
| 26 | |
| 27 | #endif /* __CONFIG_BMIPS_COMMON_H */ |