]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: gadget: f_sdp: Add missing spl_board_prepare_for_boot() call
authorMarek Vasut <marex@denx.de>
Tue, 7 Mar 2023 07:42:33 +0000 (08:42 +0100)
committerMarek Vasut <marex@denx.de>
Mon, 3 Apr 2023 22:34:42 +0000 (00:34 +0200)
commit7f2347088529693ee13b4ab7e7a27f5a1f617c1f
tree74690f364f8d85fbd3e3a2134cf221ada5bf3182
parent063359444c251163cf0e4159355bc545b486d01d
usb: gadget: f_sdp: Add missing spl_board_prepare_for_boot() call

The spl_board_prepare_for_boot() should be called before jump_to_image_no_args()
to perform board-specific deinitialization before jumping to the next stage.
This board-specific deinitialization can be very much anything, e.g. disable
dcache in case it was enabled, or such.

Add the missing spl_board_prepare_for_boot() call into f_sdp .

Signed-off-by: Marek Vasut <marex@denx.de>
drivers/usb/gadget/f_sdp.c