blob: b7f9f6359f57d6fa5b4e4e5bb63e2e9e7a0b62f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/* Copyright 2015 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*
* MEC1322 SoC little FW
*
*/
void lfw_main(void) __attribute__ ((noreturn, naked));
void fault_handler(void) __attribute__((naked));
struct int_vector_t {
void *stack_ptr;
void *reset_vector;
void *nmi;
void *hard_fault;
void *bus_fault;
void *usage_fault;
};
#define SPI_CHUNK_SIZE 1024
|