]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/sc3/sc3.c
karo: tx51: remove duplicate CONFIG_SYS_SDRAM_CLK definition
[karo-tx-uboot.git] / board / sc3 / sc3.c
index 63927f72984ee475da3b8abef8fa1c79bea8496b..0216a37f63ab9de2547cd449240a8643296d6162 100644 (file)
@@ -9,25 +9,7 @@
  * (C) Copyright 2000
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
- *
- * $Log:$
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -331,16 +313,16 @@ int board_early_init_f (void)
        }
 
        /* Code decompression disabled */
-       mtdcr (KIAR, KCONF);
-       mtdcr (KIDR, 0x2B);
+       mtdcr (DCP0_CFGADDR, KCONF);
+       mtdcr (DCP0_CFGDATA, 0x2B);
 
        /* CPC0_ER: enable sleep mode of (currently) unused components */
        /* CPC0_FR: force unused components into sleep mode */
-       mtdcr (CPMER, 0x3F800000);
-       mtdcr (CPMFR, 0x14000000);
+       mtdcr (CPC0_ER, 0x3F800000);
+       mtdcr (CPC0_FR, 0x14000000);
 
        /* set PLB priority */
-       mtdcr (0x87, 0x08000000);
+       mtdcr (PLB0_ACR, 0x08000000);
 
        /* --------------- DMA stuff ------------------------------------- */
        mtdcr (0x126, 0x49200000);