From: Wolfgang Denk Date: Sun, 16 Mar 2008 01:39:24 +0100 Subject: [U-Boot-Users] [PATCH] Flex-OneNAND booting support In-Reply-To: Your message of "Mon, 18 Feb 2008 16:55:19 +0900." <20080218075519.GA5052@party> Message-ID: <20080316003924.41FF3241A2@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <20080218075519.GA5052@party> you wrote: > Flex-OneNAND booting support > > Flex-OneNAND is a monolithic integrated circuit with a NAND Flash array using a NOR Flash interface. This on-chip integration enables system designers to reduce external system logic and use high-density NAND Flash in applications that would otherwise h > ave to use more NOR components. > Flex-OneNAND enables users to configure to partition it into SLC and MLC areas in more flexible way. While MLC area of Flex-OneNAND can be used to store data that require low reliability and high density, SLC area of Flex-OneNAND to store data that need > high reliability and high performance. Flex-OneNAND can let users take advantage of storing these two different types of data into one chip, which is making Flex-OneNAND more cost- and space-effective. Please make sure the line lengt is 70 characters maximum or so. > diff --git a/Makefile b/Makefile > index 9512b71..e9010b6 100644 > --- a/Makefile > +++ b/Makefile > @@ -333,10 +333,12 @@ $(U_BOOT_NAND): $(NAND_SPL) $(obj)u-boot.bin $(obj)include/autoconf.mk > cat $(obj)nand_spl/u-boot-spl-16k.bin $(obj)u-boot.bin > $(obj)u-boot-nand.bin > > $(ONENAND_IPL): $(VERSION_FILE) $(obj)include/autoconf.mk > - $(MAKE) -C onenand_ipl/board/$(BOARDDIR) all > + $(MAKE) -C $(obj)onenand_ipl/board/$(BOARDDIR) all > > $(U_BOOT_ONENAND): $(ONENAND_IPL) $(obj)u-boot.bin $(obj)include/autoconf.mk > + $(MAKE) -C $(obj)onenand_ipl/board/$(BOARDDIR) all > cat $(obj)onenand_ipl/onenand-ipl-2k.bin $(obj)u-boot.bin > $(obj)u-boot-onenand.bin > + cat $(obj)onenand_ipl/onenand-ipl-4k.bin $(obj)u-boot.bin > $(obj)u-boot-flexonenand.bin > > $(VERSION_FILE): > @( echo -n "#define U_BOOT_VERSION \"U-Boot " ; \ > @@ -2914,7 +2916,9 @@ clean: > @rm -f $(obj)include/bmp_logo.h > @rm -f $(obj)nand_spl/u-boot-spl $(obj)nand_spl/u-boot-spl.map > @rm -f $(obj)onenand_ipl/onenand-ipl $(obj)onenand_ipl/onenand-ipl.bin \ > - $(obj)onenand_ipl/onenand-ipl-2k.bin $(obj)onenand_ipl/onenand-ipl.map > + $(obj)onenand_ipl/onenand-ipl-2k.bin \ > + $(obj)onenand_ipl/onenand-ipl-4k.bin \ > + $(obj)onenand_ipl/onenand-ipl.map > @rm -f $(obj)api_examples/demo $(VERSION_FILE) Sorry, this part of your patch conflicts with the current code. Please rebase and resubmit. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de For every complex problem, there is a solution that is simple, neat, and wrong. - Mark Twain