1 /* SPDX-License-Identifier: GPL-2.0+ */ 2 /* 3 * (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH 4 */ 5 6 #ifndef __PUMA_RK3399_H 7 #define __PUMA_RK3399_H 8 9 #include <configs/rk3399_common.h> 10 11 #if defined(CONFIG_ENV_IS_IN_MMC) 12 #define CONFIG_SYS_MMC_ENV_DEV 1 13 #elif defined(CONFIG_ENV_IS_IN_SPI_FLASH) 14 #define CONFIG_ENV_SECT_SIZE (8 * 1024) 15 #endif 16 17 #define SDRAM_BANK_SIZE (2UL << 30) 18 19 #define CONFIG_SERIAL_TAG 20 #define CONFIG_ENV_OVERWRITE 21 22 #define CONFIG_BMP_16BPP 23 #define CONFIG_BMP_24BPP 24 #define CONFIG_BMP_32BPP 25 26 #endif 27