X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=board%2Fmotionpro%2Fmotionpro.c;h=dc237c1cedaf9d1c5c8ee75eb1bc65dc36f95cb8;hb=1f60f0731db2e07eecc41afa92bee4b10e7d9f1f;hp=47ef6e53eda2b5ae3958073f0135fe8265bfa6b9;hpb=48690d8024eeeaee3120db702e54fcb238e6d9c7;p=oweals%2Fu-boot.git diff --git a/board/motionpro/motionpro.c b/board/motionpro/motionpro.c index 47ef6e53ed..dc237c1ced 100644 --- a/board/motionpro/motionpro.c +++ b/board/motionpro/motionpro.c @@ -7,23 +7,7 @@ * modified by Chris M. Tumas 6/20/06 Change CAS latency to 2 from 3 * Also changed the refresh for 100MHz operation * - * 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 @@ -200,12 +184,14 @@ int checkboard(void) } -#if defined(CONFIG_OF_LIBFDT) && defined(CONFIG_OF_BOARD_SETUP) -void ft_board_setup(void *blob, bd_t *bd) +#ifdef CONFIG_OF_BOARD_SETUP +int ft_board_setup(void *blob, bd_t *bd) { ft_cpu_setup(blob, bd); + + return 0; } -#endif /* defined(CONFIG_OF_LIBFDT) && defined(CONFIG_OF_BOARD_SETUP) */ +#endif /* CONFIG_OF_BOARD_SETUP */ #if defined(CONFIG_STATUS_LED)