Message ID | 1349441933-22840-4-git-send-email-monstr@monstr.eu |
---|---|
State | Accepted |
Delegated to: | Michal Simek |
Headers | show |
Dear Michal Simek, > Protect dts/libdts.o by CONFIG_OF_EMBED. Better commit message would really help ... esp. if you could explain the problem. > Signed-off-by: Michal Simek <monstr@monstr.eu> > --- > arch/microblaze/cpu/u-boot.lds | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/arch/microblaze/cpu/u-boot.lds > b/arch/microblaze/cpu/u-boot.lds index d033a28..349d36a 100644 > --- a/arch/microblaze/cpu/u-boot.lds > +++ b/arch/microblaze/cpu/u-boot.lds > @@ -45,7 +45,9 @@ SECTIONS > .data ALIGN(0x4): > { > __data_start = .; > +#ifdef CONFIG_OF_EMBED > dts/libdts.o (.data) > +#endif > *(.data) > __data_end = .; > } Best regards, Marek Vasut
diff --git a/arch/microblaze/cpu/u-boot.lds b/arch/microblaze/cpu/u-boot.lds index d033a28..349d36a 100644 --- a/arch/microblaze/cpu/u-boot.lds +++ b/arch/microblaze/cpu/u-boot.lds @@ -45,7 +45,9 @@ SECTIONS .data ALIGN(0x4): { __data_start = .; +#ifdef CONFIG_OF_EMBED dts/libdts.o (.data) +#endif *(.data) __data_end = .; }
Protect dts/libdts.o by CONFIG_OF_EMBED. Signed-off-by: Michal Simek <monstr@monstr.eu> --- arch/microblaze/cpu/u-boot.lds | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)