[U-Boot,v2] microblaze: Fix compilation failure because of missing libdts

Message ID 1352304607-18502-1-git-send-email-monstr@monstr.eu
State Accepted
Delegated to: Michal Simek
Headers show

Commit Message

Michal Simek Nov. 7, 2012, 4:10 p.m.
Microblaze platform can use CONFIG_OF_EMBED option
but also it is necessary to support boards
which don't want to use this option.
U-Boot doesn't compile dts/libdts.o for #undef CONFIG_OF_EMBED
case that's why it should be guarded by ifdef.

Signed-off-by: Michal Simek <monstr@monstr.eu>

v2: Change commit message
 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 4297b93..fe3d97d 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 = .;
 		dts/libdts.o (.data)
 		__data_end = .;