diff options
author | Michael Walle <michael@walle.cc> | 2021-11-15 23:45:46 +0100 |
---|---|---|
committer | Priyanka Jain <priyanka.jain@nxp.com> | 2022-02-28 11:59:35 +0530 |
commit | d36b683a0f4d9cd22aded61595b771c88203f3ab (patch) | |
tree | 719ca576392b936d4b87e1b625c050cd1b1722b8 /include/sl28cpld.h | |
parent | fea51613222edba814d33a21d9485463cf3988f3 (diff) | |
download | u-boot-d36b683a0f4d9cd22aded61595b771c88203f3ab.tar.gz |
board: sl28: print CPLD version on bootup
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>
Diffstat (limited to 'include/sl28cpld.h')
-rw-r--r-- | include/sl28cpld.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sl28cpld.h b/include/sl28cpld.h index d116607cfb..9a7c6de31f 100644 --- a/include/sl28cpld.h +++ b/include/sl28cpld.h @@ -6,6 +6,8 @@ #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, |