From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Thu, 15 May 2014 00:24:35 +0200 Subject: [U-Boot] [PATCH v2] dfu: mmc: Provide support for eMMC boot partition access In-Reply-To: <1399647495-27205-1-git-send-email-l.majewski@samsung.com> References: <1396255729-6573-2-git-send-email-l.majewski@samsung.com> <1399647495-27205-1-git-send-email-l.majewski@samsung.com> Message-ID: <201405150024.35991.marex@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 On Friday, May 09, 2014 at 04:58:15 PM, Lukasz Majewski wrote: > Before this patch it was only possible to access the default eMMC HW > partition. By partition selection I mean the access to eMMC via the > ext_csd[179] register programming. > > It sometimes happens that it is necessary to write to other partitions. > This patch adds extra attribute to "raw" sub type of the dfu_alt_info > environment variable (e.g. boot-mmc.bin raw 0x0 0x200 mmcpart 1;) > > It saves the original boot value and restores it after storing the file. Applied, thanks. Best regards, Marek Vasut