From: Sylvain Munaut <tnt@246tNt.com>
Cc: Andrew Morton <akpm@osdl.org>,
Linux PPC Dev <linuxppc-dev@ozlabs.org>,
Paul Mackerras <paulus@samba.org>,
Linux Kernel <linux-kernel@vger.kernel.org>
Subject: [PATCH 8/9] Small updates for Freescale MPC52xx
Date: Tue, 14 Sep 2004 14:01:43 +0200 [thread overview]
Message-ID: <4146DDA7.1060304@246tNt.com> (raw)
In-Reply-To: <4146D833.8040703@246tNt.com>
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2004/09/14 12:30:28+02:00 tnt@246tNt.com
# ppc: Allow the Freescale MPC52xx to NAP when idle on LITE5200 platform
#
# NAP allows some powersave. It's provided mainly as an example on how
to do it.
# However, when a BDI is plugged it causes early crashes so be aware !
#
# Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
#
# arch/ppc/platforms/lite5200.c
# 2004/09/14 12:30:11+02:00 tnt@246tNt.com +7 -0
# ppc: Allow the Freescale MPC52xx to NAP when idle on LITE5200 platform
#
diff -Nru a/arch/ppc/platforms/lite5200.c b/arch/ppc/platforms/lite5200.c
--- a/arch/ppc/platforms/lite5200.c 2004-09-14 12:48:13 +02:00
+++ b/arch/ppc/platforms/lite5200.c 2004-09-14 12:48:13 +02:00
@@ -36,6 +36,8 @@
#include <asm/mpc52xx.h>
+extern int powersave_nap;
+
/* Board data given by U-Boot */
bd_t __res;
EXPORT_SYMBOL(__res); /* For modules */
@@ -123,6 +125,11 @@
/* No ISA bus AFAIK */
isa_io_base = 0;
isa_mem_base = 0;
+
+ /* Powersave */
+#ifndef CONFIG_BDI_SWITCH /* NAP & BDI is a bad combination ... */
+ powersave_nap = 1; /* We allow this platform to NAP */
+#endif
/* Setup the ppc_md struct */
ppc_md.setup_arch = lite5200_setup_arch;
WARNING: multiple messages have this Message-ID (diff)
From: Sylvain Munaut <tnt@246tNt.com>
To: unlisted-recipients:; (no To-header on input)
Cc: Linux PPC Dev <linuxppc-dev@ozlabs.org>,
Linux Kernel <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@osdl.org>, Paul Mackerras <paulus@samba.org>
Subject: [PATCH 8/9] Small updates for Freescale MPC52xx
Date: Tue, 14 Sep 2004 14:01:43 +0200 [thread overview]
Message-ID: <4146DDA7.1060304@246tNt.com> (raw)
In-Reply-To: <4146D833.8040703@246tNt.com>
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2004/09/14 12:30:28+02:00 tnt@246tNt.com
# ppc: Allow the Freescale MPC52xx to NAP when idle on LITE5200 platform
#
# NAP allows some powersave. It's provided mainly as an example on how
to do it.
# However, when a BDI is plugged it causes early crashes so be aware !
#
# Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
#
# arch/ppc/platforms/lite5200.c
# 2004/09/14 12:30:11+02:00 tnt@246tNt.com +7 -0
# ppc: Allow the Freescale MPC52xx to NAP when idle on LITE5200 platform
#
diff -Nru a/arch/ppc/platforms/lite5200.c b/arch/ppc/platforms/lite5200.c
--- a/arch/ppc/platforms/lite5200.c 2004-09-14 12:48:13 +02:00
+++ b/arch/ppc/platforms/lite5200.c 2004-09-14 12:48:13 +02:00
@@ -36,6 +36,8 @@
#include <asm/mpc52xx.h>
+extern int powersave_nap;
+
/* Board data given by U-Boot */
bd_t __res;
EXPORT_SYMBOL(__res); /* For modules */
@@ -123,6 +125,11 @@
/* No ISA bus AFAIK */
isa_io_base = 0;
isa_mem_base = 0;
+
+ /* Powersave */
+#ifndef CONFIG_BDI_SWITCH /* NAP & BDI is a bad combination ... */
+ powersave_nap = 1; /* We allow this platform to NAP */
+#endif
/* Setup the ppc_md struct */
ppc_md.setup_arch = lite5200_setup_arch;
next prev parent reply other threads:[~2004-09-14 12:00 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-14 11:38 [PATCH 0/9] Small updates for Freescale MPC52xx Sylvain Munaut
2004-09-14 11:38 ` Sylvain Munaut
2004-09-14 11:46 ` [PATCH 1/9] " Sylvain Munaut
2004-09-14 11:46 ` Sylvain Munaut
2004-09-14 11:48 ` [PATCH 2/9] " Sylvain Munaut
2004-09-14 11:48 ` Sylvain Munaut
2004-09-14 11:50 ` [PATCH 3/9] " Sylvain Munaut
2004-09-14 11:50 ` Sylvain Munaut
2004-09-14 11:50 ` [PATCH 4/9] " Sylvain Munaut
2004-09-14 11:50 ` Sylvain Munaut
2004-09-14 11:54 ` [PATCH 5/9] " Sylvain Munaut
2004-09-14 11:54 ` Sylvain Munaut
2004-09-14 11:59 ` [PATCH 6/9] " Sylvain Munaut
2004-09-14 11:59 ` Sylvain Munaut
2004-09-14 12:00 ` [PATCH 7/9] " Sylvain Munaut
2004-09-14 12:00 ` Sylvain Munaut
2004-09-14 12:01 ` Sylvain Munaut [this message]
2004-09-14 12:01 ` [PATCH 8/9] " Sylvain Munaut
2004-09-14 12:02 ` [PATCH 9/9] " Sylvain Munaut
2004-09-14 12:02 ` Sylvain Munaut
2004-09-15 20:46 ` [PATCH 10/9] Small updates for Freescale MPC52xx - Late one Sylvain Munaut
2004-09-15 20:46 ` Sylvain Munaut
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=4146DDA7.1060304@246tNt.com \
--to=tnt@246tnt.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=paulus@samba.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.