* 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