]> git.ipfire.org Git - people/ms/u-boot.git/blob - include/configs/miniarm_rk3288.h
Merge git://www.denx.de/git/u-boot-marvell
[people/ms/u-boot.git] / include / configs / miniarm_rk3288.h
1 /*
2 * (C) Copyright 2016 Rockchip Electronics Co., Ltd
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
7 #ifndef __CONFIG_H
8 #define __CONFIG_H
9
10 #define ROCKCHIP_DEVICE_SETTINGS
11 #include <configs/rk3288_common.h>
12
13 #undef BOOT_TARGET_DEVICES
14
15 #define BOOT_TARGET_DEVICES(func) \
16 func(MMC, mmc, 0)
17
18 #define CONFIG_ENV_IS_IN_MMC
19 #define CONFIG_SYS_MMC_ENV_DEV 0
20
21 #ifdef CONFIG_ROCKCHIP_SPL_BACK_TO_BROM
22 /* SPL @ 32k for 34k
23 * u-boot directly after @ 68k for 400k or so
24 * ENV @ 992k
25 */
26 #define CONFIG_ENV_OFFSET ((1024-32) * 1024)
27 #else
28 /* SPL @ 32k for ~36k
29 * ENV @ 96k
30 * u-boot @ 128K
31 */
32 #define CONFIG_ENV_OFFSET (96 * 1024)
33 #endif
34
35 #define CONFIG_SYS_WHITE_ON_BLACK
36
37 #endif