X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Ffreescale%2Fp1_twr%2Fddr.c;h=a2ce75a40d7b89318359cc080ff1332d9670d54f;hb=e9866cf759f2f0184607024be30e7f78a65cb614;hp=f94e1ab1754e2eeafc9094a5ab794d429a61b7c4;hpb=c63e137014cf148bc1d234128941dccee3d519ae;p=u-boot diff --git a/board/freescale/p1_twr/ddr.c b/board/freescale/p1_twr/ddr.c index f94e1ab175..a2ce75a40d 100644 --- a/board/freescale/p1_twr/ddr.c +++ b/board/freescale/p1_twr/ddr.c @@ -1,17 +1,15 @@ /* * Copyright 2013 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+ */ #include #include #include #include -#include -#include +#include +#include #include #include @@ -55,7 +53,7 @@ phys_size_t fixed_sdram(void) get_sys_info(&sysinfo); printf("Configuring DDR for %s MT/s data rate\n", - strmhz(buf, sysinfo.freqDDRBus)); + strmhz(buf, sysinfo.freq_ddrbus)); ddr_size = CONFIG_SYS_SDRAM_SIZE * 1024 * 1024;