]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: fsp: Move common dram functions into a common file
authorSimon Glass <sjg@chromium.org>
Sat, 24 Aug 2019 20:10:32 +0000 (14:10 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 8 Oct 2019 05:53:57 +0000 (13:53 +0800)
commite9de4a7cd31a08d7bd2afa842db5aca57b3a37cb
tree874e4db66a09e694d2a07b9f1e94d133d75a9c56
parent12cf65a4d199e5d4ef8b167342579ab16d0f849b
x86: fsp: Move common dram functions into a common file

Most of the DRAM functionality can be shared between FSP1 and FSP2. Move
it into a shared file.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
[bmeng: rebase the patch against u-boot-x86/next to get it applied cleanly]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/include/asm/fsp/fsp_support.h
arch/x86/lib/Makefile
arch/x86/lib/fsp/Makefile [new file with mode: 0644]
arch/x86/lib/fsp/fsp_dram.c [new file with mode: 0644]
arch/x86/lib/fsp1/fsp_dram.c