]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: apl: Adjust FSP-M code to avoid hard-coded address
authorSimon Glass <sjg@chromium.org>
Fri, 17 Jul 2020 03:22:33 +0000 (21:22 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 17 Jul 2020 06:32:24 +0000 (14:32 +0800)
commit487852b51b10ec53d42ec7e0585db9f357d1993d
tree994f34deb6bebf6ef36500298d02146ef8ee2689
parentefd31328525629db9fc8b48f1e5b33f8ee1de4d7
x86: apl: Adjust FSP-M code to avoid hard-coded address

Update this code to calculate the address to use, rather than hard-coding
it. Obtain the requested stack size from the FSP.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/apollolake/fsp_m.c