[U-Boot] [PATCH] powerpc/mpc85xx: Enabling CPC conditionally based on hwconfig options

Scott Wood scottwood at freescale.com
Fri Jun 14 21:39:26 CEST 2013


On 06/14/2013 12:26:18 AM, Singh Sandeep-B37400 wrote:
> This was done with the intension of providing greater  
> configurability. When
> en_cpc is defined then it's entirely up to user to decide which cpcs  
> are to
> be enabled. Hence we do following:
> 
> if_defined("en_cpc"){
> 	only_then
> 		check_for_cpc_options;
> } else {
> 	enable_all_cpc;
> }

OK, I see.

What is the use case for enabling one cpc but not another?  What is the  
use case for disabling cpc at all?  The answer should go in the commit  
message.

-Scott


More information about the U-Boot mailing list