blob: 788f4af70dab9d61bd70bf89eb6814d05503caf2 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +02002/*
3 * Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +02004 */
5
6#ifndef __CONFIG_BMIPS_COMMON_H
7#define __CONFIG_BMIPS_COMMON_H
8
Álvaro Fernández Rojas204fd5e2018-12-01 19:00:24 +01009/* ETH */
10#define CONFIG_PHY_RESET_DELAY 20
11#define CONFIG_SYS_RX_ETH_BUFFER 6
12
Álvaro Fernández Rojas9e2b1d02017-05-22 20:02:06 +020013/* UART */
14#define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200, \
15 230400, 500000, 1500000 }
16
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +020017/* RAM */
18#define CONFIG_SYS_MEMTEST_START 0xa0000000
19#define CONFIG_SYS_MEMTEST_END 0xa2000000
20
21/* Memory usage */
22#define CONFIG_SYS_MAXARGS 24
Álvaro Fernández Rojas204fd5e2018-12-01 19:00:24 +010023#define CONFIG_SYS_MALLOC_LEN (2 * 1024 * 1024)
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +020024#define CONFIG_SYS_BOOTPARAMS_LEN (128 * 1024)
25#define CONFIG_SYS_CBSIZE 512
26
27/* U-Boot */
28#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE
29
30#endif /* __CONFIG_BMIPS_COMMON_H */