From c84deff782deab453680eb34e188363a26f8b4b7 Mon Sep 17 00:00:00 2001 From: Veijo Pesonen Date: Tue, 18 Feb 2020 18:06:57 +0200 Subject: [PATCH] SFDP: consolidates check for addressability Takes implementations found from SPIFBlockDevice and QSPIFBlockDevice and makes those as part of the SFDP module. --- .../COMPONENT_QSPIF/QSPIFBlockDevice.cpp | 4 ++-- .../COMPONENT_SPIF/SPIFBlockDevice.cpp | 4 ++-- drivers/internal/SFDP.h | 9 ++++++++ drivers/source/SFDP.cpp | 22 +++++++++++++++++++ 4 files changed, 35 insertions(+), 4 deletions(-) diff --git a/components/storage/blockdevice/COMPONENT_QSPIF/QSPIFBlockDevice.cpp b/components/storage/blockdevice/COMPONENT_QSPIF/QSPIFBlockDevice.cpp index f33cee08ac..ebc55a4cf6 100644 --- a/components/storage/blockdevice/COMPONENT_QSPIF/QSPIFBlockDevice.cpp +++ b/components/storage/blockdevice/COMPONENT_QSPIF/QSPIFBlockDevice.cpp @@ -630,8 +630,8 @@ int QSPIFBlockDevice::_sfdp_parse_basic_param_table(Callback