mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: stm32mp: dk2: delete unused includes
@ 2020-02-24  8:11 Ahmad Fatoum
  2020-02-24  8:11 ` [PATCH 2/2] ARM: stm32mp: add aliases for mmc1 and mmc2 Ahmad Fatoum
  2020-02-25  8:05 ` [PATCH 1/2] ARM: stm32mp: dk2: delete unused includes Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Ahmad Fatoum @ 2020-02-24  8:11 UTC (permalink / raw)
  To: barebox

These includes are no longer needed because we don't need to hard code
memory size in board code anymore for the STM32MP. Drop them.

Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
---
 arch/arm/boards/stm32mp157c-dk2/board.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/arch/arm/boards/stm32mp157c-dk2/board.c b/arch/arm/boards/stm32mp157c-dk2/board.c
index 6da99d9353ac..46366031218d 100644
--- a/arch/arm/boards/stm32mp157c-dk2/board.c
+++ b/arch/arm/boards/stm32mp157c-dk2/board.c
@@ -1,9 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0+
 #include <common.h>
-#include <linux/sizes.h>
 #include <init.h>
-#include <asm/memory.h>
-#include <mach/stm32.h>
 #include <mach/bbu.h>
 
 static int dk2_postcore_init(void)
-- 
2.20.1


_______________________________________________
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: stm32mp: add aliases for mmc1 and mmc2
  2020-02-24  8:11 [PATCH 1/2] ARM: stm32mp: dk2: delete unused includes Ahmad Fatoum
@ 2020-02-24  8:11 ` Ahmad Fatoum
  2020-02-25  8:05 ` [PATCH 1/2] ARM: stm32mp: dk2: delete unused includes Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Ahmad Fatoum @ 2020-02-24  8:11 UTC (permalink / raw)
  To: barebox

With the latest update, dts/src/arm/stm32mp151.dtsi now defines the two
other sdmmc nodes as well. Have barebox set aliases for them.

Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
---
 arch/arm/dts/stm32mp151.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/dts/stm32mp151.dtsi b/arch/arm/dts/stm32mp151.dtsi
index e416c89856a2..8f8249dbc479 100644
--- a/arch/arm/dts/stm32mp151.dtsi
+++ b/arch/arm/dts/stm32mp151.dtsi
@@ -19,6 +19,8 @@
 		gpio10 = &gpiok;
 		gpio25 = &gpioz;
 		mmc0 = &sdmmc1;
+		mmc1 = &sdmmc2;
+		mmc2 = &sdmmc3;
 	};
 
 	psci {
-- 
2.20.1


_______________________________________________
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: stm32mp: dk2: delete unused includes
  2020-02-24  8:11 [PATCH 1/2] ARM: stm32mp: dk2: delete unused includes Ahmad Fatoum
  2020-02-24  8:11 ` [PATCH 2/2] ARM: stm32mp: add aliases for mmc1 and mmc2 Ahmad Fatoum
@ 2020-02-25  8:05 ` Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2020-02-25  8:05 UTC (permalink / raw)
  To: Ahmad Fatoum; +Cc: barebox

On Mon, Feb 24, 2020 at 09:11:53AM +0100, Ahmad Fatoum wrote:
> These includes are no longer needed because we don't need to hard code
> memory size in board code anymore for the STM32MP. Drop them.
> 
> Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
> ---
>  arch/arm/boards/stm32mp157c-dk2/board.c | 3 ---
>  1 file changed, 3 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:[~2020-02-25  8:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-24  8:11 [PATCH 1/2] ARM: stm32mp: dk2: delete unused includes Ahmad Fatoum
2020-02-24  8:11 ` [PATCH 2/2] ARM: stm32mp: add aliases for mmc1 and mmc2 Ahmad Fatoum
2020-02-25  8:05 ` [PATCH 1/2] ARM: stm32mp: dk2: delete unused includes Sascha Hauer

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