public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Nishanth Menon <nm@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 3/5] ARM: omap-common: Add standard access for board description EEPROM
Date: Thu, 5 Nov 2015 01:21:53 -0600	[thread overview]
Message-ID: <563B0391.80100@ti.com> (raw)
In-Reply-To: <563AF074.9000502@ti.com>

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..

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/
 libs-$(HAVE_VENDOR_COMMON_LIB) += board/$(VENDOR)/common/



-- 
Regards,
Nishanth Menon

  reply	other threads:[~2015-11-05  7:21 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-04 22:00 [U-Boot] [PATCH v3 0/5] ARM: omap-common: Add board detection support for TI EVMs Steve Kipisz
2015-11-04 22:00 ` [U-Boot] [PATCH v3 1/5] ARM: OMAP4/5: Centralize early clock initialization Steve Kipisz
2015-11-05  5:45   ` Lokesh Vutla
2015-11-04 22:00 ` [U-Boot] [PATCH v3 2/5] ARM: OMAP4/5: Centralize gpi2c_init Steve Kipisz
2015-11-05  5:46   ` Lokesh Vutla
2015-11-04 22:00 ` [U-Boot] [PATCH v3 3/5] ARM: omap-common: Add standard access for board description EEPROM Steve Kipisz
2015-11-04 23:43   ` Nishanth Menon
2015-11-05  4:50     ` Nishanth Menon
2015-11-05  6:00   ` Lokesh Vutla
2015-11-05  7:21     ` Nishanth Menon [this message]
2015-11-04 22:00 ` [U-Boot] [PATCH v3 4/5] ARM: OMAP4/5: Add generic board detection hook Steve Kipisz
2015-11-05  5:49   ` Lokesh Vutla
2015-11-04 22:00 ` [U-Boot] [PATCH v3 5/5] board: ti: AM57xx: Add detection logic for AM57xx-evm Steve Kipisz
2015-11-04 23:53 ` [U-Boot] [PATCH v3 0/5] ARM: omap-common: Add board detection support for TI EVMs Nishanth Menon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=563B0391.80100@ti.com \
    --to=nm@ti.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox