From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <4898C845.3080606@freescale.com> Date: Tue, 05 Aug 2008 15:38:13 -0600 From: John Rigby MIME-Version: 1.0 To: Scott Wood Subject: Re: [PATCH add immr alias 2/4] powerpc: 5121: Add immr alias to MPC5121 ADS device tree. References: <1217967220-30557-1-git-send-email-jrigby@freescale.com> <1217967220-30557-2-git-send-email-jrigby@freescale.com> <4898C34C.5000305@freescale.com> <4898C434.4040408@freescale.com> In-Reply-To: <4898C434.4040408@freescale.com> Content-Type: text/plain; charset=UTF-8; format=flowed Cc: linuxppc-dev@ozlabs.org, devicetree-discuss@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Scott Wood wrote: > John Rigby wrote: >> I would like to use mpc83xx_add_bridge for 5121. This is why I >> moved it to fsl_pci.c. It currently uses get_immrbase and adds >> 0x8300 and 0x8304 to it to pass to setup_indirect_pci as the >> cfg_addr, and cfg_data addresses. >> >> I'm more than willing to change mpc83xx_add_bridge to not use >> get_immrbase. One simple solution is to pass the cfg_addr and >> cfg_data addresses in. If that seems ok then thats what I will do. > > We should really be putting those addresses in the "reg" property of > the PCI node. > > -Scott > Yes, which is what fsl_add_bridge does it.