]> git.dujemihanovic.xyz Git - u-boot.git/commit
sandbox: Only call timer_timebase_fallback() if present
authorSimon Glass <sjg@chromium.org>
Mon, 15 Mar 2021 05:11:06 +0000 (18:11 +1300)
committerSimon Glass <sjg@chromium.org>
Sat, 27 Mar 2021 02:04:31 +0000 (15:04 +1300)
commit539db6ab09c06ff052dac6c585ec1eaf3f1d6dc8
treefa4e2a8efbd249c0d6ad3d31b89698519ab3c354
parent70f5c99d607d8687d4e537c388af82bb194f2ef9
sandbox: Only call timer_timebase_fallback() if present

This function only exists if CPU is enabled. Update the code to take
account of this, so that it does not have to be enabled on all sandbox
builds.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
drivers/timer/sandbox_timer.c