summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-05-07 21:36:06 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-05-11 09:25:57 +0000
commit0d0fe141a4d5f6b799b452058657e32a4d8b18bc (patch)
treed004ccb96661702126296751bdb2ceb840c236aa
parentec65adcf7e18fe91e7d4a0bfbebcdf50193de9a2 (diff)
soc/sifive/fu540: Add missing '#include <commonlib/bsd/helpers.h>'
This is used for 'KHz' (line #19) Change-Id: I4d610607b50d2fac1150deaaf94f3cb331540fbc Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41151 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Philipp Hug <philipp@hug.cx>
-rw-r--r--src/soc/sifive/fu540/uart.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/sifive/fu540/uart.c b/src/soc/sifive/fu540/uart.c
index 34a1039b6c..db9fa46c4e 100644
--- a/src/soc/sifive/fu540/uart.c
+++ b/src/soc/sifive/fu540/uart.c
@@ -4,6 +4,7 @@
#include <stddef.h>
#include <stdint.h>
#include <console/uart.h>
+#include <commonlib/bsd/helpers.h>
#include <soc/addressmap.h>
#include <soc/clock.h>