u-boot-brain/arch/arm/mach-omap2
Andrew F. Davis 7410f1464e arm: mach-omap2: Fix secure file generation
When TI_SECURE_DEV_PKG is not defined we warn that the file '*_HS' was
not generated but generate an unsigned one anyway, first fix this
warning to say that it was generated but not secured.

When the user then exports TI_SECURE_DEV_PKG after getting this warning,
and tries to re-build, 'make' will detect the build artifacts as
unchanged and so assume they do not need to be re-generated. This causes
it to fail to sign the files and it will pack unsigned files into the
final image, even though TI_SECURE_DEV_PKG is now correctly defined and
working.

Fix this by using FORCE on the targets causes them to be re-run even if
the dependent files have not changed.

This then causes another issue. We currently rename the signed dtb files
to overwrite the non-signed ones. We do this so the 'mkimage' tool gives
the packaged dtb sections the correct name. If we do not rename the files
then SPL will not find them during boot.

Fix this by renaming the dtb files by appending _HS to the end of the
filename, after the ".dtb", this causes them to still be named correctly
in the FIT blob.

Signed-off-by: Andrew F. Davis <afd@ti.com>
2017-01-08 08:31:33 -05:00
..
am33xx arm: am33xx: Initialize EMIF REG_PR_OLD_COUNT for BBB and am335x-evm 2016-12-09 15:00:03 -05:00
omap3 drivers: usb: musb: adopt musb backend driver to driver model 2016-12-02 21:04:48 -07:00
omap4 ARM: OMAP4+: Add support for getting pbias info from board 2016-12-04 13:54:51 -05:00
omap5 arm: am57xx: cl-som-am57x: add initial board support 2017-01-02 11:14:06 -05:00
abb.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
boot-common.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
clocks-common.c ARM: OMAP4+: Add support for dynamically selecting OPPs 2016-12-04 13:54:48 -05:00
config_secure.mk arm: mach-omap2: Fix secure file generation 2017-01-08 08:31:33 -05:00
config.mk arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
emif-common.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
hwinit-common.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
Kconfig arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
lowlevel_init.S arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
Makefile arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
mem-common.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
omap-cache.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
pipe3-phy.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
pipe3-phy.h arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
reset.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
sata.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
sec-common.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
timer.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
u-boot-spl.lds arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
utils.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
vc.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00