[U-Boot] [PATCH 2/6] am335x_evm: Add MTDPARTS info for SPI flash

Tom Rini trini at ti.com
Mon May 13 18:10:53 CEST 2013


On Mon, May 13, 2013 at 08:24:23AM -0400, Tom Rini wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 05/12/2013 05:10 PM, Peter Korsgaard wrote:
> >>>>>> "Tom" == Tom Rini <trini at ti.com> writes:
> > 
> > Tom> Signed-off-by: Tom Rini <trini at ti.com> Tom> --- Tom>
> > include/configs/am335x_evm.h |    7 +++++++ Tom>  1 file changed, 7
> > insertions(+)
> > 
> > Tom> diff --git a/include/configs/am335x_evm.h
> > b/include/configs/am335x_evm.h Tom> index 945ec09..004a06a 100644 
> > Tom> --- a/include/configs/am335x_evm.h Tom> +++
> > b/include/configs/am335x_evm.h Tom> @@ -436,6 +436,13 @@ Tom>  #
> > define CONFIG_ENV_SPI_MAX_HZ		CONFIG_SF_DEFAULT_SPEED Tom>  #
> > define CONFIG_ENV_OFFSET		(892 << 10) /* 892 KiB in */ Tom>  #
> > define CONFIG_ENV_SECT_SIZE		(4 << 10) /* 4 KB sectors */ Tom>
> > +#define CONFIG_CMD_MTDPARTS Tom> +#define MTDIDS_DEFAULT
> > "nor0=physmap-flash.0" Tom> +#define MTDPARTS_DEFAULT
> > "mtdparts=physmap-flash.0:128k(SPL)," \
> > 
> > physmap for a spi flash? I would have expected to see m25p80?
> 
> Yes, I'd swear it's physmap when I've tested it on the vendor kernel tree.

Or I must be misrecalling things, changed.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130513/43406c11/attachment.pgp>


More information about the U-Boot mailing list