ec/it*: Merge remaining ITE EC files
Signed-off-by: Tim Crawford <tcrawford@system76.com>
This commit is contained in:
committed by
Jeremy Soller
parent
cd8e76420d
commit
f9e4e25b05
17
src/ec/ite/signature.c
Normal file
17
src/ec/ite/signature.c
Normal file
@ -0,0 +1,17 @@
|
||||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
|
||||
#include <ec/espi.h>
|
||||
|
||||
#if EC_ESPI
|
||||
// eSPI signature (byte 7 = 0xA4)
|
||||
static __code const unsigned char __at(0x40) SIGNATURE[16] = {
|
||||
0xA5, 0xA5, 0xA5, 0xA5, 0xA5, 0xA5, 0xA4, 0x95,
|
||||
0x85, 0x12, 0x5A, 0x5A, 0xAA, 0x00, 0x55, 0x55,
|
||||
};
|
||||
#else // EC_ESPI
|
||||
// LPC signature (byte 7 = 0xA5)
|
||||
static __code const unsigned char __at(0x40) SIGNATURE[16] = {
|
||||
0xA5, 0xA5, 0xA5, 0xA5, 0xA5, 0xA5, 0xA5, 0x94,
|
||||
0x85, 0x12, 0x5A, 0x5A, 0xAA, 0x00, 0x55, 0x55,
|
||||
};
|
||||
#endif // EC_ESPI
|
Reference in New Issue
Block a user