New kernels don't get CPU information from U-Boot ATAGS and so the /proc/cpuinfo file does not have the Hardware/Revision lines filled in. This patch gets the CPU model from the device tree information at /proc/device-tree/compatible. For backwards compatibility, if the CPU model cannot be retrieved from this file, we try to get it from /proc/cpuinfo. Signed-off-by: Hector Palacios <hector.palacios@digi.com> Reviewed-by: Javier Viguera <javier.viguera@digi.com> https://jira.digi.com/browse/DEL-797 |
||
|---|---|---|
| .. | ||
| ccardimx28js | ||
| 0001-dump-v1-boot-structures.patch | ||
| 0002-rom-version.patch | ||
| 0003-ncb-fixed-transposed-parameters-in-memset.patch | ||
| 0004-added-verification-of-written-data-only-for-v1-ROM.patch | ||
| 0006-Remove-MEMSETOOBSEL-ioctl-call.patch | ||
| 0007-Rename-MTD_MODE_-to-MTD_FILE_MODE_.patch | ||
| 0008-version-parse-ROM-version-from-FDT-if-available.patch | ||