x86: Use default stack boundary alignment
authorBin Meng <bmeng.cn@gmail.com>
Thu, 27 Jul 2017 13:12:34 +0000 (06:12 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 1 Aug 2017 12:17:02 +0000 (20:17 +0800)
commit9a95f51ffecc8ff9cf09db1615c1a580731b722f
treed727c83a72acc8f13cd35d9c4f68ac836babf4ce
parent6364a5d4bd55beeedc11171419acd0bdff17a599
x86: Use default stack boundary alignment

At present U-Boot x86 build is using -mpreferred-stack-boundary=2
which is 4 bytes stack boundary alignment. With 64-bit U-Boot, the
minimal required stack boundary alignment is 16 bytes.

If -mpreferred-stack-boundary is not specified, the default is 4
(16 bytes). Switch to use the default one.

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