Add support to detect i.MX6q vs i.MX6dl variants
Rewrite the platform detection, use machine and soc_id from /sys/device/soc0 as first attempt, fallback to gfplatdetect and proc_cpuinfo if needed. Soc_id is an array in the platform struct that has to map to the read soc_id to select a platform. Also added pinfunc headers to use macros for PAD-CTL. BCS 746-000417
Showing
- src/imx6dl-pinfunc.h 1088 additions, 0 deletionssrc/imx6dl-pinfunc.h
- src/imx6q-pinfunc.h 1044 additions, 0 deletionssrc/imx6q-pinfunc.h
- src/main.c 21 additions, 5 deletionssrc/main.c
- src/main.h 8 additions, 0 deletionssrc/main.h
- src/platform.c 107 additions, 69 deletionssrc/platform.c
- src/platform.h 1 addition, 0 deletionssrc/platform.h
Loading
Please register or sign in to comment