[PATCH/committed] sim: bfin: fix typo in bf52x ports

Message ID 20231216024210.31427-1-vapier@gentoo.org
State New
Headers
Series [PATCH/committed] sim: bfin: fix typo in bf52x ports |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 warning Patch is already merged
linaro-tcwg-bot/tcwg_gdb_build--master-arm warning Patch is already merged

Commit Message

Mike Frysinger Dec. 16, 2023, 2:42 a.m. UTC
  These should be using the BF52x set of ports, not BF51x.
---
 sim/bfin/machs.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
  

Patch

diff --git a/sim/bfin/machs.c b/sim/bfin/machs.c
index 7efd1fd5182b..92ce85aeb676 100644
--- a/sim/bfin/machs.c
+++ b/sim/bfin/machs.c
@@ -497,12 +497,12 @@  static const struct bfin_port_layout bf52x_port[] =
   SIC (1, 21, "bfin_usb",          "int1"),
   SIC (1, 22, "bfin_usb",          "int2"),
 };
-#define bf522_port bf51x_port
-#define bf523_port bf51x_port
-#define bf524_port bf51x_port
-#define bf525_port bf51x_port
-#define bf526_port bf51x_port
-#define bf527_port bf51x_port
+#define bf522_port bf52x_port
+#define bf523_port bf52x_port
+#define bf524_port bf52x_port
+#define bf525_port bf52x_port
+#define bf526_port bf52x_port
+#define bf527_port bf52x_port
 
 #define bf531_chipid 0x27a5
 #define bf532_chipid bf531_chipid