diff mbox

[1/3] omap5: Kconfig: Add option to select Android boot

Message ID 1455909933-18961-1-git-send-email-semen.protsenko@linaro.org
State New
Headers show

Commit Message

Sam Protsenko Feb. 19, 2016, 7:25 p.m. UTC
From: Sam Protsenko <semen.protsenko@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@linaro.org>

---
 arch/arm/cpu/armv7/omap5/Kconfig | 8 ++++++++
 1 file changed, 8 insertions(+)

-- 
2.7.0

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Comments

Sam Protsenko Feb. 26, 2016, 7:46 p.m. UTC | #1
On Fri, Feb 19, 2016 at 9:25 PM, Semen Protsenko
<semen.protsenko@linaro.org> wrote:
> From: Sam Protsenko <semen.protsenko@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@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

>


Consider this patch abandoned as new version was sent aside from this patchset:
http://lists.denx.de/pipermail/u-boot/2016-February/246744.html
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
diff mbox

Patch

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"