summaryrefslogtreecommitdiff
path: root/zephyr/drivers/cros_flash/cros_flash_npcx.c
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/drivers/cros_flash/cros_flash_npcx.c')
-rw-r--r--zephyr/drivers/cros_flash/cros_flash_npcx.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/zephyr/drivers/cros_flash/cros_flash_npcx.c b/zephyr/drivers/cros_flash/cros_flash_npcx.c
index e49067ad1a..032bb5906c 100644
--- a/zephyr/drivers/cros_flash/cros_flash_npcx.c
+++ b/zephyr/drivers/cros_flash/cros_flash_npcx.c
@@ -5,20 +5,19 @@
#define DT_DRV_COMPAT nuvoton_npcx_cros_flash
-#include "../drivers/flash/spi_nor.h"
-#include "flash.h"
-#include "spi_flash_reg.h"
-#include "write_protect.h"
-
+#include <drivers/cros_flash.h>
#include <zephyr/drivers/flash.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/drivers/spi.h>
#include <zephyr/kernel.h>
#include <zephyr/logging/log.h>
-
-#include <drivers/cros_flash.h>
#include <soc.h>
+#include "flash.h"
+#include "spi_flash_reg.h"
+#include "write_protect.h"
+#include "../drivers/flash/spi_nor.h"
+
LOG_MODULE_REGISTER(cros_flash, LOG_LEVEL_ERR);
static int all_protected; /* Has all-flash protection been requested? */