Merge https://gitlab.denx.de/u-boot/custodians/u-boot-fsl-qoriq
[oweals/u-boot.git] / board / freescale / mpc8641hpcn / ddr.c
index 5d3575738a1d5748dca39bd68a02a1351b435f48..df7e3eceed7094433e3062e81970a54a70ffda7d 100644 (file)
@@ -1,15 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright 2008,2011 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.
  */
 
 #include <common.h>
 
-#include <asm/fsl_ddr_sdram.h>
-#include <asm/fsl_ddr_dimm_params.h>
+#include <fsl_ddr_sdram.h>
+#include <fsl_ddr_dimm_params.h>
 
 struct board_specific_parameters {
        u32 n_ranks;
@@ -106,5 +103,5 @@ void fsl_ddr_board_options(memctl_options_t *popts,
 
 found:
        /* 2T timing enable */
-       popts->twoT_en = 1;
+       popts->twot_en = 1;
 }