Drop prototype guarding for romcc
Commit "romcc: Don't fail on function prototypes" (11a7db3b) [1]
made romcc not choke on function prototypes anymore. This
allows us to get rid of a lot of ifdefs guarding __ROMCC__ .
[1] http://review.coreboot.org/2424
Change-Id: Ib1be3b294e5b49f5101f2e02ee1473809109c8ac
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: http://review.coreboot.org/3216
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
committed by
Ronald G. Minnich
parent
d654f42e27
commit
3f5f6d8368
@@ -58,7 +58,5 @@
|
||||
#define PPCB_SPKR 0x02 /* Bit 1 */
|
||||
#define PPCB_T2GATE 0x01 /* Bit 0 */
|
||||
|
||||
#ifndef __ROMCC__
|
||||
void setup_i8254(void);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -203,9 +203,7 @@ static inline int get_option(void *dest __attribute__((unused)),
|
||||
#define CMOS_POST_BANK_1_MAGIC 0x81
|
||||
#define CMOS_POST_BANK_1_OFFSET (CMOS_POST_OFFSET + 2)
|
||||
|
||||
#if !defined(__ROMCC__)
|
||||
void cmos_post_log(void);
|
||||
#endif
|
||||
#endif /* CONFIG_CMOS_POST */
|
||||
|
||||
#endif /* PC80_MC146818RTC_H */
|
||||
|
||||
Reference in New Issue
Block a user