]> git.sur5r.net Git - u-boot/commit
rtc: Use CONFIG_X86 instead of __I386__
authorSimon Glass <sjg@chromium.org>
Mon, 26 Sep 2016 03:33:11 +0000 (21:33 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 11 Oct 2016 03:55:33 +0000 (11:55 +0800)
commit3f14f814e79f5160e91a107fcac56d577867feac
tree6a3128f47054ac6249c3115907e95bdc8ce76f23
parent2547f3ed897b0ce252db0ffb8596ec9730ea1833
rtc: Use CONFIG_X86 instead of __I386__

For 64-bit x86, __I386__ should perhaps not be defined. It is not clear from
the definition, but let's use CONFIG_X86 to be sure.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/rtc/mc146818.c