Xu Ziyuan | 535b3dc | 2016-08-01 08:46:19 +0800 | [diff] [blame] | 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 | |
Xu Ziyuan | 5e6f7cc | 2016-09-09 21:44:50 +0800 | [diff] [blame] | 13 | #undef BOOT_TARGET_DEVICES |
| 14 | |
| 15 | #define BOOT_TARGET_DEVICES(func) \ |
| 16 | func(MMC, mmc, 0) |
| 17 | |
Xu Ziyuan | 535b3dc | 2016-08-01 08:46:19 +0800 | [diff] [blame] | 18 | #define CONFIG_ENV_IS_IN_MMC |
Xu Ziyuan | 5e6f7cc | 2016-09-09 21:44:50 +0800 | [diff] [blame] | 19 | #define CONFIG_SYS_MMC_ENV_DEV 0 |
Xu Ziyuan | 535b3dc | 2016-08-01 08:46:19 +0800 | [diff] [blame] | 20 | /* SPL @ 32k for ~36k |
| 21 | * ENV @ 96k |
| 22 | * u-boot @ 128K |
| 23 | */ |
| 24 | #define CONFIG_ENV_OFFSET (96 * 1024) |
| 25 | |
| 26 | #define CONFIG_SYS_WHITE_ON_BLACK |
Xu Ziyuan | 535b3dc | 2016-08-01 08:46:19 +0800 | [diff] [blame] | 27 | |
| 28 | #endif |