]> git.sur5r.net Git - u-boot/blobdiff - board/renesas/sh7757lcr/lowlevel_init.S
Merge branch 'u-boot-ti/master' into 'u-boot-arm/master'
[u-boot] / board / renesas / sh7757lcr / lowlevel_init.S
index ab1aa494ab08472f7a7c7e82d680c8406fb47264..e4c5ea815e9b2aab7d94ee936413a38b8b1ae8f4 100644 (file)
@@ -1,20 +1,7 @@
 /*
  * Copyright (C) 2011  Renesas Solutions Corp.
  *
- * 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
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <config.h>
@@ -326,12 +313,13 @@ PC_MASK:  .long   0x20000000
        /* step 26 */
        wait_DBCMD
 
+#if defined(CONFIG_SH7757LCR_DDR_ECC)
        /* enable DDR-ECC */
        write32 ECD_ECDEN_A, ECD_ECDEN_D
        write32 ECD_INTSR_A, ECD_INTSR_D
        write32 ECD_SPACER_A, ECD_SPACER_D
        write32 ECD_MCR_A, ECD_MCR_D
-
+#endif
        bra     exit_ddr
        nop