rockchip/rk3399: Fix sram_udelay
authorDerek Basehore <dbasehore@chromium.org>
Fri, 6 Apr 2018 23:45:24 +0000 (16:45 -0700)
committerDerek Basehore <dbasehore@chromium.org>
Sat, 7 Apr 2018 00:24:11 +0000 (17:24 -0700)
commit3cb74922d02bbf64c8dbcaae7093f7b94d72c948
tree8017084c46c1e46a13afaa44820a88d7e6e908fe
parent93883a293145f6c85b3fc8c219f400e28b7d1491
rockchip/rk3399: Fix sram_udelay

This fixes an off by 576x bug the the sram_udelay code. The wrong
value was multipled by the system ticks per mhz value (which is 24),
so we delayed for 1/576th of the requested time.

Signed-off-by: Derek Basehore <dbasehore@chromium.org>
plat/rockchip/rk3399/drivers/dram/suspend.c