From: Stefano Babic Date: Tue, 6 Sep 2016 10:18:06 +0200 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: <22d94025-8a88-8d7b-9e6d-bbabb67e00cb@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 23/08/2016 16:08, 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. > > Fixes: 62d6bac66038 ("ARM: board: cm_fx6: fixup mtd partitions in the fdt") > Signed-off-by: Christopher Spinrath > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================