]> git.ipfire.org Git - people/ms/u-boot.git/blob - include/configs/kylin_rk3036.h
drivers/pci/Kconfig: Add PCI
[people/ms/u-boot.git] / include / configs / kylin_rk3036.h
1 /*
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
10 #include <linux/sizes.h>
11 #include <configs/rk3036_common.h>
12
13 #ifndef CONFIG_SPL_BUILD
14
15 /* Store env in emmc */
16 #undef CONFIG_ENV_SIZE
17 #define CONFIG_ENV_SIZE SZ_32K
18 #undef CONFIG_ENV_IS_NOWHERE
19 #define CONFIG_ENV_IS_IN_MMC
20 #define CONFIG_SYS_MMC_ENV_DEV 0 /* emmc */
21 #define CONFIG_SYS_MMC_ENV_PART 0 /* user area */
22 #define CONFIG_ENV_OFFSET (SZ_4M - SZ_64K) /* reserved area */
23 #define CONFIG_ENV_OFFSET_REDUND (CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE)
24 #define CONFIG_SYS_REDUNDAND_ENVIRONMENT
25
26 #endif
27
28 #endif