blob: 542bf26ec98ed92e050667221817d96aa1ac48ef [file] [log] [blame]
Paul Kocialkowski80ae14e2018-01-15 01:07:46 +03001/*
2 * This file is part of the flashrom project.
3 *
4 * Copyright (C) 2015 Paul Kocialkowski <contact@paulk.fr>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 */
16
17#ifndef __EDI_H__
18#define __EDI_H__ 1
19
20#define EDI_READ 0x30
21#define EDI_WRITE 0x40
22#define EDI_DISABLE 0xf3
23
24#define EDI_NOT_READY 0x5f
25#define EDI_READY 0x50
26
27#define EDI_READ_BUFFER_LENGTH_DEFAULT 3
28#define EDI_READ_BUFFER_LENGTH_MAX 32
29
30#endif