[U-Boot] [PATCH 1/3] omap5: Kconfig: Add option to select Android boot

Semen Protsenko semen.protsenko at linaro.org
Fri Feb 19 20:25:31 CET 2016


From: Sam Protsenko <semen.protsenko at linaro.org>

We need to differentiate somehow if u-boot build is intended for Android
or regular Linux boot. Android requires some specific details from
bootloader, such as enabled fastboot and specific partition table.
Using this option we can check if user chose Android boot and configure
those details properly.

Signed-off-by: Sam Protsenko <semen.protsenko at linaro.org>
---
 arch/arm/cpu/armv7/omap5/Kconfig | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/cpu/armv7/omap5/Kconfig b/arch/arm/cpu/armv7/omap5/Kconfig
index bfa264e..e03daff 100644
--- a/arch/arm/cpu/armv7/omap5/Kconfig
+++ b/arch/arm/cpu/armv7/omap5/Kconfig
@@ -21,6 +21,14 @@ endchoice
 config SYS_SOC
 	default "omap5"
 
+config ANDROID_BOOT
+	bool "Android boot"
+	default n
+	help
+	  This option enables Android build. Different boards can rely on this
+	  option to provide Android partition list, enable fastboot capability
+	  and so on.
+
 source "board/compulab/cm_t54/Kconfig"
 source "board/ti/omap5_uevm/Kconfig"
 source "board/ti/dra7xx/Kconfig"
-- 
2.7.0



More information about the U-Boot mailing list