blob: 0a363b2ada2c4fff6a000b33a224064dcb389521 [file] [log] [blame]
Nobuhiro Iwamatsu770395e2007-11-25 02:39:31 +09001
2U-Boot MARUBUN MR-SHPC-01 PCMCIA controller driver
3 Last update 21/11/2007 by Nobuhiro Iwamatsu
Wolfgang Denk0a5c2142007-12-27 01:52:50 +01004
Nobuhiro Iwamatsu770395e2007-11-25 02:39:31 +09005========================================================================================
6
Wolfgang Denk0a5c2142007-12-27 01:52:50 +010070. What's this?
Nobuhiro Iwamatsu770395e2007-11-25 02:39:31 +09008 This driver supports MARUBUN MR-SHPC-01.
9 url: http://www.marubun.co.jp/product/semicon/devices/qgc18e0000002n2z.html
10 (Sorry Japanese only.)
11
Wolfgang Denk0a5c2142007-12-27 01:52:50 +010012 This chip is used with SuperH well, and adopted by the
13 reference board.
Nobuhiro Iwamatsu770395e2007-11-25 02:39:31 +090014 ex. * MS7750SE01
15 * MS7722SE01
Wolfgang Denk0a5c2142007-12-27 01:52:50 +010016 * other
17
Nobuhiro Iwamatsu770395e2007-11-25 02:39:31 +090018 This chip doesn't support CardBus.
19
Wolfgang Denk0a5c2142007-12-27 01:52:50 +0100201. base source code
Nobuhiro Iwamatsu770395e2007-11-25 02:39:31 +090021 The code is based on sources from the Linux kernel
Wolfgang Denka1be4762008-05-20 16:00:29 +020022 ( arch/sh/kernel/cf-enabler.c ).
Nobuhiro Iwamatsu770395e2007-11-25 02:39:31 +090023
Wolfgang Denk0a5c2142007-12-27 01:52:50 +0100242. How to use
Nobuhiro Iwamatsu770395e2007-11-25 02:39:31 +090025 The options you have to specify in the config file are (with the
26 value for my board as an example):
27
28 * CONFIG_MARUBUN_PCCARD
29 If you want to use this device driver, should define CONFIG_MARUBUN_PCCARD.
Wolfgang Denka1be4762008-05-20 16:00:29 +020030 ex. #define CONFIG_MARUBUN_PCCARD
Wolfgang Denk0a5c2142007-12-27 01:52:50 +010031
Nobuhiro Iwamatsu770395e2007-11-25 02:39:31 +090032 * CONFIG_PCMCIA_SLOT_A
Wolfgang Denka1be4762008-05-20 16:00:29 +020033 Most devices have only one slot. You should define CONFIG_PCMCIA_SLOT_A .
Nobuhiro Iwamatsu770395e2007-11-25 02:39:31 +090034 ex. #define CONFIG_PCMCIA_SLOT_A 1
35
Jean-Christophe PLAGNIOL-VILLARD03836942008-10-16 15:01:15 +020036 * CONFIG_SYS_MARUBUN_MRSHPC
Robert P. J. Day8c60f922016-05-04 04:47:31 -040037 This is MR-SHPC-01 PCMCIA controller base address.
Wolfgang Denk0a5c2142007-12-27 01:52:50 +010038 You should do the setting matched to your environment.
Jean-Christophe PLAGNIOL-VILLARD03836942008-10-16 15:01:15 +020039 ex. #define CONFIG_SYS_MARUBUN_MRSHPC 0xb03fffe0
Nobuhiro Iwamatsu770395e2007-11-25 02:39:31 +090040 ( for MS7722SE01 environment )
41
Jean-Christophe PLAGNIOL-VILLARD03836942008-10-16 15:01:15 +020042 * CONFIG_SYS_MARUBUN_MW1
Nobuhiro Iwamatsu770395e2007-11-25 02:39:31 +090043 This is MR-SHPC-01 memory window base address.
Wolfgang Denk0a5c2142007-12-27 01:52:50 +010044 You should do the setting matched to your environment.
Jean-Christophe PLAGNIOL-VILLARD03836942008-10-16 15:01:15 +020045 ex. #define CONFIG_SYS_MARUBUN_MW1 0xb0400000
Nobuhiro Iwamatsu770395e2007-11-25 02:39:31 +090046 ( for MS7722SE01 environment )
Wolfgang Denk0a5c2142007-12-27 01:52:50 +010047
Jean-Christophe PLAGNIOL-VILLARD03836942008-10-16 15:01:15 +020048 * CONFIG_SYS_MARUBUN_MW1
Nobuhiro Iwamatsu770395e2007-11-25 02:39:31 +090049 This is MR-SHPC-01 attribute window base address.
Wolfgang Denk0a5c2142007-12-27 01:52:50 +010050 You should do the setting matched to your environment.
Jean-Christophe PLAGNIOL-VILLARD03836942008-10-16 15:01:15 +020051 ex. #define CONFIG_SYS_MARUBUN_MW2 0xb0500000
Nobuhiro Iwamatsu770395e2007-11-25 02:39:31 +090052 ( for MS7722SE01 environment )
Wolfgang Denk0a5c2142007-12-27 01:52:50 +010053
Jean-Christophe PLAGNIOL-VILLARD03836942008-10-16 15:01:15 +020054 * CONFIG_SYS_MARUBUN_MW1
Nobuhiro Iwamatsu770395e2007-11-25 02:39:31 +090055 This is MR-SHPC-01 I/O window base address.
Wolfgang Denk0a5c2142007-12-27 01:52:50 +010056 You should do the setting matched to your environment.
Jean-Christophe PLAGNIOL-VILLARD03836942008-10-16 15:01:15 +020057 ex. #define CONFIG_SYS_MARUBUN_IO 0xb0600000
Nobuhiro Iwamatsu770395e2007-11-25 02:39:31 +090058 ( for MS7722SE01 environment )
59
603. Other
61 * Check Compact Flash only.
62 * Maybe, NE2000 compatible NIC is sure to move.
63
64Copyright (c) 2007
65 Nobuhiro Iwamatsu <iwamatsu@nigaur.org>