[PATCH v2 0/7] SH Mobile sh_flctl driver brush up

Magnus Damm magnus.damm at gmail.com
Fri Mar 9 08:22:52 EST 2012


On Fri, Mar 9, 2012 at 9:37 PM, Artem Bityutskiy <dedekind1 at gmail.com> wrote:
> On Fri, 2012-03-09 at 13:14 +0100, Laurent Pinchart wrote:
>> ARCH_SHMOBILE is an ARM platform (defined in arch/arm/Kconfig).
>
> Hmm, ok, thanks. So you say that
>
> http://www.renesas.eu/products/soc/assp/mobile/sh_mobile/mt1/index.jsp
>
> saying "CPU core: sh4a" actually means ARM? I must be very confused :-)

Certain product lines of SoCs from Renesas have both ARM and SH in
them. The ones with only SH are supported under arch/sh and the ARM
based ones under arch/arm/mach-shmobile. Both ARM and SH variants can
be found in anything from vending machines to cars and cellphones.

Regardless of CPU archtecture, endian and availability of MMU they do
share a lot of I/O device hardware IP. The mtd driver for FLCTL is one
such case, if I recall correctly I have seen it in at least 10
different SoCs. Other popular areas that have shared ARM and SH
drivers include mmc, input, network, fbdev, v4l2, i2c and spi.

I believe Bastian is using a sh7372 based Mackerel board which is
fully supported upstream under arch/arm/mach-shmobile. Hope this
helps!

Cheers,

/ magnus



More information about the linux-mtd mailing list