aboutsummaryrefslogtreecommitdiff
path: root/hw/block/m25p80_sfdp.h
blob: ecdb9c7f693f52568cb47fbd8353587ffcb5e34c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * 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)

uint8_t m25p80_sfdp_n25q256a(uint32_t addr);

uint8_t m25p80_sfdp_mx25l25635e(uint32_t addr);


#endif