HOW TO CHANGE DEVICE DRIVER FOR SWITCH

tama
Hi Guys,

I am new to this forum. I have got EM2440III kit from 
http://www.armdesigner.com/EM2440-III.html, this kit is identical to
friendly arm mini2440. I had a look at the schematics and every thing is
same except for the 6 buttons. My board has only got 4 buttons and they are
connected to different interrupt lines.

I am having hard time getting any help from armdesigner. Hence i want to
use friendly arm bsp for mini2440. 

Can anyone please tell me how to change the interrupt mapping or device
driver for the buttons. 

Cheers

Juergen Beisert
Just take a look into arch/arm/mach-s3c2440/mach-mini2440.c how it works
for the Mini2440.

tama
Thanks Juergen for your pointer.

tama
Hi Juergen,

I had a look at arch/arm/mach-s3c2440/mach-mini2440.c file but couldnt find
where there io mapping happens to the buttons.


Also i want to use uboot as second stage bootload. but the default
partition in arch/arm/mach-s3c2440/mach-mini2440.c under mtd_partition
friendly_arm_default_nand_part section is for "supervivi".

In order to use uboot do i just change this to uboot and the size of uboot
binary. 

thanks