hw/arm/fsl-imx6ul: Instantiate unimplemented pwm and can devices
Recent Linux kernels (post v4.20) crash due to accesses to flexcan and pwm controllers. Instantiate as unimplemented devices to work around the problem. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Message-id: 20200313014551.12554-4-linux@roeck-us.net Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
630e2af0ca
commit
8e0c158524
@ -516,6 +516,20 @@ static void fsl_imx6ul_realize(DeviceState *dev, Error **errp)
|
||||
*/
|
||||
create_unimplemented_device("sdma", FSL_IMX6UL_SDMA_ADDR, 0x4000);
|
||||
|
||||
/*
|
||||
* PWM
|
||||
*/
|
||||
create_unimplemented_device("pwm1", FSL_IMX6UL_PWM1_ADDR, 0x4000);
|
||||
create_unimplemented_device("pwm2", FSL_IMX6UL_PWM2_ADDR, 0x4000);
|
||||
create_unimplemented_device("pwm3", FSL_IMX6UL_PWM3_ADDR, 0x4000);
|
||||
create_unimplemented_device("pwm4", FSL_IMX6UL_PWM4_ADDR, 0x4000);
|
||||
|
||||
/*
|
||||
* CAN
|
||||
*/
|
||||
create_unimplemented_device("can1", FSL_IMX6UL_CAN1_ADDR, 0x4000);
|
||||
create_unimplemented_device("can2", FSL_IMX6UL_CAN2_ADDR, 0x4000);
|
||||
|
||||
/*
|
||||
* APHB_DMA
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user