[PATCH] fixup! raspberry-pi: add board model detection

Antony Pavlov antonynpavlov at gmail.com
Sun Jan 18 14:15:49 PST 2015


---

The 'has_onboard_eth' field is unused.

---
 arch/arm/boards/raspberry-pi/rpi.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/boards/raspberry-pi/rpi.c b/arch/arm/boards/raspberry-pi/rpi.c
index 81b485e..108bd28 100644
--- a/arch/arm/boards/raspberry-pi/rpi.c
+++ b/arch/arm/boards/raspberry-pi/rpi.c
@@ -140,7 +140,6 @@ static void rpi_b_init(void)
 /* See comments in mbox.h for data source */
 static const struct {
 	const char *name;
-	bool has_onboard_eth;
 	void (*init)(void);
 } models[] = {
 	RPI_MODEL(0, "Unknown model", NULL),
-- 
2.1.4




More information about the barebox mailing list