Lines Matching refs:dtb
169 void *dtb = (void *)XILINX_OF_BOARD_DTB_ADDR; in prepare_dtb() local
173 if (fdt_check_header(dtb) != 0) { in prepare_dtb()
174 NOTICE("Can't read DT at 0x%p\n", dtb); in prepare_dtb()
178 ret = fdt_open_into(dtb, dtb, XILINX_OF_BOARD_DTB_MAX_SIZE); in prepare_dtb()
180 ERROR("Invalid Device Tree at %p: error %d\n", dtb, ret); in prepare_dtb()
184 if (dt_add_psci_node(dtb)) { in prepare_dtb()
189 if (dt_add_psci_cpu_enable_methods(dtb)) { in prepare_dtb()
195 if (fdt_add_reserved_memory(dtb, "tf-a", BL31_BASE, BL31_LIMIT - BL31_BASE)) { in prepare_dtb()
199 ret = fdt_pack(dtb); in prepare_dtb()
201 ERROR("Failed to pack Device Tree at %p: error %d\n", dtb, ret); in prepare_dtb()
204 clean_dcache_range((uintptr_t)dtb, fdt_blob_size(dtb)); in prepare_dtb()