From 590cfc5d63fe9c2aa9ddb8df499759636a6d4300 Mon Sep 17 00:00:00 2001 From: Damien Zammit Date: Sat, 2 Sep 2017 19:03:10 +1000 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/21356 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Martin Roth --- src/northbridge/via/cn700/raminit.h | 1 + 1 file changed, 1 insertion(+) 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