]> rtime.felk.cvut.cz Git - arc.git/commitdiff
Updated the link script for mcp55xx
authorpete <devnull@localhost>
Wed, 1 Dec 2010 08:42:59 +0000 (09:42 +0100)
committerpete <devnull@localhost>
Wed, 1 Dec 2010 08:42:59 +0000 (09:42 +0100)
arch/ppc/mpc55xx/scripts/linkscript_gcc.ldf

index 0e7e26b6e58483d5ecebc8e433f15f5f8c014491..f0b6004049062338b92db7a72421a89ab98e4b9a 100644 (file)
@@ -19,7 +19,7 @@ MEMORY
 \r
 SECTIONS\r
 {\r
-#if defined (CALIBRATION_ACTIVE)\r
+#if defined(CALIBRATION_ACTIVE)\r
        __FLS_CALIBRATION_AREA_START__ = 0x0000;\r
        .calibration : AT(__FLS_CALIBRATION_AREA_START__) {\r
                __CALIB_RAM_START = .;\r
@@ -39,8 +39,10 @@ SECTIONS
            .fee_bank2 FEE_BANK2_OFFSET : {\r
                       . = . + FEE_BANK2_LENGTH;\r
            }\r
+#endif\r
 \r
-/* Make sure the rest of the code is in another flash partition that the fee banks. */\r
+#if defined(USE_FEE) || defined(CALIBRATION_ACTIVE)\r
+/* Place the rest of the code is in another flash partition that the calibration and fee banks. */\r
 __FLS_PROG_START__ = 0x20000;  /* Must be aligned to a sector start. */\r
 #else\r
 \r