hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/arch/powerpc/sysdev/cpm_common.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Common CPM code
34 *
....@@ -11,10 +12,6 @@
1112 * Copyright (c) 2000 MontaVista Software, Inc (source@mvista.com)
1213 * 2006 (c) MontaVista Software, Inc.
1314 * Vitaly Bordug <vbordug@ru.mvista.com>
14
- *
15
- * This program is free software; you can redistribute it and/or modify
16
- * it under the terms of version 2 of the GNU General Public License as
17
- * published by the Free Software Foundation.
1815 */
1916
2017 #include <linux/init.h>
....@@ -71,6 +68,8 @@
7168 void __init udbg_init_cpm(void)
7269 {
7370 #ifdef CONFIG_PPC_8xx
71
+ mmu_mapin_immr();
72
+
7473 cpm_udbg_txdesc = (u32 __iomem __force *)
7574 (CONFIG_PPC_EARLY_DEBUG_CPM_ADDR - PHYS_IMMR_BASE +
7675 VIRT_IMMR_BASE);