summaryrefslogtreecommitdiff
path: root/chip/g/loader/setup.h
blob: 4244696ef52d4b3442db1a1db15ee51b913d2078 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* 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.
 */

#ifndef __EC_CHIP_G_LOADER_SETUP_H
#define __EC_CHIP_G_LOADER_SETUP_H

#include <stddef.h>
#include <stdint.h>

void checkBuildVersion(void);
void disarmRAMGuards(void);
void halt(void);
void tryLaunch(uint32_t adr, size_t max_size);
void unlockFlashForRW(void);

#endif  /* __EC_CHIP_G_LOADER_SETUP_H */