• N
    ARM: bcm2835: Set Serial number and Revision · 07b742d0
    Noralf Trønnes 提交于
    raspberrypi inclusion
    category: feature
    bugzilla: 50432
    
    --------------------------------
    
    The VideoCore bootloader passes in Serial number and
    Revision number through Device Tree. Make these available to
    userspace through /proc/cpuinfo.
    
    Mainline status:
    
    There is a commit in linux-next that standardize passing the serial
    number through Device Tree (string: /serial-number):
    ARM: 8355/1: arch: Show the serial number from devicetree in cpuinfo
    
    There was an attempt to do the same with the revision number, but it
    didn't get in:
    [PATCH v2 1/2] arm: devtree: Set system_rev from DT revision
    Signed-off-by: NNoralf Trønnes <noralf@tronnes.org>
    Signed-off-by: NFang Yafen <yafen@iscas.ac.cn>
    Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
    07b742d0
board_bcm2835.c 871 字节