diff options
author | Stefan Roese <sr@denx.de> | 2015-07-20 11:20:39 +0200 |
---|---|---|
committer | Luka Perkov <luka.perkov@sartura.hr> | 2015-07-24 09:46:45 +0200 |
commit | 4bfcc54c0bb82a082f02e811712ba60d580fe5a4 (patch) | |
tree | 77cfa0e2e791b0d50f4f13977265b1979b826a7f /include/div64.h | |
parent | 7ddf8cfb0ddc16c49adeee574ae5945c21790e1a (diff) | |
download | u-boot-imx-4bfcc54c0bb82a082f02e811712ba60d580fe5a4.zip u-boot-imx-4bfcc54c0bb82a082f02e811712ba60d580fe5a4.tar.gz u-boot-imx-4bfcc54c0bb82a082f02e811712ba60d580fe5a4.tar.bz2 |
spl: spl_mmc: Add option to boot from a MMC partition with offset
This patch introduces the option to boot from a MMC card parition with
an offset. This can be done by using both defines together:
define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION 1
define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR ((160 << 10) / 512)
The example above loads the main U-Boot at offset 160KiB from the MMC
partition 1.
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Luka Perkov <luka.perkov@sartura.hr>
Cc: Dirk Eibach <eibach@gdsys.de>
Cc: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/div64.h')
0 files changed, 0 insertions, 0 deletions