summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2012-09-26 14:24:05 +0200
committerMichal Simek <monstr@monstr.eu>2012-11-08 10:33:19 +0100
commitb3e5cd17f6e180642efafb20bcda948c3cbcff10 (patch)
tree897524f1c2a994a4d1a6cc6b9449a5976e92e2e4 /arch
parentf8c1ed092c828b51683873c0c79acc44b27eb8e9 (diff)
downloadu-boot-imx-b3e5cd17f6e180642efafb20bcda948c3cbcff10.zip
u-boot-imx-b3e5cd17f6e180642efafb20bcda948c3cbcff10.tar.gz
u-boot-imx-b3e5cd17f6e180642efafb20bcda948c3cbcff10.tar.bz2
microblaze: Fix compilation failure because of missing libdts
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/microblaze/cpu/u-boot.lds2
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 = .;
+#ifdef CONFIG_OF_EMBED
dts/libdts.o (.data)
+#endif
*(.data)
__data_end = .;
}