[U-Boot] [PATCH] OMAP3: Introduce CONFIG option for power code

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Thu May 7 22:46:17 CEST 2009


On 17:21 Wed 06 May     , Dirk Behme wrote:
> Some OMAP3 boards need control for external power companion
> chips. Introduce a CONFIG option for this, to avoid Makefile
> changes for each board.

please also move it to cpu/arm_cortexa8/omap3/

omap3 and davinci is not a vendor
so common code will need to go to drivers or cpu/<arch>/<soc>
for the davinci it's already start to move to it

Best Regards,
J.
> 
> Signed-off-by: Dirk Behme <dirk.behme at googlemail.com>
> ---
> 
> Compile tested with ./MAKEALL ARM_CORTEX_A8, boot tested on
> OMAP3 based BeagleBoard.
> 
> Note: This patch trys to fix the first comment of
> 
> http://lists.denx.de/pipermail/u-boot/2009-April/051383.html
> 
>  board/omap3/common/Makefile     |    5 +----
>  doc/README.omap3                |   11 +++++++++++
>  include/configs/omap3_beagle.h  |    1 +
>  include/configs/omap3_overo.h   |    1 +
>  include/configs/omap3_pandora.h |    1 +
>  include/configs/omap3_zoom1.h   |    1 +
>  6 files changed, 16 insertions(+), 4 deletions(-)
> 
> Index: u-boot-main/doc/README.omap3
> ===================================================================
> --- u-boot-main.orig/doc/README.omap3
> +++ u-boot-main/doc/README.omap3
> @@ -77,6 +77,17 @@ For all other commands see
>  
>  help
>  
> +Custom configs
> +==============
> +
> +CONFIG_OMAP3_POWER
> +
> +Some OMAP3 boards use external power companion chips to be configured. Enable
> +this CONFIG option in your board specific configuration file if your board
> +uses such a companion chip.
could you name it ine the config and the file name

Best Regards,
J.


More information about the U-Boot mailing list