2007-11-24 17:39:31 +00:00
|
|
|
|
|
|
|
U-Boot MARUBUN MR-SHPC-01 PCMCIA controller driver
|
|
|
|
Last update 21/11/2007 by Nobuhiro Iwamatsu
|
2007-12-27 00:52:50 +00:00
|
|
|
|
2007-11-24 17:39:31 +00:00
|
|
|
========================================================================================
|
|
|
|
|
2007-12-27 00:52:50 +00:00
|
|
|
0. What's this?
|
2007-11-24 17:39:31 +00:00
|
|
|
This driver supports MARUBUN MR-SHPC-01.
|
|
|
|
url: http://www.marubun.co.jp/product/semicon/devices/qgc18e0000002n2z.html
|
|
|
|
(Sorry Japanese only.)
|
|
|
|
|
2007-12-27 00:52:50 +00:00
|
|
|
This chip is used with SuperH well, and adopted by the
|
|
|
|
reference board.
|
2007-11-24 17:39:31 +00:00
|
|
|
ex. * MS7750SE01
|
|
|
|
* MS7722SE01
|
2007-12-27 00:52:50 +00:00
|
|
|
* other
|
|
|
|
|
2007-11-24 17:39:31 +00:00
|
|
|
This chip doesn't support CardBus.
|
|
|
|
|
2007-12-27 00:52:50 +00:00
|
|
|
1. base source code
|
2007-11-24 17:39:31 +00:00
|
|
|
The code is based on sources from the Linux kernel
|
2008-05-20 14:00:29 +00:00
|
|
|
( arch/sh/kernel/cf-enabler.c ).
|
2007-11-24 17:39:31 +00:00
|
|
|
|
2007-12-27 00:52:50 +00:00
|
|
|
2. How to use
|
2007-11-24 17:39:31 +00:00
|
|
|
The options you have to specify in the config file are (with the
|
|
|
|
value for my board as an example):
|
|
|
|
|
|
|
|
* CONFIG_MARUBUN_PCCARD
|
|
|
|
If you want to use this device driver, should define CONFIG_MARUBUN_PCCARD.
|
2008-05-20 14:00:29 +00:00
|
|
|
ex. #define CONFIG_MARUBUN_PCCARD
|
2007-12-27 00:52:50 +00:00
|
|
|
|
2007-11-24 17:39:31 +00:00
|
|
|
* CONFIG_PCMCIA_SLOT_A
|
2008-05-20 14:00:29 +00:00
|
|
|
Most devices have only one slot. You should define CONFIG_PCMCIA_SLOT_A .
|
2007-11-24 17:39:31 +00:00
|
|
|
ex. #define CONFIG_PCMCIA_SLOT_A 1
|
|
|
|
|
2008-10-16 13:01:15 +00:00
|
|
|
* CONFIG_SYS_MARUBUN_MRSHPC
|
2016-05-04 08:47:31 +00:00
|
|
|
This is MR-SHPC-01 PCMCIA controller base address.
|
2007-12-27 00:52:50 +00:00
|
|
|
You should do the setting matched to your environment.
|
2008-10-16 13:01:15 +00:00
|
|
|
ex. #define CONFIG_SYS_MARUBUN_MRSHPC 0xb03fffe0
|
2007-11-24 17:39:31 +00:00
|
|
|
( for MS7722SE01 environment )
|
|
|
|
|
2008-10-16 13:01:15 +00:00
|
|
|
* CONFIG_SYS_MARUBUN_MW1
|
2007-11-24 17:39:31 +00:00
|
|
|
This is MR-SHPC-01 memory window base address.
|
2007-12-27 00:52:50 +00:00
|
|
|
You should do the setting matched to your environment.
|
2008-10-16 13:01:15 +00:00
|
|
|
ex. #define CONFIG_SYS_MARUBUN_MW1 0xb0400000
|
2007-11-24 17:39:31 +00:00
|
|
|
( for MS7722SE01 environment )
|
2007-12-27 00:52:50 +00:00
|
|
|
|
2008-10-16 13:01:15 +00:00
|
|
|
* CONFIG_SYS_MARUBUN_MW1
|
2007-11-24 17:39:31 +00:00
|
|
|
This is MR-SHPC-01 attribute window base address.
|
2007-12-27 00:52:50 +00:00
|
|
|
You should do the setting matched to your environment.
|
2008-10-16 13:01:15 +00:00
|
|
|
ex. #define CONFIG_SYS_MARUBUN_MW2 0xb0500000
|
2007-11-24 17:39:31 +00:00
|
|
|
( for MS7722SE01 environment )
|
2007-12-27 00:52:50 +00:00
|
|
|
|
2008-10-16 13:01:15 +00:00
|
|
|
* CONFIG_SYS_MARUBUN_MW1
|
2007-11-24 17:39:31 +00:00
|
|
|
This is MR-SHPC-01 I/O window base address.
|
2007-12-27 00:52:50 +00:00
|
|
|
You should do the setting matched to your environment.
|
2008-10-16 13:01:15 +00:00
|
|
|
ex. #define CONFIG_SYS_MARUBUN_IO 0xb0600000
|
2007-11-24 17:39:31 +00:00
|
|
|
( for MS7722SE01 environment )
|
|
|
|
|
|
|
|
3. Other
|
|
|
|
* Check Compact Flash only.
|
|
|
|
* Maybe, NE2000 compatible NIC is sure to move.
|
|
|
|
|
|
|
|
Copyright (c) 2007
|
|
|
|
Nobuhiro Iwamatsu <iwamatsu@nigaur.org>
|