• Fabio Utzig's avatar
    Fix mem_read to return correct value of read memory · 390b6321
    Fabio Utzig authored
    MEM_READ was returning the wrong data for the memory
    register being read. This did not impact the software
    because the returned value was not being used. It is
    now fixed to return the correct data.
    Thanks to Marcos Faustino <mrfaustino@pede.com.br> for
    pointing this out!