[U-Boot] [PATCH][v3] board/t104xrdb: Add support of CPLD

York Sun yorksun at freescale.com
Fri Mar 7 20:40:35 CET 2014


On 02/27/2014 06:22 PM, Prabhakar Kushwaha wrote:
> T1040RDB and T1042RDB_PI has CPLD. Here CPLD controls board mux/features.
> 
> This support of CPLD includes
>  - files and register defintion
>  - Commands to swtich alternate bank and default bank
> 
> Signed-off-by: Prabhakar Kushwaha <prabhakar at freescale.com>
> ---
> Changes for v2:
> 	- Updated the cpld command
> Changes for v3:
> 	- fix typo 
> 
<snip>

> +U_BOOT_CMD(
> +	cpld, CONFIG_SYS_MAXARGS, 1, do_cpld,
> +	"Reset the board or alternate bank",
> +	"reset - hard reset to default bank\n"
> +	"cpld_cmd reset altbank - reset to alternate bank\n"
> +#ifdef DEBUG
> +	"cpld_cmd dump - display the CPLD registers\n"
> +#endif

More to fix. Please keep the command consistent. I think you want to use cpld,
instead of cpld_cmd.

York


More information about the U-Boot mailing list