[PATCH u-boot-dm + u-boot-spi 1/6] dm: add non-translating version of ofnode_get_addr_size_index
    Simon Glass 
    sjg at chromium.org
       
    Tue Feb  9 05:29:51 CET 2021
    
    
  
Hi Marek,
On Mon, 8 Feb 2021 at 19:49, 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 +++++++++++++++++
>  2 files changed, 33 insertions(+), 3 deletions(-)
Please add a test for this in test/dm/ofnode.c
Regards,
Simon
    
    
More information about the U-Boot
mailing list