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>
34 lines
743 B
Makefile
34 lines
743 B
Makefile
obj-y += base/
|
|
obj-$(CONFIG_ARM_AMBA) += amba/
|
|
obj-y += net/
|
|
obj-y += serial/
|
|
obj-y += mtd/
|
|
obj-y += usb/
|
|
obj-$(CONFIG_DISK) += ata/
|
|
obj-$(CONFIG_SPI) += spi/
|
|
obj-$(CONFIG_I2C) += i2c/
|
|
obj-$(CONFIG_MCI) += mci/
|
|
obj-$(CONFIG_VIDEO) += video/
|
|
obj-y += clk/
|
|
obj-y += clocksource/
|
|
obj-y += mfd/
|
|
obj-$(CONFIG_LED) += led/
|
|
obj-y += eeprom/
|
|
obj-$(CONFIG_PWM) += pwm/
|
|
obj-y += input/
|
|
obj-y += misc/
|
|
obj-y += dma/
|
|
obj-y += watchdog/
|
|
obj-y += gpio/
|
|
obj-$(CONFIG_OFTREE) += of/
|
|
obj-$(CONFIG_W1) += w1/
|
|
obj-y += pinctrl/
|
|
obj-y += bus/
|
|
obj-$(CONFIG_REGULATOR) += regulator/
|
|
obj-$(CONFIG_RESET_CONTROLLER) += reset/
|
|
obj-$(CONFIG_PCI) += pci/
|
|
obj-y += rtc/
|
|
obj-$(CONFIG_FIRMWARE) += firmware/
|
|
obj-$(CONFIG_GENERIC_PHY) += phy/
|
|
obj-$(CONFIG_HABV4) += habv4/
|