]> git.sur5r.net Git - u-boot/blobdiff - drivers/mtd/stm32_flash.c
mtd: nand: mxs_nand: add use_minimum_ecc to struct
[u-boot] / drivers / mtd / stm32_flash.c
index 472499d83c3bf1ce5d09b3ea5c9feffd4e046fdc..fd0d5506e8faff32b165e29474931ebb5c2fd6f1 100644 (file)
@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * (C) Copyright 2015
  * Kamil Lulko, <kamil.lulko@gmail.com>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -12,7 +11,7 @@
 
 flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS];
 
-#define STM32_FLASH            ((struct stm32_flash_regs *)FLASH_CNTL_BASE)
+#define STM32_FLASH    ((struct stm32_flash_regs *)STM32_FLASH_CNTL_BASE)
 
 void stm32_flash_latency_cfg(int latency)
 {