This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

CDL question about CYGHWR_IO_FLASH_DEVICE


Hello all,

I'm trying to cleanup the ep93xx port that Brian Austin from
Cirrus posted to the Bug Management System on 2009-04-10.

http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000739

I have it almost finished but I am getting a message during
the build that I don't understand.  I think this happens
during one of the ecosconfig steps before the actual make.
The message is:

C CYGHWR_IO_FLASH_DEVICE, "requires" constraint not satisfied:  CYGHWR_IO_FLASH_DEVICE >= 1 

I have checked the ecos.ecc file for CYGHWR_IO_FLASH_DEVICE
and found this:

# >
# Hardware FLASH device drivers
# This calculated option gives the number of flash devices
# on the current platform. The generic flash support requires
# at least one device.
#
cdl_interface CYGHWR_IO_FLASH_DEVICE {
    # Implemented by CYGPKG_DEVS_FLASH_EP93XX_28FXXX, active, disabled
    # Implemented by CYGPKG_DEVS_FLASH_EP93XX_AMD, active, disabled
    # Implemented by CYGPKG_DEVS_FLASH_STRATA, active, enabled
    # Implemented by CYGPKG_DEVS_FLASH_AMD_AM29XXXXX, inactive, enabled
    # Implemented by CYGPKG_DEVS_FLASH_INTEL_28FXXX, inactive, enabled
    # This value cannot be modified here.
    # Flavor: data
    # Current_value: 1
    # Requires:  CYGHWR_IO_FLASH_DEVICE >= 1 
    #     CYGHWR_IO_FLASH_DEVICE == 1
    #   --> 1

    # The following properties are affected by this value
    # interface CYGHWR_IO_FLASH_DEVICE
    #     Requires:  CYGHWR_IO_FLASH_DEVICE >= 1 
    # option CYGSEM_IO_FLASH_VERIFY_PROGRAM
    #     ActiveIf:  CYGHWR_IO_FLASH_INDIRECT_READS < CYGHWR_IO_FLASH_DEVICE 
    # component CYGPKG_REDBOOT_FLASH
    #     ActiveIf: CYGHWR_IO_FLASH_DEVICE
};

It appears that the "requires" constraint should be ok.  Am I
missing something?

Thanks,
Hartley

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]