From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC 0/4] convert stmp into mxs and delete the obsolete platform
Date: Mon, 18 Apr 2011 09:10:45 +0200 [thread overview]
Message-ID: <201104180910.45599.arnd@arndb.de> (raw)
In-Reply-To: <20110418051602.GC11578@pengutronix.de>
On Monday 18 April 2011, Wolfram Sang wrote:
> From 25959b361a5d4af3138d70f5dfc8c357bee90170 Mon Sep 17 00:00:00 2001
> From: Wolfram Sang <w.sang@pengutronix.de>
> Date: Sun, 17 Apr 2011 19:49:28 +0200
> Subject: [RFC 1/4] arm: mach-mxs: add stmp378x-devb
>
> STMP378x and MX23 are the same. There is a mach-stmp378x, however, it has a lot
> of reinvented interfaces, leaking all sorts of mach-specific functions into the
> drivers. One example is the dmaengine which does not use the linux
> dmaengine-API but some privately exported symbols. This makes generic use of
> the drivers impossible. mach-mxs does it better, so convert the board to
> mach-mxs. After that, it is possible to delete all stmp-specific code which
> should ease further ARM-consolidation.
>
> Compile tested only due to no hardware (seems not available anymore).
>
> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Ok, I guess there is not much that anyone can really complain about here.
What about the arch/arm/mach-stmp37xx/stmp37xx_devb.c file? You don't seem
to have a replacement for that machine.
Also, I noticed that the same series that added support for the platform
also added a few device drivers:
* drivers/rtc/rtc-stmp3xxx.c
* drivers/spi/spi_stmp.c
* drivers/watchdog/stmp3xxx_wdt.c
Are these still used by the new code, and shared with the other i.MX23
code, or is there more duplication?
Finally, there are defconfig files:
* arch/arm/configs/stmp378x_defconfig
* arch/arm/configs/stmp37xx_defconfig
I would guess that these need to be updated.
Arnd
next prev parent reply other threads:[~2011-04-18 7:10 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-18 2:30 [RFC 0/4] convert stmp into mxs and delete the obsolete platform Wolfram Sang
2011-04-18 2:30 ` [RFC 1/4] arm: mach-mxs: add stmp378x-devb Wolfram Sang
2011-04-18 2:30 ` [RFC 2/4] arm: mach-stmp37xx: remove mach Wolfram Sang
2011-04-18 2:30 ` [RFC 3/4] arm: mach-stmp378x: " Wolfram Sang
2011-04-18 2:30 ` [RFC 4/4] arm: plat-stmp: remove plat Wolfram Sang
2011-04-18 4:18 ` [RFC 0/4] convert stmp into mxs and delete the obsolete platform Shawn Guo
2011-04-18 4:38 ` Wolfram Sang
2011-04-18 4:36 ` Wolfram Sang
2011-04-18 5:07 ` Arnd Bergmann
2011-04-18 5:16 ` Wolfram Sang
2011-04-18 7:10 ` Arnd Bergmann [this message]
2011-04-18 16:14 ` Wolfram Sang
2011-04-18 6:23 ` Vitaly Wool
2011-04-18 9:12 ` Uwe Kleine-König
2011-04-18 12:58 ` Vitaly Wool
2011-04-26 21:36 ` Wolfram Sang
2011-04-18 16:25 ` Wolfram Sang
2011-04-19 9:30 ` Russell King - ARM Linux
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201104180910.45599.arnd@arndb.de \
--to=arnd@arndb.de \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.