[U-Boot-Users] [PATCH] Cleanup cpu/arm920t

llandre r&d2 at dave-tech.it
Mon Aug 9 11:02:28 CEST 2004


Hi guys,

as I've just started to merge the code for Cirrus Logic EDB93xx, I'll follow
these new rules. So I'll introduce the directory cpu/arm920t/ep93xx.


>>>Since the cpu/ directory gets clobbered with peripheral driver code I 
>>>started
>>>cleaning up cpu/arm920t.
>>Thanks for the effort, but I disagree with some parts of the patch.
>>
>>>   - rename cpu/arm920t/usb_ohci.c to drivers/s3c24x0_usb_ohci.c
>>I disagree with  this.  drivers/  is  for  device  drivers  that  are
>>_common_  among  architectures.  It makes absolutely no sense to mode
>>processor  specific  code  like  the  s3c24x0  USB  drivers  to  this
>>directory.
>Accepted. I found some processor  specific driver code in drivers/ (like
>s3c24x0_i2c.c  s3c4510b_eth.c  s3c4510b_eth.h  s3c4510b_uart.c 
>s3c4510b_uart.h) so I thought it becomes "common practice" to put 
>peripheral driver code for uart or ethernet (although it might be 
>processor specific) into drivers/.
>
>...




llandre

DAVE Electronics System House - R&D Department
web:   http://www.dave-tech.it
email: r&d2 at dave-tech.it





More information about the U-Boot mailing list