1*a13110a9SKlaus Goger /* 2*a13110a9SKlaus Goger * (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH 3*a13110a9SKlaus Goger * 4*a13110a9SKlaus Goger * SPDX-License-Identifier: GPL-2.0+ 5*a13110a9SKlaus Goger */ 6*a13110a9SKlaus Goger 7*a13110a9SKlaus Goger #ifndef __PUMA_RK3399_H 8*a13110a9SKlaus Goger #define __PUMA_RK3399_H 9*a13110a9SKlaus Goger 10*a13110a9SKlaus Goger #include <configs/rk3399_common.h> 11*a13110a9SKlaus Goger 12*a13110a9SKlaus Goger /* 13*a13110a9SKlaus Goger * SPL @ 32kB for ~130kB 14*a13110a9SKlaus Goger * ENV @ 240KB for 8kB 15*a13110a9SKlaus Goger * FIT payload (ATF, U-Boot, FDT) @ 256kB 16*a13110a9SKlaus Goger */ 17*a13110a9SKlaus Goger #undef CONFIG_ENV_OFFSET 18*a13110a9SKlaus Goger #define CONFIG_ENV_OFFSET (240 * 1024) 19*a13110a9SKlaus Goger 20*a13110a9SKlaus Goger #define CONFIG_ENV_IS_IN_MMC 21*a13110a9SKlaus Goger #define CONFIG_SYS_MMC_ENV_DEV 1 22*a13110a9SKlaus Goger 23*a13110a9SKlaus Goger #define SDRAM_BANK_SIZE (2UL << 30) 24*a13110a9SKlaus Goger 25*a13110a9SKlaus Goger #define CONFIG_SYS_WHITE_ON_BLACK 26*a13110a9SKlaus Goger 27*a13110a9SKlaus Goger #endif 28