Pass screen status and mmc struct from stage1 to 2
This commit is contained in:
@@ -234,12 +234,21 @@ int sdmmc_set_loglevel(int loglevel);
|
||||
* @param controler The controller description to be used; usually SWITCH_EMMC
|
||||
* or SWITCH_MICROSD.
|
||||
* @param allow_voltage_switching True if we should allow voltage switching,
|
||||
* which may not make sense if we're about to chainload to another component,
|
||||
* a la fusee stage1.
|
||||
* which may not make sense if we're about to chainload to another component without
|
||||
* preseving the overall structure.
|
||||
*/
|
||||
int sdmmc_init(struct mmc *mmc, enum sdmmc_controller controller, bool allow_voltage_switching);
|
||||
|
||||
|
||||
/**
|
||||
* Imports a SDMMC driver struct from another program. This mainly intended for stage2,
|
||||
* so that it can reuse stage1's SDMMC struct instance(s).
|
||||
*
|
||||
* @param mmc The SDMMC structure to be imported.
|
||||
*/
|
||||
int sdmmc_import_struct(struct mmc *mmc);
|
||||
|
||||
|
||||
/**
|
||||
* Selects the active MMC partition. Can be used to select
|
||||
* boot partitions for access. Affects all operations going forward.
|
||||
|
||||
Reference in New Issue
Block a user