forked from Mirrors/opensbi
payload: rename dummy payload to test payload
Use a more neutral term more representative of this payload intent. Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
This commit is contained in:

committed by
Anup Patel

parent
868ad0b0e5
commit
42283461d3
@@ -7,13 +7,13 @@
|
||||
# SPDX-License-Identifier: BSD-2-Clause
|
||||
#
|
||||
|
||||
firmware-bins-$(FW_PAYLOAD) += payloads/dummy.bin
|
||||
firmware-bins-$(FW_PAYLOAD) += payloads/test.bin
|
||||
|
||||
dummy-y += dummy_head.o
|
||||
dummy-y += dummy_main.o
|
||||
test-y += test_head.o
|
||||
test-y += test_main.o
|
||||
|
||||
%/dummy.o: $(foreach obj,$(dummy-y),%/$(obj))
|
||||
%/test.o: $(foreach obj,$(test-y),%/$(obj))
|
||||
$(call merge_objs,$@,$^)
|
||||
|
||||
%/dummy.dep: $(foreach dep,$(dummy-y:.o=.dep),%/$(dep))
|
||||
%/test.dep: $(foreach dep,$(test-y:.o=.dep),%/$(dep))
|
||||
$(call merge_deps,$@,$^)
|
||||
|
@@ -65,7 +65,7 @@ _start_warm:
|
||||
REG_L a0, 0(a3)
|
||||
la a3, _boot_a1
|
||||
REG_L a1, 0(a3)
|
||||
call dummy_main
|
||||
call test_main
|
||||
|
||||
/* We don't expect to reach here hence just hang */
|
||||
j _start_hang
|
@@ -22,9 +22,9 @@ static void sbi_puts(const char *str)
|
||||
}
|
||||
}
|
||||
|
||||
void dummy_main(unsigned long a0, unsigned long a1)
|
||||
void test_main(unsigned long a0, unsigned long a1)
|
||||
{
|
||||
sbi_puts("\nDummy Payload\n");
|
||||
sbi_puts("\nTest payload running\n");
|
||||
|
||||
while (1)
|
||||
wfi();
|
Reference in New Issue
Block a user