]> git.baikalelectronics.ru Git - uboot.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)
commit416ac5fe75b75d2699e70c18b0b38d5d834d4d78
tree4ac1c52b0e70f2a28e41359887c1ebc280be8054
parent9a0a30cbef73c4259f4e3c10a2b8e8f1f8b7d404
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