| b9a7e756 | 15-Jul-2019 |
Hisping Lin <hisping.lin@rock-chips.com> |
lib: optee_client: change the condition for eMMC devices
1.dev_desc->if_type == IF_TYPE_MMC for SD and eMMC device, dev_desc->devnum == 1 is SD devices, dev_desc->devnum == 0 is eMMC devices 2.S
lib: optee_client: change the condition for eMMC devices
1.dev_desc->if_type == IF_TYPE_MMC for SD and eMMC device, dev_desc->devnum == 1 is SD devices, dev_desc->devnum == 0 is eMMC devices 2.SD devices do not have rpmb 3.we prefer to use rpmb for eMMC devices, use security partition for nand or SD devices
Change-Id: Ifc21bd4da7c3ee91e2ecc845c343182c78d52dc1 Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
show more ...
|
| fb504314 | 17-Jan-2019 |
Quentin Schulz <quentin.schulz@bootlin.com> |
UPSTREAM: cmd: mtd: fix compilation warning for help when SYS_LONGHELP=n
cmd/mtd.c:447:13: warning: ‘mtd_help_text’ defined but not used [-Wunused-variable] static char mtd_help_text[] =
UPSTREAM: cmd: mtd: fix compilation warning for help when SYS_LONGHELP=n
cmd/mtd.c:447:13: warning: ‘mtd_help_text’ defined but not used [-Wunused-variable] static char mtd_help_text[] = ^~~~~~~~~~~~~
When SYS_LONGHELP is not defined. After looking at how other commands work, we should surround the whole help text (even its declaration) with an #ifdef CONFIG_SYS_LONGHELP, since it's compiled out when calling _CMD_HELP[1] on the help text variable argument to U_BOOT_CMD.
[1] https://elixir.bootlin.com/u-boot/latest/source/include/command.h#L181
Change-Id: If84aae3167fd8826e33f717b7debefe32920dd0b Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com> Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit a645831ca0962532660e4db3155a8be85e5ca312)
show more ...
|
| f87151b3 | 29-Sep-2018 |
Miquel Raynal <miquel.raynal@bootlin.com> |
UPSTREAM: cmd: mtd: add 'mtd' command
There should not be a 'nand' command, a 'sf' command and certainly not a new 'spi-nand' command. Write a 'mtd' command instead to manage all MTD devices/partiti
UPSTREAM: cmd: mtd: add 'mtd' command
There should not be a 'nand' command, a 'sf' command and certainly not a new 'spi-nand' command. Write a 'mtd' command instead to manage all MTD devices/partitions at once. This should be the preferred way to access any MTD device.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Acked-by: Jagan Teki <jagan@openedev.com> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com> Change-Id: I68bcf4f0126c3a9d6ae0481dafcfcaab0506bd3f Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit 5db66b3aee6f2c057706d8715f7e5c472e82f047)
show more ...
|