diff --git a/components/storage/blockdevice/COMPONENT_QSPIF/QSPIFBlockDevice.h b/components/storage/blockdevice/COMPONENT_QSPIF/QSPIFBlockDevice.h index aa0ff64623..e922ffece0 100644 --- a/components/storage/blockdevice/COMPONENT_QSPIF/QSPIFBlockDevice.h +++ b/components/storage/blockdevice/COMPONENT_QSPIF/QSPIFBlockDevice.h @@ -249,14 +249,6 @@ public: virtual const char *get_type() const; private: - - // SFDP helpers - friend int mbed::sfdp_parse_headers(mbed::Callback sfdp_reader, - mbed::sfdp_hdr_info &hdr_info); - - // Internal functions - - /********************************/ /* Different Device Csel Mgmt */ /********************************/ @@ -334,9 +326,6 @@ private: // Enable QPI mode (4-4-4) int _sfdp_set_qpi_enabled(uint8_t *basic_param_table_ptr); - // Set Page size for program - int _sfdp_detect_page_size(uint8_t *basic_param_table_ptr, int basic_param_table_size); - // Detect 4-byte addressing mode and enable it if supported int _sfdp_detect_and_enable_4byte_addressing(uint8_t *basic_param_table_ptr, int basic_param_table_size); diff --git a/components/storage/blockdevice/COMPONENT_SPIF/SPIFBlockDevice.h b/components/storage/blockdevice/COMPONENT_SPIF/SPIFBlockDevice.h index 8ea0bab8ed..061acb6fd8 100644 --- a/components/storage/blockdevice/COMPONENT_SPIF/SPIFBlockDevice.h +++ b/components/storage/blockdevice/COMPONENT_SPIF/SPIFBlockDevice.h @@ -217,13 +217,6 @@ public: virtual const char *get_type() const; private: - - // Internal functions - - // SFDP helpers - friend int mbed::sfdp_parse_headers(mbed::Callback sfdp_reader, - mbed::sfdp_hdr_info &hdr_info); - /****************************************/ /* SFDP Detection and Parsing Functions */ /****************************************/ @@ -237,9 +230,6 @@ private: // Detect fastest read Bus mode supported by device int _sfdp_detect_best_bus_read_mode(uint8_t *basic_param_table_ptr, int basic_param_table_size, int &read_inst); - // Set Page size for program - unsigned int _sfdp_detect_page_size(uint8_t *basic_param_table_ptr, int basic_param_table_size); - /***********************/ /* Utilities Functions */ /***********************/