]> git.sur5r.net Git - u-boot/blobdiff - drivers/ddr/fsl/mpc85xx_ddr_gen1.c
drivers/ddr/fsl: Dual-license DDR driver
[u-boot] / drivers / ddr / fsl / mpc85xx_ddr_gen1.c
index 8dd4a9136cf9718bccd1dca36ffa93a0c587d5f8..f74bf32c647b3d8b1cd94a74ca2fda058b28770c 100644 (file)
@@ -1,9 +1,7 @@
 /*
  * Copyright 2008 Freescale Semiconductor, Inc.
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * Version 2 as published by the Free Software Foundation.
+ * SPDX-License-Identifier:    GPL-2.0 BSD-3-Clause
  */
 
 #include <common.h>
@@ -49,7 +47,7 @@ void fsl_ddr_set_memctl_regs(const fsl_ddr_cfg_regs_t *regs,
        out_be32(&ddr->timing_cfg_2, regs->timing_cfg_2);
        out_be32(&ddr->sdram_mode, regs->ddr_sdram_mode);
        out_be32(&ddr->sdram_interval, regs->ddr_sdram_interval);
-#if defined(CONFIG_MPC8555) || defined(CONFIG_MPC8541)
+#if defined(CONFIG_ARCH_MPC8555) || defined(CONFIG_ARCH_MPC8541)
        out_be32(&ddr->sdram_clk_cntl, regs->ddr_sdram_clk_cntl);
 #endif