mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-21 02:33:07 +00:00
d61728c8e8
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>
14 lines
306 B
C
14 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 */
|