dma: Add a Kconfig for legacy DMA
authorSimon Glass <sjg@chromium.org>
Sun, 8 Aug 2021 18:20:19 +0000 (12:20 -0600)
committerTom Rini <trini@konsulko.com>
Sat, 4 Sep 2021 16:26:02 +0000 (12:26 -0400)
commit70edba0784770a54e589058982ac2325d4284e99
treeec2bef59279c40390bea53d77a7e1381981674db
parent807cc640ed238feed61bdc920cec2394c0e6d6de
dma: Add a Kconfig for legacy DMA

We cannot use the existing DMA config for the MCD driver because it is
not migrated to driver model. In order to move it to drivers/Makefile
we need some sort of option for it. Add a new DMA_LEGACY option, which
also acts as a signal that it should be migrated.

Enable this for devkit3250 which uses CONFIG_DMA_LPC32XX which is not
converted to Kconfig.

For now this is not used in the Makefile. That update happens in a
following patch.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/dma/Kconfig