From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Tue, 15 Dec 2015 10:57:12 +0800 Subject: [U-Boot] [PATCH] powerpc: mpc85xx: Move set_liodns, setup_portals to common boot seq In-Reply-To: <1446799456-22322-1-git-send-email-prabhakar@freescale.com> References: <1446799456-22322-1-git-send-email-prabhakar@freescale.com> Message-ID: <566F8188.5070009@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 11/06/2015 04:44 PM, Prabhakar Kushwaha wrote: > Users migrating Freescale's PowerPC SoC U-Boot code to their custom > board, often overlook the need to execute set_liodns() and > setup_portals() being called by platform files. > > So Move set_liodns() and setup_portals() to common u-boot boot > sequence > > Signed-off-by: Prabhakar Kushwaha > --- > arch/powerpc/cpu/mpc85xx/cpu_init.c | 7 +++++++ > board/freescale/b4860qds/b4860qds.c | 5 ----- > board/freescale/corenet_ds/corenet_ds.c | 6 ------ > board/freescale/p2041rdb/p2041rdb.c | 3 --- > board/freescale/t102xqds/t102xqds.c | 5 ----- > board/freescale/t102xrdb/t102xrdb.c | 5 ----- > board/freescale/t1040qds/t1040qds.c | 5 ----- > board/freescale/t104xrdb/t104xrdb.c | 6 ------ > board/freescale/t208xqds/t208xqds.c | 6 ------ > board/freescale/t208xrdb/t208xrdb.c | 6 ------ > board/freescale/t4qds/t4240emu.c | 6 ------ > board/freescale/t4qds/t4240qds.c | 6 ------ > board/freescale/t4rdb/t4240rdb.c | 6 ------ > 13 files changed, 7 insertions(+), 65 deletions(-) Prabhakar, This change is not good. You presume set_liodns() is available for all 85xx. Putting the call into cpu_init.c caused compiling error for non-corenet SoCs. Please update and make sure you run buildman on powerpc. York