Skip to content

Commit d60021c

Browse files
author
Rohit Grover
committed
remove the call to FLASH_Init()
1 parent 458b46c commit d60021c

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/storage_driver.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@
126126
/*! @brief Access to FTFx->FCCOB */
127127
extern volatile uint32_t *const kFCCOBx;
128128

129-
static flash_config_t privateDeviceConfig;
130129
#endif /* #ifdef USING_KSDK2 */
131130

132131
/*
@@ -754,13 +753,6 @@ static int32_t initialize(ARM_Storage_Callback_t callback)
754753
return 1; /* synchronous completion. */
755754
}
756755

757-
#ifdef USING_KSDK2
758-
status_t rc = FLASH_Init(&privateDeviceConfig);
759-
if (rc != kStatus_FLASH_Success) {
760-
return ARM_DRIVER_ERROR;
761-
}
762-
#endif /* ifdef USING_KSDK2 */
763-
764756
if (controllerCurrentlyBusy()) {
765757
/* The user cannot initiate any further FTFE commands until notified that the
766758
* current command has completed.*/

0 commit comments

Comments
 (0)