]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: ivybridge: Check the RTC return value
authorSimon Glass <sjg@chromium.org>
Sun, 18 Oct 2015 21:55:33 +0000 (15:55 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 21 Oct 2015 13:46:50 +0000 (07:46 -0600)
commit9fbc5ccd79d1c6faacd2027ca89e54f38f365e2e
treeaf6a4b5d91ef506aceb1a005053957486ba56d10
parent53327d3e61ee9917eab9ce1657f20f17a079c130
x86: ivybridge: Check the RTC return value

The RTC can fail, so check the return value for reads.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/ivybridge/sdram.c