History log of /seL4-camkes-master/projects/projects_libs/libsdhcdrivers/src/plat/imx6/sdio.c
Revision Date Author Comments
# fd921c33 14-Nov-2020 Matthias Buhl <matthias.buhl@hensoldt-cyber.de>

libsdhcdrivers: Unify log messages

The driver used a mixture of deprecated logging
macros and direct calls to printf(). All this was
unified to the ZF_... logging macros.

Signed-off-by: Matthias Buhl <matthias.buhl@hensoldt-cyber.de>


# 1b316843 24-Sep-2020 Slawomir Kwasniak <slawomir.kwasniak@hensoldt-cyber.com>

libsdhcdrivers: Fix `mmc_nth_irq()` function

There was a bug in the `mmc_nth_irq()` i.e. the function would always
return IRQ number only if the given index is 0.

This was caused by calling sdhc_init() from sdio_init() with wrong
parameters i.e. passing pointer the array of irq numbers with an offset
of the initialized device index, and claiming that this array's size
is 1.

Currently entire irq array is exposed via `mmv_nth_irq()`.

Furthermore, there is a mismatch between indexing of SDHC peripherals
and the their enumeration.

To avoid confusion and misconfiguration, the i.MX6 SDHC1 enum element
is now set to 1.


# dcd45f5a 24-Sep-2020 Slawomir Kwasniak <slawomir.kwasniak@hensoldt-cyber.com>

libsdhcdrivers: Expose peripheral's details

Address, size and irq number of the peripheral is now exposed in the
platform specific header file, so that the upper layer can access them.

This is highly important when wrapping this driver to CAmkES component,
since this component must be properly configured.


# d37e47af 07-Oct-2020 Slawomir Kwasniak <slawomir.kwasniak@hensoldt-cyber.com>

libsdhcdrivers: Applying formatting

Files that are going to be changes in the future commits got
formatted.


# 8147869d 04-Jun-2017 Anna Lyons <Anna.Lyons@data61.csiro.au>

Fix licenses