public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [RFC PATCH 0/1] sunxi board-specific options
@ 2015-08-22 11:52 Bernhard Nortmann
  2015-08-22 11:52 ` [U-Boot] [RFC PATCH] sunxi: support board-specific configuration options Bernhard Nortmann
  0 siblings, 1 reply; 5+ messages in thread
From: Bernhard Nortmann @ 2015-08-22 11:52 UTC (permalink / raw)
  To: u-boot

I'm looking for ideas/comments on how to best integrate configuration
tweaks for specific sunxi boards into the U-Boot (build) ecosystem.
An example would be adding U-Boot support for GPIO-driven LEDs (and
the "led" command), which I'm demonstrating here for the Banana Pi.

My current line of thought is: Have sunxi-common.h include a separate
sunxi-boards.h, to prevent pollution of the "master" include (in case
the file later grows to accomodate multiple configurations).
sunxi-boards.h in turn could tweak configuration settings as needed, or
pull in further includes, depending on board-specific definitions.
The latter would probably originate from the boards' *_defconfig files.

Regards, B. Nortmann


Bernhard Nortmann (1):
  sunxi: support board-specific configuration options

 configs/Bananapi_defconfig     |  2 +-
 include/configs/bananapi.h     | 23 +++++++++++++++++++++++
 include/configs/sunxi-boards.h |  5 +++++
 include/configs/sunxi-common.h |  1 +
 4 files changed, 30 insertions(+), 1 deletion(-)
 create mode 100644 include/configs/bananapi.h
 create mode 100644 include/configs/sunxi-boards.h

-- 
2.4.6

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-08-24  9:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-22 11:52 [U-Boot] [RFC PATCH 0/1] sunxi board-specific options Bernhard Nortmann
2015-08-22 11:52 ` [U-Boot] [RFC PATCH] sunxi: support board-specific configuration options Bernhard Nortmann
2015-08-22 14:02   ` Hans de Goede
2015-08-24  9:18     ` Bernhard Nortmann
2015-08-24  9:22       ` Hans de Goede

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox