* [PATCH 1/3] common: bootchooser: add dependencies
@ 2017-04-12 13:35 Lucas Stach
2017-04-12 13:35 ` [PATCH 2/3] mtd: of: only add partition layout param when GLOBAL support is enabled Lucas Stach
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Lucas Stach @ 2017-04-12 13:35 UTC (permalink / raw)
To: barebox
Bootchooser isn't worth much without the boot infrastructure, also
it needs at least the simple shell variant to be enabled.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
common/Kconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/common/Kconfig b/common/Kconfig
index 852b7a10ab47..b075e582adae 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -937,6 +937,9 @@ config STATE_CRYPTO
config BOOTCHOOSER
bool "bootchooser infrastructure"
+ depends on !SHELL_NONE
+ select BOOT
+ select BOOTM
select ENVIRONMENT_VARIABLES
select OFTREE
select PARAMETER
--
2.11.0
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 2/3] mtd: of: only add partition layout param when GLOBAL support is enabled
2017-04-12 13:35 [PATCH 1/3] common: bootchooser: add dependencies Lucas Stach
@ 2017-04-12 13:35 ` Lucas Stach
2017-04-12 13:35 ` [PATCH 3/3] ARM: imx: HAB needs fuse driver support Lucas Stach
2017-04-19 6:34 ` [PATCH 1/3] common: bootchooser: add dependencies Sascha Hauer
2 siblings, 0 replies; 4+ messages in thread
From: Lucas Stach @ 2017-04-12 13:35 UTC (permalink / raw)
To: barebox
Fixes: a2fa18f9f483 (mtd: of: Make used partition binding configurable)
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
drivers/of/partition.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/of/partition.c b/drivers/of/partition.c
index 25b41cb012c6..ac20490231b5 100644
--- a/drivers/of/partition.c
+++ b/drivers/of/partition.c
@@ -253,9 +253,11 @@ static const char *of_binding_names[] = {
static int of_partition_init(void)
{
- dev_add_param_enum(&global_device, "of_partition_binding", NULL, NULL,
- &of_partition_binding, of_binding_names,
- ARRAY_SIZE(of_binding_names), NULL);
+ if (IS_ENABLED(CONFIG_GLOBALVAR))
+ dev_add_param_enum(&global_device, "of_partition_binding",
+ NULL, NULL,
+ &of_partition_binding, of_binding_names,
+ ARRAY_SIZE(of_binding_names), NULL);
return 0;
}
--
2.11.0
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 3/3] ARM: imx: HAB needs fuse driver support
2017-04-12 13:35 [PATCH 1/3] common: bootchooser: add dependencies Lucas Stach
2017-04-12 13:35 ` [PATCH 2/3] mtd: of: only add partition layout param when GLOBAL support is enabled Lucas Stach
@ 2017-04-12 13:35 ` Lucas Stach
2017-04-19 6:34 ` [PATCH 1/3] common: bootchooser: add dependencies Sascha Hauer
2 siblings, 0 replies; 4+ messages in thread
From: Lucas Stach @ 2017-04-12 13:35 UTC (permalink / raw)
To: barebox
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
arch/arm/mach-imx/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index 96ba1d497b71..6a4b00b62bd5 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -711,6 +711,7 @@ config HAB
config HABV4
tristate "HABv4 support"
select HAB
+ select IMX_OCOTP
depends on ARCH_IMX6
help
High Assurance Boot, as found on i.MX28/i.MX6.
@@ -752,6 +753,7 @@ endif
config HABV3
tristate "HABv3 support"
select HAB
+ select IMX_IIM
select ARCH_IMX_IMXIMAGE_SSL_SUPPORT
depends on ARCH_IMX25
help
--
2.11.0
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/3] common: bootchooser: add dependencies
2017-04-12 13:35 [PATCH 1/3] common: bootchooser: add dependencies Lucas Stach
2017-04-12 13:35 ` [PATCH 2/3] mtd: of: only add partition layout param when GLOBAL support is enabled Lucas Stach
2017-04-12 13:35 ` [PATCH 3/3] ARM: imx: HAB needs fuse driver support Lucas Stach
@ 2017-04-19 6:34 ` Sascha Hauer
2 siblings, 0 replies; 4+ messages in thread
From: Sascha Hauer @ 2017-04-19 6:34 UTC (permalink / raw)
To: Lucas Stach; +Cc: barebox
On Wed, Apr 12, 2017 at 03:35:37PM +0200, Lucas Stach wrote:
> Bootchooser isn't worth much without the boot infrastructure, also
> it needs at least the simple shell variant to be enabled.
>
> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
> ---
> common/Kconfig | 3 +++
> 1 file changed, 3 insertions(+)
Applied, thanks
Sascha
>
> diff --git a/common/Kconfig b/common/Kconfig
> index 852b7a10ab47..b075e582adae 100644
> --- a/common/Kconfig
> +++ b/common/Kconfig
> @@ -937,6 +937,9 @@ config STATE_CRYPTO
>
> config BOOTCHOOSER
> bool "bootchooser infrastructure"
> + depends on !SHELL_NONE
> + select BOOT
> + select BOOTM
> select ENVIRONMENT_VARIABLES
> select OFTREE
> select PARAMETER
> --
> 2.11.0
>
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-04-19 6:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-12 13:35 [PATCH 1/3] common: bootchooser: add dependencies Lucas Stach
2017-04-12 13:35 ` [PATCH 2/3] mtd: of: only add partition layout param when GLOBAL support is enabled Lucas Stach
2017-04-12 13:35 ` [PATCH 3/3] ARM: imx: HAB needs fuse driver support Lucas Stach
2017-04-19 6:34 ` [PATCH 1/3] common: bootchooser: add dependencies Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox