mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-30 16:39:35 +00:00
abe919ec54
Save the environment on the SD card for Firefly in the empty space between the SPL and the u-boot image. Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Acked-by: Simon Glass <sjg@chromium.org>
22 lines
357 B
C
22 lines
357 B
C
/*
|
|
* (C) Copyright 2015 Google, Inc
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef __CONFIG_H
|
|
#define __CONFIG_H
|
|
|
|
#include <configs/rk3288_common.h>
|
|
|
|
#define CONFIG_SPL_MMC_SUPPORT
|
|
|
|
#define CONFIG_ENV_IS_IN_MMC
|
|
#define CONFIG_SYS_MMC_ENV_DEV 0
|
|
/* SPL @ 32k for ~36k
|
|
* ENV @ 96k
|
|
* u-boot @ 128K
|
|
*/
|
|
#define CONFIG_ENV_OFFSET (96 * 1024)
|
|
|
|
#endif
|