* [U-Boot-Users] FDC patch
@ 2002-11-05 16:57 Pierre AUBERT
2002-11-10 17:01 ` Wolfgang Denk
0 siblings, 1 reply; 2+ messages in thread
From: Pierre AUBERT @ 2002-11-05 16:57 UTC (permalink / raw)
To: u-boot
Hello,
The attached patch modify the fdcboot source code to support wide
hardware designs
I needed to add some defines because :
- on some boards, the fdc registers aren't contiguous (for example they
can be aligned on a 32 bits boundary).
- the fdc chipset has a 8 bits data bus. Then, it can be connected on
the processor data bus on D0-D7 or D8-D15 or D16-D23 or D24-D31.
- the floppy drive can be on drive other than 0.
- some chipsets need extra initializations.
CFG_ISA_IO_STRIDE : defines the spacing between fdc chipset registers
(default value 1)
CFG_ISA_IO_OFFSET : defines the offset of register from address. It
depends on which part of the data bus is connected to the fdc chipset.
(default value 0)
CFG_FDC_DRIVE_NUMBER : the default drive number (default value 0)
If CFG_ISA_IO_STRIDE CFG_ISA_IO_OFFSET and CFG_FDC_DRIVE_NUMBER are
undefined, they take their default value.
if CFG_FDC_HW_INIT is defined, then the function fdc_hw_init() is called
at the beginning of the fdc setup. The function
fdc_hw_init must be provided by the board source code. It is used to
make hardware dependant initializations.
CHANGELOG:
* Patch by Pierre Aubert , 05 Nov 2002
Hardware relative improvments in fdc booting
Best regards
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fdc.patch
Type: application/octet-stream
Size: 4453 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20021105/9ed24173/attachment.obj
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot-Users] FDC patch
2002-11-05 16:57 [U-Boot-Users] FDC patch Pierre AUBERT
@ 2002-11-10 17:01 ` Wolfgang Denk
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2002-11-10 17:01 UTC (permalink / raw)
To: u-boot
Dear Pierre,
in message <3DC7F897.FA17CA3D@staubli.com> you wrote:
>
> The attached patch modify the fdcboot source code to support wide
> hardware designs
Added. Will show up on CVS in a couple of hours.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
See us @ electronica 2002 in Munich, Nov 12-15, Hall A3, Booth A3.325
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-11-10 17:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-05 16:57 [U-Boot-Users] FDC patch Pierre AUBERT
2002-11-10 17:01 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox