of: unittest: Add test for of_dma_get_max_cpu_address()
authorNicolas Saenz Julienne <nsaenzjulienne@suse.de>
Thu, 19 Nov 2020 17:53:56 +0000 (18:53 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 20 Nov 2020 09:34:13 +0000 (09:34 +0000)
commit07d13a1d6120d453c3c1f020578693d072deded5
tree1c1414aa7ec321d811f8db66f1269e0894e27213
parent964db79d6c186cc2ecc6ae46f98eed7e0ea8cf71
of: unittest: Add test for of_dma_get_max_cpu_address()

Introduce a test for of_dma_get_max_cup_address(), it uses the same DT
data as the rest of dma-ranges unit tests.

Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20201119175400.9995-5-nsaenzjulienne@suse.de
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
drivers/of/unittest.c