diff mbox

[v3,3/5] ARM: omap-common: Add standard access for board description EEPROM

Message ID 563B0391.80100@ti.com
State New
Headers show

Commit Message

Nishanth Menon Nov. 5, 2015, 7:21 a.m. UTC
On 11/05/2015 12:00 AM, Lokesh Vutla wrote:
[...]

>> diff --git a/board/ti/common/board.h b/board/ti/common/board.h

>> new file mode 100644

>> index 000000000000..19d63cad82f9

>> --- /dev/null

>> +++ b/board/ti/common/board.h

> 

> May be keep this header file under arch/arm/include/asm/ so that it can

> be included properly.

> 

if we do something like this: then we'd not have to add cruft to the
generic location..

 libs-$(HAVE_VENDOR_COMMON_LIB) += board/$(VENDOR)/common/



-- 
Regards,
Nishanth Menon
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
diff mbox

Patch

diff --git a/Makefile b/Makefile
index 3c21f8ddf9e9..75d5ea802dfd 100644
--- a/Makefile
+++ b/Makefile
@@ -620,6 +620,7 @@  c_flags := $(KBUILD_CFLAGS) $(cpp_flags)
 # U-Boot objects....order is important (i.e. start must be first)

 HAVE_VENDOR_COMMON_LIB = $(if $(wildcard
$(srctree)/board/$(VENDOR)/common/Makefile),y,n)
+UBOOTINCLUDE += $(if $(HAVE_VENDOR_COMMON_LIB:y=1),
-I$(srctree)/board/$(VENDOR)/common)

 libs-y += lib/