mach-h720x: fix build error
Subsystems (2)
PATCH 1/1 mach-h720x: fix build error
From: Linus Walleij <[email protected]>
The h7201/h7202 machines did not build since they define ARM_DMA_ZONE_OFFSET but do not select ZONE_DMA. Fix it up by selecting ZONE_DMA in their Kconfig.
--- arch/arm/mach-h720x/Kconfig | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/mach-h720x/Kconfig +2 -0
@@ -6,12 +6,14 @@ config ARCH_H7201 bool "gms30c7201" depends on ARCH_H720X select CPU_H7201 + select ZONE_DMA help Say Y here if you are using the Hynix GMS30C7201 Reference Board config ARCH_H7202 bool "hms30c7202" select CPU_H7202 + select ZONE_DMA depends on ARCH_H720X help Say Y here if you are using the Hynix HMS30C7202 Reference Board
Signature · 1 line
1.7.3.2
PATCH 1/1 mach-h720x: fix build error
Quoted 8 lines · Linus Walleij
From: Linus Walleij <[email protected]>
The h7201/h7202 machines did not build since they define
ARM_DMA_ZONE_OFFSETbut do not selectZONE_DMA. Fix it up by selectingZONE_DMAin theirKconfig.Cc Sascha Hauer <[email protected]>Signed-off-by Linus Walleij <[email protected]>
I could take this through my i.MX tree, though the topic is quite wrong. Can you check this into the patch system?
Sascha
Quoted 27 lines
--- arch/arm/mach-h720x/Kconfig | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)arch/arm/mach-h720x/Kconfig +2
-0@@ -6,12 +6,14 @@ config ARCH_H7201 bool "gms30c7201" depends on ARCH_H720X select CPU_H7201 + select ZONE_DMA help Say Y here if you are using the Hynix GMS30C7201 Reference Board config ARCH_H7202 bool "hms30c7202" select CPU_H7202 + select ZONE_DMA depends on ARCH_H720X help Say Y here if you are using the Hynix HMS30C7202 Reference BoardSignature · 1 line
1.7.3.2
Signature · 4 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
PATCH 1/1 mach-h720x: fix build error
Quoted 2 lines · Sascha Hauer
I could take this through my i.MX tree, though the topic is quite wrong. Can you check this into the patch system?
Yeah I did just 5 minutes before your mail or so :-)
Thanks,
Linus Walleij