diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2020-11-17 11:16:28 +0100 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2023-10-17 13:19:25 +0900 |
commit | d8f80b5e64e185447a84c26eca0eba9f9c81c122 (patch) | |
tree | bf7c8acac719127e244c58a3554d91b77aea8482 /arch | |
parent | 73bbf4e03eba3a8d41448615ae32daa7b1c1dedb (diff) | |
download | u-boot-d8f80b5e64e185447a84c26eca0eba9f9c81c122.tar.gz u-boot-d8f80b5e64e185447a84c26eca0eba9f9c81c122.tar.bz2 u-boot-d8f80b5e64e185447a84c26eca0eba9f9c81c122.zip |
tizen: amlogic: make 'dfu_alt_info' static
The data layout on the storage device is the same for both eMMC and SD
card, so after switching to the default boot MMC device, the 'dfu_alt_info'
string is static, fully known during the compile time. Use this simple
approach, which is a bit more error proof for future changes. It also
obsoletes the custom code added to Amlogic boards.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I37fc03fe245bfdf5229922ecfd5f0d00ef00b6e6
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-meson/board-common.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-meson/board-common.c b/arch/arm/mach-meson/board-common.c index 274c687932..9fe0d8f9c3 100644 --- a/arch/arm/mach-meson/board-common.c +++ b/arch/arm/mach-meson/board-common.c @@ -114,7 +114,6 @@ static void meson_set_boot_source(void) source = "emmc"; #ifdef CONFIG_TIZEN env_set("dfu_device", "1"); - env_set("devnum", "1"); env_set("mmcbootdev", "1"); env_set("mmcrootdev", "1"); #endif @@ -132,7 +131,6 @@ static void meson_set_boot_source(void) source = "sd"; #ifdef CONFIG_TIZEN env_set("dfu_device", "0"); - env_set("devnum", "0"); env_set("mmcbootdev", "0"); env_set("mmcrootdev", "0"); #endif |