• Robert Sprowson's avatar
    Fix for spurious IIC access when probing · 02832075
    Robert Sprowson authored
    When HAL_NVMemoryType reports NVMemoryFlag_MaybeIIC the kernel tries to probe a number of common/known addresses on startup, however the result of the probe is stored around line 1346 without a value value for zero page in R2.
    This is sufficiently early on that the default data abort handler (from when probing the ARM's abort model) is still in place so the stores are silently skipped.
    Due to the RAM clear the NVRamBase (and size) are 0, which later on in ValChecksum result in a zero length IIC probe to address &01.
    Now, R2 is initialised.
    
    Version 5.35, 4.79.2.239. Tagged as 'Kernel-5_35-4_79_2_239'
    02832075
i2cutils 61.4 KB