aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/machine/config.ld
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/machine/config.ld')
-rw-r--r--arch/riscv/machine/config.ld10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/riscv/machine/config.ld b/arch/riscv/machine/config.ld
new file mode 100644
index 0000000..7d9bbf5
--- /dev/null
+++ b/arch/riscv/machine/config.ld
@@ -0,0 +1,10 @@
+MEMORY {
+ dram_space (rwx) : ORIGIN = 0x80000000, LENGTH = 1024
+}
+
+SECTIONS {
+ .text : {
+ *(.text.bios)
+ *(.text)
+ } > dram_space
+}