[U-Boot] [PATCH 1/4] lib: fdt: Split fdtdec_setup_mem_size_base()

Simon Glass sjg at chromium.org
Sun Mar 10 21:51:34 UTC 2019


On Mon, 4 Mar 2019 at 20:26, Marek Vasut <marek.vasut at gmail.com> wrote:
>
> Split fdtdec_setup_mem_size_base() into fdtdec_setup_mem_size_base_fdt(),
> which allows the caller to pass custom blob into the function and the
> original fdtdec_setup_mem_size_base(), which uses the gd->fdt_blob. This
> is useful when configuring the DRAM properties from a FDT blob fragment
> passed in by the firmware.
>
> Signed-off-by: Marek Vasut <marek.vasut+renesas at gmail.com>
> Cc: Nobuhiro Iwamatsu <iwamatsu at nigauri.org>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Tom Rini <trini at konsulko.com>
> ---
>  include/fdtdec.h | 20 ++++++++++++++++++++
>  lib/fdtdec.c     | 11 ++++++++---
>  2 files changed, 28 insertions(+), 3 deletions(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list