[U-Boot-Users] MBX pcmcia patch bug fix...

Rod Boyce rod_boyce at stratexnet.com
Wed Nov 20 19:28:48 CET 2002


It would appear that the patch I submitted on the ppcboot mailing list some
time ago to make the PCMCIA hardware work on the MBX board was missing one
critical file.  I discovered this because the u-boot software did not work.
I have discovered the problem and corrected it.  It would seem that the
incorrect slot is being selected.
I had created a define for this but forgot to include this is define in my
patch list.  There are the two files patched the new define is in pcmcia.h
and the defiant being used in cmd_pcmcia.c

 <<cmd_pcmcia.c.patch>>  <<pcmcia.h.patch>> 

Because u-boot is no longer a PowerPC only loader I suspect that this is the
wrong place to add these define.  There is a lot of hardware specific
routines in the PCMCIA general modules that should be shifted out to CPU and
board specific modules.  I haven't thought up a better way to do this yet.
If anybody else is working in this area on U-Boot and wants to compare notes
let me know.

Rod Boyce
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmd_pcmcia.c.patch
Type: application/octet-stream
Size: 593 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20021121/fbbbb44b/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pcmcia.h.patch
Type: application/octet-stream
Size: 1011 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20021121/fbbbb44b/attachment-0001.obj 

More information about the U-Boot mailing list