blob: 36009b8599e5c32decfd1045a89573e55cf47513 [file] [log] [blame]
huang lina77e50c2015-12-07 11:08:57 +08001/*
2 * (C) Copyright 2015 Rockchip Electronics Co., Ltd
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
7#ifndef __CONFIG_H
8#define __CONFIG_H
9
Jeffy Chen3e43a3e2016-01-14 10:19:41 +080010#include <linux/sizes.h>
huang lina77e50c2015-12-07 11:08:57 +080011#include <configs/rk3036_common.h>
12
Jeffy Chen4d533cd2016-01-14 10:19:38 +080013#ifndef CONFIG_SPL_BUILD
14
Jeffy Chen3e43a3e2016-01-14 10:19:41 +080015/* Store env in emmc */
16#undef CONFIG_ENV_SIZE
17#define CONFIG_ENV_SIZE SZ_32K
Jeffy Chen3e43a3e2016-01-14 10:19:41 +080018#define CONFIG_SYS_MMC_ENV_DEV 0 /* emmc */
19#define CONFIG_SYS_MMC_ENV_PART 0 /* user area */
Jacob Chen541adcc2016-11-18 15:54:26 +080020
Jeffy Chen4d533cd2016-01-14 10:19:38 +080021#endif
22
huang lina77e50c2015-12-07 11:08:57 +080023#endif