Refactor i.MX7 processor code
authorJean-Christophe Dubois <jcd@tribudubois.net>
Thu, 31 Aug 2023 08:45:17 +0000 (09:45 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 31 Aug 2023 08:45:17 +0000 (09:45 +0100)
commit45b8b34dfacb14503d6f8692fa450f81175328e6
tree61ae44d9539e3077e8a4c525b8740ebfe8fe55ff
parentf6020845e20d1cc033770bbff8c1d92855d2bba5
Refactor i.MX7 processor code

* Add Addr and size definition for all i.MX7 devices in i.MX7 header file.
* Use those newly defined named constants whenever possible.
* Standardize the way we init a familly of unimplemented devices
  - SAI
  - PWM
  - CAN
* Add/rework few comments

Signed-off-by: Jean-Christophe Dubois <jcd@tribudubois.net>
Message-id: 59e195d33e4d486a8d131392acd46633c8c10ed7.1692964892.git.jcd@tribudubois.net
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/fsl-imx7.c
include/hw/arm/fsl-imx7.h