dm: tegra: pci: Move CONFIG_PCI_TEGRA to Kconfig
[oweals/u-boot.git] / common / console.c
index b3f126cceba6633ef9e49598a81a3a1f54908d29..bc37b6d962b0aa9eb2032a63b5d5c2044c329cb7 100644 (file)
@@ -558,45 +558,6 @@ void puts(const char *s)
        }
 }
 
-int printf(const char *fmt, ...)
-{
-       va_list args;
-       uint i;
-       char printbuffer[CONFIG_SYS_PBSIZE];
-
-       va_start(args, fmt);
-
-       /* For this to work, printbuffer must be larger than
-        * anything we ever want to print.
-        */
-       i = vscnprintf(printbuffer, sizeof(printbuffer), fmt, args);
-       va_end(args);
-
-       /* Print the string */
-       puts(printbuffer);
-       return i;
-}
-
-int vprintf(const char *fmt, va_list args)
-{
-       uint i;
-       char printbuffer[CONFIG_SYS_PBSIZE];
-
-#if defined(CONFIG_PRE_CONSOLE_BUFFER) && !defined(CONFIG_SANDBOX)
-       if (!gd->have_console)
-               return 0;
-#endif
-
-       /* For this to work, printbuffer must be larger than
-        * anything we ever want to print.
-        */
-       i = vscnprintf(printbuffer, sizeof(printbuffer), fmt, args);
-
-       /* Print the string */
-       puts(printbuffer);
-       return i;
-}
-
 #ifdef CONFIG_CONSOLE_RECORD
 int console_record_init(void)
 {