diff options
author | Tom Rini <trini@konsulko.com> | 2017-06-21 07:57:37 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-06-21 07:57:37 -0400 |
commit | 784667d7f9452780966dd0b400ef516f14f14c26 (patch) | |
tree | c4aa03175bd50b85ee37c43b7e23f44affb9165d /board/xilinx/zynqmp | |
parent | 2aaf7c49002d2595887d6d90001b7adee7a90a36 (diff) | |
parent | e625881ad77c7cc0ffc39376ae32179c933b3710 (diff) |
Merge tag 'xilinx-for-v2017.07' of git://www.denx.de/git/u-boot-microblaze
Xilinx changes for v2017.07
ZynqMP:
- config cleanup
- SD LS mode support
- psu_init* cleanup
- unmap OCM
- Support for SMC
Zynq:
- add ddrc to Kconfig
- add topic-miamilite board support
Diffstat (limited to 'board/xilinx/zynqmp')
-rw-r--r-- | board/xilinx/zynqmp/sleep.h | 1 | ||||
-rw-r--r-- | board/xilinx/zynqmp/xil_io.h | 3 | ||||
-rw-r--r-- | board/xilinx/zynqmp/zynqmp.c | 8 |
3 files changed, 9 insertions, 3 deletions
diff --git a/board/xilinx/zynqmp/sleep.h b/board/xilinx/zynqmp/sleep.h new file mode 100644 index 0000000000..a962319ffd --- /dev/null +++ b/board/xilinx/zynqmp/sleep.h @@ -0,0 +1 @@ +/* Intentionally empty file for psu_init* */ diff --git a/board/xilinx/zynqmp/xil_io.h b/board/xilinx/zynqmp/xil_io.h index 6bbc000da8..679d234b07 100644 --- a/board/xilinx/zynqmp/xil_io.h +++ b/board/xilinx/zynqmp/xil_io.h @@ -33,12 +33,9 @@ int Xil_In32(unsigned long addr) return readl(addr); } -void mask_delay(u32 delay); void usleep(u32 sleep) { udelay(sleep); } -int mask_poll(u32 add, u32 mask); -int mask_pollOnValue(u32 add, u32 mask, u32 value); #endif /* XIL_IO_H */ diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c index 3849b5885d..51a3d9f276 100644 --- a/board/xilinx/zynqmp/zynqmp.c +++ b/board/xilinx/zynqmp/zynqmp.c @@ -113,6 +113,14 @@ static char *zynqmp_get_silicon_idcode_name(void) } #endif +int board_early_init_f(void) +{ +#if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_CLK_ZYNQMP) + zynqmp_pmufw_version(); +#endif + return 0; +} + #define ZYNQMP_VERSION_SIZE 9 int board_init(void) |