95f6d833a97f9e604fd95f05437fd7e9fb906934
[profile/mobile/platform/kernel/u-boot-tm1.git] / include / configs / sp7715ea.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 CONFIG_OF_LIBFDT
25 //#ifdef CONFIG_OF_LIBFDT
26 //ask for detect it
27 #define DT_PLATFROM_ID 7715
28 #define DT_HARDWARE_ID 1
29 #define DT_SOC_VER     0x20000
30 //#endif
31
32 //only used in fdl2 .in uart download, the debug infors  from  serial will break the download process.
33 #define CONFIG_FDL2_PRINT        0
34 #define BOOT_NATIVE_LINUX        1
35 #define BOOT_NATIVE_LINUX_MODEM  1
36 //#define CALIBRATION_FLAG         0x89FFFC00
37 //#define       CALIBRATION_FLAG_WCDMA   0x89FFFC00
38 #define CONFIG_SILENT_CONSOLE
39 #define CONFIG_GPIOLIB 1
40 //#define NAND_DEBUG  
41 //#define DEBUG
42 #define CONFIG_SDRAMDISK
43
44 #define U_BOOT_SPRD_VER 1
45 /*#define SPRD_EVM_TAG_ON 1*/
46 #ifdef SPRD_EVM_TAG_ON
47 #define SPRD_EVM_ADDR_START 0x00026000
48 #define SPRD_EVM_TAG(_x) (*(((unsigned long *)SPRD_EVM_ADDR_START)+_x) = *(volatile unsigned long *)0x87003004)
49 #endif
50 #define CONFIG_L2_OFF                   1
51
52 #define BOOT_DEBUG 1
53
54 #define CONFIG_YAFFS2 1
55
56 #define BOOT_PART "boot"
57 //#define BOOT_PART "kernel"
58 #define RECOVERY_PART "recovery"
59 /*
60  * SPREADTRUM BIGPHONE board - SoC Configuration
61  */
62 #define CONFIG_SPX15
63 #define CONFIG_SPX15_WCDMA
64 #define CONFIG_SC8830
65
66 #define CONFIG_AUTODLOADER
67 #define CONFIG_SP8830WCN
68
69 #define CONFIG_SUPPORT_W
70 #define WDSP_ADR        0x88020000
71 #define WFIXNV_ADR      0x88220000
72 #define WRUNTIMENV_ADR  0x88260000
73 #define WMODEM_ADR      0x882c0000
74 #define CONFIG_SUPPORT_WIFI
75 #define WCNMODEM_ADR     0x8a860000
76 #define WCNFIXNV_ADR     0x8a800000
77 #define WCNRUNTIMENV_ADR 0x8a820000
78
79 #define CHIP_ENDIAN_LITTLE
80 #define _LITTLE_ENDIAN 1
81
82 #define CONFIG_RAM512M
83
84 #define CONFIG_EMMC_BOOT
85
86 #ifdef  CONFIG_EMMC_BOOT
87 #define EMMC_SECTOR_SIZE 512
88 #define CONFIG_MMC
89
90 #define CONFIG_FS_EXT4
91 #define CONFIG_EXT4_WRITE
92 #define CONFIG_CMD_EXT4
93 #define CONFIG_CMD_EXT4_WRITE
94
95 //#define CONFIG_TIGER_MMC
96 #define CONFIG_UEFI_PARTITION
97 #define CONFIG_EFI_PARTITION
98 #define CONFIG_EXT4_SPARSE_DOWNLOAD
99 //#define CONFIG_EMMC_SPL
100 #define CONFIG_SYS_EMMC_U_BOOT_SECTOR_NUM ((CONFIG_SYS_NAND_U_BOOT_SIZE+EMMC_SECTOR_SIZE-1)/EMMC_SECTOR_SIZE)
101 #endif
102
103 /*
104  * MMC definition
105  */
106 #define CONFIG_CMD_MMC
107 #ifdef  CONFIG_CMD_MMC
108 #define CONFIG_CMD_FAT                  1
109 #define CONFIG_FAT_WRITE                1
110 #define CONFIG_MMC                      1
111 #define CONFIG_GENERIC_MMC              1
112 #define CONFIG_SDHCI                    1
113 #define CONFIG_SDHCI_CTRL_NO_HISPD      1 /* disable high speed control */
114 #define CONFIG_SYS_MMC_MAX_BLK_COUNT    0x1000
115 #define CONFIG_MMC_SDMA                 1
116 #define CONFIG_MV_SDHCI                 1
117 #define CONFIG_DOS_PARTITION            1
118 #define CONFIG_EFI_PARTITION            1
119 #define CONFIG_SYS_MMC_NUM              1
120 #define CONFIG_SYS_MMC_BASE             {0x20600000}
121 #define CONFIG_SYS_SD_BASE              0x20300000
122 #endif
123
124 #define BB_DRAM_TYPE_256MB_32BIT
125
126 #define CONFIG_SYS_HZ                   1000
127 #define CONFIG_SPRD_TIMER_CLK           1000 /*32768*/
128
129 //#define CONFIG_SYS_HUSH_PARSER
130
131 #ifdef CONFIG_SYS_HUSH_PARSER
132 #define CONFIG_SYS_PROMPT_HUSH_PS2 "> "
133 #endif
134
135 #define FIXNV_SIZE              (256 * 1024)
136 #define WMODEM_SIZE             (0x800000)
137 #define WDSP_SIZE               (0x200000) /* 3968K */
138 #define WCNMODEM_SIZE           (0x800000)
139 #define VMJALUNA_SIZE           (0x64000) /* 400K */
140 #define RUNTIMENV_SIZE          (384 * 1024)
141 #define CONFIG_SPL_LOAD_LEN     (0x6000)
142
143
144 /*#define CMDLINE_NEED_CONV */
145
146 #define WATCHDOG_LOAD_VALUE     0x4000
147 #define CONFIG_SYS_STACK_SIZE   0x400
148 //#define CONFIG_SYS_TEXT_BASZE  0x80f00000
149
150 //#define       CONFIG_SYS_MONITOR_LEN          (256 << 10)     /* 256 kB for U-Boot */
151
152 /* NAND BOOT is the only boot method */
153 #define CONFIG_NAND_U_BOOT
154 #define DYNAMIC_CRC_TABLE
155 /* Start copying real U-boot from the second page */
156 #define CONFIG_SYS_NAND_U_BOOT_OFFS     0x40000
157 #define CONFIG_SYS_NAND_U_BOOT_SIZE     0x8A000
158 #define RAM_TYPPE_IS_SDRAM      0
159 //#define FPGA_TRACE_DOWNLOAD //for download image from trace
160
161 /* Load U-Boot to this address */
162 #define CONFIG_SYS_NAND_U_BOOT_DST      0x8f800000
163 #define CONFIG_SYS_NAND_U_BOOT_START    CONFIG_SYS_NAND_U_BOOT_DST
164 #define CONFIG_SYS_SDRAM_BASE 0x80000000
165 #define CONFIG_SYS_SDRAM_END (CONFIG_SYS_SDRAM_BASE + 256*1024*1024)
166
167 #ifdef CONFIG_NAND_SPL
168 #define CONFIG_SYS_INIT_SP_ADDR         (CONFIG_SYS_SDRAM_END - 0x40000)
169 #else
170
171 #define CONFIG_MMU_TABLE_ADDR (0x00020000)
172 #define CONFIG_SYS_INIT_SP_ADDR     \
173         (CONFIG_SYS_SDRAM_END - 0x10000 - GENERATED_GBL_DATA_SIZE)
174
175 #define CONFIG_SKIP_LOWLEVEL_INIT
176 #endif
177
178 #define CONFIG_HW_WATCHDOG
179 //#define CONFIG_AUTOBOOT //used for FPGA test, auto boot other image
180 //#define CONFIG_DISPLAY_CPUINFO
181
182 #define CONFIG_CMDLINE_TAG              1       /* enable passing of ATAGs */
183 #define CONFIG_SETUP_MEMORY_TAGS        1
184 #define CONFIG_INITRD_TAG               1
185
186 /*
187  * Memory Info
188  */
189 /* malloc() len */
190 #define CONFIG_SYS_MALLOC_LEN           (2 << 20)       /* 1 MiB */
191 /*
192  * Board has 2 32MB banks of DRAM but there is a bug when using
193  * both so only the first is configured
194  */
195 #define CONFIG_NR_DRAM_BANKS    1
196
197 #define PHYS_SDRAM_1            0x80000000
198 #define PHYS_SDRAM_1_SIZE       0x10000000
199 #if (CONFIG_NR_DRAM_BANKS == 2)
200 #define PHYS_SDRAM_2            0x90000000
201 #define PHYS_SDRAM_2_SIZE       0x10000000
202 #endif
203 /* 8MB DRAM test */
204 #define CONFIG_SYS_MEMTEST_START        PHYS_SDRAM_1
205 #define CONFIG_SYS_MEMTEST_END          (PHYS_SDRAM_1+0x0800000)
206 #define CONFIG_STACKSIZE        (256 * 1024)    /* regular stack */
207
208 /*
209  * Serial Info
210  */
211 #define CONFIG_SPRD_UART                1
212 #define CONFIG_SYS_SC8800X_UART1        1
213 #define CONFIG_CONS_INDEX       1       /* use UART0 for console */
214 #define CONFIG_BAUDRATE         115200  /* Default baud rate */
215 #define CONFIG_SYS_BAUDRATE_TABLE       { 9600, 19200, 38400, 57600, 115200 }
216 #define CONFIG_SPRD_SPI
217 #define CONFIG_SPRD_I2C
218 #define CONFIG_SC8830_I2C
219 /*
220  * Flash & Environment
221  */
222 /* No NOR flash present */
223 #define CONFIG_SYS_MONITOR_LEN ((CONFIG_SYS_NAND_U_BOOT_OFFS)+(CONFIG_SYS_NAND_U_BOOT_SIZE))
224 #define CONFIG_SYS_NO_FLASH     1
225 #define CONFIG_ENV_IS_NOWHERE
226 #define CONFIG_ENV_SIZE         (128 * 1024)    
227 /*
228 #define CONFIG_ENV_IS_IN_NAND
229 #define CONFIG_ENV_OFFSET       CONFIG_SYS_MONITOR_LEN
230 #define CONFIG_ENV_OFFSET_REDUND        (CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE)
231 */
232
233 /* DDR */
234 #define CONFIG_CLK_PARA
235 //#define CONFIG_FPGA
236
237 #ifndef CONFIG_CLK_PARA
238 #define DDR_CLK 333
239 #else
240 #define MAGIC_HEADER    0x5555AAAA
241 #define MAGIC_END       0xAAAA5555
242 #define CONFIG_PARA_VERSION 1
243 #define CLK_CA7_CORE    ARM_CLK_1000M
244 #define CLK_CA7_AXI     ARM_CLK_500M
245 #define CLK_CA7_DGB     ARM_CLK_200M
246 #define CLK_CA7_AHB     AHB_CLK_192M
247 #define CLK_CA7_APB     APB_CLK_64M
248 #define CLK_PUB_AHB     PUB_AHB_CLK_153_6M
249 #define CLK_AON_APB     AON_APB_CLK_128M
250 #define DDR_FREQ        333000000
251 #define DCDC_ARM        1200
252 #define DCDC_CORE       1100
253 #define CONFIG_VOL_PARA
254 #endif
255 //---these three macro below,only one can be open
256 //#define DDR_LPDDR1
257 #define DDR_LPDDR2
258 //#define DDR_DDR3
259
260 //#define DDR_TYPE DRAM_LPDDR2_2CS_8G_X32
261 #define DDR_TYPE DRAM_LPDDR2_1CS_4G_X32
262 //#define DDR_TYPE DRAM_LPDDR2_1CS_8G_X32
263 //#define DDR_TYPE DRAM_LPDDR2_2CS_16G_X32
264 //#define DDR_TYPE DRAM_DDR3_1CS_2G_X8_4P
265 //#define DDR_TYPE DRAM_DDR3_1CS_4G_X16_2P
266
267 #define DDR3_DLL_ON TRUE
268 //#define DLL_BYPASS
269 #define DDR_APB_CLK 128
270 #define DDR_DFS_SUPPORT
271 #define DDR_DFS_VAL_BASE 0X1c00
272
273 //#define DDR_SCAN_SUPPORT
274 #define MEM_IO_DS LPDDR2_DS_40R
275
276 #define PUBL_LPDDR1_DS PUBL_LPDDR1_DS_48OHM
277 #define PUBL_LPDDR2_DS PUBL_LPDDR2_DS_40OHM
278 #define PUBL_DDR3_DS   PUBL_DDR3_DS_34OHM
279
280 /* NAND */
281 #define CONFIG_NAND_DOLPHIN
282 #define CONFIG_SPRD_NAND_REGS_BASE      (0x20B00000)
283 #define CONFIG_SYS_MAX_NAND_DEVICE      1
284 #define CONFIG_SYS_NAND_BASE            (0x20B00000)
285 //#define CONFIG_JFFS2_NAND
286 //#define CONFIG_SPRD_NAND_HWECC
287 #define CONFIG_SYS_NAND_HW_ECC
288 #define CONFIG_SYS_NAND_LARGEPAGE
289 //#define CONFIG_SYS_NAND_5_ADDR_CYCLE
290
291 #define CONFIG_SYS_64BIT_VSPRINTF
292
293 #define CONFIG_CMD_MTDPARTS
294 #define CONFIG_MTD_PARTITIONS
295 #define CONFIG_MTD_DEVICE
296 #define CONFIG_CMD_UBI
297 #define CONFIG_RBTREE
298
299 /* U-Boot general configuration */
300 #define CONFIG_SYS_PROMPT       "=> "   /* Monitor Command Prompt */
301 #define CONFIG_SYS_CBSIZE       1024    /* Console I/O Buffer Size  */
302 /* Print buffer sz */
303 #define CONFIG_SYS_PBSIZE       (CONFIG_SYS_CBSIZE + \
304                 sizeof(CONFIG_SYS_PROMPT) + 16)
305 #define CONFIG_SYS_MAXARGS      32      /* max number of command args */
306 /* Boot Argument Buffer Size */
307 #define CONFIG_SYS_BARGSIZE     CONFIG_SYS_CBSIZE
308 #define CONFIG_CMDLINE_EDITING
309 #define CONFIG_SYS_LONGHELP
310
311 /* support OS choose */
312 #undef CONFIG_BOOTM_NETBSD 
313 #undef CONFIG_BOOTM_RTEMS
314
315 /* U-Boot commands */
316 #include <config_cmd_default.h>
317 #define CONFIG_CMD_NAND
318 #undef CONFIG_CMD_FPGA
319 #undef CONFIG_CMD_LOADS
320 #undef CONFIG_CMD_NET
321 #undef CONFIG_CMD_NFS
322 #undef CONFIG_CMD_SETGETDCR
323
324 #define CONFIG_ENV_OVERWRITE
325
326 #ifdef SPRD_EVM_TAG_ON
327 #define CONFIG_BOOTDELAY        0
328 #else
329 #define CONFIG_BOOTDELAY        0
330 #define CONFIG_ZERO_BOOTDELAY_CHECK
331 #endif
332
333 #define CONFIG_LOADADDR         (CONFIG_SYS_TEXT_BASE - CONFIG_SYS_MALLOC_LEN - 4*1024*1024)    /* loadaddr env var */
334 #define CONFIG_SYS_LOAD_ADDR    CONFIG_LOADADDR
335
336 #define xstr(s) str(s)
337 #define str(s)  #s
338
339 #ifdef CONFIG_RAM512M
340 #define MEM_INIT_PARA "mem=512M"
341 #elif defined(CONFIG_RAM256M)
342 #define MEM_INIT_PARA "mem=256M"
343 //#elif defined(CONFIG_RAMxxxM)
344 ////#define MEM_INIT_PARA "mem=xxxM" //xxx maybe 1024 etc
345 #else
346 #error "CONFIG_RAMxxxM macro must be defined"
347 #endif
348
349 #define MTDIDS_DEFAULT "nand0=sprd-nand"
350 #define MTDPARTS_DEFAULT "mtdparts=sprd-nand:256k(spl),2m(2ndbl),256k(tdmodem),256k(tddsp),256k(tdfixnv1),256k(tdruntimenv),256k(wmodem),256k(wdsp),256k(wfixnv1),256k(wruntimenv1),256k(prodinfo1),256k(prodinfo3),1024k(logo),1024k(fastbootlogo),10m(boot),300m(system),150m(cache),10m(recovery),256k(misc),256k(sd),512k(userdata)"
351 #define CONFIG_BOOTARGS MEM_INIT_PARA" loglevel=1 console=ttyS1,115200n8 init=/init " MTDPARTS_DEFAULT
352 #define COPY_LINUX_KERNEL_SIZE  (0x600000)
353 #define LINUX_INITRD_NAME       "modem"
354
355 #define CONFIG_BOOTCOMMAND "cboot normal"
356 #define CONFIG_EXTRA_ENV_SETTINGS                               ""      
357
358 #ifdef CONFIG_CMD_NET
359 #define CONFIG_IPADDR 192.168.10.2
360 #define CONFIG_SERVERIP 192.168.10.5
361 #define CONFIG_NETMASK 255.255.255.0
362 #define CONFIG_USBNET_DEVADDR 26:03:ee:00:87:9f
363 #define CONFIG_USBNET_HOSTADDR 9a:04:c7:d6:30:d0
364
365
366 #define CONFIG_NET_MULTI
367 #define CONFIG_CMD_DNS
368 #define CONFIG_CMD_NFS
369 #define CONFIG_CMD_RARP
370 #define CONFIG_CMD_PING
371 /*#define CONFIG_CMD_SNTP */
372 #endif
373
374 #define CONFIG_USB_CORE_IP_293A
375 #define CONFIG_USB_GADGET_SC8800G
376 #define CONFIG_USB_DWC
377 #define CONFIG_USB_GADGET_DUALSPEED
378 //#define CONFIG_USB_ETHER
379 #define CONFIG_CMD_FASTBOOT
380 #define SCRATCH_ADDR    (CONFIG_SYS_SDRAM_BASE + 0x100000)
381 #define FB_DOWNLOAD_BUF_SIZE           (CONFIG_SYS_NAND_U_BOOT_DST - SCRATCH_ADDR-0x800000)
382 #define SCRATCH_ADDR_EXT1              (CONFIG_SYS_NAND_U_BOOT_DST + 32*1024*1024)
383 #define FB_DOWNLOAD_BUF_EXT1_SIZE      (224*1024*1024)
384
385 #define CONFIG_MODEM_CALIBERATE
386
387 #define CONFIG_LCD
388 #ifdef  CONFIG_LCD
389 #define CONFIG_SPLASH_SCREEN
390 #define LCD_BPP LCD_COLOR16
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_FWVGA 1
396
397 //#define CONFIG_LCD_INFO
398 //#define LCD_TEST_PATTERN
399 //#define CONFIG_LCD_LOGO
400 //#define CONFIG_FB_LCD_S6D0139
401 //#define CONFIG_FB_LCD_SSD2075_MIPI
402 //#define CONFIG_FB_LCD_NT35516_MIPI
403 #define CONFIG_FB_LCD_HX8363_RGB_SPI
404 //#define CONFIG_FB_LCD_HX8363_MCU
405
406 #define CONFIG_SYS_WHITE_ON_BLACK
407 #ifdef  LCD_TEST_PATTERN
408 #define CONSOLE_COLOR_RED 0xf800 
409 #define CONSOLE_COLOR_GREEN 0x07e0
410 #define CONSOLE_COLOR_YELLOW 0x07e0
411 #define CONSOLE_COLOR_BLUE 0x001f
412 #define CONSOLE_COLOR_MAGENTA 0x001f
413 #define CONSOLE_COLOR_CYAN 0x001f
414 #endif
415 #endif // CONFIG_LCD
416
417 #define CONFIG_SPRD_SYSDUMP
418 #include <asm/sizes.h>
419
420 #ifdef CONFIG_RAM512M
421 #define SPRD_SYSDUMP_MAGIC      ((PHYS_OFFSET_ADDR & (~(SZ_512M - 1))) + SZ_512M - SZ_1M)
422 #elif defined(CONFIG_RAM256M)
423 #define SPRD_SYSDUMP_MAGIC      ((PHYS_OFFSET_ADDR & (~(SZ_256M - 1))) + SZ_256M - SZ_1M)
424 //#elif defined(CONFIG_RAMxxxM)
425 //#define SPRD_SYSDUMP_MAGIC      ((PHYS_OFFSET_ADDR & (~(SZ_xxxM - 1))) + SZ_xxxM - SZ_1M) //xxx maybe 1024 etc
426 #else
427 #error "CONFIG_RAMxxxM macro must be defined"
428 #endif
429
430 #define CALIBRATE_ENUM_MS 3000
431 #define CALIBRATE_IO_MS 2000
432
433 //#define LOW_BAT_ADC_LEVEL 782 /*phone battery adc value low than this value will not boot up*/
434 #define LOW_BAT_VOL            3500 /*phone battery voltage low than this value will not boot up*/
435 #define LOW_BAT_VOL_CHG        3200    //3.3V charger connect
436
437 #define PWR_KEY_DETECT_CNT 12 /*this should match the count of boot_pwr_check() function */
438 #define ALARM_LEAD_SET_MS 0 /* time set for alarm boot in advancd */
439
440 #define PHYS_OFFSET_ADDR                        0x80000000
441 #define TD_CP_OFFSET_ADDR                       0x8000000       /*128*/
442 #define TD_CP_SDRAM_SIZE                        0x1800000       /*24M*/
443 #define WCDMA_CP_OFFSET_ADDR            0x8000000       /*128M*/
444 #define WCDMA_CP_SDRAM_SIZE                 0x18A0000
445
446 #define WCN_CP_OFFSET_ADDR          0xa800000   /*168M*/
447 #define WCN_CP_SDRAM_SIZE           0x281000//0x500000    /*5M*/
448
449 #define SIPC_APCP_RESET_ADDR_SIZE       0xC00   /*3K*/
450 #define SIPC_APCP_RESET_SIZE        0x1000      /*4K*/
451 #define SIPC_WCDMA_APCP_START_ADDR      (PHYS_OFFSET_ADDR + WCDMA_CP_OFFSET_ADDR + WCDMA_CP_SDRAM_SIZE - SIPC_APCP_RESET_SIZE)
452 #define SIPC_WCN_APCP_START_ADDR    (PHYS_OFFSET_ADDR + WCN_CP_OFFSET_ADDR + WCN_CP_SDRAM_SIZE - SIPC_APCP_RESET_SIZE)
453
454 #define CALIBRATION_FLAG_WCDMA   (PHYS_OFFSET_ADDR + WCDMA_CP_OFFSET_ADDR + WCDMA_CP_SDRAM_SIZE - 0x400)
455 #define CALIBRATION_FLAG         CALIBRATION_FLAG_WCDMA
456 //#define CALIBRATION_FLAG           0x89700000
457
458 #define CONFIG_CMD_SOUND 1
459 #define CONFIG_CMD_FOR_HTC 1
460 #define CONFIG_SOUND_CODEC_SPRD_V3 1
461 #define CONFIG_SOUND_DAI_VBC_R2P0 1
462 /* #define CONFIG_SPRD_AUDIO_DEBUG */
463
464 #define CONFIG_RAMDUMP_NO_SPLIT 1 /* Don't split sysdump file */
465
466 #define CONFIG_PBINT_7S_RESET_V1
467 /* short reset when power key reset trigged */
468 #define CONFIG_PBINT_7S_RST_SW_SHORT 1
469 /* reset then release the power key when reset trigged */
470 /* #define CONFIG_PBINT_7S_RST_SW_LONG 1 */
471 /* reset then release the power key when reset trigged */
472 /* #define CONFIG_PBINT_7S_RST_HW_LONG 1 */
473 /* rang:2-16 unit: s */
474 /* #define CONFIG_PBINT_7S_RST_THRESHOLD 7 */
475 #define USB_PHY_TUNE_VALUE 0x44073e33
476
477 /* #define CONFIG_SMPL_MODE */
478 /* rang:0(0.5s) - 7(4s) unit: s step: 0.5s */
479 /* #define CONFIG_SMPL_THRESHOLD 0 */
480
481 #endif /* __CONFIG_H */