]>
Commit | Line | Data |
---|---|---|
2389bcc2 CLG |
1 | /* |
2 | * M25P80 SFDP | |
3 | * | |
4 | * Copyright (c) 2020, IBM Corporation. | |
5 | * | |
6 | * This code is licensed under the GPL version 2 or later. See the | |
7 | * COPYING file in the top-level directory. | |
8 | */ | |
9 | ||
10 | #ifndef HW_M25P80_SFDP_H | |
11 | #define HW_M25P80_SFDP_H | |
12 | ||
13 | /* | |
14 | * SFDP area has a 3 bytes address space. | |
15 | */ | |
16 | #define M25P80_SFDP_MAX_SIZE (1 << 24) | |
17 | ||
5eb24fbd CLG |
18 | uint8_t m25p80_sfdp_n25q256a(uint32_t addr); |
19 | ||
dc907a66 | 20 | uint8_t m25p80_sfdp_mx25l25635e(uint32_t addr); |
51f4613d | 21 | uint8_t m25p80_sfdp_mx25l25635f(uint32_t addr); |
52514908 | 22 | uint8_t m25p80_sfdp_mx66l1g45g(uint32_t addr); |
dc907a66 | 23 | |
e9041884 | 24 | uint8_t m25p80_sfdp_w25q256(uint32_t addr); |
8e57da58 | 25 | uint8_t m25p80_sfdp_w25q512jv(uint32_t addr); |
e9041884 | 26 | |
a34b0d53 PW |
27 | uint8_t m25p80_sfdp_w25q01jvq(uint32_t addr); |
28 | ||
2389bcc2 | 29 | #endif |