mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: i.MX6: Embedsky E9: remove inaccurate comment
@ 2019-11-08 11:33 Ahmad Fatoum
  2019-11-08 11:33 ` [PATCH 2/2] ARM: i.MX6: sabresd: " Ahmad Fatoum
  2019-11-08 12:45 ` [PATCH 1/2] ARM: i.MX6: Embedsky E9: " Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Ahmad Fatoum @ 2019-11-08 11:33 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

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>
---
 arch/arm/boards/embedsky-e9/board.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/arch/arm/boards/embedsky-e9/board.c b/arch/arm/boards/embedsky-e9/board.c
index 0f47677bb06a..e5f92636fbc3 100644
--- a/arch/arm/boards/embedsky-e9/board.c
+++ b/arch/arm/boards/embedsky-e9/board.c
@@ -22,7 +22,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>
@@ -102,8 +101,4 @@ static int e9_coredevices_init(void)
 
 	return 0;
 }
-/*
- * Do this before the fec initializes but after our
- * gpios are available.
- */
 coredevice_initcall(e9_coredevices_init);
-- 
2.24.0.rc1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 2/2] ARM: i.MX6: sabresd: remove inaccurate comment
  2019-11-08 11:33 [PATCH 1/2] ARM: i.MX6: Embedsky E9: remove inaccurate comment Ahmad Fatoum
@ 2019-11-08 11:33 ` Ahmad Fatoum
  2019-11-08 12:45 ` [PATCH 1/2] ARM: i.MX6: Embedsky E9: " Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Ahmad Fatoum @ 2019-11-08 11:33 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

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>
---
 arch/arm/boards/freescale-mx6-sabresd/board.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/arch/arm/boards/freescale-mx6-sabresd/board.c b/arch/arm/boards/freescale-mx6-sabresd/board.c
index 595b1eae0ba8..a5059835dfbc 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);
-- 
2.24.0.rc1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] ARM: i.MX6: Embedsky E9: remove inaccurate comment
  2019-11-08 11:33 [PATCH 1/2] ARM: i.MX6: Embedsky E9: remove inaccurate comment Ahmad Fatoum
  2019-11-08 11:33 ` [PATCH 2/2] ARM: i.MX6: sabresd: " Ahmad Fatoum
@ 2019-11-08 12:45 ` Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2019-11-08 12:45 UTC (permalink / raw)
  To: Ahmad Fatoum; +Cc: barebox

On Fri, Nov 08, 2019 at 12:33:01PM +0100, Ahmad Fatoum wrote:
> 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>
> ---
>  arch/arm/boards/embedsky-e9/board.c | 5 -----
>  1 file changed, 5 deletions(-)

Applied, thanks

Sascha


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-11-08 12:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-08 11:33 [PATCH 1/2] ARM: i.MX6: Embedsky E9: remove inaccurate comment Ahmad Fatoum
2019-11-08 11:33 ` [PATCH 2/2] ARM: i.MX6: sabresd: " Ahmad Fatoum
2019-11-08 12:45 ` [PATCH 1/2] ARM: i.MX6: Embedsky E9: " Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox