diff options
author | Nitheesh Sekar <nsekar@codeaurora.org> | 2018-09-14 19:07:36 +0530 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-06-03 13:20:38 +0000 |
commit | 6681f05373c2ec07168e279026962d7a63539e93 (patch) | |
tree | 778c530750fc772ddb0ad155d0f5fee62891e7b1 /util/qualcomm/scripts/cmm/clear_bss.cmm | |
parent | f7f90f7c3f35f03efe037c4e079420e88a317610 (diff) |
qcs405: util/qualcomm: Add T32 debug scripts
Add T32 scripts that allow debug of any coreboot stage
on qcs405.
Change-Id: I4e792a2806e5ebd3b4075c7bb69c43587920deae
Signed-off-by: Sricharan R <sricharan@codeaurora.org>
Signed-off-by: Nitheesh Sekar <nsekar@codeaurora.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/29951
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/qualcomm/scripts/cmm/clear_bss.cmm')
-rwxr-xr-x | util/qualcomm/scripts/cmm/clear_bss.cmm | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/util/qualcomm/scripts/cmm/clear_bss.cmm b/util/qualcomm/scripts/cmm/clear_bss.cmm new file mode 100755 index 0000000000..16eaac71d8 --- /dev/null +++ b/util/qualcomm/scripts/cmm/clear_bss.cmm @@ -0,0 +1,16 @@ +d.a 0x80000000 mov x0,#0x8c +d.a 0x80000004 lsl x0, x0, #0x14 +d.a 0x80000008 mov x1,#0x18 +d.a 0x8000000c lsl x1,x1, #0x10 +d.a 0x80000010 mov x2,#0x0 +d.a 0x80000014 mov x3,#0x80 +d.a 0x80000018 lsl x3, x3, #0x18 +d.a 0x8000001c add x3, x3, #0x14 +d.a 0x80000020 str x2,[x0] +d.a 0x80000024 sub x1, x1, #0x8 +d.a 0x80000028 add x0, x0, #0x8 +d.a 0x8000002c cmp x1,0x0 +d.a 0x80000030 b.ne 0x20 +d.a 0x80000034 b 0x34 +r.s pc 0x80000000 +go |