From mboxrd@z Thu Jan 1 00:00:00 1970 From: Igor Grinberg Date: Thu, 14 Jul 2016 11:23:22 +0300 Subject: [U-Boot] [PATCH v2 4/4] ARM: configs: cm_fx6: add mtd support In-Reply-To: <56eb9245d4344b6dbac260fa6335eeb7@rwthex-s1-b.rwth-ad.de> References: <20160712213737.2303-1-christopher.spinrath@rwth-aachen.de> <56eb9245d4344b6dbac260fa6335eeb7@rwthex-s1-b.rwth-ad.de> Message-ID: <57874BFA.8020306@compulab.co.il> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 07/13/2016 12:37 AM, christopher.spinrath at rwth-aachen.de wrote: > From: Christopher Spinrath > > The cm-fx6 module has an on-board spi flash chip. Enable mtd support > and the mtdparts command. Also define a default partitioning, add > it to the default environment, and enable support to overwrite the > partitioning defined in a device tree by it. Finally, probe for the > chip on preboot to register the flash chip and, thus, establish the > connection between the mtd environment settings and the actual device. > > These changes move the effective default partitioning from the device > tree shipped with the vendor kernels to U-Boot which becomes the single > point of definition for the partitioning for all device tree based > kernels (in particular, for the upstream Linux kernel which does not > have a default partitioning defined in its device tree). > > Signed-off-by: Christopher Spinrath Acked-by: Igor Grinberg -- Regards, Igor.