changeset 1327:b1c975b96245

Add CDL to identify board (string)
author gthomas
date Wed, 22 Oct 2003 21:12:01 +0000
parents 80fa78c1b074
children afd4dd211d3a
files packages/hal/powerpc/rattler/current/ChangeLog packages/hal/powerpc/rattler/current/cdl/hal_powerpc_rattler.cdl
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/packages/hal/powerpc/rattler/current/ChangeLog
+++ b/packages/hal/powerpc/rattler/current/ChangeLog
@@ -1,3 +1,7 @@
+2003-10-22  Gary Thomas  <gary@mlbassoc.com>
+
+	* cdl/hal_powerpc_rattler.cdl: Add CDL to identify board model.
+
 2003-09-21  Gary Thomas  <gary@mlbassoc.com>
 
 	* misc/redboot_RAM.ecm: 
--- a/packages/hal/powerpc/rattler/current/cdl/hal_powerpc_rattler.cdl
+++ b/packages/hal/powerpc/rattler/current/cdl/hal_powerpc_rattler.cdl
@@ -140,6 +140,10 @@ cdl_package CYGPKG_HAL_POWERPC_RATTLER {
         description      "
 	   The Rattler comes in two variants - one with PCI
            and another without."
+        define_proc {
+            puts $::cdl_header "#undef  HAL_PLATFORM_BOARD"
+            puts $::cdl_header "#define HAL_PLATFORM_BOARD  \"Rattler-PCI\""
+        }
     }
 
     # Real-time clock/counter specifics