2022-10-24 12:20:15 +03:00
|
|
|
/*
|
|
|
|
* M25P80 SFDP
|
|
|
|
*
|
|
|
|
* Copyright (c) 2020, IBM Corporation.
|
|
|
|
*
|
|
|
|
* This code is licensed under the GPL version 2 or later. See the
|
|
|
|
* COPYING file in the top-level directory.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef HW_M25P80_SFDP_H
|
|
|
|
#define HW_M25P80_SFDP_H
|
|
|
|
|
|
|
|
/*
|
|
|
|
* SFDP area has a 3 bytes address space.
|
|
|
|
*/
|
|
|
|
#define M25P80_SFDP_MAX_SIZE (1 << 24)
|
|
|
|
|
2022-10-24 12:20:15 +03:00
|
|
|
uint8_t m25p80_sfdp_n25q256a(uint32_t addr);
|
2024-08-29 15:01:17 +03:00
|
|
|
uint8_t m25p80_sfdp_mt35xu01g(uint32_t addr);
|
2024-02-26 17:07:24 +03:00
|
|
|
uint8_t m25p80_sfdp_mt35xu02g(uint32_t addr);
|
2022-10-24 12:20:15 +03:00
|
|
|
|
2022-10-24 12:20:15 +03:00
|
|
|
uint8_t m25p80_sfdp_mx25l25635e(uint32_t addr);
|
2022-10-24 12:20:15 +03:00
|
|
|
uint8_t m25p80_sfdp_mx25l25635f(uint32_t addr);
|
2022-10-24 12:20:15 +03:00
|
|
|
uint8_t m25p80_sfdp_mx66l1g45g(uint32_t addr);
|
2022-10-24 12:20:15 +03:00
|
|
|
|
2022-10-24 12:20:15 +03:00
|
|
|
uint8_t m25p80_sfdp_w25q256(uint32_t addr);
|
2022-10-24 12:20:16 +03:00
|
|
|
uint8_t m25p80_sfdp_w25q512jv(uint32_t addr);
|
2022-10-24 12:20:15 +03:00
|
|
|
|
2022-10-24 12:20:16 +03:00
|
|
|
uint8_t m25p80_sfdp_w25q01jvq(uint32_t addr);
|
|
|
|
|
2023-02-07 11:02:04 +03:00
|
|
|
uint8_t m25p80_sfdp_is25wp256(uint32_t addr);
|
|
|
|
|
2022-10-24 12:20:15 +03:00
|
|
|
#endif
|