Searched refs:FLASH_BASE (Results 1 - 9 of 9) sorted by relevance

/device/google/contexthub/util/nanoapp_postprocess/
H A Dpostprocess_elf.c37 #define FLASH_BASE 0x10000000 macro
47 #define IS_IN_FLASH(_val) IS_IN_RANGE(_val, FLASH_BASE, FLASH_SIZE)
324 relocs = (struct RelocEntry*)(buf + sect->rel_start - FLASH_BASE);
325 syms = (struct SymtabEntry*)(buf + sect->rel_end - FLASH_BASE);
327 numSyms = (bufUsed + FLASH_BASE - sect->rel_end) / sizeof(struct SymtabEntry);
334 if (numSyms * sizeof(struct SymtabEntry) + sect->rel_end != bufUsed + FLASH_BASE) {
379 else if (IS_IN_RANGE_E(relocs[i].where, FLASH_BASE, FLASH_BASE + sizeof(struct BinHdr)))
387 if (IS_IN_FLASH(relocs[i].where) && relocs[i].where - FLASH_BASE < sizeof(struct BinHdr) && relocType == RELOC_TYPE_SECT) {
395 valThereP = (uint32_t*)(buf + relocs[i].where - FLASH_BASE);
[all...]
H A Dpostprocess.c35 #define FLASH_BASE 0x10000000u macro
45 #define IS_IN_FLASH(_val) IS_IN_RANGE(_val, FLASH_BASE, FLASH_SIZE)
321 *addr -= FLASH_BASE + BINARY_RELOC_OFFSET;
360 relocOffset -= FLASH_BASE;
364 flashDataOffset = app->bin->sect.data_data - FLASH_BASE;
443 app.reloc = (struct RelocEntry*)(buf + sect->rel_start - FLASH_BASE);
444 app.symtab = (struct SymtabEntry*)(buf + sect->rel_end - FLASH_BASE);
451 app.codeAndRoDataSize = sect->data_data - FLASH_BASE - sizeof(*bin);
452 app.codeAndDataSize = sect->rel_start - FLASH_BASE - sizeof(*bin);
462 if (app.symtabSize * sizeof(struct SymtabEntry) + sect->rel_end != bufUsed + FLASH_BASE) {
[all...]
/device/linaro/bootloader/arm-trusted-firmware/plat/juno/
H A Djuno_def.h40 #define FLASH_BASE 0x08000000 macro
48 #define TZROM_BASE FLASH_BASE + BL1_ROM_BYPASS_OFFSET
H A Dplat_io_storage.c51 .offset = FLASH_BASE,
/device/google/contexthub/firmware/os/platform/stm32/
H A Dbl.c181 struct StmFlash *flash = (struct StmFlash *)FLASH_BASE;
208 struct StmFlash *flash = (struct StmFlash *)FLASH_BASE;
286 struct StmFlash *flash = (struct StmFlash *)FLASH_BASE;
313 struct StmFlash *flash = (struct StmFlash *)FLASH_BASE;
/device/linaro/bootloader/arm-trusted-firmware/plat/juno/aarch64/
H A Djuno_common.c48 #define MAP_FLASH MAP_REGION_FLAT(FLASH_BASE, \
/device/google/contexthub/firmware/os/platform/stm32/inc/plat/
H A Dpwr.h163 #define FLASH_BASE 0x40023C00UL macro
/device/linaro/bootloader/edk2/QuarkPlatformPkg/
H A DQuarkMin.fdf26 # FLASH_BASE | FD.Quark: | 0x800000 (8 MB)
73 DEFINE FLASH_BASE = $(RESET_ADDRESS) - $(FLASH_SIZE) # The base address of the Flash Device
141 BaseAddress = 0xFF800000 #The base address of the Flash Device; set to same value as FLASH_BASE.
147 SET gQuarkPlatformTokenSpaceGuid.PcdFlashAreaBaseAddress = $(FLASH_BASE)
H A DQuark.fdf26 # FLASH_BASE | FD.Quark: | 0x800000 (8 MB)
73 DEFINE FLASH_BASE = $(RESET_ADDRESS) - $(FLASH_SIZE) # The base address of the Flash Device
141 BaseAddress = 0xFF800000 #The base address of the Flash Device; set to same value as FLASH_BASE.
147 SET gQuarkPlatformTokenSpaceGuid.PcdFlashAreaBaseAddress = $(FLASH_BASE)

Completed in 102 milliseconds