diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2015-04-13 14:27:03 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-04-15 07:12:17 +0200 |
commit | 29abc10d44c221ce19cdd83da45178f077924db6 (patch) | |
tree | 87b55e641583e835cd9e0b4fc74b630064c35c15 /drivers/Makefile | |
parent | d3be1ab1fcd20aa83af228df552eb74fa68c5c89 (diff) | |
download | barebox-29abc10d44c221ce19cdd83da45178f077924db6.tar.gz barebox-29abc10d44c221ce19cdd83da45178f077924db6.tar.xz |
habv4: add High Assurance Boot v4
This patch adds the code to check the HAB ROM for failures during development.
Add a cal to "habv4_get_status();" to your board file, to get the current
system state from the ROM.
_NOTE_: On i.MX6 this has to happen before barebox starts the MMU, because the
HAB ROM vector table is placed at 0x94, which is not accessible after the
MMU has setup the zero page.
This patch contains code ported from u-boot patches [1][2] by Shaojun Wang [3]
which were found in the "Mx28 Secure Boot" and "Mx6 HAB (High Assurance Boot)"
thread on the freescale community forum [4][5].
[1] https://community.freescale.com/servlet/JiveServlet/download/370047-269174/0001-enable-mx28-u-boot-hab.patch.txt.zip
[1] https://community.freescale.com/servlet/JiveServlet/download/96451-11-266175/0001-u-boot-enable-mx6-hab.patch.zip
[2] https://community.freescale.com/people/ShaojunWang
[3] https://community.freescale.com/thread/317254
[3] https://community.freescale.com/docs/DOC-96451
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/Makefile')
-rw-r--r-- | drivers/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/Makefile b/drivers/Makefile index 7ef5e90d80..3afbb61b2d 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -30,3 +30,4 @@ obj-$(CONFIG_PCI) += pci/ obj-y += rtc/ obj-$(CONFIG_FIRMWARE) += firmware/ obj-$(CONFIG_GENERIC_PHY) += phy/ +obj-$(CONFIG_HABV4) += habv4/ |