mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/3] ARM: add AFLAGS for secure monitor files
@ 2017-03-20 13:07 Lucas Stach
  2017-03-20 13:07 ` [PATCH 2/3] ATA: mvebu: select DISK_ATA Lucas Stach
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Lucas Stach @ 2017-03-20 13:07 UTC (permalink / raw)
  To: barebox

The instructions used in those files are only supported on ARMv7.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 arch/arm/cpu/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/cpu/Makefile b/arch/arm/cpu/Makefile
index 13b4f9590d21..13fe12c31f6f 100644
--- a/arch/arm/cpu/Makefile
+++ b/arch/arm/cpu/Makefile
@@ -36,7 +36,9 @@ endif
 
 obj-$(CONFIG_ARM_PSCI) += psci.o
 obj-$(CONFIG_ARM_SECURE_MONITOR) += smccc-call.o
+AFLAGS_smccc-call.o	:=-Wa,-march=armv7-a
 obj-$(CONFIG_ARM_SECURE_MONITOR) += sm.o sm_as.o
+AFLAGS_sm_as.o		:=-Wa,-march=armv7-a
 
 obj-$(CONFIG_CPU_32v4T) += cache-armv4.o
 pbl-$(CONFIG_CPU_32v4T) += cache-armv4.o
-- 
2.11.0


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

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

* [PATCH 2/3] ATA: mvebu: select DISK_ATA
  2017-03-20 13:07 [PATCH 1/3] ARM: add AFLAGS for secure monitor files Lucas Stach
@ 2017-03-20 13:07 ` Lucas Stach
  2017-03-20 13:07 ` [PATCH 3/3] ARM: mvebu: only build kwbootimage support if BOOTM is enabled Lucas Stach
  2017-03-22  6:59 ` [PATCH 1/3] ARM: add AFLAGS for secure monitor files Sascha Hauer
  2 siblings, 0 replies; 4+ messages in thread
From: Lucas Stach @ 2017-03-20 13:07 UTC (permalink / raw)
  To: barebox

The already selected DISK_IDE_SFF depends on it.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 drivers/ata/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
index 0234c66c8ec8..040c5fd237fd 100644
--- a/drivers/ata/Kconfig
+++ b/drivers/ata/Kconfig
@@ -44,6 +44,7 @@ config DISK_AHCI_IMX
 
 config DISK_SATA_MV
 	depends on ARCH_MVEBU
+	select DISK_ATA
 	select DISK_IDE_SFF
 	bool "Marvell SATA support"
 
-- 
2.11.0


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

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

* [PATCH 3/3] ARM: mvebu: only build kwbootimage support if BOOTM is enabled
  2017-03-20 13:07 [PATCH 1/3] ARM: add AFLAGS for secure monitor files Lucas Stach
  2017-03-20 13:07 ` [PATCH 2/3] ATA: mvebu: select DISK_ATA Lucas Stach
@ 2017-03-20 13:07 ` Lucas Stach
  2017-03-22  6:59 ` [PATCH 1/3] ARM: add AFLAGS for secure monitor files Sascha Hauer
  2 siblings, 0 replies; 4+ messages in thread
From: Lucas Stach @ 2017-03-20 13:07 UTC (permalink / raw)
  To: barebox

As this is the bootm image handler implementation for the kwbootimage
it is of no use if BOOTM is missing and fails to link.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 arch/arm/mach-mvebu/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-mvebu/Makefile b/arch/arm/mach-mvebu/Makefile
index fb5c4e6bcd66..89805ba5b186 100644
--- a/arch/arm/mach-mvebu/Makefile
+++ b/arch/arm/mach-mvebu/Makefile
@@ -3,4 +3,4 @@ obj-$(CONFIG_ARCH_ARMADA_370)	+= armada-370-xp.o
 obj-$(CONFIG_ARCH_ARMADA_XP)	+= armada-370-xp.o
 obj-$(CONFIG_ARCH_DOVE)		+= dove.o
 obj-$(CONFIG_ARCH_KIRKWOOD)	+= kirkwood.o
-obj-y				+= kwbootimage.o
+obj-$(CONFIG_BOOTM)		+= kwbootimage.o
-- 
2.11.0


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

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

* Re: [PATCH 1/3] ARM: add AFLAGS for secure monitor files
  2017-03-20 13:07 [PATCH 1/3] ARM: add AFLAGS for secure monitor files Lucas Stach
  2017-03-20 13:07 ` [PATCH 2/3] ATA: mvebu: select DISK_ATA Lucas Stach
  2017-03-20 13:07 ` [PATCH 3/3] ARM: mvebu: only build kwbootimage support if BOOTM is enabled Lucas Stach
@ 2017-03-22  6:59 ` Sascha Hauer
  2 siblings, 0 replies; 4+ messages in thread
From: Sascha Hauer @ 2017-03-22  6:59 UTC (permalink / raw)
  To: Lucas Stach; +Cc: barebox

On Mon, Mar 20, 2017 at 02:07:06PM +0100, Lucas Stach wrote:
> The instructions used in those files are only supported on ARMv7.
> 
> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
> ---
>  arch/arm/cpu/Makefile | 2 ++
>  1 file changed, 2 insertions(+)

Applied, thanks

Sascha

> 
> diff --git a/arch/arm/cpu/Makefile b/arch/arm/cpu/Makefile
> index 13b4f9590d21..13fe12c31f6f 100644
> --- a/arch/arm/cpu/Makefile
> +++ b/arch/arm/cpu/Makefile
> @@ -36,7 +36,9 @@ endif
>  
>  obj-$(CONFIG_ARM_PSCI) += psci.o
>  obj-$(CONFIG_ARM_SECURE_MONITOR) += smccc-call.o
> +AFLAGS_smccc-call.o	:=-Wa,-march=armv7-a
>  obj-$(CONFIG_ARM_SECURE_MONITOR) += sm.o sm_as.o
> +AFLAGS_sm_as.o		:=-Wa,-march=armv7-a
>  
>  obj-$(CONFIG_CPU_32v4T) += cache-armv4.o
>  pbl-$(CONFIG_CPU_32v4T) += cache-armv4.o
> -- 
> 2.11.0
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
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 |

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

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

end of thread, other threads:[~2017-03-22  7:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-20 13:07 [PATCH 1/3] ARM: add AFLAGS for secure monitor files Lucas Stach
2017-03-20 13:07 ` [PATCH 2/3] ATA: mvebu: select DISK_ATA Lucas Stach
2017-03-20 13:07 ` [PATCH 3/3] ARM: mvebu: only build kwbootimage support if BOOTM is enabled Lucas Stach
2017-03-22  6:59 ` [PATCH 1/3] ARM: add AFLAGS for secure monitor files Sascha Hauer

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