From mboxrd@z Thu Jan 1 00:00:00 1970 From: Igor Grinberg Date: Wed, 22 Jun 2016 19:15:11 +0300 Subject: [U-Boot] [PATCH 3/3] ARM: configs: cm_fx6: add mtd support In-Reply-To: References: <20160619154456.29027-1-christopher.spinrath@rwth-aachen.de> Message-ID: <576AB98F.3090709@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 06/19/2016 06:44 PM, Christopher Spinrath wrote: > 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. > > 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 > --- > include/configs/cm_fx6.h | 19 ++++++++++++++++++- > 1 file changed, 18 insertions(+), 1 deletion(-) > > diff --git a/include/configs/cm_fx6.h b/include/configs/cm_fx6.h > index f054ca8..c839b03 100644 > --- a/include/configs/cm_fx6.h > +++ b/include/configs/cm_fx6.h [...] > @@ -157,7 +174,7 @@ > "run setupnandboot;" \ > "run nandboot;" > > -#define CONFIG_PREBOOT "usb start" > +#define CONFIG_PREBOOT "usb start;sf probe" Probably, this is really needed. Care to explain? > > /* SPI */ > #define CONFIG_SPI > -- Regards, Igor.