summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2019-11-08 12:33:02 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-11-08 13:45:40 +0100
commit63018ed3d7d3d5f1b3222ee641e8557d59c1168f (patch)
tree4a859ec95b7a4aa5cbfc99387af17bdcc2f514c2 /arch
parent46b9ddcb91c62c5f6c538d3109c38cc9034230d8 (diff)
downloadbarebox-63018ed3d7d3d5f1b3222ee641e8557d59c1168f.tar.gz
barebox-63018ed3d7d3d5f1b3222ee641e8557d59c1168f.tar.xz
ARM: i.MX6: sabresd: remove inaccurate comment
The board support is likely copied from the freescale-mx6-sabrelite, which requires some GPIOs setup before Ethernet is usable. There is no GPIOs used in this board's code, so remove the comment and along it the <gpio.h> header. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boards/freescale-mx6-sabresd/board.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/boards/freescale-mx6-sabresd/board.c b/arch/arm/boards/freescale-mx6-sabresd/board.c
index 595b1eae0b..a5059835df 100644
--- a/arch/arm/boards/freescale-mx6-sabresd/board.c
+++ b/arch/arm/boards/freescale-mx6-sabresd/board.c
@@ -19,7 +19,6 @@
#include <init.h>
#include <environment.h>
#include <mach/imx6-regs.h>
-#include <gpio.h>
#include <asm/armlinux.h>
#include <generated/mach-types.h>
#include <partition.h>
@@ -84,8 +83,4 @@ static int sabresd_coredevices_init(void)
return 0;
}
-/*
- * Do this before the fec initializes but after our
- * gpios are available.
- */
coredevice_initcall(sabresd_coredevices_init);