Skip to content

Commit ca52ca9

Browse files
author
Veijo Pesonen
committed
Q/SPIFBlockDevice: removes dead code
1 parent 1c12083 commit ca52ca9

File tree

2 files changed

+0
-21
lines changed

2 files changed

+0
-21
lines changed

components/storage/blockdevice/COMPONENT_QSPIF/QSPIFBlockDevice.h

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -249,14 +249,6 @@ class QSPIFBlockDevice : public mbed::BlockDevice {
249249
virtual const char *get_type() const;
250250

251251
private:
252-
253-
// SFDP helpers
254-
friend int mbed::sfdp_parse_headers(mbed::Callback<int(bd_addr_t, void *, bd_size_t)> sfdp_reader,
255-
mbed::sfdp_hdr_info &hdr_info);
256-
257-
// Internal functions
258-
259-
260252
/********************************/
261253
/* Different Device Csel Mgmt */
262254
/********************************/
@@ -334,9 +326,6 @@ class QSPIFBlockDevice : public mbed::BlockDevice {
334326
// Enable QPI mode (4-4-4)
335327
int _sfdp_set_qpi_enabled(uint8_t *basic_param_table_ptr);
336328

337-
// Set Page size for program
338-
int _sfdp_detect_page_size(uint8_t *basic_param_table_ptr, int basic_param_table_size);
339-
340329
// Detect 4-byte addressing mode and enable it if supported
341330
int _sfdp_detect_and_enable_4byte_addressing(uint8_t *basic_param_table_ptr, int basic_param_table_size);
342331

components/storage/blockdevice/COMPONENT_SPIF/SPIFBlockDevice.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -217,13 +217,6 @@ class SPIFBlockDevice : public mbed::BlockDevice {
217217
virtual const char *get_type() const;
218218

219219
private:
220-
221-
// Internal functions
222-
223-
// SFDP helpers
224-
friend int mbed::sfdp_parse_headers(mbed::Callback<int(bd_addr_t, void *, bd_size_t)> sfdp_reader,
225-
mbed::sfdp_hdr_info &hdr_info);
226-
227220
/****************************************/
228221
/* SFDP Detection and Parsing Functions */
229222
/****************************************/
@@ -237,9 +230,6 @@ class SPIFBlockDevice : public mbed::BlockDevice {
237230
// Detect fastest read Bus mode supported by device
238231
int _sfdp_detect_best_bus_read_mode(uint8_t *basic_param_table_ptr, int basic_param_table_size, int &read_inst);
239232

240-
// Set Page size for program
241-
unsigned int _sfdp_detect_page_size(uint8_t *basic_param_table_ptr, int basic_param_table_size);
242-
243233
/***********************/
244234
/* Utilities Functions */
245235
/***********************/

0 commit comments

Comments
 (0)