summaryrefslogtreecommitdiffstats
path: root/platforms/astbmc/astbmc.h
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2018-04-10 17:29:21 +1000
committerStewart Smith <stewart@linux.ibm.com>2018-04-11 17:59:57 -0500
commitd15e2e5ef92f5e79f90ac06a8a3b848881886005 (patch)
treec0802d1de1c880288e7caa932bca7edee68bee1c /platforms/astbmc/astbmc.h
parentf10feca2b3324270ca3de47aa98d99911cf85a7c (diff)
downloadtalos-skiboot-d15e2e5ef92f5e79f90ac06a8a3b848881886005.tar.gz
talos-skiboot-d15e2e5ef92f5e79f90ac06a8a3b848881886005.zip
slots: Add power limit support
Add support for sourcing power limit information from either the DT slot heirachy or the slot table. Signed-off-by: Oliver O'Halloran <oohall@gmail.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'platforms/astbmc/astbmc.h')
-rw-r--r--platforms/astbmc/astbmc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/platforms/astbmc/astbmc.h b/platforms/astbmc/astbmc.h
index b61c2dd3..fb6c68a2 100644
--- a/platforms/astbmc/astbmc.h
+++ b/platforms/astbmc/astbmc.h
@@ -39,6 +39,7 @@ struct slot_table_entry {
uint32_t location;
const char *name;
const struct slot_table_entry *children;
+ uint8_t power_limit;
};
/*
OpenPOWER on IntegriCloud