soc:qcom: add bootinfo support
authorzhaoxp3 <zhaoxp3@motorola.com>
Mon, 6 Aug 2018 04:31:54 +0000 (12:31 +0800)
committerxiest1 <xiest1@lenovo.com>
Tue, 5 Nov 2019 09:30:14 +0000 (17:30 +0800)
commit5867ce0689e0e679e9ef223012935e50bb22e0ef
tree0ee7417419b3acae4249a5fd4e516b41bc618d4c
parentc4ab2c68853924791015041d07f5ca5c636befaf
soc:qcom: add bootinfo support

The interface would
    1. export /proc/bootinfo to user space, bugreport can use it
    2. annotate boot info to last_kmsg
port the following gerrits
    http://gerrit.mot.com/862769
    http://gerrit.mot.com/848543
    http://gerrit.mot.com/845197
    http://gerrit.mot.com/792195
    http://gerrit.mot.com/782682

Change-Id: Icc0e48f833b119dad73a07cd564e24f169d1ac4d
Signed-off-by: zhaoxp3 <zhaoxp3@motorola.com>
Reviewed-on: https://gerrit.mot.com/1221136
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Submit-Approved: Jira Key
drivers/soc/samsung/Kconfig
drivers/soc/samsung/Makefile
drivers/soc/samsung/bootinfo.c [new file with mode: 0644]
include/soc/samsung/bootinfo.h [new file with mode: 0644]