From: Wolfgang Denk Date: Sun, 02 Sep 2012 14:40:19 +0200 Subject: [U-Boot] [V2] disk/partition: Fix the depend for all the partitions file In-Reply-To: <1345075118-3131-1-git-send-email-bocui107@gmail.com> References: <1345075118-3131-1-git-send-email-bocui107@gmail.com> Message-ID: <20120902124019.94BC5203B2F@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Zhong Hongbo, In message <1345075118-3131-1-git-send-email-bocui107@gmail.com> you wrote: > From: Zhong Hongbo > > all the patitions should depend CONFIG_PARTITIONS, no the > CONFIG_CMD_$(device). The device symbol may be SATA, SCSI, > USB, MMC, SYSTEMACE. Or else when the filesystem command be > enabled, But board's configure file can not include any > CONFIG_CMD_$(device), The u-boot will fail build. For example: > CONFIG_CMD_EXT2 is defined in smdk6400.h, but the boards can > not define any disk device. The error information of build as > following: > > common/cmd_ext2.c:191: undefined reference to `get_partition_info' > fs/ext2/libext2fs.o: In function `ext2fs_set_blk_dev': > fs/ext2/dev.c:44: undefined reference to `get_partition_info' > > Signed-off-by: Zhong Hongbo Can you PLEASE make sure to have the string "PATCH" included with all patches you are posting? As is, your submissions get both lost to patchwork and to the respective maintainer's attention. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Chapter 1 -- The story so far: In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move.