mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
x1000: use core_alloc in bootloader for loading rockbox
Using the audio buffer directly is a bad idea because this will render core_alloc non-functional if load_firmware() writes into the buffer but then fails, for example on a checksum mismatch. Change-Id: Ib2d17bcea53bdea1c4c5496cec0c4eee5dd66069
This commit is contained in:
parent
376ffbcf9a
commit
38eafb60ff
2 changed files with 10 additions and 8 deletions
|
|
@ -88,10 +88,8 @@ SECTIONS
|
|||
{
|
||||
. = ALIGN(4);
|
||||
audiobuffer = .;
|
||||
loadbuffer = .;
|
||||
} > DRAM
|
||||
|
||||
loadbufferend = ENDAUDIOADDR;
|
||||
audiobufend = ENDAUDIOADDR;
|
||||
codecbuf = ENDAUDIOADDR;
|
||||
pluginbuf = ENDCODECADDR;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue