of: partition: fix typo when writing #address-cells
On > 4 GiB eMMC devices, barebox writes a 32-bit address and a 64-bit
size into the partition reg property, because #address-cells is
accidentally written as '#addres-cells'. This causes a fallback to
32-bit address size. Fix the typo and thereby of_partition_fixup for
64-bit partitions.

Fixes: a2fa18f9f483 ("mtd: of: Make used partition binding configurable")
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent ca88091 commit f706862d559f94d2eb5608d0a87f00038e5061b0
@Philipp Zabel Philipp Zabel authored on 26 Mar 2018
Sascha Hauer committed on 29 Mar 2018
Showing 1 changed file
View
drivers/of/partition.c