Re: [PATCH v3 2/2] arch: arm: Show the serial number from devicetree in cpuinfo

2015-04-28 Thread Russell King - ARM Linux
On Mon, Apr 27, 2015 at 04:42:27PM +0200, Paul Kocialkowski wrote: > Well, of_property_read_string is only defined when CONFIG_OF is set > (base.c is always built in drivers/of but the directory is only included > when CONFIG_OF is set). > > Of course, on ARM, we now expect that it is the case, bu

Re: [PATCH v3 2/2] arch: arm: Show the serial number from devicetree in cpuinfo

2015-04-27 Thread Paul Kocialkowski
Le lundi 27 avril 2015 à 10:20 -0500, Rob Herring a écrit : > On Mon, Apr 27, 2015 at 9:42 AM, Paul Kocialkowski wrote: > > Le lundi 27 avril 2015 à 08:48 -0500, Rob Herring a écrit : > >> On Sat, Apr 18, 2015 at 4:58 AM, Paul Kocialkowski > >> wrote: > >> > This grabs the serial number shown in

Re: [PATCH v3 2/2] arch: arm: Show the serial number from devicetree in cpuinfo

2015-04-27 Thread Rob Herring
On Mon, Apr 27, 2015 at 9:42 AM, Paul Kocialkowski wrote: > Le lundi 27 avril 2015 à 08:48 -0500, Rob Herring a écrit : >> On Sat, Apr 18, 2015 at 4:58 AM, Paul Kocialkowski wrote: >> > This grabs the serial number shown in cpuinfo from the serial-number >> > devicetree >> > property in priority

Re: [PATCH v3 2/2] arch: arm: Show the serial number from devicetree in cpuinfo

2015-04-27 Thread Paul Kocialkowski
Le lundi 27 avril 2015 à 08:48 -0500, Rob Herring a écrit : > On Sat, Apr 18, 2015 at 4:58 AM, Paul Kocialkowski wrote: > > This grabs the serial number shown in cpuinfo from the serial-number > > devicetree > > property in priority. When booting with ATAGs (and without device-tree), the > > prov

Re: [PATCH v3 2/2] arch: arm: Show the serial number from devicetree in cpuinfo

2015-04-27 Thread Rob Herring
On Sat, Apr 18, 2015 at 4:58 AM, Paul Kocialkowski wrote: > This grabs the serial number shown in cpuinfo from the serial-number > devicetree > property in priority. When booting with ATAGs (and without device-tree), the > provided number is still shown instead. > > Signed-off-by: Paul Kocialkows

Re: [PATCH v3 2/2] arch: arm: Show the serial number from devicetree in cpuinfo

2015-04-27 Thread Paul Kocialkowski
Le samedi 18 avril 2015 à 11:58 +0200, Paul Kocialkowski a écrit : > This grabs the serial number shown in cpuinfo from the serial-number > devicetree > property in priority. When booting with ATAGs (and without device-tree), the > provided number is still shown instead. Any further comment on th

[PATCH v3 2/2] arch: arm: Show the serial number from devicetree in cpuinfo

2015-04-18 Thread Paul Kocialkowski
This grabs the serial number shown in cpuinfo from the serial-number devicetree property in priority. When booting with ATAGs (and without device-tree), the provided number is still shown instead. Signed-off-by: Paul Kocialkowski --- arch/arm/include/asm/system_info.h | 1 + arch/arm/kernel/set