[PATCH u-boot-dm + u-boot-spi v2 2/7] dm: core: add non-translating version of ofnode_get_addr_size_index()

Simon Glass sjg at chromium.org
Wed Feb 10 06:10:29 CET 2021


On Tue, 9 Feb 2021 at 07:45, Marek Behún <marek.behun at nic.cz> wrote:
>
> Add functions ofnode_get_addr_size_index_notrans(), which is a
> non-translating version of ofnode_get_addr_size_index().
>
> Some addresses are not meant to be translated, for example those of MTD
> fixed-partitions.
>
> Signed-off-by: Marek Behún <marek.behun at nic.cz>
> Cc: Dario Binacchi <dariobin at libero.it>
> Cc: Simon Glass <sjg at chromium.org>
> ---
>  drivers/core/ofnode.c | 19 ++++++++++++++++---
>  include/dm/ofnode.h   | 17 +++++++++++++++++
>  test/dm/ofnode.c      |  6 ++++++
>  3 files changed, 39 insertions(+), 3 deletions(-)

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


More information about the U-Boot mailing list