diff options
| author | Michal Simek <monstr@monstr.eu> | 2012-09-26 14:24:05 +0200 | 
|---|---|---|
| committer | Michal Simek <monstr@monstr.eu> | 2012-11-08 10:33:19 +0100 | 
| commit | b3e5cd17f6e180642efafb20bcda948c3cbcff10 (patch) | |
| tree | 897524f1c2a994a4d1a6cc6b9449a5976e92e2e4 | |
| parent | f8c1ed092c828b51683873c0c79acc44b27eb8e9 (diff) | |
| download | olio-uboot-2014.01-b3e5cd17f6e180642efafb20bcda948c3cbcff10.tar.xz olio-uboot-2014.01-b3e5cd17f6e180642efafb20bcda948c3cbcff10.zip | |
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>
| -rw-r--r-- | 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 4297b9344..fe3d97dad 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 = .;  	} |