public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Xiangfu Liu <xiangfu.z@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] some question about mips/board.c?
Date: Tue, 13 Oct 2009 09:35:42 +0800	[thread overview]
Message-ID: <4AD3D96E.4040609@gmail.com> (raw)

Hi

why the line 354 not include by ifndef CONFIG_SYS_NO_FLASH.
I defined CONFIG_SYS_NO_FLASH in my board head file (qi_lb60.h).
this line make compile error.

thanks for help.

in the lib_mips/board.c
--------------
347 #ifndef CONFIG_SYS_NO_FLASH
348         /* configure available FLASH banks */
349         size = flash_init();
350         display_flash_config (size);
351         bd->bi_flashsize = size;
352 #endif
353 
354         bd->bi_flashstart = CONFIG_SYS_FLASH_BASE;


you can find our source code at http://projects.qi-hardware.com/index.php/p/qi-u-boot/
-- 
Xiangfu Liu
Email: xiangfu at qi-hardware dot com
Web: http://www.qi-hardware.com

             reply	other threads:[~2009-10-13  1:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-13  1:35 Xiangfu Liu [this message]
2009-10-15 18:52 ` [U-Boot] some question about mips/board.c? Wolfgang Denk

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=4AD3D96E.4040609@gmail.com \
    --to=xiangfu.z@gmail.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