* [U-Boot] [PATCH] sun7i: Drop CONFIG_ARMV7_PSCI_NR_CPUS
@ 2014-10-24 18:28 Hans de Goede
2014-11-16 11:19 ` Ian Campbell
0 siblings, 1 reply; 4+ messages in thread
From: Hans de Goede @ 2014-10-24 18:28 UTC (permalink / raw)
To: u-boot
It is not used anywhere.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
include/configs/sun7i.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/configs/sun7i.h b/include/configs/sun7i.h
index 966cbd8..7f7369c 100644
--- a/include/configs/sun7i.h
+++ b/include/configs/sun7i.h
@@ -33,7 +33,6 @@
#define CONFIG_ARMV7_VIRT 1
#define CONFIG_ARMV7_NONSEC 1
#define CONFIG_ARMV7_PSCI 1
-#define CONFIG_ARMV7_PSCI_NR_CPUS 2
#define CONFIG_ARMV7_SECURE_BASE SUNXI_SRAM_B_BASE
#define CONFIG_SYS_CLK_FREQ 24000000
--
2.1.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH] sun7i: Drop CONFIG_ARMV7_PSCI_NR_CPUS
2014-10-24 18:28 [U-Boot] [PATCH] sun7i: Drop CONFIG_ARMV7_PSCI_NR_CPUS Hans de Goede
@ 2014-11-16 11:19 ` Ian Campbell
2014-11-16 12:59 ` Marc Zyngier
0 siblings, 1 reply; 4+ messages in thread
From: Ian Campbell @ 2014-11-16 11:19 UTC (permalink / raw)
To: u-boot
On Fri, 2014-10-24 at 20:28 +0200, Hans de Goede wrote:
> It is not used anywhere.
Might this be an oversight because sunxi is the only SoC with psci
support so far? Marc, was this added intentionally with a usecase in
mind or just a left over from an earlier version of the code?
That said, I'd have expected that an NR_CPUS type setting would want to
be part of the relevant PSCI backend, i.e. it would be more SoC
specific.
>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
> ---
> include/configs/sun7i.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/include/configs/sun7i.h b/include/configs/sun7i.h
> index 966cbd8..7f7369c 100644
> --- a/include/configs/sun7i.h
> +++ b/include/configs/sun7i.h
> @@ -33,7 +33,6 @@
> #define CONFIG_ARMV7_VIRT 1
> #define CONFIG_ARMV7_NONSEC 1
> #define CONFIG_ARMV7_PSCI 1
> -#define CONFIG_ARMV7_PSCI_NR_CPUS 2
> #define CONFIG_ARMV7_SECURE_BASE SUNXI_SRAM_B_BASE
> #define CONFIG_SYS_CLK_FREQ 24000000
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH] sun7i: Drop CONFIG_ARMV7_PSCI_NR_CPUS
2014-11-16 11:19 ` Ian Campbell
@ 2014-11-16 12:59 ` Marc Zyngier
2014-11-16 13:29 ` Ian Campbell
0 siblings, 1 reply; 4+ messages in thread
From: Marc Zyngier @ 2014-11-16 12:59 UTC (permalink / raw)
To: u-boot
On Sun, Nov 16 2014 at 11:19:02 AM, Ian Campbell <ijc@hellion.org.uk> wrote:
> On Fri, 2014-10-24 at 20:28 +0200, Hans de Goede wrote:
>> It is not used anywhere.
>
> Might this be an oversight because sunxi is the only SoC with psci
> support so far? Marc, was this added intentionally with a usecase in
> mind or just a left over from an earlier version of the code?
>
> That said, I'd have expected that an NR_CPUS type setting would want to
> be part of the relevant PSCI backend, i.e. it would be more SoC
> specific.
This was in preparation of a possible reuse of that code for A31 and co,
but it should indeed be SoC specific. So thumb up for removal.
Thanks,
M.
>>
>> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
>> ---
>> include/configs/sun7i.h | 1 -
>> 1 file changed, 1 deletion(-)
>>
>> diff --git a/include/configs/sun7i.h b/include/configs/sun7i.h
>> index 966cbd8..7f7369c 100644
>> --- a/include/configs/sun7i.h
>> +++ b/include/configs/sun7i.h
>> @@ -33,7 +33,6 @@
>> #define CONFIG_ARMV7_VIRT 1
>> #define CONFIG_ARMV7_NONSEC 1
>> #define CONFIG_ARMV7_PSCI 1
>> -#define CONFIG_ARMV7_PSCI_NR_CPUS 2
>> #define CONFIG_ARMV7_SECURE_BASE SUNXI_SRAM_B_BASE
>> #define CONFIG_SYS_CLK_FREQ 24000000
>>
>
>
>
--
Jazz is not dead. It just smells funny.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH] sun7i: Drop CONFIG_ARMV7_PSCI_NR_CPUS
2014-11-16 12:59 ` Marc Zyngier
@ 2014-11-16 13:29 ` Ian Campbell
0 siblings, 0 replies; 4+ messages in thread
From: Ian Campbell @ 2014-11-16 13:29 UTC (permalink / raw)
To: u-boot
On Sun, 2014-11-16 at 12:59 +0000, Marc Zyngier wrote:
> On Sun, Nov 16 2014 at 11:19:02 AM, Ian Campbell <ijc@hellion.org.uk> wrote:
> > On Fri, 2014-10-24 at 20:28 +0200, Hans de Goede wrote:
> >> It is not used anywhere.
> >
> > Might this be an oversight because sunxi is the only SoC with psci
> > support so far? Marc, was this added intentionally with a usecase in
> > mind or just a left over from an earlier version of the code?
> >
> > That said, I'd have expected that an NR_CPUS type setting would want to
> > be part of the relevant PSCI backend, i.e. it would be more SoC
> > specific.
>
> This was in preparation of a possible reuse of that code for A31 and co,
> but it should indeed be SoC specific. So thumb up for removal.
Thanks, in which case:
Acked-by: Ian Campbell <ijc@hellion.org.uk>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-11-16 13:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-24 18:28 [U-Boot] [PATCH] sun7i: Drop CONFIG_ARMV7_PSCI_NR_CPUS Hans de Goede
2014-11-16 11:19 ` Ian Campbell
2014-11-16 12:59 ` Marc Zyngier
2014-11-16 13:29 ` Ian Campbell
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.