]> git.sur5r.net Git - u-boot/commit
x86: Update mpspec to build on 64-bit machines
authorSimon Glass <sjg@chromium.org>
Mon, 16 Jan 2017 14:03:36 +0000 (07:03 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 6 Feb 2017 03:38:46 +0000 (11:38 +0800)
commite71ffd0951f4e8dd7c43a34a3fdc4be10f29db41
tree16d92632ef2d483804db5b77348b32f335620542
parent42fd8c19b58fe8f8fe7559ea53b1cef12fc06240
x86: Update mpspec to build on 64-bit machines

At present this uses u32 to store an address. We should use unsigned long
and avoid special types in function return values and parameters unless
necessary. This makes the code more portable.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/include/asm/mpspec.h
arch/x86/lib/mpspec.c