mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-23 02:18:51 +09:00
![Michal Simek](/assets/img/avatar_default.png)
Starts to use new way how eeproms should be referenced. Reference is done via nvmem alias nodes. When this new way is specified code itself read the eeprom and decode xilinx legacy format and fill struct xilinx_board_description. Then based on information present there board_* variables are setup. If variables are saved and content can't be changed information is just shown on console. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
15 lines
306 B
C
15 lines
306 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* (C) Copyright 2020 Xilinx, Inc.
|
|
* Michal Simek <michal.simek@xilinx.com>
|
|
*/
|
|
|
|
#ifndef _BOARD_XILINX_COMMON_BOARD_H
|
|
#define _BOARD_XILINX_COMMON_BOARD_H
|
|
|
|
int board_late_init_xilinx(void);
|
|
|
|
int xilinx_read_eeprom(void);
|
|
|
|
#endif /* BOARD_XILINX_COMMON_BOARD_H */
|