X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=api%2Fapi_platform-powerpc.c;h=15930cfdb66286fbc31c99ebf4779434dc853cbb;hb=55111c5052b3a6b6d26daacc1950e30a2c3aa55f;hp=d1b54ea4e141a9062fb7642355a6620e7e29c2c1;hpb=064b55cfcb25c0f7692ecf6d4a38f12cd82739f7;p=oweals%2Fu-boot.git diff --git a/api/api_platform-powerpc.c b/api/api_platform-powerpc.c index d1b54ea4e1..15930cfdb6 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,7 +29,7 @@ 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_MPC83xx) #define bi_bar bi_immrbar