From e0db4e805006d50e584085d07621e6e1ace8ca44 Mon Sep 17 00:00:00 2001 From: xuxinchun1003 Date: Wed, 7 Oct 2026 07:42:31 +0800 Subject: [PATCH] log: print chip_mcu_id in the DC init path on main The README branch-selection criterion ("use legacy-mcu1 when the log reports chip_id=7, chip_mcu_id=1 ...") is only observable on legacy-mcu1: that branch's system_config_8800dc() logs chip_mcu_id, main's copy does not, so DC devices running this branch can never see the criterion and cannot distinguish mcu_id=0 from "unknown" (whose README fallback is "keep using main"). Mirror the legacy format so the criterion is visible where it is needed. One line; the value is computed two statements earlier. --- drivers/aic8800/aic8800_fdrv/aicwf_compat_8800dc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/aic8800/aic8800_fdrv/aicwf_compat_8800dc.c b/drivers/aic8800/aic8800_fdrv/aicwf_compat_8800dc.c index 69eb99a..8cfd915 100644 --- a/drivers/aic8800/aic8800_fdrv/aicwf_compat_8800dc.c +++ b/drivers/aic8800/aic8800_fdrv/aicwf_compat_8800dc.c @@ -3759,7 +3759,7 @@ void system_config_8800dc(struct rwnx_hw *rwnx_hw){ } chip_sub_id = (u8)(rd_mem_addr_cfm.memdata); //printk("%x=%x\n", rd_mem_addr_cfm.memaddr, rd_mem_addr_cfm.memdata); - AICWFDBG(LOGINFO, "chip_id=%x, chip_sub_id=%x\n", chip_id, chip_sub_id); + AICWFDBG(LOGINFO, "chip_id=%x, chip_mcu_id=%x, chip_sub_id=%x\n", chip_id, chip_mcu_id, chip_sub_id); //Crystal provided by CPU (start)