summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Walle <[email protected]>2021-11-15 23:45:46 +0100
committerPriyanka Jain <[email protected]>2022-02-28 11:59:35 +0530
commitd36b683a0f4d9cd22aded61595b771c88203f3ab (patch)
tree719ca576392b936d4b87e1b625c050cd1b1722b8 /include
parentfea51613222edba814d33a21d9485463cf3988f3 (diff)
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 <[email protected]> Reviewed-by: Priyanka Jain <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/sl28cpld.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sl28cpld.h b/include/sl28cpld.h
index d116607cfb1..9a7c6de31f5 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,