1*83d290c5STom Rini /* SPDX-License-Identifier: GPL-2.0+ */ 2a13110a9SKlaus Goger /* 3a13110a9SKlaus Goger * (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH 4a13110a9SKlaus Goger */ 5a13110a9SKlaus Goger 6a13110a9SKlaus Goger #ifndef __PUMA_RK3399_H 7a13110a9SKlaus Goger #define __PUMA_RK3399_H 8a13110a9SKlaus Goger 9a13110a9SKlaus Goger #include <configs/rk3399_common.h> 10a13110a9SKlaus Goger 11b5557ffcSKlaus Goger #if defined(CONFIG_ENV_IS_IN_MMC) 12a13110a9SKlaus Goger #define CONFIG_SYS_MMC_ENV_DEV 1 13b5557ffcSKlaus Goger #elif defined(CONFIG_ENV_IS_IN_SPI_FLASH) 14b5557ffcSKlaus Goger #define CONFIG_ENV_SECT_SIZE (8 * 1024) 15b5557ffcSKlaus Goger #endif 16a13110a9SKlaus Goger 17a13110a9SKlaus Goger #define SDRAM_BANK_SIZE (2UL << 30) 18a13110a9SKlaus Goger 199415b9a7SPhilipp Tomsich #define CONFIG_SERIAL_TAG 209415b9a7SPhilipp Tomsich #define CONFIG_ENV_OVERWRITE 219415b9a7SPhilipp Tomsich 226c53d680SPhilipp Tomsich #define CONFIG_BMP_16BPP 236c53d680SPhilipp Tomsich #define CONFIG_BMP_24BPP 246c53d680SPhilipp Tomsich #define CONFIG_BMP_32BPP 256c53d680SPhilipp Tomsich 26a13110a9SKlaus Goger #endif 27