* [PATCH 1/2] lib: Fix BINMAN_FDT dependency
@ 2021-02-03 13:20 Bin Meng
2021-02-03 13:20 ` [PATCH 2/2] dts: Fix OF_LIVE dependency Bin Meng
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Bin Meng @ 2021-02-03 13:20 UTC (permalink / raw)
To: u-boot
lib/binman.c references the following 3 ofnode APIs:
ofnode_first_subnode(), ofnode_path() and ofnode_read_bool().
These APIs get built only when DM is on. Fix the dependency then.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
---
lib/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/Kconfig b/lib/Kconfig
index b35a71a..7f4c30e 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -22,7 +22,7 @@ config BCH
config BINMAN_FDT
bool "Allow access to binman information in the device tree"
- depends on BINMAN && OF_CONTROL
+ depends on BINMAN && DM && OF_CONTROL
default y
help
This enables U-Boot to access information about binman entries,
--
2.7.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/2] dts: Fix OF_LIVE dependency
2021-02-03 13:20 [PATCH 1/2] lib: Fix BINMAN_FDT dependency Bin Meng
@ 2021-02-03 13:20 ` Bin Meng
2021-02-03 21:42 ` Simon Glass
2021-02-07 0:16 ` Simon Glass
2021-02-03 21:42 ` [PATCH 1/2] lib: Fix BINMAN_FDT dependency Simon Glass
2021-02-07 0:16 ` Simon Glass
2 siblings, 2 replies; 6+ messages in thread
From: Bin Meng @ 2021-02-03 13:20 UTC (permalink / raw)
To: u-boot
lib/of_live.c references the following 2 ofnode APIs:
of_alias_scan() and of_get_property().
These APIs get built only when DM is on. Fix the dependency then.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
---
dts/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dts/Kconfig b/dts/Kconfig
index 71f5055..00ac29a 100644
--- a/dts/Kconfig
+++ b/dts/Kconfig
@@ -60,7 +60,7 @@ config TPL_OF_CONTROL
config OF_LIVE
bool "Enable use of a live tree"
- depends on OF_CONTROL
+ depends on DM && OF_CONTROL
help
Normally U-Boot uses a flat device tree which saves space and
avoids the need to unpack the tree before use. However a flat
--
2.7.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/2] dts: Fix OF_LIVE dependency
2021-02-03 13:20 ` [PATCH 2/2] dts: Fix OF_LIVE dependency Bin Meng
@ 2021-02-03 21:42 ` Simon Glass
2021-02-07 0:16 ` Simon Glass
1 sibling, 0 replies; 6+ messages in thread
From: Simon Glass @ 2021-02-03 21:42 UTC (permalink / raw)
To: u-boot
On Wed, 3 Feb 2021 at 06:20, Bin Meng <bmeng.cn@gmail.com> wrote:
>
> lib/of_live.c references the following 2 ofnode APIs:
> of_alias_scan() and of_get_property().
>
> These APIs get built only when DM is on. Fix the dependency then.
>
> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
> ---
>
> dts/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Reviewed-by: Simon Glass <sjg@chromium.org>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/2] lib: Fix BINMAN_FDT dependency
2021-02-03 13:20 [PATCH 1/2] lib: Fix BINMAN_FDT dependency Bin Meng
2021-02-03 13:20 ` [PATCH 2/2] dts: Fix OF_LIVE dependency Bin Meng
@ 2021-02-03 21:42 ` Simon Glass
2021-02-07 0:16 ` Simon Glass
2 siblings, 0 replies; 6+ messages in thread
From: Simon Glass @ 2021-02-03 21:42 UTC (permalink / raw)
To: u-boot
On Wed, 3 Feb 2021 at 06:20, Bin Meng <bmeng.cn@gmail.com> wrote:
>
> lib/binman.c references the following 3 ofnode APIs:
> ofnode_first_subnode(), ofnode_path() and ofnode_read_bool().
>
> These APIs get built only when DM is on. Fix the dependency then.
>
> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
> ---
>
> lib/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass <sjg@chromium.org>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 2/2] dts: Fix OF_LIVE dependency
2021-02-03 13:20 ` [PATCH 2/2] dts: Fix OF_LIVE dependency Bin Meng
2021-02-03 21:42 ` Simon Glass
@ 2021-02-07 0:16 ` Simon Glass
1 sibling, 0 replies; 6+ messages in thread
From: Simon Glass @ 2021-02-07 0:16 UTC (permalink / raw)
To: u-boot
On Wed, 3 Feb 2021 at 06:20, Bin Meng <bmeng.cn@gmail.com> wrote:
>
> lib/of_live.c references the following 2 ofnode APIs:
> of_alias_scan() and of_get_property().
>
> These APIs get built only when DM is on. Fix the dependency then.
>
> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
> ---
>
> dts/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Reviewed-by: Simon Glass <sjg@chromium.org>
Applied to u-boot-dm, thanks!
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/2] lib: Fix BINMAN_FDT dependency
2021-02-03 13:20 [PATCH 1/2] lib: Fix BINMAN_FDT dependency Bin Meng
2021-02-03 13:20 ` [PATCH 2/2] dts: Fix OF_LIVE dependency Bin Meng
2021-02-03 21:42 ` [PATCH 1/2] lib: Fix BINMAN_FDT dependency Simon Glass
@ 2021-02-07 0:16 ` Simon Glass
2 siblings, 0 replies; 6+ messages in thread
From: Simon Glass @ 2021-02-07 0:16 UTC (permalink / raw)
To: u-boot
On Wed, 3 Feb 2021 at 06:20, Bin Meng <bmeng.cn@gmail.com> wrote:
>
> lib/binman.c references the following 3 ofnode APIs:
> ofnode_first_subnode(), ofnode_path() and ofnode_read_bool().
>
> These APIs get built only when DM is on. Fix the dependency then.
>
> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
> ---
>
> lib/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass <sjg@chromium.org>
Applied to u-boot-dm, thanks!
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-02-07 0:16 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-03 13:20 [PATCH 1/2] lib: Fix BINMAN_FDT dependency Bin Meng
2021-02-03 13:20 ` [PATCH 2/2] dts: Fix OF_LIVE dependency Bin Meng
2021-02-03 21:42 ` Simon Glass
2021-02-07 0:16 ` Simon Glass
2021-02-03 21:42 ` [PATCH 1/2] lib: Fix BINMAN_FDT dependency Simon Glass
2021-02-07 0:16 ` Simon Glass
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.