# HG changeset patch # User gthomas # Date 1066857121 0 # Node ID b1c975b962453c903753b7b401156c14e6209d32 # Parent 80fa78c1b0747ea6e6d4e64cdabbf188f06efb02 Add CDL to identify board (string) diff --git a/packages/hal/powerpc/rattler/current/ChangeLog b/packages/hal/powerpc/rattler/current/ChangeLog --- a/packages/hal/powerpc/rattler/current/ChangeLog +++ b/packages/hal/powerpc/rattler/current/ChangeLog @@ -1,3 +1,7 @@ +2003-10-22 Gary Thomas + + * cdl/hal_powerpc_rattler.cdl: Add CDL to identify board model. + 2003-09-21 Gary Thomas * misc/redboot_RAM.ecm: diff --git a/packages/hal/powerpc/rattler/current/cdl/hal_powerpc_rattler.cdl b/packages/hal/powerpc/rattler/current/cdl/hal_powerpc_rattler.cdl --- 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