xref: /openbmc/u-boot/include/configs/rock2.h (revision 7c1058fa)
1*7c1058faSSimon Glass /*
2*7c1058faSSimon Glass  * (C) Copyright 2015 Google, Inc
3*7c1058faSSimon Glass  *
4*7c1058faSSimon Glass  * SPDX-License-Identifier:     GPL-2.0+
5*7c1058faSSimon Glass  */
6*7c1058faSSimon Glass 
7*7c1058faSSimon Glass #ifndef __CONFIG_H
8*7c1058faSSimon Glass #define __CONFIG_H
9*7c1058faSSimon Glass 
10*7c1058faSSimon Glass #define ROCKCHIP_DEVICE_SETTINGS \
11*7c1058faSSimon Glass 		"stdin=serial,cros-ec-keyb\0" \
12*7c1058faSSimon Glass 		"stdout=serial,vidconsole\0" \
13*7c1058faSSimon Glass 		"stderr=serial,vidconsole\0"
14*7c1058faSSimon Glass 
15*7c1058faSSimon Glass #include <configs/rk3288_common.h>
16*7c1058faSSimon Glass 
17*7c1058faSSimon Glass #define CONFIG_SPL_MMC_SUPPORT
18*7c1058faSSimon Glass 
19*7c1058faSSimon Glass #define CONFIG_ENV_IS_IN_MMC
20*7c1058faSSimon Glass #define CONFIG_SYS_MMC_ENV_DEV 0
21*7c1058faSSimon Glass /* SPL @ 32k for ~36k
22*7c1058faSSimon Glass  * ENV @ 96k
23*7c1058faSSimon Glass  * u-boot @ 128K
24*7c1058faSSimon Glass  */
25*7c1058faSSimon Glass #define CONFIG_ENV_OFFSET (96 * 1024)
26*7c1058faSSimon Glass 
27*7c1058faSSimon Glass #define CONFIG_I2C_EDID
28*7c1058faSSimon Glass #define CONFIG_SYS_WHITE_ON_BLACK
29*7c1058faSSimon Glass #define CONFIG_CONSOLE_SCROLL_LINES		10
30*7c1058faSSimon Glass 
31*7c1058faSSimon Glass #endif
32