From 13be9f14d7ef8136ea225eaecc5ad17ef203686a Mon Sep 17 00:00:00 2001 From: Jörg Hohensohn Date: Tue, 23 Aug 2005 07:26:40 +0000 Subject: allow the flash plugin to verify the RomBox link address git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7388 a1c6a512-1295-4272-9138-f99709370657 --- firmware/rom.lds | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'firmware') diff --git a/firmware/rom.lds b/firmware/rom.lds index 632a69ed9e..8781873f45 100644 --- a/firmware/rom.lds +++ b/firmware/rom.lds @@ -40,6 +40,14 @@ MEMORY } SECTIONS { + .flashheader : + { + /* place flash link address first, so the plugin can check */ + LONG(FLASHORIG); + /* followed by the start address, the first vector takes care of this. */ + /* If we ever place the table elsewhere, put a constant here. */ + } > FLASH + .vectors : { _datacopy = .; -- cgit v1.2.3