ensure sd/emmc get disabled
This commit is contained in:
@@ -1018,6 +1018,8 @@ void launch_l4t(const ini_sec_t *ini_sec, int entry_idx, int is_list, bool t210b
|
|||||||
|
|
||||||
// Done loading bootloaders/firmware.
|
// Done loading bootloaders/firmware.
|
||||||
boot_storage_end();
|
boot_storage_end();
|
||||||
|
sd_end();
|
||||||
|
emmc_end();
|
||||||
|
|
||||||
// We don't need AHB aperture open.
|
// We don't need AHB aperture open.
|
||||||
mc_disable_ahb_redirect();
|
mc_disable_ahb_redirect();
|
||||||
|
|||||||
@@ -209,6 +209,8 @@ static void _launch_payload(char *path, bool update, bool clear_screen)
|
|||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
boot_storage_end();
|
boot_storage_end();
|
||||||
|
sd_end();
|
||||||
|
emmc_end();
|
||||||
|
|
||||||
if (size < 0x30000)
|
if (size < 0x30000)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user