Skip to content

Commit

Permalink
link: Put back the 'buffer' segment
Browse files Browse the repository at this point in the history
This is needed for compatibility reasons. In the future the buffer
location should perhaps be configurable through Kconfig.
  • Loading branch information
jonasblixt committed Apr 18, 2023
1 parent 4c1e882 commit 2bf949a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/link.lds
Expand Up @@ -80,7 +80,7 @@ SECTIONS
*(xlat_table)
. = ALIGN(4096);
PROVIDE(_no_init_end = .);
} > ram
} > buffers

PROVIDE(end = .);
}
3 changes: 2 additions & 1 deletion src/plat/imx6ul/link.lds
Expand Up @@ -15,5 +15,6 @@

MEMORY
{
ram (rx) : ORIGIN = 0x80001000, LENGTH = 16M
ram (rx) : ORIGIN = 0x80001000, LENGTH = 1M
buffers (rx) : ORIGIN = 0x81021000, LENGTH = 16M
}
1 change: 1 addition & 0 deletions src/plat/imx8x/link.lds
Expand Up @@ -11,6 +11,7 @@ MEMORY
{
reset(rx) : ORIGIN = 0x80000000, LENGTH = 128K
ram (rx) : ORIGIN = 0x80020000, LENGTH = 16M
buffers (rx) : ORIGIN = 0x85000000, LENGTH = 16M
}

/**
Expand Down
1 change: 1 addition & 0 deletions src/plat/qemu/link.lds
Expand Up @@ -12,6 +12,7 @@
MEMORY
{
ram (rx) : ORIGIN = 0x40000000, LENGTH = 32M
buffers (rx) : ORIGIN = 0x41100000, LENGTH = 16M
}


Expand Down

0 comments on commit 2bf949a

Please sign in to comment.