diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-02-16 08:08:42 (GMT) |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-02-28 18:50:16 (GMT) |
commit | aa8a93480e072d8d0473e512b66c31f3c4cc3cc7 (patch) | |
tree | acaaa16003bdc98b533c13a01f57a9114e01f17a /arch/arm/mach-uniphier/boot-mode | |
parent | c231c4367ace6574e27ff0d1844d163fc471287b (diff) | |
download | u-boot-aa8a93480e072d8d0473e512b66c31f3c4cc3cc7.tar.xz |
ARM: uniphier: default to environment in eMMC
Of the several boot devices supported, it looks like the eMMC is the
most commonly used. Enable CONFIG_ENV_IS_IN_MMC by default.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm/mach-uniphier/boot-mode')
-rw-r--r-- | arch/arm/mach-uniphier/boot-mode/boot-mode.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-uniphier/boot-mode/boot-mode.c b/arch/arm/mach-uniphier/boot-mode/boot-mode.c index 0547762..cf39bf5 100644 --- a/arch/arm/mach-uniphier/boot-mode/boot-mode.c +++ b/arch/arm/mach-uniphier/boot-mode/boot-mode.c @@ -93,6 +93,11 @@ static int find_first_mmc_device(void) return -ENODEV; } +int mmc_get_env_dev(void) +{ + return find_first_mmc_device(); +} + static int do_mmcsetn(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) { int dev; |