blob: 4f0de5fc3aa662d937093bcef5dc10f01ce31d10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/*
* Copyright 2023 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef __EC_CHIP_G_FACTORY_CONFIG_H
#define __EC_CHIP_G_FACTORY_CONFIG_H
#include "board_space.h"
/**
* Print the factory config value.
*/
void print_factory_config(void);
/**
* Read the INFO1 factory config value into fc.
*
* @return EC_SUCCESS or an error code in cases of various failures to read the
* flash space.
*/
int read_factory_config(uint64_t *fc);
#endif /* ! __EC_CHIP_G_FACTORY_CONFIG_H */
|