]>
Commit | Line | Data |
---|---|---|
33ecdc2f NI |
1 | |
2 | U-Boot MARUBUN MR-SHPC-01 PCMCIA controller driver | |
3 | Last update 21/11/2007 by Nobuhiro Iwamatsu | |
61fb15c5 | 4 | |
33ecdc2f NI |
5 | ======================================================================================== |
6 | ||
61fb15c5 | 7 | 0. What's this? |
33ecdc2f NI |
8 | This driver supports MARUBUN MR-SHPC-01. |
9 | url: http://www.marubun.co.jp/product/semicon/devices/qgc18e0000002n2z.html | |
10 | (Sorry Japanese only.) | |
11 | ||
61fb15c5 WD |
12 | This chip is used with SuperH well, and adopted by the |
13 | reference board. | |
33ecdc2f NI |
14 | ex. * MS7750SE01 |
15 | * MS7722SE01 | |
61fb15c5 WD |
16 | * other |
17 | ||
33ecdc2f NI |
18 | This chip doesn't support CardBus. |
19 | ||
61fb15c5 | 20 | 1. base source code |
33ecdc2f | 21 | The code is based on sources from the Linux kernel |
53677ef1 | 22 | ( arch/sh/kernel/cf-enabler.c ). |
33ecdc2f | 23 | |
61fb15c5 | 24 | 2. How to use |
33ecdc2f NI |
25 | 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. | |
53677ef1 | 30 | ex. #define CONFIG_MARUBUN_PCCARD |
61fb15c5 | 31 | |
33ecdc2f | 32 | * CONFIG_PCMCIA_SLOT_A |
53677ef1 | 33 | Most devices have only one slot. You should define CONFIG_PCMCIA_SLOT_A . |
33ecdc2f NI |
34 | ex. #define CONFIG_PCMCIA_SLOT_A 1 |
35 | ||
6d0f6bcf | 36 | * CONFIG_SYS_MARUBUN_MRSHPC |
1cc0a9f4 | 37 | This is MR-SHPC-01 PCMCIA controller base address. |
61fb15c5 | 38 | You should do the setting matched to your environment. |
6d0f6bcf | 39 | ex. #define CONFIG_SYS_MARUBUN_MRSHPC 0xb03fffe0 |
33ecdc2f NI |
40 | ( for MS7722SE01 environment ) |
41 | ||
6d0f6bcf | 42 | * CONFIG_SYS_MARUBUN_MW1 |
33ecdc2f | 43 | This is MR-SHPC-01 memory window base address. |
61fb15c5 | 44 | You should do the setting matched to your environment. |
6d0f6bcf | 45 | ex. #define CONFIG_SYS_MARUBUN_MW1 0xb0400000 |
33ecdc2f | 46 | ( for MS7722SE01 environment ) |
61fb15c5 | 47 | |
6d0f6bcf | 48 | * CONFIG_SYS_MARUBUN_MW1 |
33ecdc2f | 49 | This is MR-SHPC-01 attribute window base address. |
61fb15c5 | 50 | You should do the setting matched to your environment. |
6d0f6bcf | 51 | ex. #define CONFIG_SYS_MARUBUN_MW2 0xb0500000 |
33ecdc2f | 52 | ( for MS7722SE01 environment ) |
61fb15c5 | 53 | |
6d0f6bcf | 54 | * CONFIG_SYS_MARUBUN_MW1 |
33ecdc2f | 55 | This is MR-SHPC-01 I/O window base address. |
61fb15c5 | 56 | You should do the setting matched to your environment. |
6d0f6bcf | 57 | ex. #define CONFIG_SYS_MARUBUN_IO 0xb0600000 |
33ecdc2f NI |
58 | ( for MS7722SE01 environment ) |
59 | ||
60 | 3. Other | |
61 | * Check Compact Flash only. | |
62 | * Maybe, NE2000 compatible NIC is sure to move. | |
63 | ||
64 | Copyright (c) 2007 | |
65 | Nobuhiro Iwamatsu <[email protected]> |