[PATCH 0/3] Add time conversion defines from Linux.

Igor Prusov ivprusov at salutedevices.com
Thu Nov 9 18:10:01 CET 2023


This series imports time conversion defines from Linux, that are
currently located in include/vdso/time64.h file. Those defines are
almost always used by including linux/time.h so it seems the proper
place in U-Boot to place them.

Various places where same or similar defines were added on per-driver
basis are replaced with time.h include.



Igor Prusov (3):
  linux/time.h: Add Linux time conversion defines
  spi: meson_spifc_a1: Use define for time interval
  treewide: use linux/time.h for time conversion defines

 board/friendlyarm/nanopi2/onewire.c              |  5 +----
 drivers/clk/at91/clk-main.c                      |  2 +-
 drivers/i2c/stm32f7_i2c.c                        | 11 +++++------
 drivers/memory/stm32-fmc2-ebi.c                  |  5 ++---
 drivers/mmc/octeontx_hsmmc.h                     |  2 --
 drivers/mtd/nand/raw/atmel/nand-controller.c     |  3 +--
 drivers/mtd/nand/raw/mxs_nand.c                  |  3 +--
 drivers/mtd/nand/raw/octeontx_nand.c             |  2 +-
 drivers/mtd/nand/raw/stm32_fmc2_nand.c           |  5 ++---
 drivers/phy/meson-axg-mipi-dphy.c                |  3 +--
 drivers/phy/phy-core-mipi-dphy.c                 |  3 +--
 drivers/phy/rockchip/phy-rockchip-inno-dsidphy.c |  3 +--
 drivers/pwm/pwm-aspeed.c                         |  3 +--
 drivers/pwm/pwm-at91.c                           |  2 +-
 drivers/pwm/pwm-cadence-ttc.c                    |  3 +--
 drivers/pwm/pwm-meson.c                          |  3 +--
 drivers/pwm/pwm-mtk.c                            |  3 +--
 drivers/pwm/pwm-ti-ehrpwm.c                      |  3 +--
 drivers/serial/serial_msm_geni.c                 |  3 +--
 drivers/spi/cadence_qspi.c                       |  3 +--
 drivers/spi/fsl_dspi.c                           |  4 +---
 drivers/spi/meson_spifc_a1.c                     |  3 ++-
 drivers/ufs/cdns-platform.c                      |  3 +--
 drivers/usb/dwc3/core.c                          |  3 +--
 drivers/video/dw_mipi_dsi.c                      |  3 +--
 drivers/video/rockchip/dw_mipi_dsi_rockchip.c    |  3 +--
 drivers/video/tegra20/tegra-dsi.c                |  4 +---
 drivers/watchdog/sunxi_wdt.c                     |  3 +--
 fs/ubifs/ubifs.h                                 |  1 -
 include/linux/time.h                             |  9 +++++++++
 30 files changed, 43 insertions(+), 63 deletions(-)

-- 
2.34.1



More information about the U-Boot mailing list