diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-09-03 11:53:15 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-12-05 16:02:49 +0100 |
| commit | 4f69fb67ee229c7b59ced5db64142b527d74ce7b (patch) | |
| tree | d9aab519f0caa6086368c297d9849bbf7e4589b0 /arch/riscv/machine/config.ld | |
| parent | e94cc18273810ce9cc44d80608042c16eae4e6e4 (diff) | |
| download | farga-4f69fb67ee229c7b59ced5db64142b527d74ce7b.tar.gz farga-4f69fb67ee229c7b59ced5db64142b527d74ce7b.zip | |
Provide an improved example on early boot stage
This also implied a renaming arch/riscv/bios -> arch/riscv/machine.
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'arch/riscv/machine/config.ld')
| -rw-r--r-- | arch/riscv/machine/config.ld | 10 |
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 +} |
