blob: 94513650e6856e40d4da1ff531ffb43943367cb1 [file] [log] [blame]
Xu Ziyuan535b3dc2016-08-01 08:46:19 +08001/*
2 * (C) Copyright 2016 Rockchip Electronics Co., Ltd
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#include <configs/rk3288_common.h>
12
Xu Ziyuan5e6f7cc2016-09-09 21:44:50 +080013#undef BOOT_TARGET_DEVICES
14
15#define BOOT_TARGET_DEVICES(func) \
16 func(MMC, mmc, 0)
17
Xu Ziyuan535b3dc2016-08-01 08:46:19 +080018#define CONFIG_ENV_IS_IN_MMC
Xu Ziyuan5e6f7cc2016-09-09 21:44:50 +080019#define CONFIG_SYS_MMC_ENV_DEV 0
Xu Ziyuan535b3dc2016-08-01 08:46:19 +080020/* SPL @ 32k for ~36k
21 * ENV @ 96k
22 * u-boot @ 128K
23 */
24#define CONFIG_ENV_OFFSET (96 * 1024)
25
26#define CONFIG_SYS_WHITE_ON_BLACK
Xu Ziyuan535b3dc2016-08-01 08:46:19 +080027
28#endif