[PATCH 04/10] lib: fdt: Add fdtdec_setup_mem_size_base_highest

Simon Glass sjg at chromium.org
Mon Oct 12 05:34:33 CEST 2020


On Tue, 29 Sep 2020 at 08:18, Sean Anderson <seanga2 at gmail.com> wrote:
>
> This is very similar to fdtdec_setup_mem_size_base_lowest, except we pick
> the highest ram bank, instead of the lowest. This is helpful for boards
> which use separate but contiguous ram banks, as it leaves the most space
> for loading programs.
>
> Signed-off-by: Sean Anderson <seanga2 at gmail.com>
> ---
>
>  include/fdtdec.h | 19 ++++++++++++++++++-
>  lib/fdtdec.c     | 34 +++++++++++++++++++++++++++++-----
>  2 files changed, 47 insertions(+), 6 deletions(-)

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


More information about the U-Boot mailing list