public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Improve mvebu_get_soc_id
@ 2014-06-20 14:35 Gregory CLEMENT
  2014-06-20 14:35 ` [PATCH v2 1/2] ARM: mvebu: Use the a standard errno in mvebu_get_soc_id Gregory CLEMENT
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Gregory CLEMENT @ 2014-06-20 14:35 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

The first use -ENODEV as return value instead of -1 as suggested by
Arnd for the second patch.

The second patch allows to get the SoC Id and the revision without using
the PCI register on Armada 38x.

Thanks,

Gregory

Changelog:

v1 -> v2:

- Fix typo in mvebu_system_controller_get_soc_id.
- Use -ENODEV as return value instead of -1


Gregory CLEMENT (2):
  ARM: mvebu: Use the a standard errno in mvebu_get_soc_id
  ARM: mvebu: Use system controller to get the soc id when possible

 arch/arm/mach-mvebu/common.h            |  1 +
 arch/arm/mach-mvebu/mvebu-soc-id.c      | 22 ++++++++++++++++++++--
 arch/arm/mach-mvebu/system-controller.c | 19 +++++++++++++++++++
 3 files changed, 40 insertions(+), 2 deletions(-)

-- 
1.8.1.2

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-06-21  1:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-20 14:35 [PATCH v2 0/2] Improve mvebu_get_soc_id Gregory CLEMENT
2014-06-20 14:35 ` [PATCH v2 1/2] ARM: mvebu: Use the a standard errno in mvebu_get_soc_id Gregory CLEMENT
2014-06-20 15:47   ` Thomas Petazzoni
2014-06-21  1:02   ` Jason Cooper
2014-06-20 14:35 ` [PATCH v2 2/2] ARM: mvebu: Use system controller to get the soc id when possible Gregory CLEMENT
2014-06-20 14:49   ` Ezequiel Garcia
2014-06-20 19:00   ` Jason Cooper
2014-06-20 19:12     ` Andrew Lunn
2014-06-20 19:38       ` Jason Cooper
2014-06-20 19:15 ` [PATCH v2 0/2] Improve mvebu_get_soc_id Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox