Skip to content

OTP: Bootrom read of ECC data does not report ECC errors #7

@henrygab

Description

@henrygab

If reading ECC data using guarded reads, a bus fault is generated when a non-correctable ECC error is detected. This is useful for secure boot.

When reading ECC data using the alias (non-guarded), no errors are reported when a non-correctable ECC error is detected. It appears that BRBP is applied to the value (inverted if set), after which the low 16-bits are simply returned. As this is synopsys IP, this does not seem something likely to be fixed.

When reading ECC data (non-guarded) using the bootrom, non-correctable ECC errors that are detectable should report an error. After all ... that function has a return code. If that function is returning success, then the data should be correct.

PR with a non-optimized fix incoming soon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions