]> git.sur5r.net Git - u-boot/blobdiff - board/freescale/t1040qds/law.c
SPDX: Convert all of our single license tags to Linux Kernel style
[u-boot] / board / freescale / t1040qds / law.c
index a2dc027e4b577c2d7c398c89e692fe3abbcd70dd..cf27655c14f7f7e15cfa742716f2c2b2931dcdf5 100644 (file)
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright 2013 Freescale Semiconductor, Inc.
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -9,7 +8,7 @@
 #include <asm/mmu.h>
 
 struct law_entry law_table[] = {
-#ifndef CONFIG_SYS_NO_FLASH
+#ifdef CONFIG_MTD_NOR_FLASH
        SET_LAW(CONFIG_SYS_FLASH_BASE_PHYS, LAW_SIZE_256M, LAW_TRGT_IF_IFC),
 #endif
 #ifdef CONFIG_SYS_BMAN_MEM_PHYS