From mboxrd@z Thu Jan 1 00:00:00 1970 From: Prabhakar Kushwaha Date: Thu, 6 Mar 2014 21:37:56 +0530 Subject: [U-Boot] [PATCH 1/7][v2] powerpc/mpc85xx: Move LAW_EN define outside of config In-Reply-To: <1B06670C-CF23-4553-BA01-674782337B5E@kernel.crashing.org> References: <1394107950-17613-1-git-send-email-prabhakar@freescale.com> <1B06670C-CF23-4553-BA01-674782337B5E@kernel.crashing.org> Message-ID: <53189D5C.6070806@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 Hi Kumar, On 3/6/2014 9:21 PM, Kumar Gala wrote: > On Mar 6, 2014, at 6:12 AM, Prabhakar Kushwaha wrote: > >> LAW_EN is only defined if CONFIG_SYS_CCSRBAR_DEFAULT is not equal to >> CONFIG_SYS_CCSRBAR_PHYS. in SPL framework CCSRBAR is not relocated hence >> both are same. This cause compilation error. >> >> So LAW_EN define outside of configs >> >> Signed-off-by: Prabhakar Kushwaha >> --- >> Changes for v2: Sending as it is >> >> arch/powerpc/cpu/mpc85xx/start.S | 3 ++- >> 1 file changed, 2 insertions(+), 1 deletion(-) > why aren?t these coming from asm/fsl_law.h? > look like this file is not being include that's why LAW_EN was defined. We are having include header files #include #include #include #include #include #include #include #include Regards, Prabhakar