mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
dts: debug: enable ftrace_ramoops for new dts [1/1]
PD#SWPL-6028 PD#SWPL-8535 Problem: enable ftrce in ramoops for new dtbs Solution: enable ftrce in ramoops for new dtbs Verify: X301 Change-Id: If5db23ed5e37dcd2522229e5aa2ed31e78a75c48 Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
This commit is contained in:
@@ -59,8 +59,7 @@
|
||||
reg = <0x07400000 0x00100000>;
|
||||
record-size = <0x8000>;
|
||||
console-size = <0x8000>;
|
||||
ftrace-size = <0x0>;
|
||||
pmsg-size = <0x8000>;
|
||||
ftrace-size = <0x20000>;
|
||||
};
|
||||
|
||||
secmon_reserved:linux,secmon {
|
||||
|
||||
@@ -59,8 +59,7 @@
|
||||
reg = <0x07400000 0x00100000>;
|
||||
record-size = <0x8000>;
|
||||
console-size = <0x8000>;
|
||||
ftrace-size = <0x0>;
|
||||
pmsg-size = <0x8000>;
|
||||
ftrace-size = <0x20000>;
|
||||
};
|
||||
|
||||
secmon_reserved:linux,secmon {
|
||||
|
||||
@@ -59,8 +59,7 @@
|
||||
reg = <0x0 0x07400000 0x0 0x00100000>;
|
||||
record-size = <0x8000>;
|
||||
console-size = <0x8000>;
|
||||
ftrace-size = <0x0>;
|
||||
pmsg-size = <0x8000>;
|
||||
ftrace-size = <0x20000>;
|
||||
};
|
||||
|
||||
secmon_reserved:linux,secmon {
|
||||
|
||||
@@ -59,8 +59,7 @@
|
||||
reg = <0x0 0x07400000 0x0 0x00100000>;
|
||||
record-size = <0x8000>;
|
||||
console-size = <0x8000>;
|
||||
ftrace-size = <0x0>;
|
||||
pmsg-size = <0x8000>;
|
||||
ftrace-size = <0x20000>;
|
||||
};
|
||||
|
||||
secmon_reserved:linux,secmon {
|
||||
|
||||
@@ -534,6 +534,7 @@ static int ramoops_parse_dt(struct platform_device *pdev,
|
||||
|
||||
#define parse_size(name, field) { \
|
||||
ret = ramoops_parse_dt_size(pdev, name, &value); \
|
||||
pr_info(" <%s> %s %d", __func__, name, value); \
|
||||
if (ret < 0) \
|
||||
return ret; \
|
||||
field = value; \
|
||||
@@ -685,8 +686,8 @@ static int ramoops_probe(struct platform_device *pdev)
|
||||
}
|
||||
pr_info("ramoops_io_en:%d %d old:0x%lx ftrace_size:0x%lx",
|
||||
ramoops_io_en, ramoops_ftrace_en,
|
||||
(unsigned long)persistent_ram_old_size(cxt->fprz),
|
||||
ramoops_ftrace_size);
|
||||
cxt->fprz ? (unsigned long)persistent_ram_old_size(cxt->fprz)
|
||||
: 0, ramoops_ftrace_size);
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user