]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: core: add non-translating version of ofnode_get_addr_size_index()
authorMarek Behún <marek.behun@nic.cz>
Wed, 26 May 2021 12:08:17 +0000 (14:08 +0200)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 24 Jun 2021 06:22:45 +0000 (11:52 +0530)
commit31a7b719d07ccb11950f423b5f1195375109b5fa
tree4ac1c52b0e70f2a28e41359887c1ebc280be8054
parentb388af9af459b049645aaecc8874721119b479b0
dm: core: add non-translating version of ofnode_get_addr_size_index()

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@nic.cz>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Tested-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/core/ofnode.c
include/dm/ofnode.h
test/dm/ofnode.c