blob: 4d6085d2dd833affd08cd24f25aae9b91d125dad [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Klaus Gogera13110a2017-04-07 19:13:38 +02002/*
3 * (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH
Klaus Gogera13110a2017-04-07 19:13:38 +02004 */
5
6#ifndef __PUMA_RK3399_H
7#define __PUMA_RK3399_H
8
9#include <configs/rk3399_common.h>
10
Klaus Gogerb5557ff2017-11-06 23:02:56 +010011#if defined(CONFIG_ENV_IS_IN_MMC)
Klaus Gogera13110a2017-04-07 19:13:38 +020012#define CONFIG_SYS_MMC_ENV_DEV 1
Klaus Gogerb5557ff2017-11-06 23:02:56 +010013#elif defined(CONFIG_ENV_IS_IN_SPI_FLASH)
14#define CONFIG_ENV_SECT_SIZE (8 * 1024)
Klaus Gogerb5557ff2017-11-06 23:02:56 +010015#endif
Klaus Gogera13110a2017-04-07 19:13:38 +020016
17#define SDRAM_BANK_SIZE (2UL << 30)
18
Philipp Tomsich9415b9a2017-05-05 19:21:39 +020019#define CONFIG_SERIAL_TAG
20#define CONFIG_ENV_OVERWRITE
21
Philipp Tomsich6c53d682017-05-31 17:59:36 +020022#define CONFIG_BMP_16BPP
23#define CONFIG_BMP_24BPP
24#define CONFIG_BMP_32BPP
25
Klaus Gogera13110a2017-04-07 19:13:38 +020026#endif