]> git.karo-electronics.de Git - karo-tx-redboot.git/blobdiff - config/TX27-40x1.ecc
Merge branch 'master' of git+ssh://git.kernelconcepts.de/karo-tx-redboot
[karo-tx-redboot.git] / config / TX27-40x1.ecc
index 6109d967467a91329868c1bb2d6ae247b14ec9e8..94bcb263eacac16b774c380687068630904e3a0f 100644 (file)
@@ -75,9 +75,11 @@ cdl_component CYGBLD_GLOBAL_OPTIONS {
 cdl_option CYGBLD_GLOBAL_COMMAND_PREFIX {
     # Flavor: data
     # No user value, uncomment the following line to provide one.
-    # user_value arm-926ejs-linux-gnu
+    # user_value arm-926ejs-linux-gnueabi
     # value_source default
-    # Default value: arm-926ejs-linux-gnu
+    # Default value:  "arm-926ejs-linux-gnu" . (CYGBLD_ARM_EABI ? "eabi" : "") 
+    #     CYGBLD_ARM_EABI == 1
+    #   --> arm-926ejs-linux-gnueabi
 };
 
 # Global compiler flags
@@ -88,11 +90,13 @@ cdl_option CYGBLD_GLOBAL_COMMAND_PREFIX {
 cdl_option CYGBLD_GLOBAL_CFLAGS {
     # Flavor: data
     # No user value, uncomment the following line to provide one.
-    # user_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"
-    # 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 inferred
-    # Default 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"
+    # user_value "-mabi=aapcs-linux -msoft-float -mcpu=arm9 -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 ") .  "-mcpu=arm9 -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 -mcpu=arm9 -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
@@ -2800,6 +2804,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 ") .  "-mcpu=arm9 -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-926ejs-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 ") .  "-mcpu=arm9 -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
@@ -2822,6 +2845,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 ") .  "-mcpu=arm9 -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
@@ -3142,6 +3169,10 @@ cdl_option CYGHWR_HAL_ARM_SOC_PROCESSOR_CLOCK {
     #     CYGHWR_HAL_ARM_SOC_PROCESSOR_CLOCK_OVERRIDE_DEFAULT (unknown) == 0
     #   --> 399
     # Legal values: 266 399
+
+    # The following properties are affected by this value
+    # option CYGOPT_MX27_WORKAROUND_ENGcm11563
+    #     Requires: CYGHWR_HAL_ARM_SOC_PROCESSOR_CLOCK == "399"
 };
 
 # System clock (hclk) rate
@@ -3477,9 +3508,7 @@ cdl_option CYGOPT_HAL_ARM_TX27_DEBUG {
     # No user value, uncomment the following line to provide one.
     # user_value 0
     # value_source default
-    # Default value:  false 
-    #     false (unknown) == 0
-    #   --> 0
+    # Default value: 0
 };
 
 # Additional compiler flags
@@ -3508,6 +3537,22 @@ cdl_option CYGPKG_HAL_ARM_TX27_CFLAGS_REMOVE {
     # Default value: ""
 };
 
+# Enable workaround for Erratum ENGcm11563
+# This option enables the software workaround for
+# ENGcm11563 (ARM core lockup due to invalid
+# duty cycle of ARM clock at 399 MHz.
+#
+cdl_option CYGOPT_MX27_WORKAROUND_ENGcm11563 {
+    # Flavor: bool
+    # No user value, uncomment the following line to provide one.
+    # user_value 1
+    # value_source default
+    # Default value: 1
+    # Requires: CYGHWR_HAL_ARM_SOC_PROCESSOR_CLOCK == "399"
+    #     CYGHWR_HAL_ARM_SOC_PROCESSOR_CLOCK == 399
+    #   --> 1
+};
+
 # <
 # Memory layout
 #
@@ -4192,7 +4237,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 == "-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"
+    #     CYGBLD_GLOBAL_CFLAGS == "-mabi=aapcs-linux -msoft-float -mcpu=arm9 -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
@@ -4212,7 +4257,7 @@ cdl_option CYGBLD_INFRA_CFLAGS_PIPE {
     # value_source user
     # Default value: 0
     # Requires:  is_substr(CYGBLD_GLOBAL_CFLAGS, " -pipe") 
-    #     CYGBLD_GLOBAL_CFLAGS == "-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"
+    #     CYGBLD_GLOBAL_CFLAGS == "-mabi=aapcs-linux -msoft-float -mcpu=arm9 -Wall -Wno-pointer-sign -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -O2 -ffunction-sections -fdata-sections -fno-exceptions -fvtable-gc -finit-priority -Werror -pipe"
     #   --> 1
 };
 
@@ -9457,11 +9502,13 @@ cdl_component CYGHWR_DEVS_FLASH_MMC {
 cdl_option CYGHWR_DEVS_FLASH_MMC_ESDHC {
     # This option is not active
     # The parent CYGHWR_DEVS_FLASH_MMC is disabled
-    # ActiveIf constraint:  CYGPKG_HAL_ARM_MX37_3STACK || CYGPKG_HAL_ARM_MX35_3STACK || CYGPKG_HAL_ARM_MX25_3STACK ||  CYGPKG_HAL_ARM_MX51
-    #     CYGPKG_HAL_ARM_MX37_3STACK (unknown) == 0
-    #     CYGPKG_HAL_ARM_MX35_3STACK (unknown) == 0
-    #     CYGPKG_HAL_ARM_MX25_3STACK (unknown) == 0
+    # ActiveIf constraint:  CYGPKG_HAL_ARM_MX37 || CYGPKG_HAL_ARM_MX35 || 
+    #                            CYGPKG_HAL_ARM_MX25 ||  CYGPKG_HAL_ARM_MX51 ||  CYGPKG_HAL_ARM_MX53 
+    #     CYGPKG_HAL_ARM_MX37 (unknown) == 0
+    #     CYGPKG_HAL_ARM_MX35 (unknown) == 0
+    #     CYGPKG_HAL_ARM_MX25 (unknown) == 0
     #     CYGPKG_HAL_ARM_MX51 (unknown) == 0
+    #     CYGPKG_HAL_ARM_MX53 (unknown) == 0
     #   --> 0
 
     # Flavor: bool
@@ -10290,9 +10337,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
 };
 
 # <