1 /* 2 * (C) Copyright 2017 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 <configs/rk322x_common.h> 11 12 13 /* Store env in emmc */ 14 #undef CONFIG_ENV_SIZE 15 #define CONFIG_ENV_SIZE (32 << 10) 16 #define CONFIG_SYS_MMC_ENV_DEV 0 17 #define CONFIG_SYS_MMC_ENV_PART 0 18 #define CONFIG_SYS_REDUNDAND_ENVIRONMENT 19 20 #ifndef CONFIG_SPL_BUILD 21 /* Enable gpt partition table */ 22 #define CONFIG_PREBOOT 23 24 #define CONFIG_SYS_BOOT_RAMDISK_HIGH 25 26 /* Enable atags */ 27 #define CONFIG_SYS_BOOTPARAMS_LEN (64*1024) 28 #define CONFIG_INITRD_TAG 29 #define CONFIG_SETUP_MEMORY_TAGS 30 #define CONFIG_CMDLINE_TAG 31 32 #endif 33 34 #endif 35