xilinx: zynqmp: remove chip_id function
Remove chip_id function and integrate the firmware call in the zynqmp_get_silicon_idcode_name function. The change avoids querying the firmware twice and makes the code bit more clear. Signed-off-by: Ibai Erkiaga <ibai.erkiaga-elorza@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
committed by
Michal Simek
parent
4b2ad7b111
commit
050f10f103
@@ -49,7 +49,6 @@ int zynqmp_mmio_read(const u32 address, u32 *value);
|
||||
|
||||
void initialize_tcm(bool mode);
|
||||
void mem_map_fill(void);
|
||||
int chip_id(unsigned char id);
|
||||
#if defined(CONFIG_SYS_MEM_RSVD_FOR_MMU) || defined(CONFIG_DEFINE_TCM_OCM_MMAP)
|
||||
void tcm_init(u8 mode);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user