I have two boards with ARM processors. Boards are slightly different, on one of the boards there is an i2c power IC (PMIC), and on the other there is not, and also the ethernet chips on this boards has physically different addresses. Now on the board without a PMIC, u-boot hangs at the stage of a probing, and, accordingly, the ethernet IC is also not determined by the address getting from devicetree.
Is it possible to make one u-boot image for both boards?
Of course i can comment i2c part and hardcode addres of ethernet and make 2 images of u-boot, but i want to make one image of u-boot for both boards with "software" determination of addresses and ICs.