mirror of
https://github.com/u-boot/u-boot.git
synced 2024-12-15 07:43:33 +08:00
d36b683a0f
Most of the time it is very useful to have the version of the board management controller. Now that we have a driver, print it during startup. Signed-off-by: Michael Walle <michael@walle.cc> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
17 lines
396 B
C
17 lines
396 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright (c) 2021 Michael Walle <michael@walle.cc>
|
|
*/
|
|
|
|
#ifndef __SL28CPLD_H
|
|
#define __SL28CPLD_H
|
|
|
|
#define SL28CPLD_VERSION 0x03
|
|
|
|
int sl28cpld_read(struct udevice *dev, uint offset);
|
|
int sl28cpld_write(struct udevice *dev, uint offset, uint8_t value);
|
|
int sl28cpld_update(struct udevice *dev, uint offset, uint8_t clear,
|
|
uint8_t set);
|
|
|
|
#endif
|