From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 92884E009BB; Tue, 26 May 2015 07:00:59 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, T_FROM_12LTRDOM autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message * 0.0 T_FROM_12LTRDOM From a 12-letter domain Received: from sip2-98.nexcess.net (iwavesystems.com [207.32.180.10]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 32447E0098D for ; Tue, 26 May 2015 07:00:56 -0700 (PDT) Received: (qmail 3097 invoked by uid 108); 26 May 2015 10:00:55 -0400 Received: from unknown (HELO ?192.168.2.104?) (115.119.206.104) by sip2-98.nexcess.net with SMTP; 26 May 2015 10:00:55 -0400 Message-ID: <55647C82.6050104@iwavesystems.com> Date: Tue, 26 May 2015 19:30:34 +0530 From: ansaris User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: "meta-freescale@yoctoproject.org" Subject: iMX6 - CONFIG_SYS_GENERIC_BOARD macro defined in U-Boot X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2015 14:00:59 -0000 Content-Type: multipart/alternative; boundary="------------060303040703060103050807" --------------060303040703060103050807 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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 --------------060303040703060103050807 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit 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
--------------060303040703060103050807--