Merge "soc: hab: add bootmarker for hab driver"
This commit is contained in:
commit
1804f6dc98
2 changed files with 5 additions and 0 deletions
|
@ -1315,6 +1315,8 @@ static int __init hab_init(void)
|
||||||
int result;
|
int result;
|
||||||
dev_t dev;
|
dev_t dev;
|
||||||
|
|
||||||
|
place_marker("M - HAB INIT Start");
|
||||||
|
|
||||||
result = alloc_chrdev_region(&hab_driver.major, 0, 1, "hab");
|
result = alloc_chrdev_region(&hab_driver.major, 0, 1, "hab");
|
||||||
|
|
||||||
if (result < 0) {
|
if (result < 0) {
|
||||||
|
@ -1372,6 +1374,8 @@ static int __init hab_init(void)
|
||||||
|
|
||||||
hab_stat_init(&hab_driver);
|
hab_stat_init(&hab_driver);
|
||||||
|
|
||||||
|
place_marker("M - HAB INIT End");
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
|
||||||
err:
|
err:
|
||||||
|
|
|
@ -45,6 +45,7 @@
|
||||||
#include <linux/reboot.h>
|
#include <linux/reboot.h>
|
||||||
#include <linux/kobject.h>
|
#include <linux/kobject.h>
|
||||||
#include <linux/sysfs.h>
|
#include <linux/sysfs.h>
|
||||||
|
#include <soc/qcom/boot_stats.h>
|
||||||
|
|
||||||
enum hab_payload_type {
|
enum hab_payload_type {
|
||||||
HAB_PAYLOAD_TYPE_MSG = 0x0,
|
HAB_PAYLOAD_TYPE_MSG = 0x0,
|
||||||
|
|
Loading…
Add table
Reference in a new issue