Weak symbols don't work as expected when you want to override them from within the same static library. This patch changes the arch_ndelay() function so that instead of having a weak generic implementation, the choice between generic implementation and an arch-specific override is explicitly made by Kconfig. Let's also drop the "arch_" prefix and just call this ndelay(). Change-Id: Ie4fe2734e0683fa3537e2ebcabfe067e7499463a Signed-off-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/87776 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Jakub "Kuba" Czapiga <czapiga@google.com> |
||
|---|---|---|
| .. | ||
| data | ||
| drivers | ||
| include | ||
| libc | ||
| libcbfs | ||
| mocks | ||
| libpayload-config.h | ||
| Makefile.mk | ||