blob: 4f65ce4541e93a79e78d00983ff20f3767d2d2ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
/*
* Copyright 2018 Scalys B.V.
* opensource@scalys.com
*
* SPDX-License-Identifier: GPL-2.0+
*/
#ifndef _BCD_H
#define _BCD_H
#define BCD_LENGTH_SIZE 4
#define BCD_FLASH_SIZE 0x100000 /* 1 MBytes */
#define BCD_HASH_SIZE 4
enum grapeboard_flash_types {
PRIMARY_FLASH_DEVICE,
RESCUE_FLASH_DEVICE,
};
const void* get_boardinfo_rescue_flash(void);
struct udevice* select_qspi_flash_device(enum grapeboard_flash_types);
const char* get_qspi_flash_name(void);
int add_mac_addressess_to_env(const void* blob);
#endif /* _BCD_H */
|