]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: ivybridge: Tidy up enable_clock_gating() for 64-bit
authorSimon Glass <sjg@chromium.org>
Mon, 26 Sep 2016 03:33:35 +0000 (21:33 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 11 Oct 2016 03:55:33 +0000 (11:55 +0800)
commit2545fa59f89294875db94f5edbd9e435cdd36c4f
treea120e326bb427af78a5128c4679732bfe0bbcddb
parent4e0318c32f01e5178f9ddd29313fcb24a1584dd6
x86: ivybridge: Tidy up enable_clock_gating() for 64-bit

Fix the hex case and remove unused brackets. Use ~0U instead of ~0UL to
allow compilation on 64-bit machines.

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