aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/lib/complex/serial_nor/devices/micron_n25q/flash_device.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/lib/complex/serial_nor/devices/micron_n25q/flash_device.h')
-rw-r--r--os/hal/lib/complex/serial_nor/devices/micron_n25q/flash_device.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/os/hal/lib/complex/serial_nor/devices/micron_n25q/flash_device.h b/os/hal/lib/complex/serial_nor/devices/micron_n25q/flash_device.h
index 59db2c30d..8ddf57ae0 100644
--- a/os/hal/lib/complex/serial_nor/devices/micron_n25q/flash_device.h
+++ b/os/hal/lib/complex/serial_nor/devices/micron_n25q/flash_device.h
@@ -26,8 +26,6 @@
#ifndef FLASH_DEVICE_H
#define FLASH_DEVICE_H
-#include "hal_jesd216_flash.h"
-
/*===========================================================================*/
/* Driver constants. */
/*===========================================================================*/
@@ -134,7 +132,7 @@ flash_error_t snor_device_verify_erase(SNORDriver *devp,
flash_error_t snor_device_query_erase(SNORDriver *devp, uint32_t *msec);
flash_error_t snor_device_read_sfdp(SNORDriver *devp, flash_offset_t offset,
size_t n, uint8_t *rp);
-#if JESD216_BUS_MODE != JESD216_BUS_MODE_SPI
+#if SNOR_BUS_MODE != SNOR_BUS_MODE_SPI
void snor_activate_xip(SNORDriver *devp);
void snor_reset_xip(SNORDriver *devp);
#endif