firmware: get rid of unused "xxx_sleep()" storage driver function

storage_sleepnow() is the one that is actually implemented
by storage drivers. storage_sleep() sends a Q_STORAGE_SLEEP
event to the storage thread, which will normally end up
calling the driver's sleepnow() function.

Change-Id: Ib6523073348431dcc75c0f10ef99060c6960efd8
This commit is contained in:
Aidan MacDonald 2026-01-13 14:44:26 +00:00 committed by Solomon Peachy
parent 41d5ca3c48
commit 04c45933e8
13 changed files with 0 additions and 40 deletions

View file

@ -74,10 +74,6 @@ long ramdisk_last_disk_activity(void)
return last_disk_activity;
}
void ramdisk_sleep(void)
{
}
void ramdisk_spin(void)
{
}

View file

@ -23,10 +23,6 @@
#include "sdmmc.h"
#include "storage.h"
void sd_sleep(void)
{
}
void sd_spin(void)
{
}

View file

@ -132,7 +132,6 @@ struct storage_info;
void ata_enable(bool on);
void ata_spindown(int seconds);
void ata_sleep(void);
void ata_sleepnow(void);
/* NOTE: DO NOT use this to poll for disk activity.
If you are waiting for the disk to become active before

View file

@ -30,7 +30,6 @@ struct storage_info;
void mmc_enable(bool on);
void mmc_spindown(int seconds);
void mmc_sleep(void);
void mmc_sleepnow(void);
bool mmc_disk_is_active(void);
int mmc_soft_reset(void);

View file

@ -30,7 +30,6 @@ struct storage_info;
void nand_enable(bool on);
void nand_spindown(int seconds);
void nand_sleep(void);
void nand_sleepnow(void);
bool nand_disk_is_active(void);
int nand_soft_reset(void);

View file

@ -30,7 +30,6 @@ struct storage_info;
void ramdisk_enable(bool on);
void ramdisk_spindown(int seconds);
void ramdisk_sleep(void);
bool ramdisk_disk_is_active(void);
int ramdisk_soft_reset(void);
int ramdisk_init(void) STORAGE_INIT_ATTR;

View file

@ -36,7 +36,6 @@ struct storage_info;
void sd_enable(bool on);
void sd_spindown(int seconds);
void sd_sleep(void);
void sd_sleepnow(void);
bool sd_disk_is_active(void);
int sd_soft_reset(void);

View file

@ -1010,10 +1010,6 @@ long nand_last_disk_activity(void)
return last_disk_activity;
}
void nand_sleep(void)
{
}
void nand_spin(void)
{
}

View file

@ -1000,10 +1000,6 @@ void mmc_enable(bool on)
(void) on;
}
void mmc_sleepnow(void)
{
}
bool mmc_disk_is_active(void)
{
return false;

View file

@ -56,11 +56,6 @@ void nand_spindown(int seconds)
(void)seconds;
}
void nand_sleep(void)
{
nand_power_down();
}
void nand_sleepnow(void)
{
nand_power_down();

View file

@ -50,10 +50,6 @@ void nand_spindown(int seconds)
(void)seconds;
}
void nand_sleep(void)
{
}
void nand_sleepnow(void)
{
nand_power_down();

View file

@ -695,11 +695,6 @@ void nand_spindown(int seconds)
(void)seconds;
}
void nand_sleep(void)
{
/* null */
}
void nand_spin(void)
{
/* null */

View file

@ -630,11 +630,6 @@ void nand_spindown(int seconds)
(void)seconds;
}
void nand_sleep(void)
{
/* null */
}
void nand_spin(void)
{
/* null */