From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Wed, 8 Aug 2012 00:55:05 -0400 Subject: [U-Boot] [PATCH 05/16] Blackfin: Paraflash: add support for bf609-ezkit In-Reply-To: <1344326875-348-5-git-send-email-lliubbo@gmail.com> References: <1344326875-348-1-git-send-email-lliubbo@gmail.com> <1344326875-348-5-git-send-email-lliubbo@gmail.com> Message-ID: <201208080055.06372.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tuesday 07 August 2012 04:07:44 Bob Liu wrote: > --- a/arch/blackfin/include/asm/mach-bf609/portmux.h > +++ b/arch/blackfin/include/asm/mach-bf609/portmux.h this should be part of the initial commit of this header (one of the initial bf60x support patches) > --- a/board/bf609-ezkit/bf609-ezkit.c > +++ b/board/bf609-ezkit/bf609-ezkit.c > --- a/include/configs/bf609-ezkit.h > +++ b/include/configs/bf609-ezkit.h then squash these into the initial bf609-ezkit board patch > --- a/include/configs/bfin_adi_common.h > +++ b/include/configs/bfin_adi_common.h > @@ -195,10 +195,12 @@ > "nand erase 0 0x40000;" \ > "nand write $(loadaddr) 0 0x40000" > # else > -# define UBOOT_ENV_UPDATE \ > +# ifndef UBOOT_ENV_UPDATE > +# define UBOOT_ENV_UPDATE \ > "protect off 0x20000000 +$(filesize);" \ > "erase 0x20000000 +$(filesize);" \ > "cp.b $(loadaddr) 0x20000000 $(filesize)" > +# endif > # endif > # ifdef CONFIG_NETCONSOLE > # define NETCONSOLE_ENV \ replace the 0x20000000 with a define and then there's no need to override it # define UBOOT_ENV_UPDATE \ "protect off " MK_STR(CONFIG_SYS_FLASH_BASE) " +$(filesize);" \ "erase " MK_STR(CONFIG_SYS_FLASH_BASE) " +$(filesize);" \ "cp.b $(loadaddr) " MK_STR(CONFIG_SYS_FLASH_BASE) " $(filesize)" -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: