Merge tag 'pull-riscv-to-apply-20240806-2' of https://github.com/alistair23/qemu...
[qemu/kevin.git] / hw / block / m25p80_sfdp.h
blob1733b569508edbfa110620a3acd26c586016a394
1 /*
2 * M25P80 SFDP
4 * Copyright (c) 2020, IBM Corporation.
6 * This code is licensed under the GPL version 2 or later. See the
7 * COPYING file in the top-level directory.
8 */
10 #ifndef HW_M25P80_SFDP_H
11 #define HW_M25P80_SFDP_H
14 * SFDP area has a 3 bytes address space.
16 #define M25P80_SFDP_MAX_SIZE (1 << 24)
18 uint8_t m25p80_sfdp_n25q256a(uint32_t addr);
19 uint8_t m25p80_sfdp_mt35xu02g(uint32_t addr);
21 uint8_t m25p80_sfdp_mx25l25635e(uint32_t addr);
22 uint8_t m25p80_sfdp_mx25l25635f(uint32_t addr);
23 uint8_t m25p80_sfdp_mx66l1g45g(uint32_t addr);
25 uint8_t m25p80_sfdp_w25q256(uint32_t addr);
26 uint8_t m25p80_sfdp_w25q512jv(uint32_t addr);
28 uint8_t m25p80_sfdp_w25q01jvq(uint32_t addr);
30 uint8_t m25p80_sfdp_is25wp256(uint32_t addr);
32 #endif