]> git.baikalelectronics.ru Git - uboot.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)
commit58b3216cd85bfadfb1604c94f0992cdd2819ad0c
tree874e4db66a09e694d2a07b9f1e94d133d75a9c56
parent2f725759fdc903c1d2f29f1dccde619be4dab0c9
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