tizen 2.4 release
[profile/mobile/platform/kernel/u-boot-tm1.git] / include / configs / sp9830iea_5m_h100.h
1 /*
2  * (C) Copyright 2009 DENX Software Engineering
3  * Author: John Rigby <jrigby@gmail.com>
4  *
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU General Public License as
7  * published by the Free Software Foundation; either version 2 of
8  * the License, or (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
18  * MA 02111-1307 USA
19  */
20
21 #ifndef __CONFIG_H
22 #define __CONFIG_H
23
24 #define DT_PLATFROM_ID 8830
25 #define DT_HARDWARE_ID 1
26 #define DT_SOC_VER     0x20000
27
28 //only used in fdl2 .in uart download, the debug infors  from  serial will break the download process.
29 #define CONFIG_FDL2_PRINT        0
30 #define BOOT_NATIVE_LINUX        1
31 #define BOOT_NATIVE_LINUX_MODEM  1
32 #define CONFIG_SILENT_CONSOLE
33 #define CONFIG_GPIOLIB 1
34 //#define NAND_DEBUG  
35 //#define DEBUG
36 #define CONFIG_SDRAMDISK
37
38 #define U_BOOT_SPRD_VER 1
39 /*#define SPRD_EVM_TAG_ON 1*/
40 #ifdef SPRD_EVM_TAG_ON
41 #define SPRD_EVM_ADDR_START 0x00026000
42 #define SPRD_EVM_TAG(_x) (*(((unsigned long *)SPRD_EVM_ADDR_START)+_x) = *(volatile unsigned long *)0x87003004)
43 #endif
44 #define CONFIG_L2_OFF                   1
45
46 #define BOOT_DEBUG 1
47
48 #define CONFIG_YAFFS2 1
49
50 #define BOOT_PART "boot"
51 //#define BOOT_PART "kernel"
52 #define RECOVERY_PART "recovery"
53 /*
54  * SPREADTRUM BIGPHONE board - SoC Configuration
55  */
56 #define CONFIG_AUTODLOADER
57 #define CONFIG_SP9830IEA_5M_H100
58 #define CONFIG_SC9630
59 #define CONFIG_ADIE_SC2723
60
61 #define CONFIG_SPL_32K
62
63 //#define CONFIG_SUPPORT_TDLTE
64 #define TDDSP_ADR       0x88020000
65 #define CONFIG_SUPPORT_LTE
66 //#define CONFIG_SUPPORT_WLTE
67 //#define CONFIG_SUPPORT_GSM
68
69 #define LTE_GDSP_LOAD_OFFSET    0x20000
70
71 #define LTE_FIXNV_SIZE 0x00044000 // 272K the max size is 512k
72 #define LTE_RUNNV_SIZE 0x00064000 // 400k the max size is 512k
73 #define LTE_FIXNV_ADDR 0x8b9e0000
74 #define LTE_RUNNV_ADDR (LTE_FIXNV_ADDR + LTE_FIXNV_SIZE)
75 #define LTE_MODEM_SIZE 0x00bb0000   //0x8f0000
76 #define LTE_MODEM_ADDR 0x8ae00000
77 #define LTE_LDSP_SIZE  0x00b00000
78 #define LTE_LDSP_ADDR  0x89900000
79 #define LTE_GDSP_SIZE  0x002E0000
80 #define LTE_GDSP_ADDR (0x89600000 + LTE_GDSP_LOAD_OFFSET)
81
82 #define WL_WARM_SIZE 0x280000
83 #define WL_WARM_ADDR 0X8df00000
84
85 #define GSM_FIXNV_SIZE 0x20000
86 #define GSM_FIXNV_ADDR 0x88a90000
87 #define GSM_RUNNV_SIZE 0x40000
88 #define GSM_RUNNV_ADDR 0x88ab0000
89 #define GSM_MODEM_ADDR 0X88400000  //equal to WL_DSDA_WARM_ADDR
90 #define GSM_MODEM_SIZE 0x670000    //equal to WL_DSDA_WARM_SIZE
91 #define GSM_DSP_ADDR   0x88000000
92 #define GSM_DSP_SIZE   0x400000
93 #define FIXNV_SIZE     LTE_FIXNV_SIZE
94
95 #define CONFIG_DFS_ENABLE
96 #define DFS_ADDR    0x50800000
97 #define DFS_SIZE    32768 //32K
98
99 //#define CONFIG_CP0_ARM0_BOOT
100 #define CONFIG_PMIC_ARM7_BOOT
101 #define CONFIG_CP1_BOOT
102 #define CHIP_ENDIAN_LITTLE
103 #define _LITTLE_ENDIAN 1
104
105 #define CONFIG_RAM512M
106
107 #define CONFIG_EMMC_BOOT
108 #define CONFIG_ARCH_SCX35L
109
110 #ifdef  CONFIG_EMMC_BOOT
111 #define EMMC_SECTOR_SIZE 512
112
113 #define CONFIG_FS_EXT4
114 #define CONFIG_EXT4_WRITE
115 #define CONFIG_CMD_EXT4
116 #define CONFIG_CMD_EXT4_WRITE
117
118 //#define CONFIG_TIGER_MMC
119 #define CONFIG_UEFI_PARTITION
120 #define CONFIG_EXT4_SPARSE_DOWNLOAD
121 //#define CONFIG_EMMC_SPL
122 #define CONFIG_SYS_EMMC_U_BOOT_SECTOR_NUM ((CONFIG_SYS_NAND_U_BOOT_SIZE+EMMC_SECTOR_SIZE-1)/EMMC_SECTOR_SIZE)
123 #endif
124
125 /*
126  * MMC definition
127  */
128 #define CONFIG_CMD_MMC
129 #ifdef  CONFIG_CMD_MMC
130 #define CONFIG_CMD_FAT                  1
131 #define CONFIG_FAT_WRITE                1
132 #define CONFIG_MMC                      1
133 #define CONFIG_GENERIC_MMC              1
134 #define CONFIG_SDHCI                    1
135 #define CONFIG_SDHCI_CTRL_NO_HISPD      1 /* disable high speed control */
136 #define CONFIG_SYS_MMC_MAX_BLK_COUNT    0x1000
137 #define CONFIG_MMC_SDMA                 1
138 #define CONFIG_MV_SDHCI                 1
139 #define CONFIG_DOS_PARTITION            1
140 #define CONFIG_EFI_PARTITION            1
141 #define CONFIG_SYS_MMC_NUM              1
142 #endif
143
144 #define BB_DRAM_TYPE_256MB_32BIT
145
146 #define CONFIG_SYS_HZ                   1000
147 #define CONFIG_SPRD_TIMER_CLK           1000 /*32768*/
148
149 #define CP0_ZERO_MAP_ADR    0x50000000
150 #define CP0_ARM0_EXEC_ADR        0x88400000 
151
152 #define CP1_ZERO_MAP_ADR    0x50001000
153 #define CP1_EXEC_ADR        0x8ae00000
154
155 #ifdef CONFIG_SYS_HUSH_PARSER
156 #define CONFIG_SYS_PROMPT_HUSH_PS2 "> "
157 #endif
158
159 #define PRODUCTINFO_SIZE        (16 * 1024)
160 #define MODEM_SIZE              (0x800000)
161 #define DSP_SIZE                (0x2E0000)
162 #define VMJALUNA_SIZE           (0x64000) /* 400K */
163 #define RUNTIMENV_SIZE          (3*128 * 1024)
164 #define CONFIG_SPL_LOAD_LEN     (0x6000)
165
166
167 /*#define CMDLINE_NEED_CONV */
168
169 #define WATCHDOG_LOAD_VALUE     0x4000
170 #define CONFIG_SYS_STACK_SIZE   0x400
171 //#define CONFIG_SYS_TEXT_BASZE  0x80f00000
172
173 //#define       CONFIG_SYS_MONITOR_LEN          (256 << 10)     /* 256 kB for U-Boot */
174
175 /* NAND BOOT is the only boot method */
176 #define CONFIG_NAND_U_BOOT
177 #define DYNAMIC_CRC_TABLE
178 /* Start copying real U-boot from the second page */
179 #define CONFIG_SYS_NAND_U_BOOT_OFFS     0x40000
180 #define CONFIG_SYS_NAND_U_BOOT_SIZE     0x8A000
181 #define RAM_TYPPE_IS_SDRAM      0
182 //#define FPGA_TRACE_DOWNLOAD //for download image from trace
183
184 /* IRAM store ddr info */
185 #define CONFIG_NR_DRAM_BANKS_ADDR_IN_IRAM    0x1C00
186
187 /* Load U-Boot to this address */
188 #define CONFIG_SYS_NAND_U_BOOT_DST      0x8f800000
189 #define CONFIG_SYS_NAND_U_BOOT_START    CONFIG_SYS_NAND_U_BOOT_DST
190 #define CONFIG_SYS_SDRAM_BASE 0x80000000
191 #define CONFIG_SYS_SDRAM_END (CONFIG_SYS_SDRAM_BASE + 256*1024*1024)
192
193 #ifdef CONFIG_NAND_SPL
194 #define CONFIG_SYS_INIT_SP_ADDR         (CONFIG_SYS_SDRAM_END - 0x40000)
195 #else
196
197 #define CONFIG_MMU_TABLE_ADDR (0x00020000)
198 #define CONFIG_SYS_INIT_SP_ADDR     \
199         (CONFIG_SYS_SDRAM_END - 0x10000 - GENERATED_GBL_DATA_SIZE)
200
201 #define CONFIG_SKIP_LOWLEVEL_INIT
202 #endif
203
204 #define CONFIG_HW_WATCHDOG
205 //#define CONFIG_AUTOBOOT //used for FPGA test, auto boot other image
206 //#define CONFIG_DISPLAY_CPUINFO
207
208 #define CONFIG_CMDLINE_TAG              1       /* enable passing of ATAGs */
209 #define CONFIG_SETUP_MEMORY_TAGS        1
210 #define CONFIG_INITRD_TAG               1
211
212 /*
213  * Memory Info
214  */
215 /* malloc() len */
216 #define CONFIG_SYS_MALLOC_LEN           (2 << 20)       /* 1 MiB */
217 /*
218  * Board has 2 32MB banks of DRAM but there is a bug when using
219  * both so only the first is configured
220  */
221 #define CONFIG_NR_DRAM_BANKS    1
222
223 #define PHYS_SDRAM_1            0x80000000
224 #define PHYS_SDRAM_1_SIZE       0x10000000
225 #if (CONFIG_NR_DRAM_BANKS == 2)
226 #define PHYS_SDRAM_2            0x90000000
227 #define PHYS_SDRAM_2_SIZE       0x10000000
228 #endif
229 /* 8MB DRAM test */
230 #define CONFIG_SYS_MEMTEST_START        PHYS_SDRAM_1
231 #define CONFIG_SYS_MEMTEST_END          (PHYS_SDRAM_1+0x0800000)
232 #define CONFIG_STACKSIZE        (256 * 1024)    /* regular stack */
233
234 /*
235  * Serial Info
236  */
237 #define CONFIG_SPRD_UART                1
238 #define CONFIG_SYS_SC8800X_UART1        1
239 #define CONFIG_CONS_INDEX       1       /* use UART0 for console */
240 #define CONFIG_BAUDRATE         115200  /* Default baud rate */
241 #define CONFIG_SYS_BAUDRATE_TABLE       { 9600, 19200, 38400, 57600, 115200 }
242 #define CONFIG_SPRD_SPI
243 #define CONFIG_SPRD_I2C
244 #define CONFIG_SC9630_I2C
245 /*
246  * Flash & Environment
247  */
248 /* No NOR flash present */
249 #define CONFIG_SYS_MONITOR_LEN ((CONFIG_SYS_NAND_U_BOOT_OFFS)+(CONFIG_SYS_NAND_U_BOOT_SIZE))
250 #define CONFIG_SYS_NO_FLASH     1
251 #define CONFIG_ENV_IS_NOWHERE
252 #define CONFIG_ENV_SIZE         (128 * 1024)    
253 /*
254 #define CONFIG_ENV_IS_IN_NAND
255 #define CONFIG_ENV_OFFSET       CONFIG_SYS_MONITOR_LEN
256 #define CONFIG_ENV_OFFSET_REDUND        (CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE)
257 */
258
259 /* DDR */
260 #define DDR_CLK 464
261 //---these three macro below,only one can be open
262 //#define DDR_LPDDR1
263 #define DDR_LPDDR2
264 //#define DDR_DDR3
265
266 #define CONFIG_DDR_AUTO_DETECT
267 #define DDR_TYPE DRAM_LPDDR2_2CS_8G_X32
268 //#define DDR_TYPE DRAM_LPDDR2_1CS_4G_X32
269 //#define DDR_TYPE DRAM_LPDDR2_1CS_8G_X32
270 //#define DDR_TYPE DRAM_LPDDR2_2CS_16G_X32
271 //#define DDR_TYPE DRAM_DDR3_1CS_2G_X8_4P
272 //#define DDR_TYPE DRAM_DDR3_1CS_4G_X16_2P
273
274 #define DDR3_DLL_ON TRUE
275 //#define DLL_BYPASS
276 #define DDR_APB_CLK 128
277 #define DDR_DFS_SUPPORT
278 #define DDR_DFS_VAL_BASE 0X1c00
279
280 //#define DDR_SCAN_SUPPORT
281 #define MEM_IO_DS LPDDR2_DS_40R
282
283 #define PUBL_LPDDR1_DS PUBL_LPDDR1_DS_48OHM
284 #define PUBL_LPDDR2_DS PUBL_LPDDR2_DS_40OHM
285 #define PUBL_DDR3_DS   PUBL_DDR3_DS_34OHM
286
287 /* NAND */
288 #define CONFIG_NAND_SC9630
289 #define CONFIG_SPRD_NAND_REGS_BASE      (0x21100000)
290 #define CONFIG_SYS_MAX_NAND_DEVICE      1
291 #define CONFIG_SYS_NAND_BASE            (0x21100000)
292 //#define CONFIG_JFFS2_NAND
293 //#define CONFIG_SPRD_NAND_HWECC
294 #define CONFIG_SYS_NAND_HW_ECC
295 #define CONFIG_SYS_NAND_LARGEPAGE
296 //#define CONFIG_SYS_NAND_5_ADDR_CYCLE
297
298 #define CONFIG_SYS_64BIT_VSPRINTF
299
300 #define CONFIG_CMD_MTDPARTS
301 #define CONFIG_MTD_PARTITIONS
302 #define CONFIG_MTD_DEVICE
303 #define CONFIG_CMD_UBI
304 #define CONFIG_RBTREE
305
306 /* U-Boot general configuration */
307 #define CONFIG_SYS_PROMPT       "=> "   /* Monitor Command Prompt */
308 #define CONFIG_SYS_CBSIZE       1024    /* Console I/O Buffer Size  */
309 /* Print buffer sz */
310 #define CONFIG_SYS_PBSIZE       (CONFIG_SYS_CBSIZE + \
311                 sizeof(CONFIG_SYS_PROMPT) + 16)
312 #define CONFIG_SYS_MAXARGS      32      /* max number of command args */
313 /* Boot Argument Buffer Size */
314 #define CONFIG_SYS_BARGSIZE     CONFIG_SYS_CBSIZE
315 #define CONFIG_CMDLINE_EDITING
316 #define CONFIG_SYS_LONGHELP
317
318 /* support OS choose */
319 #undef CONFIG_BOOTM_NETBSD 
320 #undef CONFIG_BOOTM_RTEMS
321
322 /* U-Boot commands */
323 #include <config_cmd_default.h>
324 #define CONFIG_CMD_NAND
325 #undef CONFIG_CMD_FPGA
326 #undef CONFIG_CMD_LOADS
327 #undef CONFIG_CMD_NET
328 #undef CONFIG_CMD_NFS
329 #undef CONFIG_CMD_SETGETDCR
330
331 #define CONFIG_ENV_OVERWRITE
332
333 #ifdef SPRD_EVM_TAG_ON
334 #define CONFIG_BOOTDELAY        0
335 #else
336 #define CONFIG_BOOTDELAY        0
337 #define CONFIG_ZERO_BOOTDELAY_CHECK
338 #endif
339
340 #define CONFIG_LOADADDR         (CONFIG_SYS_TEXT_BASE - CONFIG_SYS_MALLOC_LEN - 4*1024*1024)    /* loadaddr env var */
341 #define CONFIG_SYS_LOAD_ADDR    CONFIG_LOADADDR
342
343 #define xstr(s) str(s)
344 #define str(s)  #s
345
346 #define MTDIDS_DEFAULT "nand0=sprd-nand"
347 #define MTDPARTS_DEFAULT "mtdparts=sprd-nand:256k(spl),512k(2ndbl),256k(params),512k(vmjaluna),10m(modem),3840k(fixnv),3840k(backupfixnv),5120k(dsp),3840k(runtimenv),10m(boot),10m(recovery),250m(system),180m(userdata),20m(cache),256k(misc),1m(boot_logo),1m(fastboot_logo),3840k(productinfo),512k(kpanic)"
348 #define CONFIG_BOOTARGS "mem=512M loglevel=1 console=ttyS1,115200n8 init=/init " MTDPARTS_DEFAULT
349
350 #define COPY_LINUX_KERNEL_SIZE  (0x600000)
351 #define LINUX_INITRD_NAME       "modem"
352
353 #define CONFIG_BOOTCOMMAND "cboot normal"
354 #define CONFIG_EXTRA_ENV_SETTINGS                               ""      
355
356 #ifdef CONFIG_CMD_NET
357 #define CONFIG_IPADDR 192.168.10.2
358 #define CONFIG_SERVERIP 192.168.10.5
359 #define CONFIG_NETMASK 255.255.255.0
360 #define CONFIG_USBNET_DEVADDR 26:03:ee:00:87:9f
361 #define CONFIG_USBNET_HOSTADDR 9a:04:c7:d6:30:d0
362
363
364 #define CONFIG_NET_MULTI
365 #define CONFIG_CMD_DNS
366 #define CONFIG_CMD_NFS
367 #define CONFIG_CMD_RARP
368 #define CONFIG_CMD_PING
369 /*#define CONFIG_CMD_SNTP */
370 #endif
371
372 #define CONFIG_USB_CORE_IP_293A
373 #define CONFIG_USB_GADGET_SC8800G
374 #define CONFIG_USB_DWC
375 #define CONFIG_USB_GADGET_DUALSPEED
376 //#define CONFIG_USB_ETHER
377 #define CONFIG_CMD_FASTBOOT
378 #define SCRATCH_ADDR    (CONFIG_SYS_SDRAM_BASE + 0x100000)
379 #define FB_DOWNLOAD_BUF_SIZE           (CONFIG_SYS_NAND_U_BOOT_DST - SCRATCH_ADDR-0x800000)
380 #define SCRATCH_ADDR_EXT1              (CONFIG_SYS_NAND_U_BOOT_DST + 32*1024*1024)
381 #define FB_DOWNLOAD_BUF_EXT1_SIZE      (224*1024*1024)
382 #define CONFIG_MODEM_CALIBERATE
383
384 #define CONFIG_LCD
385 #ifdef  CONFIG_LCD
386 #define CONFIG_DSIH_VERSION_1P21A
387 #define CONFIG_SPLASH_SCREEN
388 #define LCD_BPP LCD_COLOR16
389 #define CONFIG_LCD_FWVGA
390 //#define CONFIG_LCD_WVGA 1
391 //#define CONFIG_LCD_HVGA   1
392 //#define CONFIG_LCD_QVGA   1
393 //#define CONFIG_LCD_QHD 1
394 //#define CONFIG_LCD_720P 1
395 //#define CONFIG_LCD_INFO
396 //#define LCD_TEST_PATTERN
397 //#define CONFIG_LCD_LOGO
398 //#define CONFIG_FB_LCD_S6D0139
399 //#define CONFIG_FB_LCD_RM68180_MIPI
400 //#define CONFIG_FB_LCD_NT35516_MIPI
401 //#define CONFIG_FB_LCD_ILI9806E_MIPI
402 #define CONFIG_FB_LCD_OTM8019A_MIPI
403 #define CONFIG_SYS_WHITE_ON_BLACK
404 #ifdef  LCD_TEST_PATTERN
405 #define CONSOLE_COLOR_RED 0xf800 
406 #define CONSOLE_COLOR_GREEN 0x07e0
407 #define CONSOLE_COLOR_YELLOW 0x07e0
408 #define CONSOLE_COLOR_BLUE 0x001f
409 #define CONSOLE_COLOR_MAGENTA 0x001f
410 #define CONSOLE_COLOR_CYAN 0x001f
411 #endif
412 #endif // CONFIG_LCD
413
414 #define CONFIG_SPRD_SYSDUMP
415 #include <asm/sizes.h>
416 #if !defined(CONFIG_DDR_AUTO_DETECT)
417 #define SPRD_SYSDUMP_MAGIC      ((PHYS_OFFSET_ADDR & (~(SZ_1G - 1))) + SZ_1G - SZ_1M)
418 #endif
419
420 #define CALIBRATE_ENUM_MS 3000
421 #define CALIBRATE_IO_MS 2000
422
423 //#define LOW_BAT_ADC_LEVEL 782 /*phone battery adc value low than this value will not boot up*/
424 #define LOW_BAT_VOL            3500 /*phone battery voltage low than this value will not boot up*/
425 #define LOW_BAT_VOL_CHG        3300    //3.3V charger connect
426
427 #define PWR_KEY_DETECT_CNT 12 /*this should match the count of boot_pwr_check() function */
428 #define ALARM_LEAD_SET_MS 0 /* time set for alarm boot in advancd */
429
430 #define PHYS_OFFSET_ADDR                        0x80000000
431 //#define TD_CP_OFFSET_ADDR                     0x8000000       /*128*/
432 //#define TD_CP_SDRAM_SIZE                      0x1200000       /*18M*/
433 //#define WCDMA_CP_OFFSET_ADDR          0x10000000      /*256M*/
434 //#define WCDMA_CP_SDRAM_SIZE           0x4000000       /*64M*/
435 #define GGE_CP_OFFSET_ADDR              0x08000000       /*128M*/
436 #define GGE_CP_SDRAM_SIZE               0x01600000      /*22M*/
437 #define LTE_CP_OFFSET_ADDR              0x09600000       /*150M*/
438 #define LTE_CP_SDRAM_SIZE        0x04600000     /*70M*/
439 #define PMIC_IRAM_ADDR          0x50800000       /*pmic arm7 iram address remap at AP side*/
440 #define PMIC_IRAM_SIZE          0x8000       /*32K*/
441 #define SIPC_APCP_RESET_ADDR_SIZE       0xC00   /*3K*/
442 #define SIPC_APCP_RESET_SIZE    0x1000  /*4K*/
443 #define CALIBRATION_CMDLINE_SIZE 0x400  /*1K*/
444 //#define SIPC_TD_APCP_START_ADDR               (PHYS_OFFSET_ADDR + TD_CP_OFFSET_ADDR + TD_CP_SDRAM_SIZE - SIPC_APCP_RESET_SIZE)        /*0x897FF000*/
445 //#define SIPC_WCDMA_APCP_START_ADDR    (PHYS_OFFSET_ADDR + WCDMA_CP_OFFSET_ADDR + WCDMA_CP_SDRAM_SIZE - SIPC_APCP_RESET_SIZE) /*0x93FFF000*/
446 #define SIPC_GGE_APCP_START_ADDR        (PHYS_OFFSET_ADDR + GGE_CP_OFFSET_ADDR + GGE_CP_SDRAM_SIZE - SIPC_APCP_RESET_SIZE)      /*0x895ff000*/
447 #define SIPC_LTE_APCP_START_ADDR        (PHYS_OFFSET_ADDR + LTE_CP_OFFSET_ADDR + LTE_CP_SDRAM_SIZE - SIPC_APCP_RESET_SIZE)         /*0x8ffff000*/
448 #define SIPC_PMIC_APCP_START_ADDR        (PMIC_IRAM_ADDR+ PMIC_IRAM_SIZE+ - SIPC_APCP_RESET_ADDR_SIZE)         /*0x50807400*/
449 #define CALIBRATION_FLAG_CP0         0x88AF0000
450 #define CALIBRATION_FLAG_CP1         0x8b9D0000
451
452 #define CONFIG_RAM_CONSOLE
453
454 #ifdef CONFIG_RAM_CONSOLE
455 #define CONFIG_RAM_CONSOLE_SIZE        0x80000
456 #define CONFIG_RAM_CONSOLE_START    (CONFIG_SYS_NAND_U_BOOT_START + 0x600000)
457 #endif
458
459
460 #define CONFIG_CMD_SOUND 0
461 #define CONFIG_CMD_FOR_HTC 0
462 #define CONFIG_SOUND_CODEC_SPRD_V3 0
463 #define CONFIG_SOUND_DAI_VBC_R2P0 0
464 /* #define CONFIG_SPRD_AUDIO_DEBUG */
465
466 #define CONFIG_RAMDUMP_NO_SPLIT 1 /* Don't split sysdump file */
467
468 #define CONFIG_PBINT_7S_RESET_V1
469 /*7S reset config*/
470 #define CONFIG_7S_RST_MODULE_EN         1       //0:disable module; 1:enable module
471
472 #define CONFIG_7S_RST_SW_MODE           1       //0:hw reset,1:arm reset,power keep on
473 #define CONFIG_7S_RST_SHORT_MODE        1       //0:long press then release key to trigger;1:press key some time to trigger
474 #define CONFIG_7S_RST_2KEY_MODE         1       //0:1Key--Normal mode; 1:2KEY
475 #define CONFIG_7S_RST_THRESHOLD         7       //7S, hold key down for this time to trigger
476
477 #define CONFIG_SMPL_MODE
478 #endif /* __CONFIG_H */