[U-Boot] [PATCH 2/4] lib: fdt: Split fdtdec_setup_memory_banksize()

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


On Mon, 4 Mar 2019 at 20:26, Marek Vasut <marek.vasut at gmail.com> wrote:
>
> Split fdtdec_setup_memory_banksize() into fdtdec_setup_memory_banksize_fdt(),
> which allows the caller to pass custom blob into the function and the
> original fdtdec_setup_memory_banksize(), 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 | 19 +++++++++++++++++++
>  lib/fdtdec.c     | 18 ++++++++++++------
>  2 files changed, 31 insertions(+), 6 deletions(-)

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


More information about the U-Boot mailing list