Skip to contentSkip to conversation

ARM: dts: am335x-phytec-phycore-som: Disable mac node.

PATCH In review Wadim Egorov 2 participants 4 messages Sep 28, 2015 – Sep 29, 2015

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/3 ARM: dts: am335x-phytec-phycore-som: Disable mac node.

---
 arch/arm/dts/am335x-phytec-phycore-som-mlo.dts | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/dts/am335x-phytec-phycore-som-mlo.dts +4 -0
index f70835f..32b43dd 100644
@@ -27,3 +27,7 @@
 &gpmc {
 	status = "disabled";
 };
+
+&mac {
+	status = "disabled";
+};
Signature · 7 lines
1.9.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#1 lore raw

PATCH 2/3 ARM: am33xx: Enable ethernet node on NET boot

---
 arch/arm/mach-omap/am33xx_generic.c | 3 +++
 1 file changed, 3 insertions(+)
arch/arm/mach-omap/am33xx_generic.c +3 -0
index ae0ee58..5eead5c 100644
@@ -505,6 +505,9 @@ int am33xx_of_register_bootdevice(void)
 	case BOOTSOURCE_SPI:
 		dev = of_device_enable_and_register_by_name("spi@48030000");
 		break;
+	case BOOTSOURCE_NET:
+		dev = of_device_enable_and_register_by_name("ethernet@4a100000");
+		break;
 	default:
 		/* Use nand fallback */
 		dev = of_device_enable_and_register_by_name("gpmc@50000000");
Signature · 7 lines
1.9.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#2 lore raw

PATCH 3/3 net: dhcp: Fix CONFIG variable name

In reply to Wadim Egorov
---
 net/dhcp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/dhcp.c +1 -1
index e1625ec..fb8a713 100644
@@ -158,7 +158,7 @@ static void env_str_handle(struct dhcp_opt *opt, unsigned char *popt, int optlen
 
 	if (opt->copy_only_if_valid && !strlen(tmp))
 		return;
-	if (opt->barebox_var_name && IS_ENABLED(EVIRONMENT_VARIABLES))
+	if (opt->barebox_var_name && IS_ENABLED(CONFIG_ENVIRONMENT_VARIABLES))
 		setenv(opt->barebox_var_name, tmp);
 	if (opt->barebox_dhcp_global && IS_ENABLED(CONFIG_GLOBALVAR))
 		dhcp_set_barebox_global(opt->barebox_dhcp_global, tmp);
Signature · 7 lines
1.9.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#3 lore raw
In reply to Wadim Egorov
Quoted 4 lines · Wadim Egorov
---
 arch/arm/dts/am335x-phytec-phycore-som-mlo.dts | 4 ++++
 1 file changed, 4 insertions(+)

Applied 1/3 and 2/3 to next and 3/3 to master.

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