From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Korsgaard Date: Sun, 12 May 2013 23:10:21 +0200 Subject: [U-Boot] [PATCH 2/6] am335x_evm: Add MTDPARTS info for SPI flash In-Reply-To: <1368053157-28317-2-git-send-email-trini@ti.com> (Tom Rini's message of "Wed, 8 May 2013 18:45:53 -0400") References: <1368053157-28317-1-git-send-email-trini@ti.com> <1368053157-28317-2-git-send-email-trini@ti.com> Message-ID: <87obcfvr9e.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de >>>>> "Tom" == Tom Rini writes: Tom> Signed-off-by: Tom Rini 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? Tom> + "128k(SPL.backup1)," \ Tom> + "128k(SPL.backup2)," \ Tom> + "128k(SPL.backup3),384k(u-boot)," \ Tom> + "4k(u-boot-env),3464k(kernel),-(rootfs)" Tom> #endif /* SPI support */ Tom> /* Unsupported features */ Tom> -- Tom> 1.7.9.5 Tom> _______________________________________________ Tom> U-Boot mailing list Tom> U-Boot at lists.denx.de Tom> http://lists.denx.de/mailman/listinfo/u-boot -- Bye, Peter Korsgaard