rv1126-uboot/drivers
Simon Glass 6cc5f5cc85 UPSTREAM: spi: Avoid using malloc() in a critical function
In general we should avoid calling malloc() and free() repeatedly in
U-Boot lest we turn it into tianocore. In SPL this can make SPI flash
unusable since free() is often a nop and allocation space is limited.

In any case, these seems no need for malloc() since the number of bytes
is very small, perhaps less than 8.

Signed-off-by: Simon Glass <sjg@chromium.org>
Fixes: d13f5b254a (spi: Extend the core to ease integration of SPI
	memory controllers)
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
(cherry picked from commit ca2abb75a086d8b0bdb51689f331ba8f1a146379)
Change-Id: Ia76abf7491780b1984eb81c6c78796bcc0141095
2020-05-21 17:14:01 +08:00
..
adc dm: adc: decoupling regulator from adc uclass 2020-04-21 16:15:22 +08:00
ata
bios_emulator
block dm: blk: fix spi flash uclass different error when use mtd block 2019-10-09 09:13:21 +08:00
bootcount
clk clk: rockchip: rk3036: Add support for vop 2020-05-14 16:42:38 +08:00
core driver: core: add dev_del_prop() api 2020-03-17 08:53:09 +08:00
cpu cpu: rockchip amp: add read_rockchip_image() 2020-01-09 14:31:59 +08:00
crypto Merge branch 'next-dev' into thunder-boot 2020-04-02 09:02:11 +08:00
ddr
demo
dfu
dma
firmware
fpga
gpio
i2c dm: i2c: add alias seq print 2019-09-20 15:54:43 +08:00
input Merge branch 'next-dev' into thunder-boot 2020-04-23 14:13:56 +08:00
irq irq: gicv3: Enables Group 1 interrupts for the current Security state 2020-05-20 09:08:34 +08:00
led
mailbox
memory
misc misc: otp: use buffer to store capability 2020-04-24 10:23:25 +08:00
mmc drivers: mmc: pass the mmc ext_csd to kernel 2020-05-06 22:12:30 +08:00
mtd mtd: mtd_blk: Change to use erasesize_shift for calculating 2020-05-20 08:53:25 +08:00
net UPSTREAM: armv8: ls1043a/ls2080a: check SoC by device ID 2020-01-07 17:24:46 +08:00
nvme
pch
pci
pcmcia
phy Merge branch 'next-dev' into thunder-boot 2020-04-16 15:48:00 +08:00
pinctrl pinctrl: rockchip: rv1126 add mux_route_type flag 2020-04-14 08:39:16 +08:00
power Merge branch 'thunder-boot' into next-dev 2020-05-12 10:37:37 +08:00
pwm
qe
ram ram: ramdisk_ro: add u-boot device definition 2020-04-26 15:14:11 +08:00
remoteproc
reset UPSTREAM: reset: fix reset_get_bulk when phandle error 2020-02-27 17:51:21 +08:00
rkflash rkflash: enable reinit SNOR from snor flash packet 2020-04-23 10:19:50 +08:00
rknand drivers: rknand: zftl: strengthen the parameter judgment for write loader API 2020-04-20 20:04:59 +08:00
rtc
scsi
serial dm: serial: hide and present pinctrl prop in live device tree 2020-03-17 08:53:22 +08:00
soc
sound
spi UPSTREAM: spi: Avoid using malloc() in a critical function 2020-05-21 17:14:01 +08:00
spmi
sysreset dm: sysreset: disable psci sysreset for SPL and TPL 2020-04-22 18:07:21 +08:00
thermal
timer
tpm
usb driver: usb: drop legacy rockchip xhci driver 2020-04-15 15:44:22 +08:00
video drm/rockchip: filter the edid modes accordinig to vop max output resolution 2020-05-13 09:04:23 +08:00
watchdog
Kconfig
Makefile drivers: Makefile: build block drivers if enable CONFIG_SPL_MTD_SUPPORT 2020-04-17 14:39:39 +08:00