]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/etin/debris/phantom.c
Add GPL-2.0+ SPDX-License-Identifier to source files
[karo-tx-uboot.git] / board / etin / debris / phantom.c
index fcb4c40eaae9444b1c445f1bf10a4ae919dc694e..3d5aa14086d277bc97a563aca410493207526584 100644 (file)
@@ -8,10 +8,7 @@
  *
  * Copyright 2002 Etinsys Inc.
  *
- * This program is free software; you can redistribute  it and/or modify it
- * under  the terms of  the GNU General  Public License as published by the
- * Free Software Foundation;  either version 2 of the  License, or (at your
- * option) any later version.
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -159,16 +156,6 @@ void rtc_reset(void)
        }
 }
 
-inline unsigned bcd2bin (uchar n)
-{
-       return ((((n >> 4) & 0x0F) * 10) + (n & 0x0F));
-}
-
-inline unsigned char bin2bcd (unsigned int n)
-{
-       return (((n / 10) << 4) | (n % 10));
-}
-
 static int get_century_flag(void)
 {
        int flag = 0;