diff options
author | Ibai Erkiaga <ibai.erkiaga-elorza@xilinx.com> | 2019-10-02 15:57:36 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2019-10-08 13:14:54 +0200 |
commit | fec657bebd77d789a7f9708b79f95225a9c4eeef (patch) | |
tree | 5ae44a57d9071404bf5cd7ef65e5530a2f3a7f1b /arch/arm/mach-versal/cpu.c | |
parent | a3e552b53fb85abce33a8e00bc430d014d7ee733 (diff) | |
download | u-boot-fec657bebd77d789a7f9708b79f95225a9c4eeef.tar.gz u-boot-fec657bebd77d789a7f9708b79f95225a9c4eeef.tar.bz2 u-boot-fec657bebd77d789a7f9708b79f95225a9c4eeef.zip |
arm64: versal: Move common board dtb search
Move the exisiting function of getting board dtb from versal to a common
Xilinx folder.
Signed-off-by: Ibai Erkiaga <ibai.erkiaga-elorza@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/arm/mach-versal/cpu.c')
-rw-r--r-- | arch/arm/mach-versal/cpu.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/arm/mach-versal/cpu.c b/arch/arm/mach-versal/cpu.c index db96225827..49f1e51c8e 100644 --- a/arch/arm/mach-versal/cpu.c +++ b/arch/arm/mach-versal/cpu.c @@ -108,20 +108,6 @@ int reserve_mmu(void) } #endif -#if defined(CONFIG_OF_BOARD) -void *board_fdt_blob_setup(void) -{ - static void *fw_dtb = (void *)CONFIG_VERSAL_OF_BOARD_DTB_ADDR; - - if (fdt_magic(fw_dtb) != FDT_MAGIC) { - printf("DTB is not passed via %llx\n", (u64)fw_dtb); - return NULL; - } - - return fw_dtb; -} -#endif - int versal_pm_request(u32 api_id, u32 arg0, u32 arg1, u32 arg2, u32 arg3, u32 *ret_payload) { |