New question here.
I am watching a u-boot file, and it has many functions.
For instance; board_mmc_init(), enet_board_init(), setup_splash_img(), etc.
Most of these functions are not called from within the boardfile. They are called from another place. But I can’t understand where.
Linux kernel files in Linux have a machine structure. There we could have .init_machine = myboard_init. Then myboard_init(void) will call other functions, which in turn will call other functions. I find this style easy to read.
My question is: does u-boot have the equivalent .init_machine? Where can I see where it all starts? Who names all these free features dumped together in the u-boot boardfile?
-Andy
source share