Simon Glass | e513abb | 2016-01-21 19:45:24 -0700 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2015 Google, Inc |
| 3 | * |
| 4 | * SPDX-License-Identifier: GPL-2.0+ |
| 5 | */ |
| 6 | |
| 7 | #ifndef __CONFIG_H |
| 8 | #define __CONFIG_H |
| 9 | |
| 10 | #define ROCKCHIP_DEVICE_SETTINGS \ |
| 11 | "stdin=serial,cros-ec-keyb\0" \ |
| 12 | "stdout=serial,vidconsole\0" \ |
| 13 | "stderr=serial,vidconsole\0" |
| 14 | |
| 15 | #include <configs/rk3288_common.h> |
| 16 | |
Simon Glass | e513abb | 2016-01-21 19:45:24 -0700 | [diff] [blame] | 17 | #define CONFIG_ENV_IS_IN_MMC |
| 18 | #define CONFIG_SYS_MMC_ENV_DEV 0 |
Sandy Patterson | 0f9ef57 | 2016-08-29 07:31:17 -0400 | [diff] [blame] | 19 | |
| 20 | #ifdef CONFIG_ROCKCHIP_SPL_BACK_TO_BROM |
| 21 | /* SPL @ 32k for 34k |
| 22 | * u-boot directly after @ 68k for 400k or so |
| 23 | * ENV @ 992k |
| 24 | */ |
| 25 | #define CONFIG_ENV_OFFSET ((1024-32) * 1024) |
| 26 | #else |
Simon Glass | e513abb | 2016-01-21 19:45:24 -0700 | [diff] [blame] | 27 | /* SPL @ 32k for ~36k |
| 28 | * ENV @ 96k |
| 29 | * u-boot @ 128K |
| 30 | */ |
| 31 | #define CONFIG_ENV_OFFSET (96 * 1024) |
Sandy Patterson | 0f9ef57 | 2016-08-29 07:31:17 -0400 | [diff] [blame] | 32 | #endif |
Simon Glass | e513abb | 2016-01-21 19:45:24 -0700 | [diff] [blame] | 33 | |
Simon Glass | e513abb | 2016-01-21 19:45:24 -0700 | [diff] [blame] | 34 | #define CONFIG_SYS_WHITE_ON_BLACK |
| 35 | #define CONFIG_CONSOLE_SCROLL_LINES 10 |
| 36 | |
| 37 | #endif |