Message ID | 1511823851-21187-1-git-send-email-brenomatheus@gmail.com |
---|---|
State | Accepted |
Commit | 55c808e3401c4faa8665e38bd3322954ae984323 |
Delegated to: | Stefano Babic |
Headers | show |
Series | [U-Boot,1/5] mx6slevk: imximage.cfg: Handle the CONFIG_SECURE_BOOT case | expand |
On Mon, Nov 27, 2017 at 9:04 PM, Breno Lima <brenomatheus@gmail.com> wrote: > From: Breno Lima <breno.lima@nxp.com> > > Secure boot is not enabled in warp imximage.cfg, add support for it. > > Signed-off-by: Breno Lima <breno.lima@nxp.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
On 28/11/2017 00:04, Breno Lima wrote: > From: Breno Lima <breno.lima@nxp.com> > > Secure boot is not enabled in warp imximage.cfg, add support for it. > > Signed-off-by: Breno Lima <breno.lima@nxp.com> > --- > board/warp/imximage.cfg | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/board/warp/imximage.cfg b/board/warp/imximage.cfg > index 771dbb3..8420968 100644 > --- a/board/warp/imximage.cfg > +++ b/board/warp/imximage.cfg > @@ -8,6 +8,8 @@ > * > * The syntax is taken as close as possible with the kwbimage > */ > +#define __ASSEMBLY__ > +#include <config.h> > > /* image version */ > > @@ -21,6 +23,13 @@ IMAGE_VERSION 2 > BOOT_FROM sd > > /* > + * Secure boot support > + */ > +#ifdef CONFIG_SECURE_BOOT > +CSF CONFIG_CSF_SIZE > +#endif > + > +/* > * Device Configuration Data (DCD) > * > * Each entry must have the format: > Applied to u-boot-imx, thanks ! Best regards, Stefano Babic
diff --git a/board/warp/imximage.cfg b/board/warp/imximage.cfg index 771dbb3..8420968 100644 --- a/board/warp/imximage.cfg +++ b/board/warp/imximage.cfg @@ -8,6 +8,8 @@ * * The syntax is taken as close as possible with the kwbimage */ +#define __ASSEMBLY__ +#include <config.h> /* image version */ @@ -21,6 +23,13 @@ IMAGE_VERSION 2 BOOT_FROM sd /* + * Secure boot support + */ +#ifdef CONFIG_SECURE_BOOT +CSF CONFIG_CSF_SIZE +#endif + +/* * Device Configuration Data (DCD) * * Each entry must have the format: