[PATCH 1/1] lib: move rtc-lib.c to lib

Bin Meng bmeng.cn at gmail.com
Sat Jun 12 12:55:12 CEST 2021


Hi Heinrich,

On Sat, Jun 12, 2021 at 2:22 PM Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> Function rtc_to_tm() is needed for FAT file system support even if we don't
> have a real time clock. So move it from drivers/ to lib/.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
>  drivers/rtc/Makefile  |  1 -
>  drivers/rtc/rtc-lib.c | 77 -------------------------------------------
>  lib/Makefile          |  1 +
>  lib/rtc-lib.c         | 77 +++++++++++++++++++++++++++++++++++++++++++
>  4 files changed, 78 insertions(+), 78 deletions(-)
>  delete mode 100644 drivers/rtc/rtc-lib.c
>  create mode 100644 lib/rtc-lib.c

Please use "git mv"

Regards,
Bin


More information about the U-Boot mailing list