I am developing code that will run on several similar boards that will be connected to the same network.
I would like to set a different IP for each board based on a HW read (GPIOs).
What is the best way to do it in U-boot code?
I try adding this to board_late_init():
But the TFTP is still using the default ipaddr.
(When I check in cmd "printenv ipaddr" - I get the new IP)