xref: /rk3399_rockchip-uboot/include/configs/puma_rk3399.h (revision 4cfbff4dd7dc025503963f2ffc7ba2f8db9e5452)
1a13110a9SKlaus Goger /*
2a13110a9SKlaus Goger  * (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH
3a13110a9SKlaus Goger  *
4a13110a9SKlaus Goger  * SPDX-License-Identifier:     GPL-2.0+
5a13110a9SKlaus Goger  */
6a13110a9SKlaus Goger 
7a13110a9SKlaus Goger #ifndef __PUMA_RK3399_H
8a13110a9SKlaus Goger #define __PUMA_RK3399_H
9a13110a9SKlaus Goger 
10a13110a9SKlaus Goger #include <configs/rk3399_common.h>
11a13110a9SKlaus Goger 
12a13110a9SKlaus Goger /*
13a13110a9SKlaus Goger  * SPL @ 32kB for ~130kB
14a13110a9SKlaus Goger  * ENV @ 240KB for 8kB
15a13110a9SKlaus Goger  * FIT payload (ATF, U-Boot, FDT) @ 256kB
16a13110a9SKlaus Goger  */
17a13110a9SKlaus Goger #undef CONFIG_ENV_OFFSET
18a13110a9SKlaus Goger #define CONFIG_ENV_OFFSET (240 * 1024)
19a13110a9SKlaus Goger 
20a13110a9SKlaus Goger #define CONFIG_SYS_MMC_ENV_DEV 1
21a13110a9SKlaus Goger 
22a13110a9SKlaus Goger #define SDRAM_BANK_SIZE			(2UL << 30)
23a13110a9SKlaus Goger 
249415b9a7SPhilipp Tomsich #define CONFIG_MISC_INIT_R
259415b9a7SPhilipp Tomsich #define CONFIG_SERIAL_TAG
269415b9a7SPhilipp Tomsich #define CONFIG_ENV_OVERWRITE
279415b9a7SPhilipp Tomsich 
286c53d680SPhilipp Tomsich #define CONFIG_BMP_16BPP
296c53d680SPhilipp Tomsich #define CONFIG_BMP_24BPP
306c53d680SPhilipp Tomsich #define CONFIG_BMP_32BPP
316c53d680SPhilipp Tomsich 
32*4cfbff4dSMark Yao #define ROCKCHIP_DEVICE_SETTINGS \
33*4cfbff4dSMark Yao 		"stdout=serial,vidconsole\0" \
34*4cfbff4dSMark Yao 		"stderr=serial,vidconsole\0"
35*4cfbff4dSMark Yao 
36a13110a9SKlaus Goger #endif
37