Re: [PATCH 1/1] ARM: OMAP: 243x: Add mappings for SDRC and SMS

Tony Lindgren
2007-03-20T18:20:06Z

* Kevin Hilman <khilman@mvista.com> [070313 21:12]:
> Add mappings for SDRC ans SMS so that omap2_memory_init() works on the
> 2430. This also allows the mpurate= command-line option to work.

> --- dev.orig/include/asm-arm/arch-omap/io.h
> +++ dev/include/asm-arm/arch-omap/io.h
> @@ -80,6 +80,13 @@
> #define OMAP243X_GPMC_PHYS OMAP243X_GPMC_BASE /* 0x49000000 */
> #define OMAP243X_GPMC_VIRT 0xFE000000
> #define OMAP243X_GPMC_SIZE SZ_1M
> +#define OMAP243X_SDRC_PHYS OMAP24XX_SDRC_BASE
> +#define OMAP243X_SDRC_VIRT 0xFD000000
> +#define OMAP243X_SDRC_SIZE SZ_1M
> +#define OMAP243X_SMS_PHYS OMAP243X_SMS_BASE
> +#define OMAP243X_SMS_VIRT 0xFC000000
> +#define OMAP243X_SMS_SIZE SZ_1M
> +
> #endif
>

Tabified these & pushing today.

Tony