From: Alexander Graf Date: Wed, 20 Feb 2019 13:39:45 +0100 Subject: [U-Boot] [PATCH v2 1/1] board: raspberrypi: add serial and revision to the device tree In-Reply-To: <6186373fff2a94eddd91b28b41fb212c0d86caa1.1550664195.git.tossel@gmail.com> References: <6186373fff2a94eddd91b28b41fb212c0d86caa1.1550664195.git.tossel@gmail.com> Message-ID: <6f0c90f9-8d1a-e984-1245-6ffd9b592ccf@suse.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 02/20/2019 01:09 PM, Anton Gerasimov wrote: > Raspberry Pi bootloader adds this node to fdt, but if u-boot script > doesn't reuse the tree provided by it, this information is lost. > > Revision and serial are displayed in /proc/cpuinfo after boot. > > Suggested-By: Ricardo Salveti > Reported-by: Karl Eaves > Signed-off-by: Anton Gerasimov WiringPi really shouldn't rely on this information, as it is not present on AArch64 for example, but I don't see any harm in providing it. I'll leave it to Matthias to apply. Reviewed-by: Alexander Graf Alex