• C
    aspeed/smc: Inject errors in DMA checksum · 5258c2a6
    Cédric Le Goater 提交于
    Emulate read errors in the DMA Checksum Register for high frequencies
    and optimistic settings of the Read Timing Compensation Register. This
    will help in tuning the SPI timing calibration algorithm. Errors are
    only injected when the property "inject_failure" is set to true as
    suggested by Philippe.
    
    The values below are those to expect from the first flash device of
    the FMC controller of a palmetto-bmc machine.
    
    Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
    Signed-off-by: NCédric Le Goater <clg@kaod.org>
    Reviewed-by: NJoel Stanley <joel@jms.id.au>
    Message-id: 20190904070506.1052-8-clg@kaod.org
    Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
    5258c2a6
aspeed_smc.h 3.1 KB