summaryrefslogtreecommitdiff
path: root/bsp/sifive-hifive1
diff options
context:
space:
mode:
authorNathaniel Graff <nathaniel.graff@sifive.com>2018-12-18 13:15:24 -0800
committerNathaniel Graff <nathaniel.graff@sifive.com>2019-01-07 10:57:33 -0800
commitc8611b1e729931796c0403023c755b694439853a (patch)
treed9371b140bcc9bd3899c11fc75bb5c51fc7b9d8a /bsp/sifive-hifive1
parent45ff0752939a1139c4e43379764753300b5c24f6 (diff)
Update BSPs for ITIM
Diffstat (limited to 'bsp/sifive-hifive1')
-rw-r--r--bsp/sifive-hifive1/mee.lds26
1 files changed, 26 insertions, 0 deletions
diff --git a/bsp/sifive-hifive1/mee.lds b/bsp/sifive-hifive1/mee.lds
index cf24a7c..5a5a1aa 100644
--- a/bsp/sifive-hifive1/mee.lds
+++ b/bsp/sifive-hifive1/mee.lds
@@ -12,7 +12,9 @@ PHDRS
{
flash PT_LOAD;
ram_init PT_LOAD;
+ itim_init PT_LOAD;
ram PT_NULL;
+ itim PT_NULL;
}
SECTIONS
@@ -117,6 +119,30 @@ SECTIONS
} >flash AT>flash :flash
+ .litimalign :
+ {
+ . = ALIGN(4);
+ PROVIDE( mee_segment_itim_source_start = . );
+ } >flash AT>flash :flash
+
+
+ .ditimalign :
+ {
+ . = ALIGN(4);
+ PROVIDE( mee_segment_itim_target_start = . );
+ } >ram AT>flash :ram_init
+
+
+ .itim :
+ {
+ *(.itim .itim.*)
+ } >flash AT>flash :flash
+
+
+ . = ALIGN(8);
+ PROVIDE( mee_segment_itim_target_end = . );
+
+
.lalign :
{
. = ALIGN(4);