]> git.baikalelectronics.ru Git - uboot.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)
commit4c92e9de3a53f8e824e53a6a10df822a38a82431
treefa4e2a8efbd249c0d6ad3d31b89698519ab3c354
parent72862f7cadacad019cda23943635e61d6a26defb
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