Skip to contentSkip to conversation

ARM: stm32mp: dk2: delete unused includes

PATCH Applied Ahmad Fatoum 2 participants 3 messages Feb 24, 2020 – Feb 25, 2020

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

PATCH 1/2 ARM: stm32mp: dk2: delete unused includes

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.

---
 arch/arm/boards/stm32mp157c-dk2/board.c | 3 ---
 1 file changed, 3 deletions(-)
arch/arm/boards/stm32mp157c-dk2/board.c +0 -3
index 6da99d9353ac..46366031218d 100644
@@ -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)
Signature · 7 lines
2.20.1


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

PATCH 2/2 ARM: stm32mp: add aliases for mmc1 and mmc2

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

---
 arch/arm/dts/stm32mp151.dtsi | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/dts/stm32mp151.dtsi +2 -0
index e416c89856a2..8f8249dbc479 100644
@@ -19,6 +19,8 @@
 		gpio10 = &gpiok;
 		gpio25 = &gpioz;
 		mmc0 = &sdmmc1;
+		mmc1 = &sdmmc2;
+		mmc2 = &sdmmc3;
 	};
 
 	psci {
Signature · 7 lines
2.20.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#2 lore raw
In reply to Ahmad Fatoum
Quoted 7 lines · Ahmad Fatoum

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.

---
 arch/arm/boards/stm32mp157c-dk2/board.c | 3 ---
 1 file changed, 3 deletions(-)

Applied, thanks

Sascha

Signature · 9 lines
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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox