
On Mon, Aug 05, 2024 at 07:33:43AM +0200, Francesco Dolcini wrote:
Hello Tom,
On Thu, Aug 01, 2024 at 08:57:37AM +0300, Svyatoslav Ryhel wrote:
Move env stuff into dedicated files in boards (1st stage).
Is there any plan or expectation to move existing boards to text env file? And what about newly added boards?
Long term, we would like to eliminate include/configs/<board.h> and so yes, conversion to plain text environment is needed for that to happen. Is every use case 1:1 supported? No as for example, boards need to move from "distro boot" (which uses tons of cpp macros that we just can't do in plain text env) to "standard boot" and while no functionality is intended to change with that, it's a conversion that requires the developer to check the result and verify it does what's expected in that case (boards that don't use "distro boot" for example can be if not mechanically converted, at least u-boot-initial-env compared before/after and verified to match).