]> git.karo-electronics.de Git - karo-tx-redboot.git/blobdiff - config/TX53-xx31.ecc
RedBoot Release TX53-v3 2012-02-08
[karo-tx-redboot.git] / config / TX53-xx31.ecc
similarity index 99%
rename from config/TX53-8021.ecc
rename to config/TX53-xx31.ecc
index 22cece0f70233ab96bb6a0d72f4a2227d8ec1aee..315c0f8326efc2245672188f450e89f5bd24ef86 100644 (file)
@@ -76,9 +76,12 @@ cdl_component CYGBLD_GLOBAL_OPTIONS {
 #
 cdl_option CYGBLD_GLOBAL_COMMAND_PREFIX {
     # Flavor: data
-    user_value arm-cortexa8-linux-gnu
-    # value_source user
-    # Default value: arm-926ejs-linux-gnu
+    # No user value, uncomment the following line to provide one.
+    # user_value arm-cortexa8-linux-gnueabi
+    # value_source default
+    # Default value:  "arm-cortexa8-linux-gnu" . (CYGBLD_ARM_EABI ? "eabi" : "") 
+    #     CYGBLD_ARM_EABI == 1
+    #   --> arm-cortexa8-linux-gnueabi
 };
 
 # Global compiler flags
@@ -88,11 +91,14 @@ cdl_option CYGBLD_GLOBAL_COMMAND_PREFIX {
 #
 cdl_option CYGBLD_GLOBAL_CFLAGS {
     # Flavor: data
-    user_value "-march=armv7-a -mfpu=fpa -mabi=apcs-gnu -Wall -Wno-pointer-sign -Wpointer-arith -Wstrict-prototypes -Wno-inline -Wundef -O2 -g -ffunction-sections -fdata-sections -fno-exceptions -fvtable-gc -finit-priority -Werror -pipe"
-    # The inferred value should not be edited directly.
-    inferred_value "-mcpu=arm9 -mabi=apcs-gnu -Wall -Wno-pointer-sign -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -O2 -ffunction-sections -fdata-sections -fno-exceptions -fvtable-gc -finit-priority -Werror -pipe"
-    # value_source user
-    # Default value: "-march=armv5 -mabi=apcs-gnu -Wall -Wno-pointer-sign -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -O2 -ffunction-sections -fdata-sections -fno-exceptions -fvtable-gc -finit-priority -Werror -pipe"
+    # No user value, uncomment the following line to provide one.
+    # user_value "-mabi=aapcs-linux -msoft-float -march=armv7-a -Wall -Wno-pointer-sign -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -O2 -ffunction-sections -fdata-sections -fno-exceptions -fvtable-gc -finit-priority -Werror -pipe"
+    # value_source default
+    # Default value:  (CYGHWR_THUMB ? "-mthumb " : "") .  (CYGBLD_ARM_ENABLE_THUMB_INTERWORK ? "-mthumb-interwork " : "") .  (CYGBLD_ARM_EABI ? "-mabi=aapcs-linux -msoft-float " : "-mabi=apcs-gnu ") .  "-march=armv7-a -Wall -Wno-pointer-sign -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -O2 -ffunction-sections -fdata-sections -fno-exceptions -fvtable-gc -finit-priority -Werror -pipe" 
+    #     CYGHWR_THUMB == 0
+    #     CYGBLD_ARM_ENABLE_THUMB_INTERWORK == 0
+    #     CYGBLD_ARM_EABI == 1
+    #   --> "-mabi=aapcs-linux -msoft-float -march=armv7-a -Wall -Wno-pointer-sign -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -O2 -ffunction-sections -fdata-sections -fno-exceptions -fvtable-gc -finit-priority -Werror -pipe"
     # Requires: CYGBLD_INFRA_CFLAGS_WARNINGS_AS_ERRORS
     #     CYGBLD_INFRA_CFLAGS_WARNINGS_AS_ERRORS == 1
     #   --> 1
@@ -2799,6 +2805,25 @@ cdl_option CYGHWR_THUMB {
     # The following properties are affected by this value
     # option CYGBLD_ARM_ENABLE_THUMB_INTERWORK
     #     DefaultValue:  (CYGHWR_THUMB || CYGSEM_HAL_ROM_MONITOR) 
+    # option CYGBLD_GLOBAL_CFLAGS
+    #     DefaultValue:  (CYGHWR_THUMB ? "-mthumb " : "") .  (CYGBLD_ARM_ENABLE_THUMB_INTERWORK ? "-mthumb-interwork " : "") .  (CYGBLD_ARM_EABI ? "-mabi=aapcs-linux -msoft-float " : "-mabi=apcs-gnu ") .  "-march=armv7-a -Wall -Wno-pointer-sign -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -O2 -ffunction-sections -fdata-sections -fno-exceptions -fvtable-gc -finit-priority -Werror -pipe" 
+};
+
+# Enable EABI
+# Use EABI tool-chain to compile eCos.
+#
+cdl_option CYGBLD_ARM_EABI {
+    # Flavor: bool
+    # No user value, uncomment the following line to provide one.
+    # user_value 1
+    # value_source default
+    # Default value: 1
+
+    # The following properties are affected by this value
+    # option CYGBLD_GLOBAL_COMMAND_PREFIX
+    #     DefaultValue:  "arm-cortexa8-linux-gnu" . (CYGBLD_ARM_EABI ? "eabi" : "") 
+    # option CYGBLD_GLOBAL_CFLAGS
+    #     DefaultValue:  (CYGHWR_THUMB ? "-mthumb " : "") .  (CYGBLD_ARM_ENABLE_THUMB_INTERWORK ? "-mthumb-interwork " : "") .  (CYGBLD_ARM_EABI ? "-mabi=aapcs-linux -msoft-float " : "-mabi=apcs-gnu ") .  "-march=armv7-a -Wall -Wno-pointer-sign -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -O2 -ffunction-sections -fdata-sections -fno-exceptions -fvtable-gc -finit-priority -Werror -pipe" 
 };
 
 # Enable Thumb interworking compiler option
@@ -2821,6 +2846,10 @@ cdl_option CYGBLD_ARM_ENABLE_THUMB_INTERWORK {
     #     CYGHWR_THUMB == 0
     #     CYGSEM_HAL_ROM_MONITOR == 1
     #   --> 1
+
+    # The following properties are affected by this value
+    # option CYGBLD_GLOBAL_CFLAGS
+    #     DefaultValue:  (CYGHWR_THUMB ? "-mthumb " : "") .  (CYGBLD_ARM_ENABLE_THUMB_INTERWORK ? "-mthumb-interwork " : "") .  (CYGBLD_ARM_EABI ? "-mabi=aapcs-linux -msoft-float " : "-mabi=apcs-gnu ") .  "-march=armv7-a -Wall -Wno-pointer-sign -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -O2 -ffunction-sections -fdata-sections -fno-exceptions -fvtable-gc -finit-priority -Werror -pipe" 
 };
 
 # The platform and architecture supports Big Endian operation
@@ -3423,25 +3452,6 @@ cdl_component CYGPKG_HAL_ARM_TX53_OPTIONS {
 };
 
 # >
-# SDRAM DDR type
-# This option specifies the SDRAM type of the TX53 module.
-# Valid options are '2' for DDR2 and '3' for DDR3.
-#
-cdl_option CYGNUM_HAL_ARM_TX53_SDRAM_TYPE {
-    # Flavor: data
-    # No user value, uncomment the following line to provide one.
-    # user_value 2
-    # value_source default
-    # Default value: 2
-    # Legal values:  2 3 
-
-    # The following properties are affected by this value
-    # component CYGHWR_HAL_ARM_TX53_DDR2_OPTIONS
-    #     ActiveIf:  CYGNUM_HAL_ARM_TX53_SDRAM_TYPE == 2 
-    # component CYGHWR_HAL_ARM_TX53_DDR3_OPTIONS
-    #     ActiveIf:  CYGNUM_HAL_ARM_TX53_SDRAM_TYPE == 3 
-};
-
 # SDRAM size
 # This option specifies the SDRAM size of the TX53 module.
 #
@@ -3521,58 +3531,6 @@ cdl_option CYGHWR_MX53_LCD_LOGO {
     # Default value: 0
 };
 
-# <
-# Options for DDR2 SDRAM
-#
-cdl_component CYGHWR_HAL_ARM_TX53_DDR2_OPTIONS {
-    # ActiveIf constraint:  CYGNUM_HAL_ARM_TX53_SDRAM_TYPE == 2 
-    #     CYGNUM_HAL_ARM_TX53_SDRAM_TYPE == 2
-    #   --> 1
-
-    # There is no associated value.
-};
-
-# >
-# SDRAM clock
-# This option specifies the SDRAM clock im MHz of the TX53 module.
-#
-cdl_option CYGNUM_HAL_ARM_TX53_DDR2_CLK {
-    # Flavor: data
-    # No user value, uncomment the following line to provide one.
-    # user_value 400
-    # value_source default
-    # Default value: 400
-    # Legal values:  216 266 333 400 
-};
-
-# <
-# Options for DDR3 SDRAM
-#
-cdl_component CYGHWR_HAL_ARM_TX53_DDR3_OPTIONS {
-    # This option is not active
-    # ActiveIf constraint:  CYGNUM_HAL_ARM_TX53_SDRAM_TYPE == 3 
-    #     CYGNUM_HAL_ARM_TX53_SDRAM_TYPE == 2
-    #   --> 0
-
-    # There is no associated value.
-};
-
-# >
-# SDRAM clock
-# This option specifies the SDRAM clock im MHz of the TX53 module.
-#
-cdl_option CYGNUM_HAL_ARM_TX53_DDR3_CLK {
-    # This option is not active
-    # The parent CYGHWR_HAL_ARM_TX53_DDR3_OPTIONS is not active
-
-    # Flavor: data
-    # No user value, uncomment the following line to provide one.
-    # user_value 333
-    # value_source default
-    # Default value: 333
-    # Legal values:  333 
-};
-
 # <
 # Memory layout
 #
@@ -4257,7 +4215,7 @@ cdl_option CYGBLD_INFRA_CFLAGS_WARNINGS_AS_ERRORS {
     # value_source user
     # Default value: 0
     # Requires:  is_substr(CYGBLD_GLOBAL_CFLAGS, " -Werror") 
-    #     CYGBLD_GLOBAL_CFLAGS == "-march=armv7-a -mfpu=fpa -mabi=apcs-gnu -Wall -Wno-pointer-sign -Wpointer-arith -Wstrict-prototypes -Wno-inline -Wundef -O2 -g -ffunction-sections -fdata-sections -fno-exceptions -fvtable-gc -finit-priority -Werror -pipe"
+    #     CYGBLD_GLOBAL_CFLAGS == "-mabi=aapcs-linux -msoft-float -march=armv7-a -Wall -Wno-pointer-sign -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -O2 -ffunction-sections -fdata-sections -fno-exceptions -fvtable-gc -finit-priority -Werror -pipe"
     #   --> 1
 
     # The following properties are affected by this value
@@ -4277,7 +4235,7 @@ cdl_option CYGBLD_INFRA_CFLAGS_PIPE {
     # value_source user
     # Default value: 0
     # Requires:  is_substr(CYGBLD_GLOBAL_CFLAGS, " -pipe") 
-    #     CYGBLD_GLOBAL_CFLAGS == "-march=armv7-a -mfpu=fpa -mabi=apcs-gnu -Wall -Wno-pointer-sign -Wpointer-arith -Wstrict-prototypes -Wno-inline -Wundef -O2 -g -ffunction-sections -fdata-sections -fno-exceptions -fvtable-gc -finit-priority -Werror -pipe"
+    #     CYGBLD_GLOBAL_CFLAGS == "-mabi=aapcs-linux -msoft-float -march=armv7-a -Wall -Wno-pointer-sign -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -O2 -ffunction-sections -fdata-sections -fno-exceptions -fvtable-gc -finit-priority -Werror -pipe"
     #   --> 1
 };
 
@@ -10359,9 +10317,9 @@ cdl_option CYGPKG_ERROR_CFLAGS_ADD {
 cdl_option CYGPKG_ERROR_CFLAGS_REMOVE {
     # Flavor: data
     # No user value, uncomment the following line to provide one.
-    # user_value ""
+    # user_value -Wno-pointer-sign
     # value_source default
-    # Default value: ""
+    # Default value: -Wno-pointer-sign
 };
 
 # <