]>
git.ipfire.org Git - people/ms/u-boot.git/blob - common/spl/spl_bootrom.c
2 * Copyright (C) 2017 Theobroma Systems Design und Consulting GmH
4 * SPDX-License-Identifier: GPL-2.0+
10 __weak
void board_return_to_bootrom(void)
14 static int spl_return_to_bootrom(struct spl_image_info
*spl_image
,
15 struct spl_boot_device
*bootdev
)
18 * If the board implements a way to return to its ROM (with
19 * the expectation that the next stage of will be booted by
20 * the ROM), it will implement board_return_to_bootrom() and
21 * should not return from it.
23 board_return_to_bootrom();
27 SPL_LOAD_IMAGE_METHOD("BOOTROM", 0, BOOT_DEVICE_BOOTROM
, spl_return_to_bootrom
);