Skip to content

Commit 81fb762

Browse files
kojo1danielinux
authored andcommitted
move doboot to boot_renesas_rx.c
1 parent 2590a04 commit 81fb762

2 files changed

Lines changed: 5 additions & 12 deletions

File tree

IDE/Renesas/e2studio_CCRX/wolfBoot/.project

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@
3939
<type>1</type>
4040
<locationURI>PARENT-4-PROJECT_LOC/hal/renesas-rx.c</locationURI>
4141
</link>
42+
<link>
43+
<name>src/wolfboot/boot_renesas_rx.c</name>
44+
<type>1</type>
45+
<locationURI>PARENT-4-PROJECT_LOC/src/boot_renesas_rx.c</locationURI>
46+
</link>
4247
<link>
4348
<name>src/wolfboot/delta.c</name>
4449
<type>1</type>

hal/renesas-rx.c

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -44,23 +44,11 @@ void hal_init(void)
4444

4545
}
4646

47-
#ifdef __WOLFBOOT
4847
void hal_prepare_boot(void)
4948
{
5049

5150
}
5251

53-
#pragma inline_asm longJump
54-
static void longJump(unsigned long app_offset)
55-
{
56-
jmp r1;
57-
}
58-
59-
void do_boot(const uint32_t *app_offset)
60-
{
61-
longJump(app_offset);
62-
}
63-
#endif
6452

6553

6654

0 commit comments

Comments
 (0)