forked from len0rd/rockbox
Add DeviceData to bootloaders
same vein as bootdata but for devices that need to pass info back to a running firmware Change-Id: I0cdcdc0475804dfbbee415ab487104ae8fc8ac69
This commit is contained in:
parent
c16dbbfd1f
commit
a2cc7546d8
11 changed files with 274 additions and 1 deletions
|
@ -35,6 +35,12 @@
|
|||
|
||||
static bool storage_spinning = false;
|
||||
|
||||
#if defined(HAVE_DEVICEDATA)
|
||||
#include "devicedata.h"
|
||||
struct device_data_t device_data =
|
||||
{.length = DEVICE_DATA_PAYLOAD_SIZE};
|
||||
#endif /* def HAVE_DEVICEDATA */
|
||||
|
||||
int fat_startsector(void)
|
||||
{
|
||||
return 63;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue