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)
commit9cd30644b1c643763eaa7e68193f1fdb994b2bd3
tree0ee7417419b3acae4249a5fd4e516b41bc618d4c
parenta33e8a5e491c4fff9c0c8b12b487749eab1c621c
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]