From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Mon, 06 Oct 2014 20:48:07 -0700 Subject: [U-Boot] [RFC PATCH 1/7] Allow checking in multiple partitions for scan_dev_for_boot. In-Reply-To: <1412374123-6787-2-git-send-email-vagrant@debian.org> References: <1412374123-6787-1-git-send-email-vagrant@debian.org> <1412374123-6787-2-git-send-email-vagrant@debian.org> Message-ID: <54336277.90904@nvidia.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 10/03/2014 03:08 PM, Vagrant Cascadian wrote: Some standalone description of this change, and justification for it, should really be present in the commit message. Patch 0/7 doesn't get applied anywhere. > diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h > - "bootpart=1\0" \ > + "boot_partitions=1\0" \ Instead of searching a hard-coded list of partitions, I think it'd be better to have the script automatically determine which partition to boot from based on the partition tables' bootable flag or partition type. I had always intended these scripts to do that, but never got around to doing it. I think the $dev:$part syntax already chooses the first partition marked bootable if you don't specify a partition. Would that work?