mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 00:06:46 +07:00
ARM: imx1: mm: add call to mxc_device_init
mxc_device_init() is mandatory for mxc_aips and mxc_ahb bus registration, needed as parents, at least, for gpio and dma. Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
This commit is contained in:
parent
7c3e48b5a4
commit
9a37ac481a
@ -51,6 +51,8 @@ void __init mx1_init_irq(void)
|
|||||||
|
|
||||||
void __init imx1_soc_init(void)
|
void __init imx1_soc_init(void)
|
||||||
{
|
{
|
||||||
|
mxc_device_init();
|
||||||
|
|
||||||
mxc_register_gpio("imx1-gpio", 0, MX1_GPIO1_BASE_ADDR, SZ_256,
|
mxc_register_gpio("imx1-gpio", 0, MX1_GPIO1_BASE_ADDR, SZ_256,
|
||||||
MX1_GPIO_INT_PORTA, 0);
|
MX1_GPIO_INT_PORTA, 0);
|
||||||
mxc_register_gpio("imx1-gpio", 1, MX1_GPIO2_BASE_ADDR, SZ_256,
|
mxc_register_gpio("imx1-gpio", 1, MX1_GPIO2_BASE_ADDR, SZ_256,
|
||||||
|
Loading…
Reference in New Issue
Block a user