mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-14 17:07:38 +00:00
2be296538e
This converts the following to Kconfig: CONFIG_ENV_IS_IN_MMC CONFIG_ENV_IS_IN_NAND CONFIG_ENV_IS_IN_UBI CONFIG_ENV_IS_NOWHERE In fact this already exists for sunxi as a 'choice' config. However not all the choices are available in Kconfig yet so we cannot use that. It would lead to more than one option being set. In addition, one purpose of this series is to allow the environment to be stored in more than one place. So the existing choice is converted to a normal config allowing each option to be set independently. There are not many opportunities for Kconfig updates to reduce the size of this patch. This was tested with ./tools/moveconfig.py -i CONFIG_ENV_IS_IN_MMC And then manual updates. This is because for CHAIN_OF_TRUST boards they can only have ENV_IS_NOWHERE set, so we enforce that via Kconfig logic now. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
52 lines
1.1 KiB
C
52 lines
1.1 KiB
C
/*
|
|
* Copyright (C) 2013 Samsung Electronics
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*
|
|
* Configuration settings for the SAMSUNG Arndale board.
|
|
*/
|
|
|
|
#ifndef __CONFIG_ARNDALE_H
|
|
#define __CONFIG_ARNDALE_H
|
|
|
|
#define EXYNOS_FDTFILE_SETTING \
|
|
"fdtfile=exynos5250-arndale.dtb\0"
|
|
|
|
#include "exynos5250-common.h"
|
|
#include <configs/exynos5-common.h>
|
|
|
|
/* SD/MMC configuration */
|
|
#define CONFIG_SUPPORT_EMMC_BOOT
|
|
|
|
/* allow to overwrite serial and ethaddr */
|
|
#define CONFIG_ENV_OVERWRITE
|
|
|
|
/* MMC SPL */
|
|
#define CONFIG_EXYNOS_SPL
|
|
|
|
/* Miscellaneous configurable options */
|
|
#define CONFIG_DEFAULT_CONSOLE "console=ttySAC2,115200n8\0"
|
|
|
|
#define CONFIG_ENV_OFFSET (CONFIG_BL2_OFFSET + CONFIG_BL2_SIZE)
|
|
|
|
#define CONFIG_IRAM_STACK 0x02050000
|
|
|
|
#define CONFIG_SYS_INIT_SP_ADDR CONFIG_IRAM_STACK
|
|
|
|
/* PMIC */
|
|
#define CONFIG_POWER
|
|
#define CONFIG_POWER_I2C
|
|
|
|
#define CONFIG_PREBOOT
|
|
|
|
#define CONFIG_S5P_PA_SYSRAM 0x02020000
|
|
#define CONFIG_SMP_PEN_ADDR CONFIG_S5P_PA_SYSRAM
|
|
|
|
/* The PERIPHBASE in the CBAR register is wrong on the Arndale, so override it */
|
|
#define CONFIG_ARM_GIC_BASE_ADDRESS 0x10480000
|
|
|
|
/* Power */
|
|
#define CONFIG_POWER
|
|
#define CONFIG_POWER_I2C
|
|
|
|
#endif /* __CONFIG_H */
|