5 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_ROM_EXT_RESCUE_H_
6 #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_ROM_EXT_RESCUE_H_
11 #include "sw/device/silicon_creator/lib/boot_data.h"
12 #include "sw/device/silicon_creator/lib/error.h"
13 #include "sw/device/silicon_creator/lib/ownership/datatypes.h"
19 kRescueDetectTime = 350,
24 kRescueModeBaud = 0x42415544,
26 kRescueModeBootLog = 0x424c4f47,
28 kRescueModeBootSvcRsp = 0x42525350,
30 kRescueModeBootSvcReq = 0x42524551,
32 kRescueModeKlobber = 0x4b4c4252,
34 kRescueModeOwnerBlock = 0x4f574e52,
36 kRescueModeOwnerPage0 = 0x4f504730,
38 kRescueModeOwnerPage1 = 0x4f504731,
40 kRescueModeOpenTitanID = 0x4f544944,
42 kRescueModeFirmware = 0x52455351,
44 kRescueModeFirmwareSlotB = 0x52455342,
46 kRescueModeReboot = 0x5245424f,
48 kRescueModeWait = 0x57414954,
53 kRescueBaud115K = 0x4b353131,
55 kRescueBaud230K = 0x4b303332,
57 kRescueBaud460K = 0x4b303634,
59 kRescueBaud921K = 0x4b313239,
61 kRescueBaud1M33 = 0x33334d31,
63 kRescueBaud1M50 = 0x30354d31,
75 uint32_t flash_offset;