blob: b9c229013992409b0ac71d05cbcf7958764ed80a [file] [log] [blame]
Simon Glasse513abb2016-01-21 19:45:24 -07001/*
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 Glasse513abb2016-01-21 19:45:24 -070017#define CONFIG_ENV_IS_IN_MMC
18#define CONFIG_SYS_MMC_ENV_DEV 0
Sandy Patterson0f9ef572016-08-29 07:31:17 -040019
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 Glasse513abb2016-01-21 19:45:24 -070027/* SPL @ 32k for ~36k
28 * ENV @ 96k
29 * u-boot @ 128K
30 */
31#define CONFIG_ENV_OFFSET (96 * 1024)
Sandy Patterson0f9ef572016-08-29 07:31:17 -040032#endif
Simon Glasse513abb2016-01-21 19:45:24 -070033
Simon Glasse513abb2016-01-21 19:45:24 -070034#define CONFIG_SYS_WHITE_ON_BLACK
Simon Glasse513abb2016-01-21 19:45:24 -070035
36#endif