X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=carlfw%2Fcarl9170.lds;fp=carlfw%2Fcarl9170.lds;h=726a9e2acddeb66fa478937f834d6ef155ac4b82;hb=2f6209a88f424796af0638f73bce1d653dfa379e;hp=0c4ebd659d395b096142d8d78d15389498f951ae;hpb=5b9cdb34985691308929cf5f201f8e25a747c080;p=carl9170fw.git diff --git a/carlfw/carl9170.lds b/carlfw/carl9170.lds index 0c4ebd6..726a9e2 100644 --- a/carlfw/carl9170.lds +++ b/carlfw/carl9170.lds @@ -27,11 +27,15 @@ MEMORY irqctl : ORIGIN = 0x1d2000, LENGTH = 4k usb : ORIGIN = 0x1e1000, LENGTH = 4k pta : ORIGIN = 0x1e2000, LENGTH = 4k - pram : ORIGIN = 0x200000, LENGTH = 16k + pram : ORIGIN = 0x200000, LENGTH = 16256 + bogus : ORIGIN = 0x300000, LENGTH = 8k } SECTIONS { + .eeprom : { *(.eeprom*) } > eeprom + .sram : { *(.sram*) } > sram + /* * The ar9170 boot code will execute the code * at address 0x04 from the loaded firmware as @@ -50,8 +54,6 @@ SECTIONS .rodata : { *(.rodata*) } > pram .bss : { *(.bss) } > pram .data : { *(.data*) } > pram - .fwdsc : { KEEP(*(.fwdsc)) } > pram - .sram : { *(.sram*) } > sram - .eeprom : { *(.eeprom*) } > eeprom + .fwdsc : { KEEP(*(.fwdsc)) } > bogus }