ARM: imx6: Adapt device tree selection in DH board file
authorPhilip Oberfichtner <pro@denx.de>
Fri, 20 May 2022 08:46:26 +0000 (10:46 +0200)
committerStefano Babic <sbabic@denx.de>
Fri, 20 May 2022 10:36:49 +0000 (12:36 +0200)
commitbd8df1f7ddd055b254bfd4af56b5c454bf4c3f11
tree13fcf38b3bb2d11025a962e1fedb7d0c9c73ebc0
parentc5a46943a2b8374d620257d11bede5f75db03827
ARM: imx6: Adapt device tree selection in DH board file

Before this commit device tree selection could rely solely on
differentiating the iMX6 processor variant Q and DL. After adding two new
carrier boards, the DRC02 and the picoITX, the interchangeability of SoMs
makes this approach infeasible.

It is now required to specify the carrier board (dhcom-drc02,
dhcom-picoitx or dhcom-pdk2) at compile time using
CONFIG_DEFAULT_DEVICETREE. The SoM is determined at runtime as before.

Signed-off-by: Philip Oberfichtner <pro@denx.de>
board/dhelectronics/dh_imx6/dh_imx6.c