]> git.sur5r.net Git - u-boot/blobdiff - common/board_r.c
tpm: Add function to load keys via their parent's SHA1 hash
[u-boot] / common / board_r.c
index 8077280de414f6ba6504d5c992c4e2c575cfe440..5c9e6987b9e1a64f4b9fc43e53cd6bf06166860a 100644 (file)
@@ -355,7 +355,7 @@ static int initr_manual_reloc_cmdtable(void)
 }
 #endif
 
-#if !defined(CONFIG_SYS_NO_FLASH)
+#if defined(CONFIG_MTD_NOR_FLASH)
 static int initr_flash(void)
 {
        ulong flash_size = 0;
@@ -818,7 +818,7 @@ static init_fnc_t init_sequence_r[] = {
        arch_early_init_r,
 #endif
        power_init_board,
-#ifndef CONFIG_SYS_NO_FLASH
+#ifdef CONFIG_MTD_NOR_FLASH
        initr_flash,
 #endif
        INIT_FUNC_WATCHDOG_RESET