trustfence: ccimx93: implement missing secure console functionality
Unlike the rest of the NXP platforms, in u-boot, the ccimx93 allows configuring a GPIO name to activate the console when secure console is enabled. Those u-boot options were not translated to the trustfence code in meta-digi. https://onedigi.atlassian.net/browse/DEL-9063 Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
0d085e3062
commit
970c0cac50
|
|
@ -150,6 +150,12 @@ python () {
|
|||
elif d.getVar("TRUSTFENCE_CONSOLE_GPIO_ENABLE"):
|
||||
if (d.getVar("DEY_SOC_VENDOR") == "NXP"):
|
||||
d.appendVar("UBOOT_TF_CONF", "CONFIG_CONSOLE_ENABLE_GPIO=y CONFIG_CONSOLE_ENABLE_GPIO_NR=%s " % d.getVar("TRUSTFENCE_CONSOLE_GPIO_ENABLE"))
|
||||
if d.getVar("TRUSTFENCE_CONSOLE_GPIO_ENABLE_NAME"):
|
||||
d.appendVar("UBOOT_TF_CONF", 'CONFIG_CONSOLE_ENABLE_GPIO_NAME="%s" ' % d.getVar("TRUSTFENCE_CONSOLE_GPIO_ENABLE_NAME"))
|
||||
if d.getVar("TRUSTFENCE_CONSOLE_GPIO_ENABLE_ACTIVE_LOW"):
|
||||
d.appendVar("UBOOT_TF_CONF", "CONFIG_CONSOLE_ENABLE_GPIO_ACTIVE_LOW=y ")
|
||||
else:
|
||||
d.appendVar("UBOOT_TF_CONF", '"# CONFIG_CONSOLE_ENABLE_GPIO_ACTIVE_LOW is not set" ')
|
||||
elif (d.getVar("DEY_SOC_VENDOR") == "STM"):
|
||||
d.appendVar("UBOOT_TF_CONF", 'CONFIG_CONSOLE_ENABLE_GPIO=y CONFIG_CONSOLE_ENABLE_GPIO_NAME="%s" ' % d.getVar("TRUSTFENCE_CONSOLE_GPIO_ENABLE_NAME"))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue