Home
last modified time | relevance | path

Searched hist:"363932 cd" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/memory/
H A Dmtk-smi.c363932cd Thu Aug 03 20:32:26 CDT 2017 Honghui Zhang <honghui.zhang@mediatek.com> memory: mtk-smi: add larbid handle routine

In the commit 3c8f4ad85c4b ("memory/mediatek: add support for mt2701"),
the larb->larbid was added but not initialized.
Mediatek's gen1 smi need this hardware larbid information to get the
register offset which controls whether enable iommu for this larb.
This patch add the initialize routine for larbid.

Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Honghui Zhang <honghui.zhang@mediatek.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
363932cd Thu Aug 03 20:32:26 CDT 2017 Honghui Zhang <honghui.zhang@mediatek.com> memory: mtk-smi: add larbid handle routine

In the commit 3c8f4ad85c4b ("memory/mediatek: add support for mt2701"),
the larb->larbid was added but not initialized.
Mediatek's gen1 smi need this hardware larbid information to get the
register offset which controls whether enable iommu for this larb.
This patch add the initialize routine for larbid.

Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Honghui Zhang <honghui.zhang@mediatek.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>