diff options
author | zhang sanshan <sanshan.zhang@nxp.com> | 2017-05-22 14:08:14 +0800 |
---|---|---|
committer | Chen Guoyin <guoyin.chen@nxp.com> | 2017-07-10 15:08:54 +0800 |
commit | ff92794f05268eac978e9ab3e7d97a651819fe36 (patch) | |
tree | b70c0c03b759d04eb86de4f1b05b09f1f4ea8bd6 /board | |
parent | 1c79796a523255af5d012fa3cbc5400131b3b8b9 (diff) | |
download | u-boot-imx-ff92794f05268eac978e9ab3e7d97a651819fe36.zip u-boot-imx-ff92794f05268eac978e9ab3e7d97a651819fe36.tar.gz u-boot-imx-ff92794f05268eac978e9ab3e7d97a651819fe36.tar.bz2 |
MA-9409-2 fix some issue for android and android things
* Add CONFIG_SYSTEM_RAMDISK_SUPPORT to support system's ramdisk
* Normal boot: cmdline to bypass ramdisk in boot.img,
but use Recovery boot: Use the ramdisk in boot.img
* commandline is larger than 512, system can't bootup sometime for commandline issue.
* support fastboot getvar.
* Support "fastboot erase" command for emmc device.
TODO: uboot community have api to operate flash, we can unify this part
* support "fastboot flash" even on damaged gpt
Change-Id: I080c25d6569d6cab56ff025601cd3b8df21cf3dd
Diffstat (limited to 'board')
-rw-r--r-- | board/technexion/pico-imx6ul/pico-imx6ul.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/board/technexion/pico-imx6ul/pico-imx6ul.c b/board/technexion/pico-imx6ul/pico-imx6ul.c index 9bffd93..ec0d9c0 100644 --- a/board/technexion/pico-imx6ul/pico-imx6ul.c +++ b/board/technexion/pico-imx6ul/pico-imx6ul.c @@ -190,6 +190,16 @@ static struct fsl_esdhc_cfg usdhc_cfg[1] = { {USDHC1_BASE_ADDR}, }; +int board_mmc_get_env_dev(int devno) +{ + return devno; +} + +int mmc_map_to_kernel_blk(int dev_no) +{ + return dev_no; +} + int board_mmc_getcd(struct mmc *mmc) { return 1; |