[U-Boot] [PATCH] ARM: board: cm_fx6: fix mtd partition fixup

Nikita Kiryanov nikita at compulab.co.il
Sun Aug 28 14:03:56 CEST 2016


Hi Christopher,

On Tue, Aug 23, 2016 at 04:08:52PM +0200, christopher.spinrath at rwth-aachen.de wrote:
> From: Christopher Spinrath <christopher.spinrath at rwth-aachen.de>
> 
> 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.

Reviewed-by: Nikita Kiryanov <nikita at compulab.co.il>

> 
> Fixes: 62d6bac66038 ("ARM: board: cm_fx6: fixup mtd partitions in the fdt")
> Signed-off-by: Christopher Spinrath <christopher.spinrath at rwth-aachen.de>
> ---
>  board/compulab/cm_fx6/cm_fx6.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 


More information about the U-Boot mailing list