aboutsummaryrefslogtreecommitdiff
path: root/include/phb4.h
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2019-12-08 22:22:55 +1000
committerOliver O'Halloran <oohall@gmail.com>2019-12-16 14:50:56 +1100
commite73cf72d1f978434609c867b9974812ac73547a5 (patch)
tree79fd2173939b28f482271cb6de1ea3b2714aaf71 /include/phb4.h
parent1504bf987ee3bd5607aaeb0cb8e354c6bb830e42 (diff)
downloadskiboot-e73cf72d1f978434609c867b9974812ac73547a5.zip
skiboot-e73cf72d1f978434609c867b9974812ac73547a5.tar.gz
skiboot-e73cf72d1f978434609c867b9974812ac73547a5.tar.bz2
phb4: make endian-clean
Convert phb4 dt construction and in-memory hardware tables to use explicit endian conversions. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'include/phb4.h')
-rw-r--r--include/phb4.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/phb4.h b/include/phb4.h
index 1c68ec2..ca701a3 100644
--- a/include/phb4.h
+++ b/include/phb4.h
@@ -183,7 +183,7 @@ struct phb4 {
uint64_t creset_start_time;
/* SkiBoot owned in-memory tables */
- uint16_t *tbl_rtt;
+ __be16 *tbl_rtt;
uint8_t *tbl_peltv;
uint64_t tbl_peltv_size;
uint64_t tbl_pest;