u-boot/drivers
Jorge Ramirez-Ortiz 2464b229b5 drivers: optee: rpmb: fix returning CID to TEE
The mmc CID value is one of the input parameters used to provision the
RPMB key. The trusted execution environment expects this value to be
specified in big endian format.

Before this fix, on little endian systems, the value returned by the
linux kernel mmc driver differed from the one returned by u-boot.
This meant that if linux provisioned the RPMB key, u-boot would not
have access to the partition (and the other way around).

Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
2019-12-05 10:28:38 -05:00
..
adc adc: stm32: Fix warnings when compiling with W=1 2019-07-12 11:50:55 +02:00
ata common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
axi
bios_emulator bios_emulator: remove stray break 2019-08-09 22:24:02 +08:00
block blk: Make use of CONFIG_HAVE_BLOCK_DEVICE more 2019-12-03 08:43:24 -05:00
board board: gazerbeam: Fix SC detection 2019-05-21 08:03:38 +02:00
bootcount common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
cache dm: cache: add v5l2 cache controller driver 2019-09-03 09:31:03 +08:00
clk clk: mediatek: add driver for MT8518 2019-12-03 08:44:14 -05:00
core regmap: Fix potential memory leaks 2019-12-03 08:44:14 -05:00
cpu Move strtomhz() to vsprintf.h 2019-12-02 18:23:09 -05:00
crypto common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
ddr common: Move some cache and MMU functions out of common.h 2019-12-02 18:23:55 -05:00
demo
dfu dfu: add dependency on the raw NAND core 2019-12-04 17:10:51 -05:00
dma common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
fastboot mtd: rename CONFIG_NAND -> CONFIG_MTD_RAW_NAND 2019-12-03 23:04:10 -05:00
firmware common: Move enable/disable_interrupts out of common.h 2019-12-02 18:25:01 -05:00
fpga common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
gpio gpio: da8xx_gpio: Fix the _gpio_direction_output function 2019-10-30 17:48:47 -04:00
hwspinlock
i2c common: Move some time functions out of common.h 2019-12-02 18:23:11 -05:00
input input: Move input.o to be built only in some cases 2019-11-19 17:43:04 -05:00
led
mailbox common: Move get_ticks() function out of common.h 2019-12-02 18:23:13 -05:00
memory
misc common: Move old EEPROM functions into a new header 2019-12-02 18:25:25 -05:00
mmc mmc: mtk-sd: Adjust the mmc tuning flow 2019-12-03 08:44:14 -05:00
mtd mtd: Makefile: deep cleanup 2019-12-04 17:10:51 -05:00
net net: cpsw: Add NULL pointer check 2019-12-03 08:44:14 -05:00
nvme common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
pch x86: Allow the PCH and LPC uclasses to work with of-platdata 2019-10-08 13:57:48 +08:00
pci drivers: pci: ignore disabled devices 2019-12-05 10:28:38 -05:00
pci_endpoint pci_ep: Fix Coverity warning 2019-08-07 15:31:04 -04:00
phy drivers: phy: Handle gracefully NULL pointers 2019-10-31 07:22:53 -04:00
pinctrl pinctrl: add driver for MT8518 2019-12-03 08:44:14 -05:00
power common: Move get_ticks() function out of common.h 2019-12-02 18:23:13 -05:00
pwm pwm: imx: add DM_PWM support 2019-07-19 20:14:50 +02:00
qe crc32: Use the crc.h header for crc functions 2019-12-02 18:23:08 -05:00
ram rockchip: rk3308: Add sdram driver 2019-11-17 17:22:53 +08:00
remoteproc common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
reset ARC: HSDK: introduce reset driver 2019-11-01 16:45:40 +03:00
rtc common: Move old EEPROM functions into a new header 2019-12-02 18:25:25 -05:00
scsi scsi: Add dma direction member to command structure 2019-10-23 20:47:12 -04:00
serial Fix stdout-path handling 2019-12-03 18:12:04 -05:00
smem
soc soc: ti: k3-navss-ringacc: fix k3_nav_ringacc_ring_reset_dma 2019-09-13 11:56:08 -04:00
sound common: Move get_ticks() function out of common.h 2019-12-02 18:23:13 -05:00
spi common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
spmi
sysreset x86: Move acpi_s3.h to a common location 2019-10-08 13:57:46 +08:00
tee drivers: optee: rpmb: fix returning CID to TEE 2019-12-05 10:28:38 -05:00
thermal thermal: add i.MX8 thermal driver 2019-07-19 15:17:05 +02:00
timer common: Move interrupt functions into a new header 2019-12-02 18:25:00 -05:00
tpm common: Drop linux/crc8.h 2019-12-02 18:23:07 -05:00
ufs ufs: Add glue layer driver for TI J721E devices 2019-10-23 20:47:12 -04:00
usb common: Move command functions out of common.h 2019-12-02 18:25:02 -05:00
video common: Move board_get_usable_ram_top() out of common.h 2019-12-02 18:25:04 -05:00
virtio virtio: pci: use correct type in virtio_pci_bind() 2019-10-31 07:22:53 -04:00
w1
w1-eeprom
watchdog watchdog: imx: Use immediate reset bits for expire_now 2019-11-03 17:04:16 +01:00
Kconfig ufs: Add Initial Support for UFS subsystem 2019-10-23 20:47:12 -04:00
Makefile mtd: Makefile: deep cleanup 2019-12-04 17:10:51 -05:00