Re: [U-Boot] [RFC PATCH] sunxi: support board-specific configuration options

2015-08-24 Thread Hans de Goede
Hi, On 24-08-15 11:18, Bernhard Nortmann wrote: Hi Hans! I agree that picking user-defined LEDs as an example might not have been the best choice. Stuff like that should probably go into more 'generic' frameworks, e.g. a place to deal with those would be to define them in the device tree and

Re: [U-Boot] [RFC PATCH] sunxi: support board-specific configuration options

2015-08-24 Thread Bernhard Nortmann
Hi Hans! I agree that picking user-defined LEDs as an example might not have been the best choice. Stuff like that should probably go into more 'generic' frameworks, e.g. a place to deal with those would be to define them in the device tree and have a proper driver handling them.

[U-Boot] [RFC PATCH] sunxi: support board-specific configuration options

2015-08-22 Thread Bernhard Nortmann
Extend sunxi-common.h to include sunxi-boards.h - which in turn can support multiple configurations/options/includes, based on board-specific symbols (preprocessor definitions). These might be supplied by the respective *_defconfig files. Signed-off-by: Bernhard Nortmann bernhard.nortm...@web.de

Re: [U-Boot] [RFC PATCH] sunxi: support board-specific configuration options

2015-08-22 Thread Hans de Goede
Hi Bernhard, On 22-08-15 13:52, Bernhard Nortmann wrote: Extend sunxi-common.h to include sunxi-boards.h - which in turn can support multiple configurations/options/includes, based on board-specific symbols (preprocessor definitions). These might be supplied by the respective *_defconfig files.