X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=api%2Fapi_platform-powerpc.c;h=15930cfdb66286fbc31c99ebf4779434dc853cbb;hb=4862830b696a6d0750e19d32a82553cdb41a85f8;hp=7d54ea79784016c33a49160e99d09e3be18a186f;hpb=4f58002013ba1e89eb8fda015ff495bd37cd4016;p=platform%2Fkernel%2Fu-boot.git diff --git a/api/api_platform-powerpc.c b/api/api_platform-powerpc.c index 7d54ea7..15930cf 100644 --- a/api/api_platform-powerpc.c +++ b/api/api_platform-powerpc.c @@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2007 Semihalf * * Written by: Rafal Jaworowski * - * SPDX-License-Identifier: GPL-2.0+ - * * This file contains routines that fetch data from PowerPC-dependent sources * (bd_info etc.) */ @@ -30,10 +29,8 @@ int platform_sys_info(struct sys_info *si) si->clk_bus = gd->bus_clk; si->clk_cpu = gd->cpu_clk; -#if defined(CONFIG_E500) || defined(CONFIG_MPC86xx) +#if defined(CONFIG_MPC8xx) || defined(CONFIG_E500) || defined(CONFIG_MPC86xx) #define bi_bar bi_immr_base -#elif defined(CONFIG_MPC5xxx) -#define bi_bar bi_mbar_base #elif defined(CONFIG_MPC83xx) #define bi_bar bi_immrbar #endif