ARMv8/fsl-ppa: Consolidate PPA image stored-media flag for XIP
[oweals/u-boot.git] / arch / arm / cpu / armv8 / fsl-layerscape / ppa.c
index 541b251bf4a955e25b7f9e5a212a4589b754d16f..f54ac3f431e58f0ee293fbe59a7c2415e5e820ff 100644 (file)
@@ -24,7 +24,7 @@ int ppa_init(void)
        u32 *boot_loc_ptr_l, *boot_loc_ptr_h;
        int ret;
 
-#ifdef CONFIG_SYS_LS_PPA_FW_IN_NOR
+#ifdef CONFIG_SYS_LS_PPA_FW_IN_XIP
        ppa_fit_addr = (void *)CONFIG_SYS_LS_PPA_FW_ADDR;
 #else
 #error "No CONFIG_SYS_LS_PPA_FW_IN_xxx defined"