[U-Boot] [PATCH 1/7][v2] powerpc/mpc85xx: Move LAW_EN define outside of config

Prabhakar Kushwaha prabhakar at freescale.com
Thu Mar 6 17:07:56 CET 2014


Hi Kumar,

On 3/6/2014 9:21 PM, Kumar Gala wrote:
> On Mar 6, 2014, at 6:12 AM, Prabhakar Kushwaha <prabhakar at freescale.com> 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 <prabhakar at freescale.com>
>> ---
>> 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 <asm-offsets.h>
#include <config.h>
#include <mpc85xx.h>
#include <version.h>

#include <ppc_asm.tmpl>
#include <ppc_defs.h>

#include <asm/cache.h>
#include <asm/mmu.h>

Regards,
Prabhakar




More information about the U-Boot mailing list