From 75be3193728b0fd86b104ad0fd0635fcded117d5 Mon Sep 17 00:00:00 2001 From: lothar Date: Thu, 14 Jan 2010 16:05:11 +0000 Subject: [PATCH] TX51 pre-release --- packages/ecos.db | 39 +++++++++++++++++++ .../c/libc/stdlib/v2_0/src/strtoll.cxx | 2 +- .../c/libc/stdlib/v2_0/src/strtoull.cxx | 2 +- 3 files changed, 41 insertions(+), 2 deletions(-) diff --git a/packages/ecos.db b/packages/ecos.db index 74ff68d7..533a867c 100644 --- a/packages/ecos.db +++ b/packages/ecos.db @@ -1808,6 +1808,15 @@ package CYGPKG_DEVS_ETH_ARM_TX37 { This package provides Ethernet support for the Ka-Ro electronics TX37 processor module." } +package CYGPKG_DEVS_ETH_ARM_TX51 { + alias { "Ethernet driver for Ka-Ro electronics TX51 processor module" devs_eth_arm_tx51 } + directory devs/eth/arm/tx51karo + script tx51_eth_drivers.cdl + hardware + description " + This package provides Ethernet support for the Ka-Ro electronics TX51 processor module." +} + package CYGPKG_DEVS_ETH_ARM_IMX_3STACK { alias { "Ethernet driver for Freescale 3-Stack board" imx_3stack_eth_driver } hardware @@ -3743,6 +3752,16 @@ package CYGPKG_HAL_ARM_TX37KARO { eCos on a Ka-Ro electronics TX37 processor module." } +package CYGPKG_HAL_ARM_TX51KARO { + alias { "Ka-Ro electronics TX51 processor module" hal_arm_tx51karo } + directory hal/arm/mx51/karo + script hal_arm_tx51.cdl + hardware + description " + The TX51 HAL package provides the support needed to run + eCos on a Ka-Ro electronics TX51 processor module." +} + # -------------------------------------------------------------------------- # SH packages package CYGPKG_HAL_SH { @@ -5866,6 +5885,18 @@ target tx37karo { Freescale i.MX37 processor." } +target tx51karo { + alias { "Ka-Ro electronics TX51 processor module" mx51 tx51karo } + packages { CYGPKG_HAL_ARM + CYGPKG_HAL_ARM_MX51 + CYGPKG_HAL_ARM_TX51KARO + } + description " + The tx51karo target provides the packages needed to run + eCos on a Ka-Ro electronics TX51 module equipped with a + Freescale i.MX51 processor." +} + target mx31ads { alias { "Freescale i.MX31 ADS board" mx31 mx31ads } packages { CYGPKG_HAL_ARM @@ -7351,3 +7382,11 @@ package CYGPKG_ATHTTPD { description "Another Tiny HTTP server." } +package CYGPKG_DEVS_IMX_IPU { + alias { "Support IPU on Freescale i.MX platforms" } + directory devs/ipu/arm/imx + script imx_ipu.cdl + description " + This package contains an IPU driver for i.MX chips" +} + diff --git a/packages/language/c/libc/stdlib/v2_0/src/strtoll.cxx b/packages/language/c/libc/stdlib/v2_0/src/strtoll.cxx index 51543ad3..9a90d2f6 100644 --- a/packages/language/c/libc/stdlib/v2_0/src/strtoll.cxx +++ b/packages/language/c/libc/stdlib/v2_0/src/strtoll.cxx @@ -175,7 +175,7 @@ strtoll( const char *nptr, char **endptr, int base ) break; if (c >= base) break; - if (any < 0 || acc > cutoff || acc == cutoff && c > cutlim) + if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) any = -1; else { any = 1; diff --git a/packages/language/c/libc/stdlib/v2_0/src/strtoull.cxx b/packages/language/c/libc/stdlib/v2_0/src/strtoull.cxx index fbd0e2f5..c19e6037 100644 --- a/packages/language/c/libc/stdlib/v2_0/src/strtoull.cxx +++ b/packages/language/c/libc/stdlib/v2_0/src/strtoull.cxx @@ -151,7 +151,7 @@ strtoull( const char *nptr, char **endptr, int base ) break; if (c >= base) break; - if (any < 0 || acc > cutoff || acc == cutoff && c > cutlim) + if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) any = -1; else { any = 1; -- 2.39.5