2017-01-02 17:37:08 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "common.h"
|
|
|
|
|
2017-01-05 02:50:41 +01:00
|
|
|
#define SAFE_SECTORS 0x000000 + 0x1, SECTOR_SECRET, SECTOR_SECRET + 0x1, \
|
|
|
|
SECTOR_FIRM0, SECTOR_CTR, 0x000000 // last one is a placeholder
|
2017-01-02 17:37:08 +01:00
|
|
|
|
2017-02-17 03:28:53 +01:00
|
|
|
u32 CheckEmbeddedBackup(const char* path);
|
|
|
|
u32 EmbedEssentialBackup(const char* path);
|
2017-01-02 17:37:08 +01:00
|
|
|
u32 ValidateNandDump(const char* path);
|
|
|
|
u32 SafeRestoreNandDump(const char* path);
|