1 /* the ti-x embed operation system
3 * it is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation; either version 2 of the License, or
6 * (at your option) any later version.
8 * it is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
13 * You should have received a copy of the GNU General Public License
14 * along with it; If not, see <a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>
16 * Copyright (C) 2009, Ruki All rights reserved.
17 * Home: <a href="http://www.xxx.org">http://www.xxx.org</a>
22 * \brief the config file
28 /* ////////////////////////////////////////////////////////////////
33 #define TI_CONFIG_ARCH_ARM
36 #define TI_CONFIG_ARM_VERSION (4)
37 #define TI_CONFIG_ARM_V4
38 //#define TI_CONFIG_ARM_V5
39 //#define TI_CONFIG_ARM_V5TE
40 //#define TI_CONFIG_ARM_V6
42 /* ////////////////////////////////////////////////////////////////
46 #define TI_CONFIG_BOARD_MINI2440
48 /* ////////////////////////////////////////////////////////////////
53 #define TI_CONFIG_CPU_S3C2440
55 // big endian & little endian
56 //#define TI_CONFIG_CPU_BIG_ENDIAN
58 /* ////////////////////////////////////////////////////////////////
62 // the interrupt service routine
63 #define TI_CONFIG_S3C2440_ISR (0)
64 #define TI_CONFIG_S3C2440_ISR_UNDEF (0)
65 #define TI_CONFIG_S3C2440_ISR_SWI (0)
66 #define TI_CONFIG_S3C2440_ISR_PABORT (0)
67 #define TI_CONFIG_S3C2440_ISR_DABORT (0)
68 #define TI_CONFIG_S3C2440_ISR_IRQ (0)
69 #define TI_CONFIG_S3C2440_ISR_FIQ (0)
72 #define TI_CONFIG_S3C2440_CLOCK (1)
73 #define TI_CONFIG_S3C2440_CLOCK_CPU_400MHz (1)
74 #define TI_CONFIG_S3C2440_CLOCK_USB_96MHz (0)
75 #define TI_CONFIG_S3C2440_CLOCK_USB_48MHz (1)
79 #define TI_CONFIG_S3C2440_UND_STACK_SIZE (0x00000010) // 16 bytes
80 #define TI_CONFIG_S3C2440_SVC_STACK_SIZE (0x00000080) // 128 bytes
81 #define TI_CONFIG_S3C2440_ABT_STACK_SIZE (0x00000010) // 16 bytes
82 #define TI_CONFIG_S3C2440_USR_STACK_SIZE (0x00004000) // 4096 bytes
83 #define TI_CONFIG_S3C2440_IRQ_STACK_SIZE (0x00000040) // 64 bytes
84 #define TI_CONFIG_S3C2440_FIQ_STACK_SIZE (0x00000020) // 32 bytes
86 /* ////////////////////////////////////////////////////////////////
90 #define TI_CONFIG_S3C2440_SERIAL0
91 //#define TI_CONFIG_S3C2440_SERIAL1
92 //#define TI_CONFIG_S3C2440_SERIAL2
93 #define TI_CONFIG_S3C2440_SERIAL_BAUDRATE (115200)