]> git.baikalelectronics.ru Git - uboot.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)
commit6534415091b9b5a97f7480c2e98ee1e3b0affc65
tree74690f364f8d85fbd3e3a2134cf221ada5bf3182
parentab86f05d7c950824e9d9dcd65ac4df37bcaec3b4
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