summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2022-11-22 12:33:48 -0500
committerTom Rini <[email protected]>2022-11-22 12:33:48 -0500
commit521277ec15eb794229403ec24b8c00a4ff02b0b6 (patch)
tree7eb2da32590f4c48bc9e2ef8cde5ae85c3d9e7bf /include
parent536c642ffef545b4b5b02d065a0c1de9785549d7 (diff)
parent3655dd22a4c219d0ee69dc4a29e5553c1a1bb5d7 (diff)
Merge tag 'xilinx-for-v2023.01-rc3' of https://source.denx.de/u-boot/custodians/u-boot-microblaze
Xilinx changes for v2023.01-rc3 microblaze: - Enable 32 bit addressing mode for SPIs zynq: - Minor DT fixes (PL clock enabling) zynqmp: - Disable watchdog by default - Remove unused xlnx,eeprom chosen support - Add missing symlink for vck190 SC revB - Use mdio bus with ethernet-phy-id description versal: - Add mini qspi/ospi configuration versal-net: - Add soc driver - Fix Kconfig entry for SOC - Fix loading address location for MINI configuration - Disable LMB for mini configuration net: - Fix ethernet-phy-id usage in the code pinctrl: - Revert high impedance/output enable support timer: - Fix timer relocation for Microblaze - Fix timer wrap in 32bit Xilinx timer driver
Diffstat (limited to 'include')
-rw-r--r--include/timer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/timer.h b/include/timer.h
index a044cb034ed..d33a26e28fe 100644
--- a/include/timer.h
+++ b/include/timer.h
@@ -6,6 +6,8 @@
#ifndef _TIMER_H_
#define _TIMER_H_
+#define timer_get_ops(dev) ((struct timer_ops *)(dev)->driver->ops)
+
/**
* dm_timer_init() - initialize a timer for time keeping. On success
* initializes gd->timer so that lib/timer can use it for future