aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2023-04-10 11:39:42 +0100
committerMarc Zyngier <maz@kernel.org>2023-04-10 11:39:42 +0100
commita2dae2ad3737fd06bcfebee4e24407e21f5948f9 (patch)
tree0d3fa79ae02b410d426869b30751c344df46dc25
parent3fe2608b7e26446564a9bf114636a05f0719c9c7 (diff)
downloadcs-sw-a2dae2ad3737fd06bcfebee4e24407e21f5948f9.tar.gz
Kill stdio for real
Signed-off-by: Marc Zyngier <maz@kernel.org>
-rw-r--r--platform.h1
-rw-r--r--start.c2
-rw-r--r--tcpm_driver.c2
-rw-r--r--vdmtool.c1
4 files changed, 0 insertions, 6 deletions
diff --git a/platform.h b/platform.h
index b23d20d..a983813 100644
--- a/platform.h
+++ b/platform.h
@@ -1,4 +1,3 @@
-#include <stdio.h>
#include "m1-pd-bmc.h"
static void platform_usleep(uint64_t us)
diff --git a/start.c b/start.c
index 0d494b1..895f7ab 100644
--- a/start.c
+++ b/start.c
@@ -1,7 +1,6 @@
// FUSB302-based serial/reset/whatever controller for M1-based systems
#include <stddef.h>
-#include <stdio.h>
#include "bsp/board.h"
#include "tusb.h"
@@ -218,7 +217,6 @@ int main(void)
board_init();
tusb_init();
- stdio_init_all();
m1_pd_bmc_system_init(&hw0);
m1_pd_bmc_system_init(&hw1);
diff --git a/tcpm_driver.c b/tcpm_driver.c
index a6eda48..fd78712 100644
--- a/tcpm_driver.c
+++ b/tcpm_driver.c
@@ -1,5 +1,3 @@
-#include <stdio.h>
-
#include "m1-pd-bmc.h"
#include "tcpm_driver.h"
diff --git a/vdmtool.c b/vdmtool.c
index 3998f3b..f0dd40e 100644
--- a/vdmtool.c
+++ b/vdmtool.c
@@ -1,7 +1,6 @@
#include <stdint.h>
#include <stddef.h>
#include <stdarg.h>
-#include <stdio.h>
#include <stdlib.h>
#include <string.h>