summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Zammit <damien@zamaudio.com>2017-09-02 19:03:10 +1000
committerMartin Roth <martinroth@google.com>2017-09-17 00:39:47 +0000
commit590cfc5d63fe9c2aa9ddb8df499759636a6d4300 (patch)
tree390ee670e6b8021dd978255e3ce48979b294a551
parent79f8f22499bb662cc7ea3ed77aafe56db5100d63 (diff)
via/cn700: Fix clang error with missing main
According to clang, main has no prototype for bcom/winnetp680 so add it into corresponding raminit.h Change-Id: I8a55267901986757a4fa88ee13460ffbed3eeadc Signed-off-by: Damien Zammit <damien@zamaudio.com> Reviewed-on: https://review.coreboot.org/21356 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Martin Roth <martinroth@google.com>
-rw-r--r--src/northbridge/via/cn700/raminit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/northbridge/via/cn700/raminit.h b/src/northbridge/via/cn700/raminit.h
index 073b2531ba..d78ad1fd0c 100644
--- a/src/northbridge/via/cn700/raminit.h
+++ b/src/northbridge/via/cn700/raminit.h
@@ -28,5 +28,6 @@ void ddr_ram_setup(const struct mem_controller *ctrl);
/* mainboard specific */
int spd_read_byte(unsigned device, unsigned address);
+void main(unsigned long bist);
#endif