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 /* Store env in emmc */ 14 #define CONFIG_SYS_MMC_ENV_DEV 0 15 #define CONFIG_SYS_MMC_ENV_PART 0 16 #define CONFIG_SYS_REDUNDAND_ENVIRONMENT 17 18 #ifndef CONFIG_SPL_BUILD 19 /* Enable gpt partition table */ 20 #undef CONFIG_PREBOOT 21 #define CONFIG_PREBOOT 22 #define CONFIG_SYS_BOOT_RAMDISK_HIGH 23 24 /* Store env in emmc */ 25 #define CONFIG_SYS_MMC_ENV_DEV 0 /* emmc */ 26 #define CONFIG_SYS_MMC_ENV_PART 0 /* user area */ 27 28 /* Enable atags */ 29 #define CONFIG_SYS_BOOTPARAMS_LEN (64*1024) 30 #define CONFIG_INITRD_TAG 31 #define CONFIG_SETUP_MEMORY_TAGS 32 #define CONFIG_CMDLINE_TAG 33 34 #undef CONFIG_BOOTCOMMAND 35 #define CONFIG_BOOTCOMMAND RKIMG_BOOTCOMMAND 36 37 #endif 38 39 #endif 40