All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 2/5] imx: hab: rework support for imx6/imx7
Date: Fri, 9 Oct 2015 10:27:38 +0200	[thread overview]
Message-ID: <56177A7A.9010301@denx.de> (raw)
In-Reply-To: <1443648649-24599-2-git-send-email-aalonso@freescale.com>

Hi Adrian,

On 30/09/2015 23:30, Adrian Alonso wrote:
> Rework secure boot support for imx6 and imx7
> Move existing hab support for imx6 into imx-common for SoC
> reuse.
> 

Message is reused from V1 - but patch only moves code into imx-common
without doing anything for i.mx7. Please fix the commit message.

> Signed-off-by: Adrian Alonso <aalonso@freescale.com>
> ---
> Changes for V2: Split patch
> - Move existing hab mx6 into common location
> - Update include hab header location
> 
>  arch/arm/cpu/armv7/mx6/Makefile                     | 1 -
>  arch/arm/imx-common/Makefile                        | 1 +
>  arch/arm/{cpu/armv7/mx6 => imx-common}/hab.c        | 2 +-
>  arch/arm/include/asm/{arch-mx6 => imx-common}/hab.h | 0
>  4 files changed, 2 insertions(+), 2 deletions(-)
>  rename arch/arm/{cpu/armv7/mx6 => imx-common}/hab.c (99%)
>  rename arch/arm/include/asm/{arch-mx6 => imx-common}/hab.h (100%)
> 
> diff --git a/arch/arm/cpu/armv7/mx6/Makefile b/arch/arm/cpu/armv7/mx6/Makefile
> index bf6effc..8af191d 100644
> --- a/arch/arm/cpu/armv7/mx6/Makefile
> +++ b/arch/arm/cpu/armv7/mx6/Makefile
> @@ -9,5 +9,4 @@
>  
>  obj-y	:= soc.o clock.o
>  obj-$(CONFIG_SPL_BUILD)	     += ddr.o
> -obj-$(CONFIG_SECURE_BOOT)    += hab.o
>  obj-$(CONFIG_MP)             += mp.o
> diff --git a/arch/arm/imx-common/Makefile b/arch/arm/imx-common/Makefile
> index 1698d06..4abffee 100644
> --- a/arch/arm/imx-common/Makefile
> +++ b/arch/arm/imx-common/Makefile
> @@ -27,6 +27,7 @@ ifeq ($(SOC),$(filter $(SOC),mx6 mx7))
>  obj-y 	+= cache.o init.o
>  obj-$(CONFIG_CMD_SATA) += sata.o
>  obj-$(CONFIG_IMX_VIDEO_SKIP) += video.o
> +obj-$(CONFIG_SECURE_BOOT)    += hab.o
>  endif
>  ifeq ($(SOC),$(filter $(SOC),vf610))
>  obj-y += ddrmc-vf610.o
> diff --git a/arch/arm/cpu/armv7/mx6/hab.c b/arch/arm/imx-common/hab.c
> similarity index 99%
> rename from arch/arm/cpu/armv7/mx6/hab.c
> rename to arch/arm/imx-common/hab.c
> index 27cabe4..9ee0f12 100644
> --- a/arch/arm/cpu/armv7/mx6/hab.c
> +++ b/arch/arm/imx-common/hab.c
> @@ -7,9 +7,9 @@
>  #include <common.h>
>  #include <asm/io.h>
>  #include <asm/system.h>
> -#include <asm/arch/hab.h>
>  #include <asm/arch/clock.h>
>  #include <asm/arch/sys_proto.h>
> +#include <asm/imx-common/hab.h>
>  
>  /* -------- start of HAB API updates ------------*/
>  
> diff --git a/arch/arm/include/asm/arch-mx6/hab.h b/arch/arm/include/asm/imx-common/hab.h
> similarity index 100%
> rename from arch/arm/include/asm/arch-mx6/hab.h
> rename to arch/arm/include/asm/imx-common/hab.h
> 

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

  reply	other threads:[~2015-10-09  8:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-30 21:30 [U-Boot] [PATCH v2 1/5] imx: cpu: move common chip revision id's Adrian Alonso
2015-09-30 21:30 ` [U-Boot] [PATCH v2 2/5] imx: hab: rework support for imx6/imx7 Adrian Alonso
2015-10-09  8:27   ` Stefano Babic [this message]
2015-09-30 21:30 ` [U-Boot] [PATCH v2 3/5] imx: hab use unified rom section for mx6sx and mx6ul Adrian Alonso
2015-10-09  8:25   ` Stefano Babic
2015-09-30 21:30 ` [U-Boot] [PATCH v2 4/5] imx: hab add mx7 secure boot support Adrian Alonso
2015-10-09  8:52   ` Stefano Babic
2015-10-12 18:49     ` Alonso Adrian
2015-09-30 21:30 ` [U-Boot] [PATCH v2 5/5] mx7dsabresd: add " Adrian Alonso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56177A7A.9010301@denx.de \
    --to=sbabic@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.