Skip to content
Snippets Groups Projects
Commit 4bcbfcf4 authored by Bryan O'Donoghue's avatar Bryan O'Donoghue Committed by Stefano Babic
Browse files

warp7: Specify CONFIG_OPTEE_LOAD_ADDR


In order to sign images with the IMX code-signing-tool (CST) we need to
know the load address of a given image. The best way to derive this load
address is to make it into a define - so that u-boot.cfg contains the
address - which we can then parse when generating the IMX CST headers.

This patch makes the OPTEE_LOAD_ADDR available via u-boot.cfg for further
parsing by external tools.

Signed-off-by: default avatarBryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: default avatarRyan Harkin <ryan.harkin@linaro.org>
Tested-by: default avatarBreno Lima <breno.lima@nxp.com>
Reviewed-by: default avatarFabio Estevam <fabio.estevam@nxp.com>
parent fbbf44af
No related branches found
No related tags found
No related merge requests found
...@@ -45,3 +45,4 @@ CONFIG_USB_ETH_CDC=y ...@@ -45,3 +45,4 @@ CONFIG_USB_ETH_CDC=y
CONFIG_USBNET_HOST_ADDR="de:ad:be:af:00:00" CONFIG_USBNET_HOST_ADDR="de:ad:be:af:00:00"
CONFIG_OF_LIBFDT=y CONFIG_OF_LIBFDT=y
CONFIG_OPTEE=y CONFIG_OPTEE=y
CONFIG_OPTEE_LOAD_ADDR=0x84000000
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
"initrd_high=0xffffffff\0" \ "initrd_high=0xffffffff\0" \
"fdt_file=imx7s-warp.dtb\0" \ "fdt_file=imx7s-warp.dtb\0" \
"fdt_addr=0x83000000\0" \ "fdt_addr=0x83000000\0" \
"optee_addr=" __stringify(CONFIG_OPTEE_LOAD_ADDR)"\0" \
"boot_fdt=try\0" \ "boot_fdt=try\0" \
"ip_dyn=yes\0" \ "ip_dyn=yes\0" \
"mmcdev="__stringify(CONFIG_SYS_MMC_ENV_DEV)"\0" \ "mmcdev="__stringify(CONFIG_SYS_MMC_ENV_DEV)"\0" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment