# BOOT0_SIZE = 4194304
BOOT0_SIZE = 512 * 1024
MMC0_BASE = 0x10000000 + 0x1230000
LK_PAYLOAD_OFFSET = 2097152  # 2 MiB

PL_DEV_PATH = 'COM3' # preloader
BR_DEV_PATH = 'COM5' # bootrom
AG_DEV_PATH = 'COM4' # agent

# can be either agent or crash
# crashing preloader used to trigger BootROM download mode in Nougat
# on oreo this triggers demigod crash handler instead
BROM_ENTER_METHOD = "agent"
