summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2020-12-03 11:57:48 +0100
committerJaehoon Chung <jh80.chung@samsung.com>2023-10-17 13:19:27 +0900
commit4c44f7fda12bf0c4faca3497530c436ec53d9d7a (patch)
tree53a6ac404e1c87b293545c6c589f754dab7889f2 /include
parent47b9174e84be203d60c42e0bac267ea162901ef7 (diff)
downloadu-boot-4c44f7fda12bf0c4faca3497530c436ec53d9d7a.tar.gz
u-boot-4c44f7fda12bf0c4faca3497530c436ec53d9d7a.tar.bz2
u-boot-4c44f7fda12bf0c4faca3497530c436ec53d9d7a.zip
tizen: limit boot to MMC0 and MMC1 devices
Other types of boot are not supported on Tizen, so disable generating scripts and envs for them. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Change-Id: Ibe41e9ff8e60aa6949f4a082276083adde33e187
Diffstat (limited to 'include')
-rw-r--r--include/samsung/tizen_amlogic.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/samsung/tizen_amlogic.h b/include/samsung/tizen_amlogic.h
index 444214abec..b00ee42d30 100644
--- a/include/samsung/tizen_amlogic.h
+++ b/include/samsung/tizen_amlogic.h
@@ -105,4 +105,10 @@
#define CONFIG_TIZEN
+/* limit boot to mmc0 and mmc1 */
+#undef BOOT_TARGET_DEVICES
+#define BOOT_TARGET_DEVICES(func) \
+ func(MMC, mmc, 0) \
+ func(MMC, mmc, 1)
+
#endif /* __CONFIG_TIZEN_AMLOGIC_H */