address lines
M8 (Servaes Joordens)
Servaes.Joordens at m8.nl
Sat Nov 3 09:30:02 EDT 2007
David Woodhouse wrote:
> On Sat, 2007-11-03 at 13:27 +0100, M8 (Servaes Joordens) wrote:
>
>> How do I enable my own driver file based on sbc_gxx.c? I cannot find
>> an configuration option in the kernel by menuconfig.
>>
>
> Copy sbc_gxx.c to create your own driver. Copy the configuration option
> in drivers/mtd/maps/Kconfig too, renaming it appropriately and giving it
> appropriate dependencies. Add an appropriate line in
> drivers/mtd/maps/Makefile, using your new config option and your new
> filename.
>
>
Ok, I did it. Can you tell me the meaning of the calls to ioremap and
request_region?
I used the following defines:
#define WINDOW_START 0x20000000
#define WINDOW_SHIFT 20
I do not know what to do with:
#define PAGE_IO 258
#define DEVICE_ENABLE 0x8000
--
Servaes Joordens
-------------------------------------------
M8
Tappersweg 29
2031ET Haarlem
The Netherlands
Tel: +31 23 5311122
Mob: +31 6 51183379
Fax: +31 23 5322388
VAT-ID: nl-813029090B01
kvk: 34131430 Haarlem
More information about the linux-mtd
mailing list