[coreboot] Build fails on Thinkpad W520
nico.h at gmx.de
Thu Aug 16 10:10:41 CEST 2018
On 16.08.2018 08:25, Andreas Restle wrote:
> Building coreboot for Thinkpad W520 currently fails with the following
> CC romstage/northbridge/intel/sandybridge/raminit_common.o
> In file included from src/northbridge/intel/sandybridge/raminit_common.c:18:
> src/northbridge/intel/sandybridge/raminit_common.c: In function
> src/northbridge/intel/sandybridge/raminit_common.c:211:49: error: 'reg'
> undeclared (first use in this function); did you mean 'prog'?
> printram("OTHP Workaround [%x] = %x\n", addr, reg);
it seems you have CONFIG_DEBUG_RAM_SETUP enabled. This is really only
for debugging and nothing for end users / production builds. Debugging
code is often broken (even when it does compile).
More information about the coreboot