From 01b3941ab5b8aedf20d6e939dee53831b79e9d88 Mon Sep 17 00:00:00 2001 From: Ville Juven Date: Tue, 30 Jan 2024 13:43:28 +0200 Subject: [PATCH] test ci --- arch/risc-v/src/mpfs/mpfs_corespi.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/risc-v/src/mpfs/mpfs_corespi.c b/arch/risc-v/src/mpfs/mpfs_corespi.c index 7564f6a69a88d..55dae8cda21ad 100644 --- a/arch/risc-v/src/mpfs/mpfs_corespi.c +++ b/arch/risc-v/src/mpfs/mpfs_corespi.c @@ -1503,6 +1503,20 @@ struct spi_dev_s *mpfs_corespibus_initialize(int port) struct mpfs_spi_priv_s *priv; int ret; + switch (port) + { + case 1: + _alert("Port 1"); + break; + + case 2: + + _alert("Port 2"); + break; + default: + break; + } + if (port < MPFS_CORESPI_INSTANCES) { priv = &g_mpfs_spi_priv[port];