FADS860T.h 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471
  1. /*
  2. * A collection of structures, addresses, and values associated with
  3. * the Motorola 860T FADS board. Copied from the MBX stuff.
  4. * Magnus Damm added defines for 8xxrom and extended bd_info.
  5. * Helmut Buchsbaum added bitvalues for BCSRx
  6. *
  7. * Copyright (c) 1998 Dan Malek (dmalek@jlc.net)
  8. */
  9. /*
  10. * 1999-nov-26: The FADS is using the following physical memorymap:
  11. *
  12. * ff020000 -> ff02ffff : pcmcia
  13. * ff010000 -> ff01ffff : BCSR connected to CS1, setup by 8xxrom
  14. * ff000000 -> ff00ffff : IMAP internal in the cpu
  15. * fe000000 -> ffnnnnnn : flash connected to CS0, setup by 8xxrom
  16. * 00000000 -> nnnnnnnn : sdram/dram setup by 8xxrom
  17. */
  18. /* ------------------------------------------------------------------------- */
  19. /*
  20. * board/config.h - configuration options, board specific
  21. */
  22. #ifndef __CONFIG_H
  23. #define __CONFIG_H
  24. /*
  25. * High Level Configuration Options
  26. * (easy to change)
  27. */
  28. #include <mpc8xx_irq.h>
  29. /* board type */
  30. #define CONFIG_FADS 1 /* old/new FADS + new ADS */
  31. /* processor type */
  32. #define CONFIG_MPC860T 1 /* 860T */
  33. #define CONFIG_8xx_CONS_SMC1 1 /* Console is on SMC1 */
  34. #undef CONFIG_8xx_CONS_SMC2
  35. #undef CONFIG_8xx_CONS_NONE
  36. #define CONFIG_BAUDRATE 38400
  37. #define CONFIG_LOADS_ECHO 1 /* echo on for serial download */
  38. #if 0 /* old FADS */
  39. # define CFG_8XX_FACT 12 /* Multiply by 12 */
  40. # define CFG_8XX_XIN 4000000 /* 4 MHz in */
  41. #else /* new FADS */
  42. # define CFG_8XX_FACT 10 /* Multiply by 10 */
  43. # define CFG_8XX_XIN 5000000 /* 5 MHz in */
  44. #endif
  45. #define MPC8XX_HZ ((CFG_8XX_XIN) * (CFG_8XX_FACT))
  46. /* should ALWAYS define this, measure_gclk in speed.c is unreliable */
  47. /* in general, we always know this for FADS+new ADS anyway */
  48. #define CONFIG_8xx_GCLK_FREQ MPC8XX_HZ
  49. /* most vanilla kernels do not like this, set to 0 if in doubt */
  50. #define CONFIG_CLOCKS_IN_MHZ 1 /* clocks passsed to Linux in MHz */
  51. #if 1
  52. #define CONFIG_BOOTDELAY -1 /* autoboot disabled */
  53. #else
  54. #define CONFIG_BOOTDELAY 5 /* autoboot after 5 seconds */
  55. #endif
  56. #undef CONFIG_BOOTARGS
  57. #define CONFIG_BOOTCOMMAND \
  58. "bootp; " \
  59. "setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) " \
  60. "ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off; " \
  61. "bootm"
  62. #undef CONFIG_WATCHDOG /* watchdog disabled */
  63. /* ATA / IDE and partition support */
  64. #define CONFIG_MAC_PARTITION 1
  65. #define CONFIG_DOS_PARTITION 1
  66. #define CONFIG_ISO_PARTITION 1
  67. #undef CONFIG_ATAPI
  68. #define CONFIG_IDE_8xx_PCCARD 1 /* Use IDE with PC Card Adapter */
  69. #undef CONFIG_IDE_8xx_DIRECT /* Direct IDE not supported */
  70. #undef CONFIG_IDE_LED /* LED for ide not supported */
  71. #undef CONFIG_IDE_RESET /* reset for ide not supported */
  72. /* choose SCC1 ethernet (10BASET on motherboard)
  73. * or FEC ethernet (10/100 on daughterboard)
  74. */
  75. #if 0
  76. #define CONFIG_SCC1_ENET 1 /* use SCC1 ethernet */
  77. #undef CONFIG_FEC_ENET /* disable FEC ethernet */
  78. #else /* all 86x cores have FECs, if in doubt, use it */
  79. #undef CONFIG_SCC1_ENET /* disable SCC1 ethernet */
  80. #define CONFIG_FEC_ENET 1 /* use FEC ethernet */
  81. #define CFG_DISCOVER_PHY
  82. #endif
  83. #if defined(CONFIG_SCC1_ENET) && defined(CONFIG_FEC_ENET)
  84. #error Both CONFIG_SCC1_ENET and CONFIG_FEC_ENET configured
  85. #endif
  86. /* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */
  87. #include <cmd_confdefs.h>
  88. /*
  89. * Miscellaneous configurable options
  90. */
  91. #undef CFG_LONGHELP /* undef to save memory */
  92. #define CFG_PROMPT "=>" /* Monitor Command Prompt */
  93. #if (CONFIG_COMMANDS & CFG_CMD_KGDB)
  94. #define CFG_CBSIZE 1024 /* Console I/O Buffer Size */
  95. #else
  96. #define CFG_CBSIZE 256 /* Console I/O Buffer Size */
  97. #endif
  98. #define CFG_PBSIZE (CFG_CBSIZE+sizeof(CFG_PROMPT)+16) /* Print Buffer Size */
  99. #define CFG_MAXARGS 16 /* max number of command args */
  100. #define CFG_BARGSIZE CFG_CBSIZE /* Boot Argument Buffer Size */
  101. #define CFG_MEMTEST_START 0x0100000 /* memtest works on */
  102. #if (CFG_SDRAM_SIZE)
  103. #define CFG_MEMTEST_END CFG_SDRAM_SIZE /* 1 ... SDRAM_SIZE */
  104. #else
  105. #define CFG_MEMTEST_END 0x0400000 /* 1 ... 4 MB in DRAM */
  106. #endif
  107. #define CFG_LOAD_ADDR 0x00100000
  108. #define CFG_HZ 1000 /* decrementer freq: 1 ms ticks */
  109. #define CFG_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 }
  110. /*
  111. * Low Level Configuration Settings
  112. * (address mappings, register initial values, etc.)
  113. * You should know what you are doing if you make changes here.
  114. */
  115. /*----------------------------------------------------------------------
  116. * Internal Memory Mapped Register
  117. */
  118. #define CFG_IMMR 0xFF000000
  119. #define CFG_IMMR_SIZE ((uint)(64 * 1024))
  120. /*-----------------------------------------------------------------------
  121. * Definitions for initial stack pointer and data area (in DPRAM)
  122. */
  123. #define CFG_INIT_RAM_ADDR CFG_IMMR
  124. #define CFG_INIT_RAM_END 0x2F00 /* End of used area in DPRAM */
  125. #define CFG_GBL_DATA_SIZE 64 /* size in bytes reserved for initial data */
  126. #define CFG_GBL_DATA_OFFSET (CFG_INIT_RAM_END - CFG_GBL_DATA_SIZE)
  127. #define CFG_INIT_SP_OFFSET CFG_GBL_DATA_OFFSET
  128. /*-----------------------------------------------------------------------
  129. * Start addresses for the final memory configuration
  130. * (Set up by the startup code)
  131. * Please note that CFG_SDRAM_BASE _must_ start at 0
  132. */
  133. #define CFG_SDRAM_BASE 0x00000000
  134. #ifdef CONFIG_FADS
  135. # define CFG_SDRAM_SIZE 0x00400000 /* 4 meg */
  136. #else /* !CONFIG_FADS */ /* old ADS */
  137. # define CFG_SDRAM_SIZE 0x00000000 /* NO SDRAM */
  138. #endif
  139. #define CFG_FLASH_BASE 0x02800000
  140. #define CFG_FLASH_SIZE ((uint)(8 * 1024 * 1024)) /* max 8Mbyte */
  141. #define CFG_MONITOR_LEN (272 << 10) /* Reserve 272 kB for Monitor */
  142. #define CFG_MONITOR_BASE CFG_FLASH_BASE
  143. #define CFG_MALLOC_LEN (384 << 10) /* Reserve 384 kB for malloc() */
  144. /*
  145. * For booting Linux, the board info and command line data
  146. * have to be in the first 8 MB of memory, since this is
  147. * the maximum mapped by the Linux kernel during initialization.
  148. */
  149. #define CFG_BOOTMAPSZ (8 << 20) /* Initial Memory map for Linux */
  150. /*-----------------------------------------------------------------------
  151. * FLASH organization
  152. */
  153. #define CFG_MAX_FLASH_BANKS 1 /* max number of memory banks */
  154. #define CFG_MAX_FLASH_SECT 16 /* max number of sectors on one chip */
  155. #define CFG_FLASH_ERASE_TOUT 120000 /* Timeout for Flash Erase (in ms) */
  156. #define CFG_FLASH_WRITE_TOUT 500 /* Timeout for Flash Write (in ms) */
  157. #define CFG_ENV_IS_IN_FLASH 1
  158. #define CFG_ENV_OFFSET 0x00040000
  159. #define CFG_ENV_SIZE 0x4000 /* Total Size of Environment Sector */
  160. #define CFG_ENV_SECT_SIZE 0x40000 /* see README - env sector total size */
  161. /*-----------------------------------------------------------------------
  162. * Cache Configuration
  163. */
  164. #define CFG_CACHELINE_SIZE 16 /* For all MPC8xx CPUs */
  165. #if (CONFIG_COMMANDS & CFG_CMD_KGDB)
  166. #define CFG_CACHELINE_SHIFT 4 /* log base 2 of the above value */
  167. #endif
  168. /*-----------------------------------------------------------------------
  169. * SYPCR - System Protection Control 11-9
  170. * SYPCR can only be written once after reset!
  171. *-----------------------------------------------------------------------
  172. * Software & Bus Monitor Timer max, Bus Monitor enable, SW Watchdog freeze
  173. */
  174. #if defined(CONFIG_WATCHDOG)
  175. #define CFG_SYPCR (SYPCR_SWTC | SYPCR_BMT | SYPCR_BME | SYPCR_SWF | \
  176. SYPCR_SWE | SYPCR_SWRI| SYPCR_SWP)
  177. #else
  178. #define CFG_SYPCR (SYPCR_SWTC | SYPCR_BMT | SYPCR_BME | SYPCR_SWF | SYPCR_SWP)
  179. #endif
  180. /*-----------------------------------------------------------------------
  181. * SIUMCR - SIU Module Configuration 11-6
  182. *-----------------------------------------------------------------------
  183. * PCMCIA config., multi-function pin tri-state
  184. */
  185. #define CFG_SIUMCR (SIUMCR_DBGC00 | SIUMCR_DBPC00 | SIUMCR_MLRC01)
  186. /*-----------------------------------------------------------------------
  187. * TBSCR - Time Base Status and Control 11-26
  188. *-----------------------------------------------------------------------
  189. * Clear Reference Interrupt Status, Timebase freezing enabled
  190. */
  191. #define CFG_TBSCR (TBSCR_REFA | TBSCR_REFB | TBSCR_TBE)
  192. /*-----------------------------------------------------------------------
  193. * PISCR - Periodic Interrupt Status and Control 11-31
  194. *-----------------------------------------------------------------------
  195. * Clear Periodic Interrupt Status, Interrupt Timer freezing enabled
  196. */
  197. #define CFG_PISCR (PISCR_PS | PISCR_PITF)
  198. /*-----------------------------------------------------------------------
  199. * PLPRCR - PLL, Low-Power, and Reset Control Register 15-30
  200. *-----------------------------------------------------------------------
  201. * set the PLL, the low-power modes and the reset control (15-29)
  202. */
  203. #define CFG_PLPRCR (((CFG_8XX_FACT-1) << PLPRCR_MF_SHIFT) | \
  204. PLPRCR_SPLSS | PLPRCR_TEXPS | PLPRCR_TMIST)
  205. /*-----------------------------------------------------------------------
  206. * SCCR - System Clock and reset Control Register 15-27
  207. *-----------------------------------------------------------------------
  208. * Set clock output, timebase and RTC source and divider,
  209. * power management and some other internal clocks
  210. */
  211. #define SCCR_MASK SCCR_EBDF11
  212. #define CFG_SCCR (SCCR_TBS|SCCR_COM00|SCCR_DFSYNC00|SCCR_DFBRG00|SCCR_DFNL000|SCCR_DFNH000|SCCR_DFLCD000|SCCR_DFALCD00)
  213. /*-----------------------------------------------------------------------
  214. *
  215. *-----------------------------------------------------------------------
  216. *
  217. */
  218. #define CFG_DER 0
  219. /* Because of the way the 860 starts up and assigns CS0 the
  220. * entire address space, we have to set the memory controller
  221. * differently. Normally, you write the option register
  222. * first, and then enable the chip select by writing the
  223. * base register. For CS0, you must write the base register
  224. * first, followed by the option register.
  225. */
  226. /*
  227. * Init Memory Controller:
  228. *
  229. * BR0/1 and OR0/1 (FLASH)
  230. */
  231. /* the other CS:s are determined by looking at parameters in BCSRx */
  232. #define BCSR_ADDR ((uint) 0xFF010000)
  233. #define BCSR_SIZE ((uint)(64 * 1024))
  234. #define CFG_REMAP_OR_AM 0x80000000 /* OR addr mask */
  235. #define CFG_PRELIM_OR_AM 0xFF800000 /* OR addr mask */
  236. /* FLASH timing: ACS = 10, TRLX = 1, CSNT = 1, SCY = 3, EHTR = 0 */
  237. #define CFG_OR_TIMING_FLASH (OR_CSNT_SAM | OR_ACS_DIV4 | OR_BI | OR_SCY_3_CLK | OR_TRLX)
  238. #define CFG_OR0_REMAP (CFG_REMAP_OR_AM | CFG_OR_TIMING_FLASH)
  239. #ifdef USE_REAL_FLASH_VALUES
  240. /*
  241. * These values fit our FADS860T ...
  242. * The "default" behaviour with 1Mbyte initial doesn't work for us!
  243. */
  244. #define CFG_OR0_PRELIM 0x0FFC00D34 /* Real values for the board */
  245. #define CFG_BR0_PRELIM 0x02800001 /* Real values for the board */
  246. #else
  247. #define CFG_OR0_PRELIM (CFG_PRELIM_OR_AM | CFG_OR_TIMING_FLASH) /* 8 Mbyte until detected */
  248. #define CFG_BR0_PRELIM ((CFG_FLASH_BASE & BR_BA_MSK) | BR_V )
  249. #endif
  250. /* BCSRx - Board Control and Status Registers */
  251. #define CFG_OR1_REMAP CFG_OR0_REMAP
  252. #define CFG_OR1_PRELIM 0xffff8110 /* 64Kbyte address space */
  253. #define CFG_BR1_PRELIM ((BCSR_ADDR) | BR_V )
  254. /*
  255. * Internal Definitions
  256. *
  257. * Boot Flags
  258. */
  259. #define BOOTFLAG_COLD 0x01 /* Normal Power-On: Boot from FLASH */
  260. #define BOOTFLAG_WARM 0x02 /* Software reboot */
  261. /* values according to the manual */
  262. #define PCMCIA_MEM_ADDR ((uint)0xff020000)
  263. #define PCMCIA_MEM_SIZE ((uint)(64 * 1024))
  264. #define BCSR0 ((uint) (BCSR_ADDR + 00))
  265. #define BCSR1 ((uint) (BCSR_ADDR + 0x04))
  266. #define BCSR2 ((uint) (BCSR_ADDR + 0x08))
  267. #define BCSR3 ((uint) (BCSR_ADDR + 0x0c))
  268. #define BCSR4 ((uint) (BCSR_ADDR + 0x10))
  269. /* FADS bitvalues by Helmut Buchsbaum
  270. * see MPC8xxADS User's Manual for a proper description
  271. * of the following structures
  272. */
  273. #define BCSR0_ERB ((uint)0x80000000)
  274. #define BCSR0_IP ((uint)0x40000000)
  275. #define BCSR0_BDIS ((uint)0x10000000)
  276. #define BCSR0_BPS_MASK ((uint)0x0C000000)
  277. #define BCSR0_ISB_MASK ((uint)0x01800000)
  278. #define BCSR0_DBGC_MASK ((uint)0x00600000)
  279. #define BCSR0_DBPC_MASK ((uint)0x00180000)
  280. #define BCSR0_EBDF_MASK ((uint)0x00060000)
  281. #define BCSR1_FLASH_EN ((uint)0x80000000)
  282. #define BCSR1_DRAM_EN ((uint)0x40000000)
  283. #define BCSR1_ETHEN ((uint)0x20000000)
  284. #define BCSR1_IRDEN ((uint)0x10000000)
  285. #define BCSR1_FLASH_CFG_EN ((uint)0x08000000)
  286. #define BCSR1_CNT_REG_EN_PROTECT ((uint)0x04000000)
  287. #define BCSR1_BCSR_EN ((uint)0x02000000)
  288. #define BCSR1_RS232EN_1 ((uint)0x01000000)
  289. #define BCSR1_PCCEN ((uint)0x00800000)
  290. #define BCSR1_PCCVCC0 ((uint)0x00400000)
  291. #define BCSR1_PCCVPP_MASK ((uint)0x00300000)
  292. #define BCSR1_DRAM_HALF_WORD ((uint)0x00080000)
  293. #define BCSR1_RS232EN_2 ((uint)0x00040000)
  294. #define BCSR1_SDRAM_EN ((uint)0x00020000)
  295. #define BCSR1_PCCVCC1 ((uint)0x00010000)
  296. #define BCSR2_FLASH_PD_MASK ((uint)0xF0000000)
  297. #define BCSR2_DRAM_PD_MASK ((uint)0x07800000)
  298. #define BCSR2_DRAM_PD_SHIFT (23)
  299. #define BCSR2_EXTTOLI_MASK ((uint)0x00780000)
  300. #define BCSR2_DBREVNR_MASK ((uint)0x00030000)
  301. #define BCSR3_DBID_MASK ((ushort)0x3800)
  302. #define BCSR3_CNT_REG_EN_PROTECT ((ushort)0x0400)
  303. #define BCSR3_BREVNR0 ((ushort)0x0080)
  304. #define BCSR3_FLASH_PD_MASK ((ushort)0x0070)
  305. #define BCSR3_BREVN1 ((ushort)0x0008)
  306. #define BCSR3_BREVN2_MASK ((ushort)0x0003)
  307. #define BCSR4_ETHLOOP ((uint)0x80000000)
  308. #define BCSR4_TFPLDL ((uint)0x40000000)
  309. #define BCSR4_TPSQEL ((uint)0x20000000)
  310. #define BCSR4_SIGNAL_LAMP ((uint)0x10000000)
  311. #ifdef CONFIG_MPC823
  312. #define BCSR4_USB_EN ((uint)0x08000000)
  313. #endif /* CONFIG_MPC823 */
  314. #ifdef CONFIG_MPC860SAR
  315. #define BCSR4_UTOPIA_EN ((uint)0x08000000)
  316. #endif /* CONFIG_MPC860SAR */
  317. #ifdef CONFIG_MPC860T
  318. #define BCSR4_FETH_EN ((uint)0x08000000)
  319. #endif /* CONFIG_MPC860T */
  320. #ifdef CONFIG_MPC823
  321. #define BCSR4_USB_SPEED ((uint)0x04000000)
  322. #endif /* CONFIG_MPC823 */
  323. #ifdef CONFIG_MPC860T
  324. #define BCSR4_FETHCFG0 ((uint)0x04000000)
  325. #endif /* CONFIG_MPC860T */
  326. #ifdef CONFIG_MPC823
  327. #define BCSR4_VCCO ((uint)0x02000000)
  328. #endif /* CONFIG_MPC823 */
  329. #ifdef CONFIG_MPC860T
  330. #define BCSR4_FETHFDE ((uint)0x02000000)
  331. #endif /* CONFIG_MPC860T */
  332. #ifdef CONFIG_MPC823
  333. #define BCSR4_VIDEO_ON ((uint)0x00800000)
  334. #endif /* CONFIG_MPC823 */
  335. #ifdef CONFIG_MPC823
  336. #define BCSR4_VDO_EKT_CLK_EN ((uint)0x00400000)
  337. #endif /* CONFIG_MPC823 */
  338. #ifdef CONFIG_MPC860T
  339. #define BCSR4_FETHCFG1 ((uint)0x00400000)
  340. #endif /* CONFIG_MPC860T */
  341. #ifdef CONFIG_MPC823
  342. #define BCSR4_VIDEO_RST ((uint)0x00200000)
  343. #endif /* CONFIG_MPC823 */
  344. #ifdef CONFIG_MPC860T
  345. #define BCSR4_FETHRST ((uint)0x00200000)
  346. #endif /* CONFIG_MPC860T */
  347. #ifdef CONFIG_MPC823
  348. #define BCSR4_MODEM_EN ((uint)0x00100000)
  349. #endif /* CONFIG_MPC823 */
  350. #ifdef CONFIG_MPC823
  351. #define BCSR4_DATA_VOICE ((uint)0x00080000)
  352. #endif /* CONFIG_MPC823 */
  353. #ifdef CONFIG_MPC850
  354. #define BCSR4_DATA_VOICE ((uint)0x00080000)
  355. #endif /* CONFIG_MPC850 */
  356. #define CONFIG_DRAM_50MHZ 1
  357. #define CONFIG_SDRAM_50MHZ 1
  358. #ifdef CONFIG_MPC860T
  359. /* Interrupt level assignments.
  360. */
  361. #define FEC_INTERRUPT SIU_LEVEL1 /* FEC interrupt */
  362. #endif /* CONFIG_MPC860T */
  363. /* We don't use the 8259.
  364. */
  365. #define NR_8259_INTS 0
  366. /* Machine type
  367. */
  368. #define _MACH_8xx (_MACH_fads)
  369. #define CONFIG_DISK_SPINUP_TIME 1000000
  370. /* PCMCIA configuration */
  371. #define PCMCIA_MAX_SLOTS 2
  372. #ifdef CONFIG_MPC860
  373. #define PCMCIA_SLOT_A 1
  374. #endif
  375. /*#define CFG_PCMCIA_MEM_SIZE ( 64 << 20) */
  376. #define CFG_PCMCIA_MEM_ADDR (0x50000000)
  377. #define CFG_PCMCIA_MEM_SIZE ( 64 << 20 )
  378. #define CFG_PCMCIA_DMA_ADDR (0x54000000)
  379. #define CFG_PCMCIA_DMA_SIZE ( 64 << 20 )
  380. #define CFG_PCMCIA_ATTRB_ADDR (0x58000000)
  381. #define CFG_PCMCIA_ATTRB_SIZE ( 64 << 20 )
  382. #define CFG_PCMCIA_IO_ADDR (0x5C000000)
  383. #define CFG_PCMCIA_IO_SIZE ( 64 << 20 )
  384. /* we have 8 windows, we take everything up to 60000000 */
  385. #define CFG_ATA_IDE0_OFFSET 0x0000
  386. #define CFG_ATA_BASE_ADDR CFG_PCMCIA_MEM_ADDR
  387. /* Offset for data I/O */
  388. #define CFG_ATA_DATA_OFFSET (CFG_PCMCIA_MEM_SIZE + 0x320)
  389. /* Offset for normal register accesses */
  390. #define CFG_ATA_REG_OFFSET (2 * CFG_PCMCIA_MEM_SIZE + 0x320)
  391. /* Offset for alternate registers */
  392. #define CFG_ATA_ALT_OFFSET 0x0000
  393. /*#define CFG_ATA_ALT_OFFSET 0x0100 */
  394. #endif /* __CONFIG_H */