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
@@ -122,7 +122,7 @@
|
||||
# error "CONFIG_IED_REGION_SIZE is not a power of 2"
|
||||
#endif
|
||||
|
||||
#ifndef __ROMCC__
|
||||
#if !defined(__ROMCC__) // FIXME romcc should handle below constructs
|
||||
|
||||
#if defined(__PRE_RAM__)
|
||||
struct pei_data;
|
||||
|
@@ -97,7 +97,6 @@
|
||||
#define PSS_LATENCY_TRANSITION 10
|
||||
#define PSS_LATENCY_BUSMASTER 10
|
||||
|
||||
#ifndef __ROMCC__
|
||||
#ifdef __SMM__
|
||||
/* Lock MSRs */
|
||||
void intel_model_206ax_finalize_smm(void);
|
||||
@@ -106,6 +105,5 @@ void intel_model_206ax_finalize_smm(void);
|
||||
void set_power_limits(u8 power_limit_1_time);
|
||||
int cpu_config_tdp_levels(void);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user