From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikita Kiryanov Date: Sun, 28 Aug 2016 15:03:56 +0300 Subject: [U-Boot] [PATCH] ARM: board: cm_fx6: fix mtd partition fixup In-Reply-To: <927dba6a3c6d47dcb5c324c7638c92c1@rwthex-s1-b.rwth-ad.de> References: <927dba6a3c6d47dcb5c324c7638c92c1@rwthex-s1-b.rwth-ad.de> Message-ID: <20160828120356.GA8983@arkadi-linux.compulab.local> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Christopher, On Tue, Aug 23, 2016 at 04:08:52PM +0200, christopher.spinrath at rwth-aachen.de wrote: > From: Christopher Spinrath > > 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 > > Fixes: 62d6bac66038 ("ARM: board: cm_fx6: fixup mtd partitions in the fdt") > Signed-off-by: Christopher Spinrath > --- > board/compulab/cm_fx6/cm_fx6.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) >