]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commite2abf311887e8a2a18ef0b0989fab4152b4337fe
tree13fcf38b3bb2d11025a962e1fedb7d0c9c73ebc0
parenta452ac8b101006480d7e71883e5fbdd58ce32a6a
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