[U-Boot] [PATCH v2 20/38] x86: fsp: Move common dram functions into a common file

Bin Meng bmeng.cn at gmail.com
Wed Oct 2 14:06:49 UTC 2019


On Wed, Sep 25, 2019 at 10:13 PM Simon Glass <sjg at 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 at 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 at gmail.com>


More information about the U-Boot mailing list