at91_mci: Port to RTEMS and adapt for atsam.

This commit is contained in:
Christian Mauderer
2017-11-07 16:17:55 +01:00
committed by Sebastian Huber
parent ea5880a3cc
commit ec29b2a0c2
6 changed files with 308 additions and 2 deletions

View File

@@ -483,6 +483,10 @@ def mmc(mm):
mod = builder.Module('mmc')
mod.addKernelSpaceHeaderFiles(
[
'sys/arm/at91/at91_mcireg.h',
'sys/arm/at91/at91_pdcreg.h',
'sys/arm/at91/at91reg.h',
'sys/arm/at91/at91var.h',
'sys/dev/mmc/bridge.h',
'sys/dev/mmc/mmcbrvar.h',
'sys/dev/mmc/mmc_ioctl.h',
@@ -490,10 +494,12 @@ def mmc(mm):
'sys/dev/mmc/mmcreg.h',
'sys/dev/mmc/mmc_subr.h',
'sys/dev/mmc/mmcvar.h',
'sys/sys/watchdog.h',
]
)
mod.addKernelSpaceSourceFiles(
[
'sys/arm/at91/at91_mci.c',
'sys/dev/mmc/mmc.c',
'sys/dev/mmc/mmcsd.c',
'sys/dev/mmc/mmc_subr.c',