fix(plat/nxp/ls1028a): fix compile error when enable fuse provision
Fix the error that no "gpio_init_data" is defined when build with "FUSE_PROG=1". Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com> Change-Id: I0ba8005725fe33c6d8e68b4d52539f5d5d749f1a
This commit is contained in:
parent
3239a17561
commit
a0da9c4bd2
|
@ -16,6 +16,9 @@
|
|||
#include <lib/xlat_tables/xlat_tables_v2.h>
|
||||
#include <ls_interconnect.h>
|
||||
#include <mmio.h>
|
||||
#ifdef POLICY_FUSE_PROVISION
|
||||
#include <nxp_gpio.h>
|
||||
#endif
|
||||
#if TRUSTED_BOARD_BOOT
|
||||
#include <nxp_smmu.h>
|
||||
#endif
|
||||
|
@ -81,6 +84,15 @@ unsigned int plat_get_syscnt_freq2(void)
|
|||
}
|
||||
|
||||
#ifdef IMAGE_BL2
|
||||
|
||||
#ifdef POLICY_FUSE_PROVISION
|
||||
static gpio_init_info_t gpio_init_data = {
|
||||
.gpio1_base_addr = NXP_GPIO1_ADDR,
|
||||
.gpio2_base_addr = NXP_GPIO2_ADDR,
|
||||
.gpio3_base_addr = NXP_GPIO3_ADDR,
|
||||
};
|
||||
#endif
|
||||
|
||||
void soc_preload_setup(void)
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue