]> git.kernelconcepts.de Git - karo-tx-redboot.git/blobdiff - packages/hal/arm/mx53/karo/v1_0/cdl/hal_arm_tx53.cdl
RedBoot Release TX53-v3 2012-02-08
[karo-tx-redboot.git] / packages / hal / arm / mx53 / karo / v1_0 / cdl / hal_arm_tx53.cdl
index c367c7aea1bb24f4a9e6c2634e6ce82f7438bc28..b96985b53ff7b6f4ef8d753907710564be106fc2 100644 (file)
@@ -156,7 +156,7 @@ cdl_package CYGPKG_HAL_ARM_TX53KARO {
             display       "Global command prefix"
             flavor        data
             no_define
-            default_value { "arm-926ejs-linux-gnu" }
+            default_value { "arm-cortexa8-linux-gnu" . (CYGBLD_ARM_EABI ? "eabi" : "") }
             description   "
                 This option specifies the command prefix used when
                 invoking the build tools."
@@ -167,7 +167,10 @@ cdl_package CYGPKG_HAL_ARM_TX53KARO {
             flavor        data
             no_define
             requires CYGBLD_INFRA_CFLAGS_WARNINGS_AS_ERRORS
-            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" }
+            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" }
             description   "
                 This option controls the global compiler flags which are used to
                 compile all packages by default. Individual packages may define
@@ -195,16 +198,6 @@ cdl_package CYGPKG_HAL_ARM_TX53KARO {
            compiler flags used only in building this package,
            and details of which tests are built."
 
-        cdl_option CYGNUM_HAL_ARM_TX53_SDRAM_TYPE {
-            display       "SDRAM DDR type"
-            flavor        data
-            legal_values  { 2 3 }
-            default_value { 2 }
-            description   "
-                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_SIZE {
             display       "SDRAM size"
             flavor        data
@@ -275,38 +268,6 @@ cdl_package CYGPKG_HAL_ARM_TX53KARO {
         }
     }
 
-    cdl_component CYGHWR_HAL_ARM_TX53_DDR2_OPTIONS {
-        display       "Options for DDR2 SDRAM"
-       active_if     { CYGNUM_HAL_ARM_TX53_SDRAM_TYPE == 2 }
-        flavor        none
-        no_define
-
-        cdl_option CYGNUM_HAL_ARM_TX53_DDR2_CLK {
-            display       "SDRAM clock"
-            flavor        data
-            legal_values  { 216 266 333 400 }
-            default_value { 400 }
-            description   "
-                This option specifies the SDRAM clock im MHz of the TX53 module."
-        }
-    }
-
-    cdl_component CYGHWR_HAL_ARM_TX53_DDR3_OPTIONS {
-        display       "Options for DDR3 SDRAM"
-       active_if     { CYGNUM_HAL_ARM_TX53_SDRAM_TYPE == 3 }
-        flavor        none
-        no_define
-
-        cdl_option CYGNUM_HAL_ARM_TX53_DDR3_CLK {
-            display       "SDRAM clock"
-            flavor        data
-            legal_values  { 333 }
-            default_value { 333 }
-            description   "
-                This option specifies the SDRAM clock im MHz of the TX53 module."
-        }
-    }
-
     cdl_component CYGHWR_MEMORY_LAYOUT {
         display "Memory layout"
         flavor data