lib: include timer.c for all stages for GENERIC_UDELAY
In order to fully utilize GENERIC_UDELAY in smm and postcar the udelay() implementation needs to be included. Do that. BUG=b:72378235,b:72170796 Change-Id: Ia20c1ed41ee439bb079e00fb7bd9c1855e31e349 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/23421 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Justin TerAvest <teravest@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
parent
b94a27506e
commit
0660d1fa40
|
@ -177,6 +177,7 @@ ramstage-y += boot_device.c
|
|||
smm-y += boot_device.c
|
||||
smm-y += fmap.c
|
||||
smm-y += cbfs.c memcmp.c
|
||||
smm-$(CONFIG_GENERIC_UDELAY) += timer.c
|
||||
|
||||
bootblock-y += version.c
|
||||
romstage-y += version.c
|
||||
|
@ -238,6 +239,7 @@ postcar-y += prog_loaders.c
|
|||
postcar-y += prog_ops.c
|
||||
postcar-y += rmodule.c
|
||||
postcar-$(CONFIG_COLLECT_TIMESTAMPS) += timestamp.c
|
||||
postcar-$(CONFIG_GENERIC_UDELAY) += timer.c
|
||||
|
||||
# Use program.ld for all the platforms which use C fo the bootblock.
|
||||
bootblock-$(CONFIG_C_ENVIRONMENT_BOOTBLOCK) += program.ld
|
||||
|
|
Loading…
Reference in New Issue