summaryrefslogtreecommitdiff
path: root/include/amlogic/aml_v2_burning.h (plain)
blob: 1ecdad65b016ef650d600492673b051a5d744c5a
1/*
2 * \file aml_v2_burning.h
3 * \brief common interfaces for version burning
4 *
5 * \version 1.0.0
6 * \date 09/15/2013
7 * \author Sam.Wu <yihui.wu@amlgic.com>
8 *
9 * Copyright (c) 2013 Amlogic. All Rights Reserved.
10 *
11 */
12
13//is the uboot loaded from usb otg
14int is_tpl_loaded_from_usb(void);
15
16//is the uboot loaded from sdcard mmc 0
17//note only sdmmc supported by romcode when external device boot
18int is_tpl_loaded_from_ext_sdmmc(void);
19
20//Check if uboot loaded from external sdmmc or usb otg
21int aml_burn_check_uboot_loaded_for_burn(int flag);
22
23int aml_burn_factory_producing(int flag, bd_t* bis);
24
25//usb producing mode, if tpl loaded from usb pc tool and auto enter producing mode
26int aml_try_factory_usb_burning(int flag, bd_t* bis);
27
28//Auto enter sdcard burning if booted from sdcard and aml_sdc_burn.ini existed
29int aml_try_factory_sdcard_burning(int flag, bd_t* bis);
30
31
32