public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH] Cleanup cpu/arm920t
@ 2004-08-06 16:02 Steven Scholz
  2004-08-06 16:41 ` Wolfgang Denk
  0 siblings, 1 reply; 31+ messages in thread
From: Steven Scholz @ 2004-08-06 16:02 UTC (permalink / raw)
  To: u-boot

Hi there,

Since the cpu/ directory gets clobbered with peripheral driver code I started
cleaning up cpu/arm920t.

Idea is that all SoC that are based on ARM9(20T) should share cpu/arm920t.

* Patch by Steven Scholz, 06 Aug 2004:
   - Cleanup cpu/arm920t directory by moving peripheral driver code out of
     cpu/arm920t/ into drivers/ and creating subdirectories cpu/arm920t/imx
     and cpu/arm920t/s3c24x0 for processor specific code
   - rename cpu/arm920t/usb_ohci.c to drivers/s3c24x0_usb_ohci.c
   - remove cpu/arm920t/usb_ohci.h (duplicate code)
   - rename cpu/mpc5xxx/usb_ohci.h to drivers/usb_ohci.h so everybody can use
     it (maybe we can merge cpu/arm920t/usb_ohci.c and cpu/mpc5xxx/usb_ohci.c
     someday)

Since the patch is quite big I'll send it to Wolfgang directly. If it gets
applied I'd like to do the same with cpu/at91rm9200. That is moving code for
serial and ethernet into drivers/ and the rest into arm920t/ and arm920t/at91rm9200.

The patch does not break the build process for ARM9. I tested "./MAKEALL ARM9"

Thanks for comments.

-- 
Steven Scholz

^ permalink raw reply	[flat|nested] 31+ messages in thread
* [U-Boot-Users] [PATCH] Cleanup cpu/arm920t
@ 2004-08-10  6:31 Mészáros Lajos
  0 siblings, 0 replies; 31+ messages in thread
From: Mészáros Lajos @ 2004-08-10  6:31 UTC (permalink / raw)
  To: u-boot


> -----Eredeti ?zenet-----
> Felad?: Steven Scholz [mailto:steven.scholz at imc-berlin.de]
> K?ldve: Tuesday, August 10, 2004 8:13 AM
> C?mzett: Wolfgang Denk
> M?solatot kap: u-boot-users
> T?rgy: Re: [U-Boot-Users] [PATCH] Cleanup cpu/arm920t
> 
> 
> Wolfgang Denk wrote:
> > In message <6.0.1.1.0.20040809124633.01bf2e50@192.168.2.1> 
> you wrote:
> > 
> >>1) What about the Makefile in cpu/arm920t? Is it sufficient 
> to change OBJS 
> >>like this?
> >>
> >>OBJS    = cpu.o \
> >>           imx_generic.o imx_interrupts.o imx_speed.o \
> >>           interrupts.o \
> >>           s3c24x0_interrupts.o s3c24x0_serial.o s3c24x0_speed.o \
> >>           usb_ohci.o \
> >>           ep93xx/ep93xx_interrupts.o \
> >>           ep93xx/ep93xx_net.o \
> >>           ep93xx/ep93xx_serial.o \
> >>           ep93xx/ep93xx_speed.o
> > 
> > 
> > No. Imagine what the Makefile would look like if we had 50  
> different
> > systems with 5...10 files and drivers each.
> 
> Ehm.
> So you want a seperate Makefile in each subdir?

I think YES.

> Any hints how this could be done?

Isn't the kernel source tree the same?
Every Makefile calls SUBMAKE for the subdirectories.
The SUBMAKE in the subdir 
    - does nothing
    - or does his work

> 
> Thanks!
> 
> --
> Steven
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
> 

^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2004-08-12 14:10 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-06 16:02 [U-Boot-Users] [PATCH] Cleanup cpu/arm920t Steven Scholz
2004-08-06 16:41 ` Wolfgang Denk
2004-08-09  6:49   ` Steven Scholz
2004-08-09  9:02     ` llandre
2004-08-09 20:08       ` Wolfgang Denk
2004-08-09 20:07     ` Wolfgang Denk
2004-08-09 10:50   ` llandre
2004-08-09 20:10     ` Wolfgang Denk
2004-08-10  6:12       ` Steven Scholz
2004-08-10  7:44         ` Wolfgang Denk
2004-08-10  7:50           ` Steven Scholz
2004-08-10  8:24             ` Wolfgang Denk
2004-08-10  9:09               ` Steven Scholz
2004-08-11 10:45                 ` Steven Scholz
2004-08-11 14:23                   ` llandre
2004-08-11 15:02                     ` Wolfgang Denk
2004-08-11 15:53                     ` Steven Scholz
2004-08-11 16:06                       ` Steven Scholz
2004-08-11 17:09                         ` Wolfgang Denk
2004-08-11 16:31                       ` Wolfgang Denk
2004-08-11 16:34                       ` llandre
2004-08-11 17:10                         ` Wolfgang Denk
2004-08-11 17:28                           ` llandre
2004-08-11 18:10                             ` Wolfgang Denk
2004-08-12  7:44                               ` llandre
2004-08-12 11:56                               ` Steven Scholz
2004-08-12 12:54                                 ` Wolfgang Denk
2004-08-12 14:10                                   ` Steven Scholz
2004-08-10  7:34       ` llandre
2004-08-10  8:22         ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2004-08-10  6:31 Mészáros Lajos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox