blob: af1dae88eda002fa71c23f9cfaa1ba1f65a9ec61 [file] [log] [blame]
Klaus Gogera13110a2017-04-07 19:13:38 +02001/*
2 * (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
7#ifndef __PUMA_RK3399_H
8#define __PUMA_RK3399_H
9
10#include <configs/rk3399_common.h>
11
12/*
13 * SPL @ 32kB for ~130kB
14 * ENV @ 240KB for 8kB
15 * FIT payload (ATF, U-Boot, FDT) @ 256kB
16 */
17#undef CONFIG_ENV_OFFSET
18#define CONFIG_ENV_OFFSET (240 * 1024)
19
20#define CONFIG_ENV_IS_IN_MMC
21#define CONFIG_SYS_MMC_ENV_DEV 1
22
23#define SDRAM_BANK_SIZE (2UL << 30)
24
Philipp Tomsich9415b9a2017-05-05 19:21:39 +020025#define CONFIG_MISC_INIT_R
26#define CONFIG_SERIAL_TAG
27#define CONFIG_ENV_OVERWRITE
28
Philipp Tomsich6c53d682017-05-31 17:59:36 +020029#define CONFIG_BMP_16BPP
30#define CONFIG_BMP_24BPP
31#define CONFIG_BMP_32BPP
32
Klaus Gogera13110a2017-04-07 19:13:38 +020033#endif