From: kgene.kim@samsung.com (Kukjin Kim)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: restart: move SWRST based S3C platforms to machine_desc hook
Date: Mon, 19 Dec 2011 21:42:24 +0900 [thread overview]
Message-ID: <03de01ccbe4b$a8a5bb00$f9f13100$%kim@samsung.com> (raw)
In-Reply-To: <201112191325.56090.heiko@sntech.de>
Heiko St?bner wrote:
>
> S3C2412/S3C2416/S3C2443 use a special register to signal the reset to
> the processor and used therefore the s3c24xx_reset_hook mechanism in the
> s3c24xx-specific arch reset.
>
> This patch introduces restart functions for these architectures,
> moves the board files to them and removes the s3c24xx_reset_hook
> infrastructure, as all users are gone.
>
> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
> ---
> @Kgene: This is my first cleanup step, done before your s3c64xx mail
> arrived,
> which transforms the 2412,2416 and 2443 arches which use the special SWRST
> register to do the reset. Just if it helps :-)
>
Heiko, thanks.
I'm looking at S5P SoCs now and of course this helps. And if possible, let
me do it with this.
As a note, we need to implement local header file before using new restart
hook and I'm thinking which one is better to us between all s3c24xx SoCs'
common or each mach-s3c24xx's one.
Thanks.
Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
> arch/arm/mach-s3c2410/include/mach/reset.h | 22
-------------------
> --
> arch/arm/mach-s3c2410/include/mach/system-reset.h | 5 ----
> arch/arm/mach-s3c2410/include/mach/system.h | 2 -
> arch/arm/mach-s3c2412/mach-jive.c | 2 +
> arch/arm/mach-s3c2412/mach-smdk2413.c | 3 ++
> arch/arm/mach-s3c2412/mach-vstms.c | 1 +
> arch/arm/mach-s3c2412/s3c2412.c | 10 +++-----
> arch/arm/mach-s3c2416/mach-smdk2416.c | 1 +
> arch/arm/mach-s3c2416/s3c2416.c | 7 +++--
> arch/arm/mach-s3c2443/mach-smdk2443.c | 1 +
> arch/arm/mach-s3c2443/s3c2443.c | 8 +++---
> arch/arm/plat-samsung/include/plat/s3c2412.h | 3 ++
> arch/arm/plat-samsung/include/plat/s3c2416.h | 2 +
> arch/arm/plat-samsung/include/plat/s3c2443.h | 2 +
> 14 files changed, 27 insertions(+), 42 deletions(-)
> delete mode 100644 arch/arm/mach-s3c2410/include/mach/reset.h
next prev parent reply other threads:[~2011-12-19 12:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-19 11:58 [PATCH] ARM: restart: S3C64XX: use new restart hook Kukjin Kim
2011-12-19 12:12 ` Heiko Stübner
2011-12-19 12:20 ` Kukjin Kim
2011-12-19 12:25 ` [PATCH] ARM: restart: move SWRST based S3C platforms to machine_desc hook Heiko Stübner
2011-12-19 12:42 ` Kukjin Kim [this message]
2011-12-19 12:58 ` Heiko Stübner
2011-12-19 13:55 ` [PATCH] ARM: restart: S3C64XX: use new restart hook Russell King - ARM Linux
2011-12-19 14:37 ` Kukjin Kim
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='03de01ccbe4b$a8a5bb00$f9f13100$%kim@samsung.com' \
--to=kgene.kim@samsung.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox