
2 Oct
2019
2 Oct
'19
4:06 p.m.
On Wed, Sep 25, 2019 at 10:13 PM Simon Glass sjg@chromium.org wrote:
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
Changes in v2: None
arch/x86/include/asm/fsp/fsp_support.h | 9 +++ arch/x86/lib/Makefile | 1 + arch/x86/lib/fsp/Makefile | 5 ++ arch/x86/lib/fsp/fsp_dram.c | 90 ++++++++++++++++++++++++++ arch/x86/lib/fsp1/fsp_dram.c | 80 ++--------------------- 5 files changed, 111 insertions(+), 74 deletions(-) create mode 100644 arch/x86/lib/fsp/Makefile create mode 100644 arch/x86/lib/fsp/fsp_dram.c
Reviewed-by: Bin Meng bmeng.cn@gmail.com