public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: ansaris <ansaris@iwavesystems.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] iMX6 - CONFIG_SYS_GENERIC_BOARD macro defined in U-Boot
Date: Tue, 02 Jun 2015 19:12:16 +0530	[thread overview]
Message-ID: <556DB2B8.3090501@iwavesystems.com> (raw)

Hi,

We are using imx6Q SabreSD platform for our development with
"U-Boot-2014.04".  But initially we used "U-Boot-2013.04" version.

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

Please clarify our below doubt.
 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

             reply	other threads:[~2015-06-02 13:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-02 13:42 ansaris [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-06-02 12:56 [U-Boot] iMX6 - CONFIG_SYS_GENERIC_BOARD macro defined in U-Boot ansaris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=556DB2B8.3090501@iwavesystems.com \
    --to=ansaris@iwavesystems.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox