From: Hiroshi Ito Date: Wed, 27 Jan 2010 22:41:49 +0900 (JST) Subject: [U-Boot] [U-Boot-Users] some flow about uboot In-Reply-To: <3a665c761001270127i52ada6dcxb4061afdec3a584e@mail.gmail.com> References: <3a665c761001190228v15898b77g7c7f32d2a774ee6f@mail.gmail.com> <20100119.212824.07637565.ito@mlb.co.jp> <3a665c761001270127i52ada6dcxb4061afdec3a584e@mail.gmail.com> Message-ID: <20100127.224149.85417411.ito@mlb.co.jp> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de >in config_cmd_default.h >#ifndef CONFIG_SYS_NO_FLASH >#define CONFIG_CMD_FLASH /* flinfo, erase, protect */ >#define CONFIG_CMD_IMLS /* List all found images */ >#else > >so in cmd_bootm.c below funciton will not be compiled >#if defined(CONFIG_CMD_IMLS) Please come again after studying C language. >if I remember correctly, #ifdef XYZ and #if defined(XYZ) mean the same >thing, right? right. and, #ifndef XYZ and #if !defined(XYZ) mean the same thing. -------- Hiroshi Ito Media Lab. Inc., URL http://www.mlb.co.jp ( Sorry, Japanese only. ) TEL +81-3-5294-7255 FAX +81-3-5294-7256