From 0ec8ebef87d78529d1b4f3e7beaced0b9fbea629 Mon Sep 17 00:00:00 2001 From: Christophe Leroy Date: Wed, 3 May 2023 09:25:10 +0200 Subject: board: cssi: Activate SMC relocation on CMPC885 board for MIAE device When CMPC885 board is used for MIAE device, SCC2 SCC3 and SMC2 are used for serial lines. Therefore only SCC4 is available for handling the TDM line. In order to use SCC4 in QMC mode without loosing SMC2, SMC2 must be relocated. Activate SMC relocation and relocate SMC2 at offset 0x1fc0 which is unused. Signed-off-by: Christophe Leroy --- board/cssi/cmpc885/cmpc885.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'board/cssi/cmpc885/cmpc885.c') diff --git a/board/cssi/cmpc885/cmpc885.c b/board/cssi/cmpc885/cmpc885.c index 40128f170a2..5e6aa8b8cfa 100644 --- a/board/cssi/cmpc885/cmpc885.c +++ b/board/cssi/cmpc885/cmpc885.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include @@ -451,6 +452,9 @@ void iop_setup_miae(void) /* Wait reset on FPGA_F */ udelay(100); + /* Load CPM relocation code */ + cpm_load_patch(cp); + /* Set the front panel LED color to red */ clrbits_8((unsigned char __iomem *)CONFIG_FPGA_BASE + 0x44, 0x02); -- cgit v1.2.3