mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 23:47:24 +00:00
0717dde057
rk3399 has two mmc dev controller: mmc 0: SD card; mmc 1: EMMC U-Boot will scan the mmc boot device configured by CONFIG_SYS_MMC_ENV_DEV, since evb has emmc on board, let's set the EMMC as default. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
25 lines
428 B
C
25 lines
428 B
C
/*
|
|
* (C) Copyright 2016 Rockchip Electronics Co., Ltd
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef __EVB_RK3399_H
|
|
#define __EVB_RK3399_H
|
|
|
|
#include <configs/rk3399_common.h>
|
|
|
|
#define CONFIG_ENV_IS_IN_MMC
|
|
#define CONFIG_SYS_MMC_ENV_DEV 1
|
|
/*
|
|
* SPL @ 32k for ~36k
|
|
* ENV @ 96k
|
|
* u-boot @ 128K
|
|
*/
|
|
#define CONFIG_ENV_OFFSET (96 * 1024)
|
|
|
|
#define SDRAM_BANK_SIZE (2UL << 30)
|
|
|
|
#define CONFIG_SYS_WHITE_ON_BLACK
|
|
|
|
#endif
|