public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Where to define CYG_HAL_POWERPC_MPC823?
@ 2000-03-01  8:12 Kenneth Porter
  2000-03-01  9:18 ` Jonathan Larmour
  0 siblings, 1 reply; 3+ messages in thread
From: Kenneth Porter @ 2000-03-01  8:12 UTC (permalink / raw)
  To: eCos Discuss

I don't see anywhere in the Windows config tool where one selects the
PowerPC variant to configure for. Where's the right place to put this?
(My current target is an MPC823FADS.) I'm guessing that I should put it
in Build | Options, under Package "PowerPC architecture", but this
looks like something that should have its own config menu.

Kenneth Porter
Kensington Laboratories, Inc.
mailto:kenneth_porter@kensingtonlabs.com
http://www.kensingtonlabs.com


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

* Re: [ECOS] Where to define CYG_HAL_POWERPC_MPC823?
  2000-03-01  8:12 [ECOS] Where to define CYG_HAL_POWERPC_MPC823? Kenneth Porter
@ 2000-03-01  9:18 ` Jonathan Larmour
  2000-03-02  1:27   ` Jesper Skov
  0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Larmour @ 2000-03-01  9:18 UTC (permalink / raw)
  To: Kenneth Porter; +Cc: eCos Discuss

Kenneth Porter wrote:
> 
> I don't see anywhere in the Windows config tool where one selects the
> PowerPC variant to configure for. Where's the right place to put this?
> (My current target is an MPC823FADS.) I'm guessing that I should put it
> in Build | Options, under Package "PowerPC architecture", but this
> looks like something that should have its own config menu.

It depends on the context, but if something is looking for this, it may be
intended to be CYGPKG_HAL_POWERPC_MPC8xx (defined in hal/powerpc/mpc8xx
these days).

What's the context for needing this?

Jifl
-- 
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault

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

* Re: [ECOS] Where to define CYG_HAL_POWERPC_MPC823?
  2000-03-01  9:18 ` Jonathan Larmour
@ 2000-03-02  1:27   ` Jesper Skov
  0 siblings, 0 replies; 3+ messages in thread
From: Jesper Skov @ 2000-03-02  1:27 UTC (permalink / raw)
  To: Jonathan Larmour; +Cc: Kenneth Porter, eCos Discuss

>>>>> "Jonathan" == Jonathan Larmour <jlarmour@redhat.co.uk> writes:

Jonathan> Kenneth Porter wrote:
>>  I don't see anywhere in the Windows config tool where one selects
>> the PowerPC variant to configure for. Where's the right place to
>> put this?  (My current target is an MPC823FADS.) I'm guessing that
>> I should put it in Build | Options, under Package "PowerPC
>> architecture", but this looks like something that should have its
>> own config menu.

Jonathan> It depends on the context, but if something is looking for
Jonathan> this, it may be intended to be CYGPKG_HAL_POWERPC_MPC8xx
Jonathan> (defined in hal/powerpc/mpc8xx these days).

Something like the below should do the trick.

Jesper


Index: include/pkgconf/hal_powerpc_mpc8xx.h
===================================================================
RCS file: /local/cvsfiles/ecc/ecc/hal/powerpc/mpc8xx/current/include/pkgconf/hal_powerpc_mpc8xx.h,v
retrieving revision 1.3
diff -u -5 -r1.3 hal_powerpc_mpc8xx.h
--- include/pkgconf/hal_powerpc_mpc8xx.h	2000/02/18 15:21:17	1.3
+++ include/pkgconf/hal_powerpc_mpc8xx.h	2000/03/02 08:28:44
@@ -60,10 +60,32 @@
            The MPC8xx architecture HAL package provides generic support
            for this processor architecture. It is also necessary to
            select a specific target platform HAL package."
    }
  
+   cdl_option CYGPKG_HAL_POWERPC_MPC823 {
+       display "MPC823 microprocessor"
+       parent  CYGPKG_HAL_POWERPC_MPC8xx
+       type    radio
+       description "
+           The MPC823 microprocessor. This is an embedded part that in
+           addition to the PowerPC processor core has built in peripherals
+           such as memory controllers, DMA controllers, serial ports and
+           timers/counters."               
+  }
+
+   cdl_option CYGPKG_HAL_POWERPC_MPC850 {
+       display "MPC850 microprocessor"
+       parent  CYGPKG_HAL_POWERPC_MPC8xx
+       type    radio
+       description "
+           The MPC850 microprocessor. This is an embedded part that in
+           addition to the PowerPC processor core has built in peripherals
+           such as memory controllers, DMA controllers, serial ports and
+           timers/counters."               
+  }
+
    cdl_option CYGPKG_HAL_POWERPC_MPC860 {
        display "MPC860 microprocessor"
        parent  CYGPKG_HAL_POWERPC_MPC8xx
        type    radio
        description "
@@ -71,10 +93,11 @@
            addition to the PowerPC processor core has built in peripherals
            such as memory controllers, DMA controllers, serial ports and
            timers/counters."               
   }
 
+
   cdl_component CYGSEM_HAL_POWERPC_MPC860_CPM_ENABLE {
        display       "Enable CPM interrupts"
        parent        CYGPKG_HAL_POWERPC_MPC860
        type          boolean
        description   "
@@ -95,10 +118,12 @@
            should be routed to."
    }
 
  }}CFG_DATA */
 
+#undef  CYGPKG_HAL_POWERPC_MPC823
+#undef  CYGPKG_HAL_POWERPC_MPC850
 #define CYGPKG_HAL_POWERPC_MPC860
 
 // -------------------------------------------------------------------
 // Characterize the CPU so that the generic architecture part can
 // configure itself.

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

end of thread, other threads:[~2000-03-02  1:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-03-01  8:12 [ECOS] Where to define CYG_HAL_POWERPC_MPC823? Kenneth Porter
2000-03-01  9:18 ` Jonathan Larmour
2000-03-02  1:27   ` Jesper Skov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).