X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fhidden_dragon%2Fhidden_dragon.c;h=8d47f379554ea245d9e397b13daf5adb1ae49021;hb=db6b5e8b028e1aab92bc2482b6e02c681819e7c9;hp=2d7a7870e5296669cef6c0082cf3f5c87812623b;hpb=0b252f50ae218ae15bfb63af44227972686ebc56;p=u-boot diff --git a/board/hidden_dragon/hidden_dragon.c b/board/hidden_dragon/hidden_dragon.c index 2d7a7870e5..8d47f37955 100644 --- a/board/hidden_dragon/hidden_dragon.c +++ b/board/hidden_dragon/hidden_dragon.c @@ -5,23 +5,7 @@ * (C) Copyright 2000 * Rob Taylor, Flying Pig Systems. robt@flyingpig.com. * - * 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 + * SPDX-License-Identifier: GPL-2.0+ */ #include @@ -52,7 +36,7 @@ phys_size_t initdram (int board_type) long mear1; long emear1; - size = get_ram_size(CFG_SDRAM_BASE, CFG_MAX_RAM_SIZE); + size = get_ram_size(CONFIG_SYS_SDRAM_BASE, CONFIG_SYS_MAX_RAM_SIZE); new_bank0_end = size - 1; mear1 = mpc824x_mpc107_getreg(MEAR1);