From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Fri, 7 Mar 2014 11:40:35 -0800 Subject: [U-Boot] [PATCH][v3] board/t104xrdb: Add support of CPLD In-Reply-To: <1393554123-25610-1-git-send-email-prabhakar@freescale.com> References: <1393554123-25610-1-git-send-email-prabhakar@freescale.com> Message-ID: <531A20B3.3020002@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > Changes for v2: > - Updated the cpld command > Changes for v3: > - fix typo > > +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