net: designware: don't depend on CONFIG_OFTREE
PATCH 1/3 net: designware: don't depend on CONFIG_OFTREE
This driver is written in a way that is should also work without DT, but it had a compile time dependency on CONFIG_OFTREE.
Fixes:drivers/built-in.o: In function `dwc_probe_dt':drivers/net/designware.c:413: undefined reference to `of_get_phy_mode'
--- drivers/net/designware.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/net/designware.c +3 -0
@@ -406,6 +406,9 @@ static void dwc_version(struct device_d *dev, u32 hwid)static int dwc_probe_dt (struct device_d *dev,struct dw_eth_dev *priv) { +if (!IS_ENABLED (CONFIG_OFTREE )) +return -ENODEV ; + priv->phy_addr =-1 ; priv->interface =of_get_phy_mode (dev->device_node);
Signature · 7 lines
2.1.0 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
PATCH 2/3 menu: depend on !CONFIG_SHELL_NONE
It doesn't make much sense to have the menuframework but no shell.
Fixes:
In function menu_action_command': undefined reference to run_command'
--- common/Kconfig | 1 + 1 file changed, 1 insertion(+)
common/Kconfig +1 -0
@@ -414,6 +414,7 @@ config AUTO_COMPLETE config MENU bool prompt "Menu Framework" + depends on !SHELL_NONE select PROCESS_ESCAPE_SEQUENCE help a menu framework that allow us to create list menu to simplify
Signature · 7 lines
2.1.0 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
PATCH 3/3 ARM: MIOA701: select POLLER
In reply to Lucas StachFixes:
In function gpio0_poweroff_probe': undefined reference to poller_register'
--- arch/arm/mach-pxa/Kconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm/mach-pxa/Kconfig +1 -0
@@ -64,6 +64,7 @@ config MACH_MIOA701 bool "Mitac Mio A701" select BCH_CONST_PARAMS select PWM + select POLLER help Say Y here if you are using a Mitac Mio A701 smartphone
Signature · 7 lines
2.1.0 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Sascha Hauer
AppliedQuoted 11 lines · Lucas Stach
This driver is written in a way that is should also work without DT, but it had a compile time dependency on
CONFIG_OFTREE.Fixes:
drivers/built-in.o: In function `dwc_probe_dt':drivers/net/designware.c:413: undefined reference to `of_get_phy_mode'Signed-off-by Lucas Stach <[email protected]>--- drivers/net/designware.c | 3 +++ 1 file changed, 3 insertions(+)
Applied, thanks
Sascha
Signature · 9 lines
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 [email protected] http://lists.infradead.org/mailman/listinfo/barebox