iMX6 - CONFIG_SYS_GENERIC_BOARD macro defined in U-Boot

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX6 - CONFIG_SYS_GENERIC_BOARD macro defined in U-Boot

782 Views
Ansari
Contributor IV

Hi,

We are using imx6Q SabreSD platform for our development with Linux3.14.28_1.0.0-GA BSP.

But initially we used Linux 3.10.17_1.0.0-GA BSP.

The Linux3.14.28_1.0.0-GA BSP uses "U-Boot-2014.04" and the Linux 3.10.17_1.0.0-GA BSP uses "U-Boot-2013.04" versions.

We have gone through below file in U-Boot-2014.04 and found that the "CONFIG_SYS_GENERIC_BOARD" macro is defined.

~/u-boot-imx/include/configs/mx6sabre_common.h

Because of the macro "CONFIG_SYS_GENERIC_BOARD" definition, the "board_init_f" and "board_init_r" functions are executed from the below files respectively.

~/u-boot-imx/common/board_f.c

~/u-boot-imx/common/board_r.c

But we have gone through below file in U-Boot-2013.04 and found that the "CONFIG_SYS_GENERIC_BOARD" macro is not defined.

~/u-boot-imx/include/configs/mx6qsabre_common.h

With U-Boot-2013.04, the "board_init_f" and "board_init_r" functions are executed from the below file

~/u-boot-imx/arch/arm/lib/board.c

From U-Boot-2014.04, why the "board_init_f" and "board_init_r" functions are not executed from below file.

~/u-boot-imx/arch/arm/lib/board.c

Please suggest us.

 

Thanks and Regards,

Ansari

0 Kudos
1 Reply

389 Views
igorpadykov
NXP Employee
NXP Employee

Hi Abdul

this was discussed on uboot mailing list, you can post there if necessary

[U-Boot] about CONFIG_SYS_GENERIC_BOARD

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos