Home
last modified time | relevance | path

Searched hist:f8de60bd58a03d97d6907d54f0a8634c6a6a5504 (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/board/compulab/cm_fx6/
H A Dcm_fx6.cf8de60bd58a03d97d6907d54f0a8634c6a6a5504 Tue Aug 23 14:08:52 UTC 2016 Christopher Spinrath <christopher.spinrath@rwth-aachen.de> ARM: board: cm_fx6: fix mtd partition fixup

ft_board_setup may return early in the case that the board revision
cannot be obtained. In that case it is assumed that no revision
specific correction in the fdt is neccessary. But the mtd partitions
will not be fixed up either altough they are not revision specific.

Move the call to fdt_fixup_mtdparts in front of the revision specific
part to ensure that the partitions are fixed up even if the board
revision cannot be obtained.

While on it, fix a spelling mistake in a comment introduced by the
same commit.

Fixes: 62d6bac66038 ("ARM: board: cm_fx6: fixup mtd partitions in the fdt")
Signed-off-by: Christopher Spinrath <christopher.spinrath@rwth-aachen.de>
Reviewed-by: Stefano Babic <sbabic@denx.de>
Reviewed-by: Nikita Kiryanov <nikita@compulab.co.il>