* [U-Boot] Please Pull u-boot-ti/next
@ 2010-06-22 15:29 s-paulraj at ti.com
2010-06-29 19:59 ` Wolfgang Denk
0 siblings, 1 reply; 39+ messages in thread
From: s-paulraj at ti.com @ 2010-06-22 15:29 UTC (permalink / raw)
To: u-boot
Wolfgang,
Please pull u-boot-ti/next.
I ran MAKEALL and so no issues.
Thanks,
Sandeep
The following changes since commit 54e19a7ded6e9dbdc3392a57d82f4f77b34e85b8:
Wolfgang Denk (1):
Merge branch 'master' into next
are available in the git repository at:
git://git.denx.de/u-boot-ti.git next
Nick Thompson (1):
Davinci: SPI performance enhancements
Prakash PM (1):
DaVinci: EMAC: Get EMAC_MDIO_PHY_NUM from config files
arch/arm/include/asm/arch-davinci/emac_defs.h | 2 +-
drivers/spi/davinci_spi.c | 195 ++++++++++++++++---------
include/configs/da830evm.h | 1 +
include/configs/davinci_dm365evm.h | 1 +
include/configs/davinci_dvevm.h | 1 +
include/configs/davinci_schmoogie.h | 1 +
include/configs/davinci_sffsdr.h | 1 +
include/configs/davinci_sonata.h | 1 +
8 files changed, 135 insertions(+), 68 deletions(-)
^ permalink raw reply [flat|nested] 39+ messages in thread
* [U-Boot] Please Pull u-boot-ti/next
2010-06-22 15:29 [U-Boot] Please Pull u-boot-ti/next s-paulraj at ti.com
@ 2010-06-29 19:59 ` Wolfgang Denk
0 siblings, 0 replies; 39+ messages in thread
From: Wolfgang Denk @ 2010-06-29 19:59 UTC (permalink / raw)
To: u-boot
Dear s-paulraj at ti.com,
In message <1277220546-18148-1-git-send-email-s-paulraj@ti.com> you wrote:
> Wolfgang,
>
> Please pull u-boot-ti/next.
> I ran MAKEALL and so no issues.
>
> Thanks,
> Sandeep
>
> The following changes since commit 54e19a7ded6e9dbdc3392a57d82f4f77b34e85b8:
> Wolfgang Denk (1):
> Merge branch 'master' into next
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-ti.git next
>
> Nick Thompson (1):
> Davinci: SPI performance enhancements
>
> Prakash PM (1):
> DaVinci: EMAC: Get EMAC_MDIO_PHY_NUM from config files
>
> arch/arm/include/asm/arch-davinci/emac_defs.h | 2 +-
> drivers/spi/davinci_spi.c | 195 ++++++++++++++++---------
> include/configs/da830evm.h | 1 +
> include/configs/davinci_dm365evm.h | 1 +
> include/configs/davinci_dvevm.h | 1 +
> include/configs/davinci_schmoogie.h | 1 +
> include/configs/davinci_sffsdr.h | 1 +
> include/configs/davinci_sonata.h | 1 +
> 8 files changed, 135 insertions(+), 68 deletions(-)
Applied to "next" branch.
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
Live long and prosper.
-- Spock, "Amok Time", stardate 3372.7
^ permalink raw reply [flat|nested] 39+ messages in thread
* [U-Boot] Please pull u-boot-ti/next
@ 2010-11-30 16:59 s-paulraj at ti.com
2010-11-30 20:39 ` Wolfgang Denk
0 siblings, 1 reply; 39+ messages in thread
From: s-paulraj at ti.com @ 2010-11-30 16:59 UTC (permalink / raw)
To: u-boot
The following changes since commit c87f6457bb9cb465e9630b00b4c824847a62c6c5:
Mike Frysinger (1):
ext2: constify file/dir names
are available in the git repository at:
git://git.denx.de/u-boot-ti.git next
Stefano Babic (3):
da850: Enable SPI Flash
Davinci 8xx: Move common functions to share code
Davinci: add support for the ea20 board
Sudhakar Rajashekhara (2):
da8xx: Add cpu_is_da8xx macros
da850: Add RMII support for EMAC
Sughosh Ganu (3):
Move and rename common headers from under
Remove board_init_f function from nand_boot.c
Add board support for hawkboard
MAINTAINERS | 6 +
.../arm/include/asm/arch-davinci/davinci_misc.h | 15 ++
arch/arm/include/asm/arch-davinci/hardware.h | 37 ++++-
board/davinci/common/Makefile | 2 +-
board/davinci/common/davinci_pinmux.c | 105 ++++++++++
board/davinci/common/misc.c | 99 ++++------
board/davinci/da8xxevm/Makefile | 2 +-
board/davinci/da8xxevm/common.c | 55 ------
board/davinci/da8xxevm/common.h | 30 ---
board/davinci/da8xxevm/da830evm.c | 3 +-
board/davinci/da8xxevm/da850evm.c | 115 +++++++++++-
board/davinci/da8xxevm/hawkboard.c | 68 +++++++
board/davinci/da8xxevm/hawkboard_nand_spl.c | 157 +++++++++++++++
board/davinci/dm355evm/dm355evm.c | 2 +-
board/davinci/dm355leopard/dm355leopard.c | 2 +-
board/davinci/dm365evm/dm365evm.c | 2 +-
board/davinci/dvevm/dvevm.c | 2 +-
board/davinci/ea20/Makefile | 53 +++++
board/davinci/ea20/ea20.c | 196 +++++++++++++++++++
board/davinci/schmoogie/schmoogie.c | 2 +-
board/davinci/sffsdr/sffsdr.c | 2 +-
board/davinci/sonata/sonata.c | 2 +-
board/samsung/smdk6400/smdk6400_nand_spl.c | 37 ++++
boards.cfg | 4 +
doc/README.hawkboard | 93 +++++++++
drivers/net/davinci_emac.c | 41 ++++-
include/configs/da850evm.h | 29 +++
include/configs/ea20.h | 192 ++++++++++++++++++
include/configs/hawkboard.h | 206 ++++++++++++++++++++
nand_spl/board/davinci/da8xxevm/Makefile | 141 +++++++++++++
nand_spl/board/davinci/da8xxevm/u-boot.lds | 75 +++++++
nand_spl/board/samsung/smdk6400/Makefile | 6 +-
nand_spl/nand_boot.c | 9 +-
33 files changed, 1615 insertions(+), 175 deletions(-)
rename board/davinci/common/misc.h => arch/arm/include/asm/arch-davinci/davinci_misc.h (80%)
create mode 100644 board/davinci/common/davinci_pinmux.c
delete mode 100644 board/davinci/da8xxevm/common.c
delete mode 100644 board/davinci/da8xxevm/common.h
create mode 100644 board/davinci/da8xxevm/hawkboard.c
create mode 100644 board/davinci/da8xxevm/hawkboard_nand_spl.c
create mode 100644 board/davinci/ea20/Makefile
create mode 100644 board/davinci/ea20/ea20.c
create mode 100644 board/samsung/smdk6400/smdk6400_nand_spl.c
create mode 100644 doc/README.hawkboard
create mode 100644 include/configs/ea20.h
create mode 100644 include/configs/hawkboard.h
create mode 100644 nand_spl/board/davinci/da8xxevm/Makefile
create mode 100644 nand_spl/board/davinci/da8xxevm/u-boot.lds
^ permalink raw reply [flat|nested] 39+ messages in thread
* [U-Boot] Please pull u-boot-ti/next
2010-11-30 16:59 s-paulraj at ti.com
@ 2010-11-30 20:39 ` Wolfgang Denk
0 siblings, 0 replies; 39+ messages in thread
From: Wolfgang Denk @ 2010-11-30 20:39 UTC (permalink / raw)
To: u-boot
Dear s-paulraj at ti.com,
In message <1291136354-11693-1-git-send-email-s-paulraj@ti.com> you wrote:
> The following changes since commit c87f6457bb9cb465e9630b00b4c824847a62c6c5:
> Mike Frysinger (1):
> ext2: constify file/dir names
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-ti.git next
>
> Stefano Babic (3):
> da850: Enable SPI Flash
> Davinci 8xx: Move common functions to share code
> Davinci: add support for the ea20 board
>
> Sudhakar Rajashekhara (2):
> da8xx: Add cpu_is_da8xx macros
> da850: Add RMII support for EMAC
>
> Sughosh Ganu (3):
> Move and rename common headers from under
> Remove board_init_f function from nand_boot.c
> Add board support for hawkboard
>
> MAINTAINERS | 6 +
> .../arm/include/asm/arch-davinci/davinci_misc.h | 15 ++
> arch/arm/include/asm/arch-davinci/hardware.h | 37 ++++-
> board/davinci/common/Makefile | 2 +-
> board/davinci/common/davinci_pinmux.c | 105 ++++++++++
> board/davinci/common/misc.c | 99 ++++------
> board/davinci/da8xxevm/Makefile | 2 +-
> board/davinci/da8xxevm/common.c | 55 ------
> board/davinci/da8xxevm/common.h | 30 ---
> board/davinci/da8xxevm/da830evm.c | 3 +-
> board/davinci/da8xxevm/da850evm.c | 115 +++++++++++-
> board/davinci/da8xxevm/hawkboard.c | 68 +++++++
> board/davinci/da8xxevm/hawkboard_nand_spl.c | 157 +++++++++++++++
> board/davinci/dm355evm/dm355evm.c | 2 +-
> board/davinci/dm355leopard/dm355leopard.c | 2 +-
> board/davinci/dm365evm/dm365evm.c | 2 +-
> board/davinci/dvevm/dvevm.c | 2 +-
> board/davinci/ea20/Makefile | 53 +++++
> board/davinci/ea20/ea20.c | 196 +++++++++++++++++++
> board/davinci/schmoogie/schmoogie.c | 2 +-
> board/davinci/sffsdr/sffsdr.c | 2 +-
> board/davinci/sonata/sonata.c | 2 +-
> board/samsung/smdk6400/smdk6400_nand_spl.c | 37 ++++
> boards.cfg | 4 +
> doc/README.hawkboard | 93 +++++++++
> drivers/net/davinci_emac.c | 41 ++++-
> include/configs/da850evm.h | 29 +++
> include/configs/ea20.h | 192 ++++++++++++++++++
> include/configs/hawkboard.h | 206 ++++++++++++++++++++
> nand_spl/board/davinci/da8xxevm/Makefile | 141 +++++++++++++
> nand_spl/board/davinci/da8xxevm/u-boot.lds | 75 +++++++
> nand_spl/board/samsung/smdk6400/Makefile | 6 +-
> nand_spl/nand_boot.c | 9 +-
> 33 files changed, 1615 insertions(+), 175 deletions(-)
> rename board/davinci/common/misc.h => arch/arm/include/asm/arch-davinci/davinci_misc.h (80%)
> create mode 100644 board/davinci/common/davinci_pinmux.c
> delete mode 100644 board/davinci/da8xxevm/common.c
> delete mode 100644 board/davinci/da8xxevm/common.h
> create mode 100644 board/davinci/da8xxevm/hawkboard.c
> create mode 100644 board/davinci/da8xxevm/hawkboard_nand_spl.c
> create mode 100644 board/davinci/ea20/Makefile
> create mode 100644 board/davinci/ea20/ea20.c
> create mode 100644 board/samsung/smdk6400/smdk6400_nand_spl.c
> create mode 100644 doc/README.hawkboard
> create mode 100644 include/configs/ea20.h
> create mode 100644 include/configs/hawkboard.h
> create mode 100644 nand_spl/board/davinci/da8xxevm/Makefile
> create mode 100644 nand_spl/board/davinci/da8xxevm/u-boot.lds
Applied to u-boot-arm # next, thanks.
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
The universe, they said, depended for its operation on the balance of
four forces which they identified as charm, persuasion, uncertainty
and bloody-mindedness. -- Terry Pratchett, "The Light Fantastic"
^ permalink raw reply [flat|nested] 39+ messages in thread
* [U-Boot] Please pull u-boot-ti/next
@ 2010-12-11 16:08 s-paulraj at ti.com
2010-12-11 16:24 ` Albert ARIBAUD
2010-12-13 22:54 ` Wolfgang Denk
0 siblings, 2 replies; 39+ messages in thread
From: s-paulraj at ti.com @ 2010-12-11 16:08 UTC (permalink / raw)
To: u-boot
Wolfgang,
Please pull u-boot-ti/next
After adding the twl6030 patch i realized that Albert delegated this patch to himself.
But i have seen no comments from him. So i did not ammend the pull request.
If he has issues with this patch, we can drop it.
Thanks,
Sandeep
The following changes since commit 917a62c0d292d9da45100a76151a9fa2d13a9cdc:
Sandeep Paulraj (1):
Merge branch 'next' of git://git.denx.de/u-boot into next
are available in the git repository at:
git://git.denx.de/u-boot-ti.git next
Balaji T K (1):
ARMV7: OMAP4: twl6030 add battery charging support
Dirk Behme (1):
OMAP3: SPI driver
board/ti/sdp4430/Makefile | 2 +-
board/ti/sdp4430/cmd_bat.c | 58 +++++++
board/ti/sdp4430/sdp.c | 4 +
drivers/power/twl6030.c | 124 ++++++++++++++-
drivers/spi/Makefile | 1 +
drivers/spi/omap3_spi.c | 352 +++++++++++++++++++++++++++++++++++++++
drivers/spi/omap3_spi.h | 117 +++++++++++++
include/configs/omap3_beagle.h | 2 +
include/configs/omap4_sdp4430.h | 1 +
include/twl6030.h | 45 +++++-
10 files changed, 701 insertions(+), 5 deletions(-)
create mode 100644 board/ti/sdp4430/cmd_bat.c
create mode 100644 drivers/spi/omap3_spi.c
create mode 100644 drivers/spi/omap3_spi.h
^ permalink raw reply [flat|nested] 39+ messages in thread
* [U-Boot] Please pull u-boot-ti/next
2010-12-11 16:08 [U-Boot] Please pull u-boot-ti/next s-paulraj at ti.com
@ 2010-12-11 16:24 ` Albert ARIBAUD
2010-12-13 22:54 ` Wolfgang Denk
1 sibling, 0 replies; 39+ messages in thread
From: Albert ARIBAUD @ 2010-12-11 16:24 UTC (permalink / raw)
To: u-boot
Le 11/12/2010 17:08, s-paulraj at ti.com a ?crit :
> Wolfgang,
>
> Please pull u-boot-ti/next
>
> After adding the twl6030 patch i realized that Albert delegated this patch to himself.
> But i have seen no comments from him. So i did not ammend the pull request.
> If he has issues with this patch, we can drop it.
>
> Thanks,
> Sandeep
Hi Sandeep,
I'd delegated this patch to me based on the idea that it was not a
bugfix and could wait for after 2010.12 was out, so I'd moved it aside.
But since you already applied it to u-boot-ti, that's ok with me. For
the sake of it, I'll re-delegate it to you and you can then mark it
waiting for upstream. :)
Amicalement,
--
Albert.
^ permalink raw reply [flat|nested] 39+ messages in thread
* [U-Boot] Please pull u-boot-ti/next
2010-12-11 16:08 [U-Boot] Please pull u-boot-ti/next s-paulraj at ti.com
2010-12-11 16:24 ` Albert ARIBAUD
@ 2010-12-13 22:54 ` Wolfgang Denk
1 sibling, 0 replies; 39+ messages in thread
From: Wolfgang Denk @ 2010-12-13 22:54 UTC (permalink / raw)
To: u-boot
Dear s-paulraj at ti.com,
In message <1292083690-17647-1-git-send-email-s-paulraj@ti.com> you wrote:
> Wolfgang,
>
> Please pull u-boot-ti/next
>
> After adding the twl6030 patch i realized that Albert delegated this patch to himself.
> But i have seen no comments from him. So i did not ammend the pull request.
> If he has issues with this patch, we can drop it.
>
> Thanks,
> Sandeep
>
> The following changes since commit 917a62c0d292d9da45100a76151a9fa2d13a9cdc:
> Sandeep Paulraj (1):
> Merge branch 'next' of git://git.denx.de/u-boot into next
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-ti.git next
>
> Balaji T K (1):
> ARMV7: OMAP4: twl6030 add battery charging support
>
> Dirk Behme (1):
> OMAP3: SPI driver
>
> board/ti/sdp4430/Makefile | 2 +-
> board/ti/sdp4430/cmd_bat.c | 58 +++++++
> board/ti/sdp4430/sdp.c | 4 +
> drivers/power/twl6030.c | 124 ++++++++++++++-
> drivers/spi/Makefile | 1 +
> drivers/spi/omap3_spi.c | 352 +++++++++++++++++++++++++++++++++++++++
> drivers/spi/omap3_spi.h | 117 +++++++++++++
> include/configs/omap3_beagle.h | 2 +
> include/configs/omap4_sdp4430.h | 1 +
> include/twl6030.h | 45 +++++-
> 10 files changed, 701 insertions(+), 5 deletions(-)
> create mode 100644 board/ti/sdp4430/cmd_bat.c
> create mode 100644 drivers/spi/omap3_spi.c
> create mode 100644 drivers/spi/omap3_spi.h
Applied, thanks.
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
Don't have a battle of wits with an unarmed opponent.
^ permalink raw reply [flat|nested] 39+ messages in thread
* [U-Boot] Please Pull u-boot-ti/next
@ 2010-12-21 1:09 s-paulraj at ti.com
0 siblings, 0 replies; 39+ messages in thread
From: s-paulraj at ti.com @ 2010-12-21 1:09 UTC (permalink / raw)
To: u-boot
Wolfgang,
Please pull u-boot-ti/next
The DaVinci MMC/SD patches were acked by Andy long ago but never made it
to any tree. Please look at
http://www.mail-archive.com/u-boot at lists.denx.de/msg32375.html
I am trying to upstream the patches as the original author
seems busy
Regards,
Sandeep
The following changes since commit b8339e2b9f32663411dba0f48e25b23f542d53bc:
Matthew McClintock (1):
p1022ds: enable reginfo command
are available in the git repository at:
git://git.denx.de/u-boot-ti.git next
Mike Rapoport (1):
OMAP3: add CM-T35 board
Sandeep Paulraj (3):
Davinci MMCSD Support
DaVinci DM355: Adding MMC/SD support for DM355 EVM
DaVinci DM365: Adding MMC/SD support for DM365 EVM
MAINTAINERS | 4 +
arch/arm/include/asm/arch-davinci/sdmmc_defs.h | 175 ++++++++++
board/cm_t35/Makefile | 47 +++
board/cm_t35/cm_t35.c | 371 ++++++++++++++++++++++
board/davinci/dm355evm/dm355evm.c | 41 +++
board/davinci/dm365evm/dm365evm.c | 49 +++
boards.cfg | 1 +
doc/README.omap3 | 16 +-
drivers/mmc/Makefile | 1 +
drivers/mmc/davinci_mmc.c | 404 ++++++++++++++++++++++++
include/configs/cm_t35.h | 352 +++++++++++++++++++++
include/configs/davinci_dm355evm.h | 22 ++
include/configs/davinci_dm365evm.h | 22 ++
include/mmc.h | 3 +
14 files changed, 1506 insertions(+), 2 deletions(-)
create mode 100644 arch/arm/include/asm/arch-davinci/sdmmc_defs.h
create mode 100644 board/cm_t35/Makefile
create mode 100644 board/cm_t35/cm_t35.c
create mode 100644 drivers/mmc/davinci_mmc.c
create mode 100644 include/configs/cm_t35.h
^ permalink raw reply [flat|nested] 39+ messages in thread
* [U-Boot] Please pull u-boot-ti/next
@ 2011-09-18 23:39 s-paulraj at ti.com
2011-09-19 7:15 ` Albert ARIBAUD
2011-09-20 6:49 ` [U-Boot] Please pull u-boot-ti/next Albert ARIBAUD
0 siblings, 2 replies; 39+ messages in thread
From: s-paulraj at ti.com @ 2011-09-18 23:39 UTC (permalink / raw)
To: u-boot
Please pull u-boot-ti/next.
I checked all the patches for checkpatch errors.
Also all OMAP3 and OMAP4 built with no issues.
Thanks,
Sandeep
The following changes since commit 3522ad62864669b335b85f5abcd136a84bbb7519:
Ajay Bhargav (1):
Armada100: Enable 88E3015 PHY support for GplugD
are available in the git repository at:
git://git.denx.de/u-boot-ti.git next
Philip Balister (2):
OMAP3: Overo: Update GPMC timing for ethernet chip
overo: Set IEN on GPMC_CLK to support synchronous clocking.
Sandeep Paulraj (1):
devkit8000: Fix build break
Simon Schwarz (9):
omap-common/omap4: relocate early UART clock setup
omap3: Configure RAM bank 0 if in SPL
omap-common: add nand spl support
spl: add NAND Library to new SPL
spl: Add POWER library to new spl
omap3: new SPL structure support
devkit8000: Add nand-spl support for new SPL
omap3: implement boot parameter saving
omap-common: reorganize spl.c
arch/arm/cpu/armv7/omap-common/Makefile | 6 +
arch/arm/cpu/armv7/omap-common/spl.c | 165 +++---------------
arch/arm/cpu/armv7/omap-common/spl_mmc.c | 150 ++++++++++++++++
arch/arm/cpu/armv7/omap-common/spl_nand.c | 71 ++++++++
arch/arm/cpu/armv7/omap3/board.c | 50 ++++++-
arch/arm/cpu/armv7/omap3/config.mk | 30 ++++
arch/arm/cpu/armv7/omap3/lowlevel_init.S | 10 +
arch/arm/cpu/armv7/omap3/sdrc.c | 32 ++++-
arch/arm/cpu/armv7/omap4/board.c | 1 +
arch/arm/include/asm/arch-omap3/mem.h | 36 ++++
arch/arm/include/asm/arch-omap3/omap_gpmc.h | 9 +
arch/arm/include/asm/arch-omap3/sys_proto.h | 1 +
arch/arm/include/asm/omap_common.h | 31 ++++
board/isee/igep0020/igep0020.c | 1 +
board/isee/igep0020/igep0020.h | 9 -
board/overo/overo.c | 1 +
board/overo/overo.h | 11 +-
board/timll/devkit8000/devkit8000.c | 2 +-
doc/README.SPL | 2 +
drivers/mtd/nand/Makefile | 10 +-
drivers/mtd/nand/nand_base.c | 4 +-
drivers/mtd/nand/nand_spl_simple.c | 245 +++++++++++++++++++++++++++
drivers/mtd/nand/omap_gpmc.c | 27 +++
include/configs/devkit8000.h | 46 +++++
include/nand.h | 6 +
spl/Makefile | 2 +
26 files changed, 794 insertions(+), 164 deletions(-)
create mode 100644 arch/arm/cpu/armv7/omap-common/spl_mmc.c
create mode 100644 arch/arm/cpu/armv7/omap-common/spl_nand.c
create mode 100644 arch/arm/cpu/armv7/omap3/config.mk
create mode 100644 drivers/mtd/nand/nand_spl_simple.c
^ permalink raw reply [flat|nested] 39+ messages in thread
* [U-Boot] Please pull u-boot-ti/next
2011-09-18 23:39 [U-Boot] Please pull u-boot-ti/next s-paulraj at ti.com
@ 2011-09-19 7:15 ` Albert ARIBAUD
2011-09-19 7:47 ` Wolfgang Denk
2011-09-20 6:49 ` [U-Boot] Please pull u-boot-ti/next Albert ARIBAUD
1 sibling, 1 reply; 39+ messages in thread
From: Albert ARIBAUD @ 2011-09-19 7:15 UTC (permalink / raw)
To: u-boot
Hi Sandeep,
Le 19/09/2011 01:39, s-paulraj at ti.com a ?crit :
> Please pull u-boot-ti/next.
> I checked all the patches for checkpatch errors.
> Also all OMAP3 and OMAP4 built with no issues.
>
> Thanks,
> Sandeep
As this is your 'next' branch, there is an ambiguity: can you please
indicate if you want me to pull this into my 'next' or 'master' branch?
If on master, I assume you want me to also send out a pull request to
Wolfgang, but I am not sure Wolfgang will allow it at this time.
Amicalement,
--
Albert.
^ permalink raw reply [flat|nested] 39+ messages in thread
* [U-Boot] Please pull u-boot-ti/next
2011-09-19 7:15 ` Albert ARIBAUD
@ 2011-09-19 7:47 ` Wolfgang Denk
2011-09-19 12:11 ` Albert ARIBAUD
0 siblings, 1 reply; 39+ messages in thread
From: Wolfgang Denk @ 2011-09-19 7:47 UTC (permalink / raw)
To: u-boot
Dear Albert ARIBAUD,
In message <4E76EBFD.9060505@aribaud.net> you wrote:
>
> As this is your 'next' branch, there is an ambiguity: can you please
> indicate if you want me to pull this into my 'next' or 'master' branch?
>
> If on master, I assume you want me to also send out a pull request to
> Wolfgang, but I am not sure Wolfgang will allow it at this time.
If I understand correctly this is mostly fixes, so I'd take it.
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
If it has syntax, it isn't user friendly.
^ permalink raw reply [flat|nested] 39+ messages in thread
* [U-Boot] Please pull u-boot-ti/next
2011-09-19 7:47 ` Wolfgang Denk
@ 2011-09-19 12:11 ` Albert ARIBAUD
2011-09-19 14:21 ` Paulraj, Sandeep
0 siblings, 1 reply; 39+ messages in thread
From: Albert ARIBAUD @ 2011-09-19 12:11 UTC (permalink / raw)
To: u-boot
Hi Wofgang,
Le 19/09/2011 09:47, Wolfgang Denk a ?crit :
> Dear Albert ARIBAUD,
>
> In message<4E76EBFD.9060505@aribaud.net> you wrote:
>>
>> As this is your 'next' branch, there is an ambiguity: can you please
>> indicate if you want me to pull this into my 'next' or 'master' branch?
>>
>> If on master, I assume you want me to also send out a pull request to
>> Wolfgang, but I am not sure Wolfgang will allow it at this time.
>
> If I understand correctly this is mostly fixes, so I'd take it.
Sandeep's 'next' branch is based on my 'next', not on my 'master', hence
my question -- there would have to be a rebase if Sandeep expected me to
pull into my master.
Sandeep, can you confirm what you want exactly? Meanwhile, I am
launching regression builds on u-boot-ti/next, just in case.
> Best regards,
>
> Wolfgang Denk
Amicalement,
--
Albert.
^ permalink raw reply [flat|nested] 39+ messages in thread
* [U-Boot] Please pull u-boot-ti/next
2011-09-19 12:11 ` Albert ARIBAUD
@ 2011-09-19 14:21 ` Paulraj, Sandeep
2011-09-20 6:47 ` [U-Boot] SMDK6400 regression (was: Please pull u-boot-ti/next) Albert ARIBAUD
0 siblings, 1 reply; 39+ messages in thread
From: Paulraj, Sandeep @ 2011-09-19 14:21 UTC (permalink / raw)
To: u-boot
>
> Hi Wofgang,
>
> Le 19/09/2011 09:47, Wolfgang Denk a ?crit :
> > Dear Albert ARIBAUD,
> >
> > In message<4E76EBFD.9060505@aribaud.net> you wrote:
> >>
> >> As this is your 'next' branch, there is an ambiguity: can you please
> >> indicate if you want me to pull this into my 'next' or 'master' branch?
> >>
> >> If on master, I assume you want me to also send out a pull request to
> >> Wolfgang, but I am not sure Wolfgang will allow it at this time.
> >
> > If I understand correctly this is mostly fixes, so I'd take it.
>
> Sandeep's 'next' branch is based on my 'next', not on my 'master', hence
> my question -- there would have to be a rebase if Sandeep expected me to
> pull into my master.
>
> Sandeep, can you confirm what you want exactly? Meanwhile, I am
> launching regression builds on u-boot-ti/next, just in case.
>
Albert,
The pull request if for your next branch.
Thanks,
Sandeep
^ permalink raw reply [flat|nested] 39+ messages in thread
* [U-Boot] SMDK6400 regression (was: Please pull u-boot-ti/next)
2011-09-19 14:21 ` Paulraj, Sandeep
@ 2011-09-20 6:47 ` Albert ARIBAUD
2011-09-20 7:38 ` [U-Boot] SMDK6400 regression Simon Schwarz
2011-09-21 9:13 ` Simon Schwarz
0 siblings, 2 replies; 39+ messages in thread
From: Albert ARIBAUD @ 2011-09-20 6:47 UTC (permalink / raw)
To: u-boot
Le 19/09/2011 16:21, Paulraj, Sandeep a ?crit :
>
>
>>
>> Hi Wofgang,
>>
>> Le 19/09/2011 09:47, Wolfgang Denk a ?crit :
>>> Dear Albert ARIBAUD,
>>>
>>> In message<4E76EBFD.9060505@aribaud.net> you wrote:
>>>>
>>>> As this is your 'next' branch, there is an ambiguity: can you please
>>>> indicate if you want me to pull this into my 'next' or 'master' branch?
>>>>
>>>> If on master, I assume you want me to also send out a pull request to
>>>> Wolfgang, but I am not sure Wolfgang will allow it at this time.
>>>
>>> If I understand correctly this is mostly fixes, so I'd take it.
>>
>> Sandeep's 'next' branch is based on my 'next', not on my 'master', hence
>> my question -- there would have to be a rebase if Sandeep expected me to
>> pull into my master.
>>
>> Sandeep, can you confirm what you want exactly? Meanwhile, I am
>> launching regression builds on u-boot-ti/next, just in case.
>>
> Albert,
>
> The pull request if for your next branch.
Thanks a lot.
There is a regression in u-boot-ti/next with respect to u-boot-arm/next,
on board smdk6400, causing the following build failure:
s3c64xx.c:80: error: static declaration of 'nand_read_buf' follows
non-static declaration
/home/uboot/src/u-boot-arm/include/nand.h:139: error: previous
declaration of 'nand_read_buf' was here
Git bisect finds commit 55f429bb39614a16b1bacc9a8bea9ac01a60bfc8 is the
cause of the regression.
Copying Simon as the author of the commit, in order to confirm that the
issue is in smdk6400.
If so, as MAINTAINERS has smdk marked orphaned and its former maintainer
resigned, I take the ti/next branch in as it is, and if no one steps in
as a maintainer for SMDK6400 before end of the 2011-12 relea?se merge
window, I will then apply a board removal patch for it.
> Thanks,
> Sandeep
Amicalement,
--
Albert.
^ permalink raw reply [flat|nested] 39+ messages in thread
* [U-Boot] Please pull u-boot-ti/next
2011-09-18 23:39 [U-Boot] Please pull u-boot-ti/next s-paulraj at ti.com
2011-09-19 7:15 ` Albert ARIBAUD
@ 2011-09-20 6:49 ` Albert ARIBAUD
1 sibling, 0 replies; 39+ messages in thread
From: Albert ARIBAUD @ 2011-09-20 6:49 UTC (permalink / raw)
To: u-boot
Le 19/09/2011 01:39, s-paulraj at ti.com a ?crit :
> Please pull u-boot-ti/next.
> I checked all the patches for checkpatch errors.
> Also all OMAP3 and OMAP4 built with no issues.
>
> Thanks,
> Sandeep
>
> The following changes since commit 3522ad62864669b335b85f5abcd136a84bbb7519:
> Ajay Bhargav (1):
> Armada100: Enable 88E3015 PHY support for GplugD
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-ti.git next
>
> Philip Balister (2):
> OMAP3: Overo: Update GPMC timing for ethernet chip
> overo: Set IEN on GPMC_CLK to support synchronous clocking.
>
> Sandeep Paulraj (1):
> devkit8000: Fix build break
>
> Simon Schwarz (9):
> omap-common/omap4: relocate early UART clock setup
> omap3: Configure RAM bank 0 if in SPL
> omap-common: add nand spl support
> spl: add NAND Library to new SPL
> spl: Add POWER library to new spl
> omap3: new SPL structure support
> devkit8000: Add nand-spl support for new SPL
> omap3: implement boot parameter saving
> omap-common: reorganize spl.c
Applied to u-boot-arm/next (and then rebased above current
u-boot/master), thanks!
(reminder: this causes a regression in orphan board smdk6400. If no new
board maintainer steps in and fixes it before 2011-12 release, the board
will be removed)
Amicalement,
--
Albert.
^ permalink raw reply [flat|nested] 39+ messages in thread
* [U-Boot] SMDK6400 regression
2011-09-20 6:47 ` [U-Boot] SMDK6400 regression (was: Please pull u-boot-ti/next) Albert ARIBAUD
@ 2011-09-20 7:38 ` Simon Schwarz
2011-09-21 9:13 ` Simon Schwarz
1 sibling, 0 replies; 39+ messages in thread
From: Simon Schwarz @ 2011-09-20 7:38 UTC (permalink / raw)
To: u-boot
On 09/20/2011 08:47 AM, Albert ARIBAUD wrote:
[SNIP]
>
> There is a regression in u-boot-ti/next with respect to u-boot-arm/next,
> on board smdk6400, causing the following build failure:
>
> s3c64xx.c:80: error: static declaration of 'nand_read_buf' follows
> non-static declaration
> /home/uboot/src/u-boot-arm/include/nand.h:139: error: previous
> declaration of 'nand_read_buf' was here
>
> Git bisect finds commit 55f429bb39614a16b1bacc9a8bea9ac01a60bfc8 is the
> cause of the regression.
>
> Copying Simon as the author of the commit, in order to confirm that the
> issue is in smdk6400.
>
> If so, as MAINTAINERS has smdk marked orphaned and its former maintainer
> resigned, I take the ti/next branch in as it is, and if no one steps in
> as a maintainer for SMDK6400 before end of the 2011-12 relea?se merge
> window, I will then apply a board removal patch for it.
>
>> Thanks,
>> Sandeep
>
> Amicalement,
Hi Albert,
will have a look at it.
Regards
Simon
^ permalink raw reply [flat|nested] 39+ messages in thread
* [U-Boot] SMDK6400 regression
2011-09-20 6:47 ` [U-Boot] SMDK6400 regression (was: Please pull u-boot-ti/next) Albert ARIBAUD
2011-09-20 7:38 ` [U-Boot] SMDK6400 regression Simon Schwarz
@ 2011-09-21 9:13 ` Simon Schwarz
2011-09-21 19:35 ` Scott Wood
1 sibling, 1 reply; 39+ messages in thread
From: Simon Schwarz @ 2011-09-21 9:13 UTC (permalink / raw)
To: u-boot
On 09/20/2011 08:47 AM, Albert ARIBAUD wrote:
> Copying Simon as the author of the commit, in order to confirm that the
> issue is in smdk6400.
The problem is that I added a nand_read_buf prototype in nand.h this was
defined static in nand_base.c - I removed the static declaration.
smdk6400 is defining the exact same functions in its SPL but they are
static.
Dublicated code like this was the reason for my changes.
I can provide a quickfix by just remove the static from the
smdk6400-functions. But IMHO it is more sensible to write a proper
header for most of the functions in nand_base.c and remove the static
modifier. Then they can be used in SPLs and no one tries to redo/copy
them again. Scott what's your opinion on that?
Regards
Simon
^ permalink raw reply [flat|nested] 39+ messages in thread
* [U-Boot] SMDK6400 regression
2011-09-21 9:13 ` Simon Schwarz
@ 2011-09-21 19:35 ` Scott Wood
2011-09-23 16:36 ` [U-Boot] [PATCH RFC] Add general nand functions Simon Schwarz
0 siblings, 1 reply; 39+ messages in thread
From: Scott Wood @ 2011-09-21 19:35 UTC (permalink / raw)
To: u-boot
On 09/21/2011 04:13 AM, Simon Schwarz wrote:
> I can provide a quickfix by just remove the static from the
> smdk6400-functions. But IMHO it is more sensible to write a proper
> header for most of the functions in nand_base.c and remove the static
> modifier. Then they can be used in SPLs and no one tries to redo/copy
> them again. Scott what's your opinion on that?
Sounds good.
-Scott
^ permalink raw reply [flat|nested] 39+ messages in thread
* [U-Boot] [PATCH RFC] Add general nand functions
2011-09-21 19:35 ` Scott Wood
@ 2011-09-23 16:36 ` Simon Schwarz
2011-09-23 16:42 ` Simon Schwarz
2011-09-23 17:22 ` Scott Wood
0 siblings, 2 replies; 39+ messages in thread
From: Simon Schwarz @ 2011-09-23 16:36 UTC (permalink / raw)
To: u-boot
Added a nand_base.h header that defines all prototypes of nand_base.c
functions. This is necessary because these functions were often copied
in SPLs. This patch also removes the static definition of these functions
in nand_base.c
It was necessary to also add nand_interface.c. This now defines static
inline functions former defined in nand.h - theses functions had name
conflicts with these in nand_base.c/h.
Files former included nand.h now include also nand_interface.h
Signed-off-by: Simon Schwarz <simonschwarzcor@gmail.com>
Cc: scottwood at freescale.com
Cc: albert.u.boot at aribaud.net
---
arch/arm/cpu/armv7/omap-common/spl.c | 1 +
arch/arm/cpu/armv7/omap-common/spl_nand.c | 1 +
arch/arm/lib/board.c | 1 +
arch/blackfin/lib/board.c | 3 +-
arch/m68k/lib/board.c | 1 +
arch/mips/lib/board.c | 1 +
arch/nios2/lib/board.c | 3 +-
arch/powerpc/cpu/mpc85xx/cpu_init.c | 1 +
arch/powerpc/lib/board.c | 1 +
board/BuS/eb_cpux9k2/cpux9k2.c | 1 +
board/atmel/at91sam9261ek/at91sam9261ek.c | 1 +
board/atmel/at91sam9263ek/at91sam9263ek.c | 1 +
board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c | 1 +
board/atmel/at91sam9rlek/at91sam9rlek.c | 1 +
board/dave/PPChameleonEVB/nand.c | 1 +
board/davedenx/qong/qong.c | 1 +
board/davinci/da8xxevm/hawkboard_nand_spl.c | 1 +
board/davinci/dm355evm/dm355evm.c | 1 +
board/davinci/dm355leopard/dm355leopard.c | 1 +
board/davinci/dm365evm/dm365evm.c | 1 +
board/davinci/dm6467evm/dm6467evm.c | 1 +
board/davinci/sonata/sonata.c | 1 +
board/esd/common/esd405ep_nand.c | 1 +
board/freescale/m5329evb/nand.c | 1 +
board/freescale/m5373evb/nand.c | 1 +
board/freescale/mpc8313erdb/mpc8313erdb.c | 1 +
board/freescale/mpc8315erdb/mpc8315erdb.c | 1 +
board/freescale/mpc8360erdk/nand.c | 1 +
board/ids8247/ids8247.c | 1 +
board/keymile/km_arm/km_arm.c | 1 +
board/prodrive/alpr/nand.c | 1 +
board/prodrive/pdnb3/nand.c | 1 +
board/quad100hd/nand.c | 1 +
board/ronetix/pm9261/pm9261.c | 1 +
board/ronetix/pm9263/pm9263.c | 1 +
board/sc3/sc3nand.c | 1 +
board/sheldon/simpc8313/simpc8313.c | 1 +
board/socrates/nand.c | 1 +
board/spear/spear300/spear300.c | 1 +
board/spear/spear310/spear310.c | 1 +
board/spear/spear320/spear320.c | 1 +
board/spear/spear600/spear600.c | 1 +
board/tqc/tqm8272/nand.c | 1 +
board/tqc/tqm85xx/nand.c | 1 +
board/ve8313/ve8313.c | 1 +
board/xes/common/actl_nand.c | 1 +
common/cmd_jffs2.c | 1 +
common/cmd_mtdparts.c | 1 +
common/cmd_nand.c | 1 +
common/cmd_ubi.c | 1 +
common/env_nand.c | 1 +
drivers/mtd/nand/atmel_nand.c | 1 +
drivers/mtd/nand/bfin_nand.c | 1 +
drivers/mtd/nand/davinci_nand.c | 1 +
drivers/mtd/nand/fsl_upm.c | 1 +
drivers/mtd/nand/kb9202_nand.c | 1 +
drivers/mtd/nand/kirkwood_nand.c | 1 +
drivers/mtd/nand/kmeter1_nand.c | 1 +
drivers/mtd/nand/mpc5121_nfc.c | 1 +
drivers/mtd/nand/mxc_nand.c | 1 +
drivers/mtd/nand/nand.c | 1 +
drivers/mtd/nand/nand_base.c | 142 +++++++++++------------
drivers/mtd/nand/nand_plat.c | 1 +
drivers/mtd/nand/nand_spl_simple.c | 1 +
drivers/mtd/nand/nand_util.c | 1 +
drivers/mtd/nand/ndfc.c | 1 +
drivers/mtd/nand/nomadik.c | 1 +
drivers/mtd/nand/omap_gpmc.c | 1 +
drivers/mtd/nand/s3c2410_nand.c | 1 +
drivers/mtd/nand/s3c64xx.c | 27 +----
drivers/mtd/nand/spr_nand.c | 1 +
fs/jffs2/jffs2_1pass.c | 1 +
fs/jffs2/jffs2_nand_1pass.c | 1 +
include/nand.h | 132 ++++++++++++++++-----
include/nand_base.h | 127 ++++++++++++++++++++
include/nand_interface.h | 32 +++++
nand_spl/board/freescale/mpc8536ds/nand_boot.c | 1 +
nand_spl/board/freescale/mpc8569mds/nand_boot.c | 1 +
nand_spl/board/freescale/mpc8572ds/nand_boot.c | 1 +
nand_spl/board/freescale/p1023rds/nand_boot.c | 1 +
nand_spl/board/freescale/p1_p2_rdb/nand_boot.c | 1 +
nand_spl/board/samsung/smdk6400/Makefile | 10 +-
nand_spl/nand_boot.c | 1 +
nand_spl/nand_boot_fsl_nfc.c | 1 +
84 files changed, 419 insertions(+), 133 deletions(-)
create mode 100644 include/nand_base.h
create mode 100644 include/nand_interface.h
diff --git a/arch/arm/cpu/armv7/omap-common/spl.c b/arch/arm/cpu/armv7/omap-common/spl.c
index c76fea6..0d42dcd 100644
--- a/arch/arm/cpu/armv7/omap-common/spl.c
+++ b/arch/arm/cpu/armv7/omap-common/spl.c
@@ -27,6 +27,7 @@
#include <asm/utils.h>
#include <asm/arch/sys_proto.h>
#include <nand.h>
+#include <nand_interface.h>
#include <mmc.h>
#include <fat.h>
#include <timestamp_autogenerated.h>
diff --git a/arch/arm/cpu/armv7/omap-common/spl_nand.c b/arch/arm/cpu/armv7/omap-common/spl_nand.c
index af02a59..31ce5b1 100644
--- a/arch/arm/cpu/armv7/omap-common/spl_nand.c
+++ b/arch/arm/cpu/armv7/omap-common/spl_nand.c
@@ -25,6 +25,7 @@
#include <asm/utils.h>
#include <asm/arch/sys_proto.h>
#include <nand.h>
+#include <nand_interface.h>
#include <timestamp_autogenerated.h>
#include <version_autogenerated.h>
#include <asm/omap_common.h>
diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c
index 85320bc..c73d26a 100644
--- a/arch/arm/lib/board.c
+++ b/arch/arm/lib/board.c
@@ -46,6 +46,7 @@
#include <net.h>
#include <serial.h>
#include <nand.h>
+#include <nand_interface.h>
#include <onenand_uboot.h>
#include <mmc.h>
diff --git a/arch/blackfin/lib/board.c b/arch/blackfin/lib/board.c
index bfdb586..4568820 100644
--- a/arch/blackfin/lib/board.c
+++ b/arch/blackfin/lib/board.c
@@ -25,7 +25,8 @@
#include <kgdb.h>
#ifdef CONFIG_CMD_NAND
-#include <nand.h> /* cannot even include nand.h if it isnt configured */
+#include <nand.h>
+#include <nand_interface.h> /* cannot even include nand.h if it isnt configured */
#endif
#ifdef CONFIG_BITBANGMII
diff --git a/arch/m68k/lib/board.c b/arch/m68k/lib/board.c
index 1df50f1..b08a490 100644
--- a/arch/m68k/lib/board.c
+++ b/arch/m68k/lib/board.c
@@ -68,6 +68,7 @@
#endif
#include <nand.h>
+#include <nand_interface.h>
DECLARE_GLOBAL_DATA_PTR;
diff --git a/arch/mips/lib/board.c b/arch/mips/lib/board.c
index 4f85bbd..2b722d9 100644
--- a/arch/mips/lib/board.c
+++ b/arch/mips/lib/board.c
@@ -29,6 +29,7 @@
#include <net.h>
#include <environment.h>
#include <nand.h>
+#include <nand_interface.h>
#include <onenand_uboot.h>
#include <spi.h>
diff --git a/arch/nios2/lib/board.c b/arch/nios2/lib/board.c
index f6c6bc1..1b21814 100644
--- a/arch/nios2/lib/board.c
+++ b/arch/nios2/lib/board.c
@@ -37,7 +37,8 @@
#include <nios2-epcs.h>
#endif
#ifdef CONFIG_CMD_NAND
-#include <nand.h> /* cannot even include nand.h if it isnt configured */
+#include <nand.h>
+#include <nand_interface.h> /* cannot even include nand.h if it isnt configured */
#endif
DECLARE_GLOBAL_DATA_PTR;
diff --git a/arch/powerpc/cpu/mpc85xx/cpu_init.c b/arch/powerpc/cpu/mpc85xx/cpu_init.c
index 6aca166..fe65e7f 100644
--- a/arch/powerpc/cpu/mpc85xx/cpu_init.c
+++ b/arch/powerpc/cpu/mpc85xx/cpu_init.c
@@ -39,6 +39,7 @@
#include "mp.h"
#ifdef CONFIG_SYS_QE_FW_IN_NAND
#include <nand.h>
+#include <nand_interface.h>
#include <errno.h>
#endif
diff --git a/arch/powerpc/lib/board.c b/arch/powerpc/lib/board.c
index 9885b14..bcc1cf2 100644
--- a/arch/powerpc/lib/board.c
+++ b/arch/powerpc/lib/board.c
@@ -104,6 +104,7 @@ void doc_init (void);
#endif
#include <spi.h>
#include <nand.h>
+#include <nand_interface.h>
static char *failed = "*** failed ***\n";
diff --git a/board/BuS/eb_cpux9k2/cpux9k2.c b/board/BuS/eb_cpux9k2/cpux9k2.c
index 856d798..abff1c0 100644
--- a/board/BuS/eb_cpux9k2/cpux9k2.c
+++ b/board/BuS/eb_cpux9k2/cpux9k2.c
@@ -27,6 +27,7 @@
#include <net.h>
#include <netdev.h>
#include <nand.h>
+#include <nand_interface.h>
#include <asm/io.h>
#include <asm/arch/hardware.h>
diff --git a/board/atmel/at91sam9261ek/at91sam9261ek.c b/board/atmel/at91sam9261ek/at91sam9261ek.c
index b6c7d9e..0dd3eb0 100644
--- a/board/atmel/at91sam9261ek/at91sam9261ek.c
+++ b/board/atmel/at91sam9261ek/at91sam9261ek.c
@@ -212,6 +212,7 @@ static void at91sam9261ek_lcd_hw_init(void)
#ifdef CONFIG_LCD_INFO
#include <nand.h>
+#include <nand_interface.h>
#include <version.h>
void lcd_show_board_info(void)
diff --git a/board/atmel/at91sam9263ek/at91sam9263ek.c b/board/atmel/at91sam9263ek/at91sam9263ek.c
index 4d2937d..44f1db6 100644
--- a/board/atmel/at91sam9263ek/at91sam9263ek.c
+++ b/board/atmel/at91sam9263ek/at91sam9263ek.c
@@ -200,6 +200,7 @@ static void at91sam9263ek_lcd_hw_init(void)
#ifdef CONFIG_LCD_INFO
#include <nand.h>
+#include <nand_interface.h>
#include <version.h>
#ifndef CONFIG_SYS_NO_FLASH
diff --git a/board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c b/board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c
index 24a8606..771769b 100644
--- a/board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c
+++ b/board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c
@@ -222,6 +222,7 @@ static void at91sam9m10g45ek_lcd_hw_init(void)
#ifdef CONFIG_LCD_INFO
#include <nand.h>
+#include <nand_interface.h>
#include <version.h>
void lcd_show_board_info(void)
diff --git a/board/atmel/at91sam9rlek/at91sam9rlek.c b/board/atmel/at91sam9rlek/at91sam9rlek.c
index e559084..c7b5033 100644
--- a/board/atmel/at91sam9rlek/at91sam9rlek.c
+++ b/board/atmel/at91sam9rlek/at91sam9rlek.c
@@ -150,6 +150,7 @@ static void at91sam9rlek_lcd_hw_init(void)
#ifdef CONFIG_LCD_INFO
#include <nand.h>
+#include <nand_interface.h>
#include <version.h>
void lcd_show_board_info(void)
diff --git a/board/dave/PPChameleonEVB/nand.c b/board/dave/PPChameleonEVB/nand.c
index 14b61a4..36f88a9 100644
--- a/board/dave/PPChameleonEVB/nand.c
+++ b/board/dave/PPChameleonEVB/nand.c
@@ -26,6 +26,7 @@
#if defined(CONFIG_CMD_NAND)
#include <nand.h>
+#include <nand_interface.h>
/*
* hardware specific access to control-lines
diff --git a/board/davedenx/qong/qong.c b/board/davedenx/qong/qong.c
index 99432ed..9cec15f 100644
--- a/board/davedenx/qong/qong.c
+++ b/board/davedenx/qong/qong.c
@@ -27,6 +27,7 @@
#include <asm/arch/imx-regs.h>
#include <asm/io.h>
#include <nand.h>
+#include <nand_interface.h>
#include <fsl_pmic.h>
#include <asm/gpio.h>
#include "qong_fpga.h"
diff --git a/board/davinci/da8xxevm/hawkboard_nand_spl.c b/board/davinci/da8xxevm/hawkboard_nand_spl.c
index e5e65e5..bc6e0fd 100644
--- a/board/davinci/da8xxevm/hawkboard_nand_spl.c
+++ b/board/davinci/da8xxevm/hawkboard_nand_spl.c
@@ -29,6 +29,7 @@
#include <asm/arch/davinci_misc.h>
#include <ns16550.h>
#include <nand.h>
+#include <nand_interface.h>
DECLARE_GLOBAL_DATA_PTR;
diff --git a/board/davinci/dm355evm/dm355evm.c b/board/davinci/dm355evm/dm355evm.c
index 112851a..ab00cc8 100644
--- a/board/davinci/dm355evm/dm355evm.c
+++ b/board/davinci/dm355evm/dm355evm.c
@@ -18,6 +18,7 @@
#include <common.h>
#include <nand.h>
+#include <nand_interface.h>
#include <asm/io.h>
#include <asm/arch/hardware.h>
#include <asm/arch/emif_defs.h>
diff --git a/board/davinci/dm355leopard/dm355leopard.c b/board/davinci/dm355leopard/dm355leopard.c
index 0ad5678..f1c5c10 100644
--- a/board/davinci/dm355leopard/dm355leopard.c
+++ b/board/davinci/dm355leopard/dm355leopard.c
@@ -18,6 +18,7 @@
#include <common.h>
#include <nand.h>
+#include <nand_interface.h>
#include <asm/io.h>
#include <asm/arch/hardware.h>
#include <asm/arch/gpio.h>
diff --git a/board/davinci/dm365evm/dm365evm.c b/board/davinci/dm365evm/dm365evm.c
index ac54106..50666a6 100644
--- a/board/davinci/dm365evm/dm365evm.c
+++ b/board/davinci/dm365evm/dm365evm.c
@@ -18,6 +18,7 @@
#include <common.h>
#include <nand.h>
+#include <nand_interface.h>
#include <asm/io.h>
#include <asm/arch/hardware.h>
#include <asm/arch/emif_defs.h>
diff --git a/board/davinci/dm6467evm/dm6467evm.c b/board/davinci/dm6467evm/dm6467evm.c
index 1a01c3c..6230c21 100644
--- a/board/davinci/dm6467evm/dm6467evm.c
+++ b/board/davinci/dm6467evm/dm6467evm.c
@@ -20,6 +20,7 @@
#include <netdev.h>
#include <asm/io.h>
#include <nand.h>
+#include <nand_interface.h>
#include <asm/arch/nand_defs.h>
DECLARE_GLOBAL_DATA_PTR;
diff --git a/board/davinci/sonata/sonata.c b/board/davinci/sonata/sonata.c
index c194290..7696646 100644
--- a/board/davinci/sonata/sonata.c
+++ b/board/davinci/sonata/sonata.c
@@ -26,6 +26,7 @@
#include <common.h>
#include <nand.h>
+#include <nand_interface.h>
#include <asm/arch/nand_defs.h>
#include <asm/arch/hardware.h>
#include <asm/arch/davinci_misc.h>
diff --git a/board/esd/common/esd405ep_nand.c b/board/esd/common/esd405ep_nand.c
index 736176f..cf466b4 100644
--- a/board/esd/common/esd405ep_nand.c
+++ b/board/esd/common/esd405ep_nand.c
@@ -26,6 +26,7 @@
#if defined(CONFIG_CMD_NAND)
#include <asm/io.h>
#include <nand.h>
+#include <nand_interface.h>
/*
* hardware specific access to control-lines
diff --git a/board/freescale/m5329evb/nand.c b/board/freescale/m5329evb/nand.c
index 16025f9..056eca4 100644
--- a/board/freescale/m5329evb/nand.c
+++ b/board/freescale/m5329evb/nand.c
@@ -33,6 +33,7 @@ DECLARE_GLOBAL_DATA_PTR;
#if defined(CONFIG_CMD_NAND)
#include <nand.h>
+#include <nand_interface.h>
#include <linux/mtd/mtd.h>
#define SET_CLE 0x10
diff --git a/board/freescale/m5373evb/nand.c b/board/freescale/m5373evb/nand.c
index df8c03b..0cd052f 100644
--- a/board/freescale/m5373evb/nand.c
+++ b/board/freescale/m5373evb/nand.c
@@ -33,6 +33,7 @@ DECLARE_GLOBAL_DATA_PTR;
#if defined(CONFIG_CMD_NAND)
#include <nand.h>
+#include <nand_interface.h>
#include <linux/mtd/mtd.h>
#define SET_CLE 0x10
diff --git a/board/freescale/mpc8313erdb/mpc8313erdb.c b/board/freescale/mpc8313erdb/mpc8313erdb.c
index 08f873d..0bf75a5 100644
--- a/board/freescale/mpc8313erdb/mpc8313erdb.c
+++ b/board/freescale/mpc8313erdb/mpc8313erdb.c
@@ -31,6 +31,7 @@
#include <vsc7385.h>
#include <ns16550.h>
#include <nand.h>
+#include <nand_interface.h>
DECLARE_GLOBAL_DATA_PTR;
diff --git a/board/freescale/mpc8315erdb/mpc8315erdb.c b/board/freescale/mpc8315erdb/mpc8315erdb.c
index 5dc558a..3f05326 100644
--- a/board/freescale/mpc8315erdb/mpc8315erdb.c
+++ b/board/freescale/mpc8315erdb/mpc8315erdb.c
@@ -34,6 +34,7 @@
#include <asm/io.h>
#include <ns16550.h>
#include <nand.h>
+#include <nand_interface.h>
DECLARE_GLOBAL_DATA_PTR;
diff --git a/board/freescale/mpc8360erdk/nand.c b/board/freescale/mpc8360erdk/nand.c
index 92d56a3..6ac994b 100644
--- a/board/freescale/mpc8360erdk/nand.c
+++ b/board/freescale/mpc8360erdk/nand.c
@@ -17,6 +17,7 @@
#include <linux/mtd/mtd.h>
#include <linux/mtd/fsl_upm.h>
#include <nand.h>
+#include <nand_interface.h>
static struct immap *im = (struct immap *)CONFIG_SYS_IMMR;
diff --git a/board/ids8247/ids8247.c b/board/ids8247/ids8247.c
index d621833..8edb57c 100644
--- a/board/ids8247/ids8247.c
+++ b/board/ids8247/ids8247.c
@@ -309,6 +309,7 @@ int misc_init_r (void)
#if defined(CONFIG_CMD_NAND)
#include <nand.h>
+#include <nand_interface.h>
#include <linux/mtd/mtd.h>
#include <asm/io.h>
diff --git a/board/keymile/km_arm/km_arm.c b/board/keymile/km_arm/km_arm.c
index a8f2b23..9dbd8c1 100644
--- a/board/keymile/km_arm/km_arm.c
+++ b/board/keymile/km_arm/km_arm.c
@@ -31,6 +31,7 @@
#include <common.h>
#include <i2c.h>
#include <nand.h>
+#include <nand_interface.h>
#include <netdev.h>
#include <miiphy.h>
#include <asm/io.h>
diff --git a/board/prodrive/alpr/nand.c b/board/prodrive/alpr/nand.c
index b18c96b..e99a920 100644
--- a/board/prodrive/alpr/nand.c
+++ b/board/prodrive/alpr/nand.c
@@ -30,6 +30,7 @@
#include <asm/processor.h>
#include <nand.h>
+#include <nand_interface.h>
struct alpr_ndfc_regs {
u8 cmd[4];
diff --git a/board/prodrive/pdnb3/nand.c b/board/prodrive/pdnb3/nand.c
index 2efe027..470df66 100644
--- a/board/prodrive/pdnb3/nand.c
+++ b/board/prodrive/pdnb3/nand.c
@@ -26,6 +26,7 @@
#if defined(CONFIG_CMD_NAND)
#include <nand.h>
+#include <nand_interface.h>
struct pdnb3_ndfc_regs {
uchar cmd;
diff --git a/board/quad100hd/nand.c b/board/quad100hd/nand.c
index a222099..e86aa8a 100644
--- a/board/quad100hd/nand.c
+++ b/board/quad100hd/nand.c
@@ -27,6 +27,7 @@
#include <asm/ppc4xx-gpio.h>
#include <asm/io.h>
#include <nand.h>
+#include <nand_interface.h>
/*
* hardware specific access to control-lines
diff --git a/board/ronetix/pm9261/pm9261.c b/board/ronetix/pm9261/pm9261.c
index 871b94a..2c96c33 100644
--- a/board/ronetix/pm9261/pm9261.c
+++ b/board/ronetix/pm9261/pm9261.c
@@ -192,6 +192,7 @@ static void pm9261_lcd_hw_init(void)
#ifdef CONFIG_LCD_INFO
#include <nand.h>
+#include <nand_interface.h>
#include <version.h>
extern flash_info_t flash_info[];
diff --git a/board/ronetix/pm9263/pm9263.c b/board/ronetix/pm9263/pm9263.c
index cfc9847..3e11152 100644
--- a/board/ronetix/pm9263/pm9263.c
+++ b/board/ronetix/pm9263/pm9263.c
@@ -292,6 +292,7 @@ static void pm9263_lcd_hw_init(void)
#ifdef CONFIG_LCD_INFO
#include <nand.h>
+#include <nand_interface.h>
#include <version.h>
extern flash_info_t flash_info[];
diff --git a/board/sc3/sc3nand.c b/board/sc3/sc3nand.c
index 62b40f1..0f06b30 100644
--- a/board/sc3/sc3nand.c
+++ b/board/sc3/sc3nand.c
@@ -26,6 +26,7 @@
#if defined(CONFIG_CMD_NAND)
#include <nand.h>
+#include <nand_interface.h>
#include <asm/processor.h>
#define readb(addr) *(volatile u_char *)(addr)
diff --git a/board/sheldon/simpc8313/simpc8313.c b/board/sheldon/simpc8313/simpc8313.c
index 9126c42..caafdcb 100644
--- a/board/sheldon/simpc8313/simpc8313.c
+++ b/board/sheldon/simpc8313/simpc8313.c
@@ -29,6 +29,7 @@
#include <mpc83xx.h>
#include <ns16550.h>
#include <nand.h>
+#include <nand_interface.h>
#include <asm/io.h>
DECLARE_GLOBAL_DATA_PTR;
diff --git a/board/socrates/nand.c b/board/socrates/nand.c
index 7d76f42..3722e0e 100644
--- a/board/socrates/nand.c
+++ b/board/socrates/nand.c
@@ -25,6 +25,7 @@
#if defined(CONFIG_SYS_NAND_BASE)
#include <nand.h>
+#include <nand_interface.h>
#include <asm/errno.h>
#include <asm/io.h>
diff --git a/board/spear/spear300/spear300.c b/board/spear/spear300/spear300.c
index 60ee544..14f96fc 100644
--- a/board/spear/spear300/spear300.c
+++ b/board/spear/spear300/spear300.c
@@ -23,6 +23,7 @@
#include <common.h>
#include <nand.h>
+#include <nand_interface.h>
#include <asm/io.h>
#include <asm/arch/hardware.h>
#include <asm/arch/spr_defs.h>
diff --git a/board/spear/spear310/spear310.c b/board/spear/spear310/spear310.c
index 03dfe16..ea160bd 100644
--- a/board/spear/spear310/spear310.c
+++ b/board/spear/spear310/spear310.c
@@ -24,6 +24,7 @@
#include <common.h>
#include <nand.h>
+#include <nand_interface.h>
#include <asm/io.h>
#include <asm/arch/hardware.h>
#include <asm/arch/spr_defs.h>
diff --git a/board/spear/spear320/spear320.c b/board/spear/spear320/spear320.c
index 2ba2dbb..be65c12 100644
--- a/board/spear/spear320/spear320.c
+++ b/board/spear/spear320/spear320.c
@@ -24,6 +24,7 @@
#include <common.h>
#include <nand.h>
+#include <nand_interface.h>
#include <asm/io.h>
#include <asm/arch/hardware.h>
#include <asm/arch/spr_defs.h>
diff --git a/board/spear/spear600/spear600.c b/board/spear/spear600/spear600.c
index eef9a37..a6ad096 100644
--- a/board/spear/spear600/spear600.c
+++ b/board/spear/spear600/spear600.c
@@ -23,6 +23,7 @@
#include <common.h>
#include <nand.h>
+#include <nand_interface.h>
#include <asm/io.h>
#include <asm/arch/hardware.h>
#include <asm/arch/spr_defs.h>
diff --git a/board/tqc/tqm8272/nand.c b/board/tqc/tqm8272/nand.c
index 8c8341b..f771d2a 100644
--- a/board/tqc/tqm8272/nand.c
+++ b/board/tqc/tqm8272/nand.c
@@ -134,6 +134,7 @@ static int chipsel = 0;
#if defined(CONFIG_CMD_NAND)
#include <nand.h>
+#include <nand_interface.h>
#include <linux/mtd/mtd.h>
static u8 hwctl = 0;
diff --git a/board/tqc/tqm85xx/nand.c b/board/tqc/tqm85xx/nand.c
index 4b16c31..da137be 100644
--- a/board/tqc/tqm85xx/nand.c
+++ b/board/tqc/tqm85xx/nand.c
@@ -35,6 +35,7 @@
#include <ioports.h>
#include <nand.h>
+#include <nand_interface.h>
DECLARE_GLOBAL_DATA_PTR;
diff --git a/board/ve8313/ve8313.c b/board/ve8313/ve8313.c
index 166e459..c611c14 100644
--- a/board/ve8313/ve8313.c
+++ b/board/ve8313/ve8313.c
@@ -31,6 +31,7 @@
#include <mpc83xx.h>
#include <ns16550.h>
#include <nand.h>
+#include <nand_interface.h>
#include <asm/bitops.h>
#include <asm/io.h>
diff --git a/board/xes/common/actl_nand.c b/board/xes/common/actl_nand.c
index 465aeb0..2a3467b 100644
--- a/board/xes/common/actl_nand.c
+++ b/board/xes/common/actl_nand.c
@@ -25,6 +25,7 @@
#include <common.h>
#include <nand.h>
+#include <nand_interface.h>
#include <asm/io.h>
/*
diff --git a/common/cmd_jffs2.c b/common/cmd_jffs2.c
index 27296dd..b4f0f15 100644
--- a/common/cmd_jffs2.c
+++ b/common/cmd_jffs2.c
@@ -98,6 +98,7 @@
#if defined(CONFIG_CMD_NAND)
#include <linux/mtd/nand.h>
#include <nand.h>
+#include <nand_interface.h>
#endif
#if defined(CONFIG_CMD_ONENAND)
diff --git a/common/cmd_mtdparts.c b/common/cmd_mtdparts.c
index 5481c88..ed7171b 100644
--- a/common/cmd_mtdparts.c
+++ b/common/cmd_mtdparts.c
@@ -99,6 +99,7 @@
#if defined(CONFIG_CMD_NAND)
#include <linux/mtd/nand.h>
#include <nand.h>
+#include <nand_interface.h>
#endif
#if defined(CONFIG_CMD_ONENAND)
diff --git a/common/cmd_nand.c b/common/cmd_nand.c
index 66e06a5..cca8754 100644
--- a/common/cmd_nand.c
+++ b/common/cmd_nand.c
@@ -27,6 +27,7 @@
#include <asm/byteorder.h>
#include <jffs2/jffs2.h>
#include <nand.h>
+#include <nand_interface.h>
#if defined(CONFIG_CMD_MTDPARTS)
diff --git a/common/cmd_ubi.c b/common/cmd_ubi.c
index 629758f..09aceee 100644
--- a/common/cmd_ubi.c
+++ b/common/cmd_ubi.c
@@ -16,6 +16,7 @@
#include <exports.h>
#include <nand.h>
+#include <nand_interface.h>
#include <onenand_uboot.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/partitions.h>
diff --git a/common/env_nand.c b/common/env_nand.c
index 14446a6..2197431 100644
--- a/common/env_nand.c
+++ b/common/env_nand.c
@@ -38,6 +38,7 @@
#include <linux/stddef.h>
#include <malloc.h>
#include <nand.h>
+#include <nand_interface.h>
#include <search.h>
#include <errno.h>
diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c
index 818d362..4a1eab2 100644
--- a/drivers/mtd/nand/atmel_nand.c
+++ b/drivers/mtd/nand/atmel_nand.c
@@ -30,6 +30,7 @@
#include <asm/arch/at91_pio.h>
#include <nand.h>
+#include <nand_interface.h>
#ifdef CONFIG_ATMEL_NAND_HWECC
diff --git a/drivers/mtd/nand/bfin_nand.c b/drivers/mtd/nand/bfin_nand.c
index 3ee060f..8623eef 100644
--- a/drivers/mtd/nand/bfin_nand.c
+++ b/drivers/mtd/nand/bfin_nand.c
@@ -24,6 +24,7 @@
#endif
#include <nand.h>
+#include <nand_interface.h>
#include <asm/blackfin.h>
#include <asm/portmux.h>
diff --git a/drivers/mtd/nand/davinci_nand.c b/drivers/mtd/nand/davinci_nand.c
index d41579c..a4ba354 100644
--- a/drivers/mtd/nand/davinci_nand.c
+++ b/drivers/mtd/nand/davinci_nand.c
@@ -44,6 +44,7 @@
#include <common.h>
#include <asm/io.h>
#include <nand.h>
+#include <nand_interface.h>
#include <asm/arch/nand_defs.h>
#include <asm/arch/emif_defs.h>
diff --git a/drivers/mtd/nand/fsl_upm.c b/drivers/mtd/nand/fsl_upm.c
index c33e278..8a99269 100644
--- a/drivers/mtd/nand/fsl_upm.c
+++ b/drivers/mtd/nand/fsl_upm.c
@@ -17,6 +17,7 @@
#include <linux/mtd/mtd.h>
#include <linux/mtd/fsl_upm.h>
#include <nand.h>
+#include <nand_interface.h>
static void fsl_upm_start_pattern(struct fsl_upm *upm, u32 pat_offset)
{
diff --git a/drivers/mtd/nand/kb9202_nand.c b/drivers/mtd/nand/kb9202_nand.c
index b8f46fa..7a48cd5 100644
--- a/drivers/mtd/nand/kb9202_nand.c
+++ b/drivers/mtd/nand/kb9202_nand.c
@@ -30,6 +30,7 @@
#include <asm/arch/hardware.h>
#include <nand.h>
+#include <nand_interface.h>
/*
* hardware specific access to control-lines
diff --git a/drivers/mtd/nand/kirkwood_nand.c b/drivers/mtd/nand/kirkwood_nand.c
index 376378e..aad3a41 100644
--- a/drivers/mtd/nand/kirkwood_nand.c
+++ b/drivers/mtd/nand/kirkwood_nand.c
@@ -26,6 +26,7 @@
#include <asm/io.h>
#include <asm/arch/kirkwood.h>
#include <nand.h>
+#include <nand_interface.h>
/* NAND Flash Soc registers */
struct kwnandf_registers {
diff --git a/drivers/mtd/nand/kmeter1_nand.c b/drivers/mtd/nand/kmeter1_nand.c
index e8e5b7b..5bd6ff5 100644
--- a/drivers/mtd/nand/kmeter1_nand.c
+++ b/drivers/mtd/nand/kmeter1_nand.c
@@ -23,6 +23,7 @@
#include <common.h>
#include <nand.h>
+#include <nand_interface.h>
#include <asm/io.h>
#define CONFIG_NAND_MODE_REG (void *)(CONFIG_SYS_NAND_BASE + 0x20000)
diff --git a/drivers/mtd/nand/mpc5121_nfc.c b/drivers/mtd/nand/mpc5121_nfc.c
index 7fd8a35..11a419c 100644
--- a/drivers/mtd/nand/mpc5121_nfc.c
+++ b/drivers/mtd/nand/mpc5121_nfc.c
@@ -35,6 +35,7 @@
#include <asm/io.h>
#include <asm/processor.h>
#include <nand.h>
+#include <nand_interface.h>
#define DRV_NAME "mpc5121_nfc"
diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c
index 2a8dd7e..d70bcb5 100644
--- a/drivers/mtd/nand/mxc_nand.c
+++ b/drivers/mtd/nand/mxc_nand.c
@@ -20,6 +20,7 @@
#include <common.h>
#include <nand.h>
+#include <nand_interface.h>
#include <linux/err.h>
#include <asm/io.h>
#if defined(CONFIG_MX25) || defined(CONFIG_MX27) || defined(CONFIG_MX35)
diff --git a/drivers/mtd/nand/nand.c b/drivers/mtd/nand/nand.c
index d987f4c..82675a6 100644
--- a/drivers/mtd/nand/nand.c
+++ b/drivers/mtd/nand/nand.c
@@ -23,6 +23,7 @@
#include <common.h>
#include <nand.h>
+#include <nand_interface.h>
#ifndef CONFIG_SYS_NAND_BASE_LIST
#define CONFIG_SYS_NAND_BASE_LIST { CONFIG_SYS_NAND_BASE }
diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c
index e7dfcb1..3fe0935 100644
--- a/drivers/mtd/nand/nand_base.c
+++ b/drivers/mtd/nand/nand_base.c
@@ -51,6 +51,8 @@
#include <asm/io.h>
#include <asm/errno.h>
+#include <nand_base.h>
+
/*
* CONFIG_SYS_NAND_RESET_CNT is used as a timeout mechanism when resetting
* a flash. NAND flash is initialized prior to interrupts so standard timers
@@ -63,7 +65,7 @@
#endif
/* Define default oob placement schemes for large and small page devices */
-static struct nand_ecclayout nand_oob_8 = {
+struct nand_ecclayout nand_oob_8 = {
.eccbytes = 3,
.eccpos = {0, 1, 2},
.oobfree = {
@@ -73,7 +75,7 @@ static struct nand_ecclayout nand_oob_8 = {
.length = 2}}
};
-static struct nand_ecclayout nand_oob_16 = {
+struct nand_ecclayout nand_oob_16 = {
.eccbytes = 6,
.eccpos = {0, 1, 2, 3, 6, 7},
.oobfree = {
@@ -81,7 +83,7 @@ static struct nand_ecclayout nand_oob_16 = {
. length = 8}}
};
-static struct nand_ecclayout nand_oob_64 = {
+struct nand_ecclayout nand_oob_64 = {
.eccbytes = 24,
.eccpos = {
40, 41, 42, 43, 44, 45, 46, 47,
@@ -92,7 +94,7 @@ static struct nand_ecclayout nand_oob_64 = {
.length = 38}}
};
-static struct nand_ecclayout nand_oob_128 = {
+struct nand_ecclayout nand_oob_128 = {
.eccbytes = 48,
.eccpos = {
80, 81, 82, 83, 84, 85, 86, 87,
@@ -107,13 +109,13 @@ static struct nand_ecclayout nand_oob_128 = {
};
-static int nand_get_device(struct nand_chip *chip, struct mtd_info *mtd,
+int nand_get_device(struct nand_chip *chip, struct mtd_info *mtd,
int new_state);
-static int nand_do_write_oob(struct mtd_info *mtd, loff_t to,
+int nand_do_write_oob(struct mtd_info *mtd, loff_t to,
struct mtd_oob_ops *ops);
-static int nand_wait(struct mtd_info *mtd, struct nand_chip *this);
+int nand_wait(struct mtd_info *mtd, struct nand_chip *this);
/**
* nand_release_device - [GENERIC] release chip
@@ -121,7 +123,7 @@ static int nand_wait(struct mtd_info *mtd, struct nand_chip *this);
*
* Deselect, release chip lock and wake up anyone waiting on the device
*/
-static void nand_release_device (struct mtd_info *mtd)
+void nand_release_device (struct mtd_info *mtd)
{
struct nand_chip *this = mtd->priv;
this->select_chip(mtd, -1); /* De-select the NAND device */
@@ -133,7 +135,7 @@ static void nand_release_device (struct mtd_info *mtd)
*
* Default read function for 8bit buswith
*/
-static uint8_t nand_read_byte(struct mtd_info *mtd)
+uint8_t nand_read_byte(struct mtd_info *mtd)
{
struct nand_chip *chip = mtd->priv;
return readb(chip->IO_ADDR_R);
@@ -146,7 +148,7 @@ static uint8_t nand_read_byte(struct mtd_info *mtd)
* Default read function for 16bit buswith with
* endianess conversion
*/
-static uint8_t nand_read_byte16(struct mtd_info *mtd)
+uint8_t nand_read_byte16(struct mtd_info *mtd)
{
struct nand_chip *chip = mtd->priv;
return (uint8_t) cpu_to_le16(readw(chip->IO_ADDR_R));
@@ -159,7 +161,7 @@ static uint8_t nand_read_byte16(struct mtd_info *mtd)
* Default read function for 16bit buswith without
* endianess conversion
*/
-static u16 nand_read_word(struct mtd_info *mtd)
+u16 nand_read_word(struct mtd_info *mtd)
{
struct nand_chip *chip = mtd->priv;
return readw(chip->IO_ADDR_R);
@@ -172,7 +174,7 @@ static u16 nand_read_word(struct mtd_info *mtd)
*
* Default select function for 1 chip devices.
*/
-static void nand_select_chip(struct mtd_info *mtd, int chipnr)
+void nand_select_chip(struct mtd_info *mtd, int chipnr)
{
struct nand_chip *chip = mtd->priv;
@@ -196,7 +198,7 @@ static void nand_select_chip(struct mtd_info *mtd, int chipnr)
*
* Default write function for 8bit buswith
*/
-static void nand_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len)
+void nand_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len)
{
int i;
struct nand_chip *chip = mtd->priv;
@@ -230,7 +232,7 @@ void nand_read_buf(struct mtd_info *mtd, uint8_t *buf, int len)
*
* Default verify function for 8bit buswith
*/
-static int nand_verify_buf(struct mtd_info *mtd, const uint8_t *buf, int len)
+int nand_verify_buf(struct mtd_info *mtd, const uint8_t *buf, int len)
{
int i;
struct nand_chip *chip = mtd->priv;
@@ -249,7 +251,7 @@ static int nand_verify_buf(struct mtd_info *mtd, const uint8_t *buf, int len)
*
* Default write function for 16bit buswith
*/
-static void nand_write_buf16(struct mtd_info *mtd, const uint8_t *buf, int len)
+void nand_write_buf16(struct mtd_info *mtd, const uint8_t *buf, int len)
{
int i;
struct nand_chip *chip = mtd->priv;
@@ -288,7 +290,7 @@ void nand_read_buf16(struct mtd_info *mtd, uint8_t *buf, int len)
*
* Default verify function for 16bit buswith
*/
-static int nand_verify_buf16(struct mtd_info *mtd, const uint8_t *buf, int len)
+int nand_verify_buf16(struct mtd_info *mtd, const uint8_t *buf, int len)
{
int i;
struct nand_chip *chip = mtd->priv;
@@ -310,7 +312,7 @@ static int nand_verify_buf16(struct mtd_info *mtd, const uint8_t *buf, int len)
*
* Check, if the block is bad.
*/
-static int nand_block_bad(struct mtd_info *mtd, loff_t ofs, int getchip)
+int nand_block_bad(struct mtd_info *mtd, loff_t ofs, int getchip)
{
int page, chipnr, res = 0;
struct nand_chip *chip = mtd->priv;
@@ -355,7 +357,7 @@ static int nand_block_bad(struct mtd_info *mtd, loff_t ofs, int getchip)
* This is the default implementation, which can be overridden by
* a hardware specific driver.
*/
-static int nand_default_block_markbad(struct mtd_info *mtd, loff_t ofs)
+int nand_default_block_markbad(struct mtd_info *mtd, loff_t ofs)
{
struct nand_chip *chip = mtd->priv;
uint8_t buf[2] = { 0, 0 };
@@ -396,7 +398,7 @@ static int nand_default_block_markbad(struct mtd_info *mtd, loff_t ofs)
*
* The function expects, that the device is already selected
*/
-static int nand_check_wp(struct mtd_info *mtd)
+int nand_check_wp(struct mtd_info *mtd)
{
struct nand_chip *chip = mtd->priv;
/* Check the WP bit */
@@ -414,7 +416,7 @@ static int nand_check_wp(struct mtd_info *mtd)
* Check, if the block is bad. Either by reading the bad block table or
* calling of the scan function.
*/
-static int nand_block_checkbad(struct mtd_info *mtd, loff_t ofs, int getchip,
+int nand_block_checkbad(struct mtd_info *mtd, loff_t ofs, int getchip,
int allowbbt)
{
struct nand_chip *chip = mtd->priv;
@@ -461,7 +463,7 @@ void nand_wait_ready(struct mtd_info *mtd)
* Send command to NAND device. This function is used for small page
* devices (256/512 Bytes per page)
*/
-static void nand_command(struct mtd_info *mtd, unsigned int command,
+void nand_command(struct mtd_info *mtd, unsigned int command,
int column, int page_addr)
{
register struct nand_chip *chip = mtd->priv;
@@ -566,8 +568,8 @@ static void nand_command(struct mtd_info *mtd, unsigned int command,
* devices We dont have the separate regions as we have in the small page
* devices. We must emulate NAND_CMD_READOOB to keep the code compatible.
*/
-static void nand_command_lp(struct mtd_info *mtd, unsigned int command,
- int column, int page_addr)
+void nand_command_lp(struct mtd_info *mtd, unsigned int command, int column,
+ int page_addr)
{
register struct nand_chip *chip = mtd->priv;
uint32_t rst_sts_cnt = CONFIG_SYS_NAND_RESET_CNT;
@@ -686,7 +688,7 @@ static void nand_command_lp(struct mtd_info *mtd, unsigned int command,
*
* Get the device and lock it for exclusive access
*/
-static int nand_get_device (struct nand_chip *this, struct mtd_info *mtd, int new_state)
+int nand_get_device (struct nand_chip *this, struct mtd_info *mtd, int new_state)
{
this->state = new_state;
return 0;
@@ -701,7 +703,7 @@ static int nand_get_device (struct nand_chip *this, struct mtd_info *mtd, int ne
* Erase can take up to 400ms and program up to 20ms according to
* general NAND and SmartMedia specs
*/
-static int nand_wait(struct mtd_info *mtd, struct nand_chip *this)
+int nand_wait(struct mtd_info *mtd, struct nand_chip *this)
{
unsigned long timeo;
int state = this->state;
@@ -751,7 +753,7 @@ static int nand_wait(struct mtd_info *mtd, struct nand_chip *this)
*
* Not for syndrome calculating ecc controllers, which use a special oob layout
*/
-static int nand_read_page_raw(struct mtd_info *mtd, struct nand_chip *chip,
+int nand_read_page_raw(struct mtd_info *mtd, struct nand_chip *chip,
uint8_t *buf, int page)
{
chip->read_buf(mtd, buf, mtd->writesize);
@@ -768,7 +770,7 @@ static int nand_read_page_raw(struct mtd_info *mtd, struct nand_chip *chip,
*
* We need a special oob layout and handling even when OOB isn't used.
*/
-static int nand_read_page_raw_syndrome(struct mtd_info *mtd, struct nand_chip *chip,
+int nand_read_page_raw_syndrome(struct mtd_info *mtd, struct nand_chip *chip,
uint8_t *buf, int page)
{
int eccsize = chip->ecc.size;
@@ -808,7 +810,7 @@ static int nand_read_page_raw_syndrome(struct mtd_info *mtd, struct nand_chip *c
* @buf: buffer to store read data
* @page: page number to read
*/
-static int nand_read_page_swecc(struct mtd_info *mtd, struct nand_chip *chip,
+int nand_read_page_swecc(struct mtd_info *mtd, struct nand_chip *chip,
uint8_t *buf, int page)
{
int i, eccsize = chip->ecc.size;
@@ -850,7 +852,8 @@ static int nand_read_page_swecc(struct mtd_info *mtd, struct nand_chip *chip,
* @readlen: data length
* @bufpoi: buffer to store read data
*/
-static int nand_read_subpage(struct mtd_info *mtd, struct nand_chip *chip, uint32_t data_offs, uint32_t readlen, uint8_t *bufpoi)
+int nand_read_subpage(struct mtd_info *mtd, struct nand_chip *chip,
+ uint32_t data_offs, uint32_t readlen, uint8_t *bufpoi)
{
int start_step, end_step, num_steps;
uint32_t *eccpos = chip->ecc.layout->eccpos;
@@ -932,7 +935,7 @@ static int nand_read_subpage(struct mtd_info *mtd, struct nand_chip *chip, uint3
*
* Not for syndrome calculating ecc controllers which need a special oob layout
*/
-static int nand_read_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip,
+int nand_read_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip,
uint8_t *buf, int page)
{
int i, eccsize = chip->ecc.size;
@@ -982,7 +985,7 @@ static int nand_read_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip,
* "infix ECC" scheme and reads/writes ECC from the data area, by
* overwriting the NAND manufacturer bad block markings.
*/
-static int nand_read_page_hwecc_oob_first(struct mtd_info *mtd,
+int nand_read_page_hwecc_oob_first(struct mtd_info *mtd,
struct nand_chip *chip, uint8_t *buf, int page)
{
int i, eccsize = chip->ecc.size;
@@ -1027,7 +1030,7 @@ static int nand_read_page_hwecc_oob_first(struct mtd_info *mtd,
* The hw generator calculates the error syndrome automatically. Therefor
* we need a special oob layout and handling.
*/
-static int nand_read_page_syndrome(struct mtd_info *mtd, struct nand_chip *chip,
+int nand_read_page_syndrome(struct mtd_info *mtd, struct nand_chip *chip,
uint8_t *buf, int page)
{
int i, eccsize = chip->ecc.size;
@@ -1079,7 +1082,7 @@ static int nand_read_page_syndrome(struct mtd_info *mtd, struct nand_chip *chip,
* @ops: oob ops structure
* @len: size of oob to transfer
*/
-static uint8_t *nand_transfer_oob(struct nand_chip *chip, uint8_t *oob,
+uint8_t *nand_transfer_oob(struct nand_chip *chip, uint8_t *oob,
struct mtd_oob_ops *ops, size_t len)
{
switch(ops->mode) {
@@ -1129,7 +1132,7 @@ static uint8_t *nand_transfer_oob(struct nand_chip *chip, uint8_t *oob,
*
* Internal function. Called with chip held.
*/
-static int nand_do_read_ops(struct mtd_info *mtd, loff_t from,
+int nand_do_read_ops(struct mtd_info *mtd, loff_t from,
struct mtd_oob_ops *ops)
{
int chipnr, page, realpage, col, bytes, aligned;
@@ -1272,7 +1275,7 @@ static int nand_do_read_ops(struct mtd_info *mtd, loff_t from,
*
* Get hold of the chip and call nand_do_read
*/
-static int nand_read(struct mtd_info *mtd, loff_t from, size_t len,
+int nand_read(struct mtd_info *mtd, loff_t from, size_t len,
size_t *retlen, uint8_t *buf)
{
struct nand_chip *chip = mtd->priv;
@@ -1306,7 +1309,7 @@ static int nand_read(struct mtd_info *mtd, loff_t from, size_t len,
* @page: page number to read
* @sndcmd: flag whether to issue read command or not
*/
-static int nand_read_oob_std(struct mtd_info *mtd, struct nand_chip *chip,
+int nand_read_oob_std(struct mtd_info *mtd, struct nand_chip *chip,
int page, int sndcmd)
{
if (sndcmd) {
@@ -1325,7 +1328,7 @@ static int nand_read_oob_std(struct mtd_info *mtd, struct nand_chip *chip,
* @page: page number to read
* @sndcmd: flag whether to issue read command or not
*/
-static int nand_read_oob_syndrome(struct mtd_info *mtd, struct nand_chip *chip,
+int nand_read_oob_syndrome(struct mtd_info *mtd, struct nand_chip *chip,
int page, int sndcmd)
{
uint8_t *buf = chip->oob_poi;
@@ -1362,7 +1365,7 @@ static int nand_read_oob_syndrome(struct mtd_info *mtd, struct nand_chip *chip,
* @chip: nand chip info structure
* @page: page number to write
*/
-static int nand_write_oob_std(struct mtd_info *mtd, struct nand_chip *chip,
+int nand_write_oob_std(struct mtd_info *mtd, struct nand_chip *chip,
int page)
{
int status = 0;
@@ -1386,7 +1389,7 @@ static int nand_write_oob_std(struct mtd_info *mtd, struct nand_chip *chip,
* @chip: nand chip info structure
* @page: page number to write
*/
-static int nand_write_oob_syndrome(struct mtd_info *mtd,
+int nand_write_oob_syndrome(struct mtd_info *mtd,
struct nand_chip *chip, int page)
{
int chunk = chip->ecc.bytes + chip->ecc.prepad + chip->ecc.postpad;
@@ -1446,8 +1449,7 @@ static int nand_write_oob_syndrome(struct mtd_info *mtd,
*
* NAND read out-of-band data from the spare area
*/
-static int nand_do_read_oob(struct mtd_info *mtd, loff_t from,
- struct mtd_oob_ops *ops)
+int nand_do_read_oob(struct mtd_info *mtd, loff_t from, struct mtd_oob_ops *ops)
{
int page, realpage, chipnr, sndcmd = 1;
struct nand_chip *chip = mtd->priv;
@@ -1540,8 +1542,7 @@ static int nand_do_read_oob(struct mtd_info *mtd, loff_t from,
*
* NAND read data and/or out-of-band data
*/
-static int nand_read_oob(struct mtd_info *mtd, loff_t from,
- struct mtd_oob_ops *ops)
+int nand_read_oob(struct mtd_info *mtd, loff_t from, struct mtd_oob_ops *ops)
{
struct nand_chip *chip = mtd->priv;
int ret = -ENOTSUPP;
@@ -1586,7 +1587,7 @@ static int nand_read_oob(struct mtd_info *mtd, loff_t from,
*
* Not for syndrome calculating ecc controllers, which use a special oob layout
*/
-static void nand_write_page_raw(struct mtd_info *mtd, struct nand_chip *chip,
+void nand_write_page_raw(struct mtd_info *mtd, struct nand_chip *chip,
const uint8_t *buf)
{
chip->write_buf(mtd, buf, mtd->writesize);
@@ -1601,7 +1602,7 @@ static void nand_write_page_raw(struct mtd_info *mtd, struct nand_chip *chip,
*
* We need a special oob layout and handling even when ECC isn't checked.
*/
-static void nand_write_page_raw_syndrome(struct mtd_info *mtd, struct nand_chip *chip,
+void nand_write_page_raw_syndrome(struct mtd_info *mtd, struct nand_chip *chip,
const uint8_t *buf)
{
int eccsize = chip->ecc.size;
@@ -1637,7 +1638,7 @@ static void nand_write_page_raw_syndrome(struct mtd_info *mtd, struct nand_chip
* @chip: nand chip info structure
* @buf: data buffer
*/
-static void nand_write_page_swecc(struct mtd_info *mtd, struct nand_chip *chip,
+void nand_write_page_swecc(struct mtd_info *mtd, struct nand_chip *chip,
const uint8_t *buf)
{
int i, eccsize = chip->ecc.size;
@@ -1663,7 +1664,7 @@ static void nand_write_page_swecc(struct mtd_info *mtd, struct nand_chip *chip,
* @chip: nand chip info structure
* @buf: data buffer
*/
-static void nand_write_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip,
+void nand_write_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip,
const uint8_t *buf)
{
int i, eccsize = chip->ecc.size;
@@ -1694,8 +1695,8 @@ static void nand_write_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip,
* The hw generator calculates the error syndrome automatically. Therefor
* we need a special oob layout and handling.
*/
-static void nand_write_page_syndrome(struct mtd_info *mtd,
- struct nand_chip *chip, const uint8_t *buf)
+void nand_write_page_syndrome(struct mtd_info *mtd, struct nand_chip *chip,
+ const uint8_t *buf)
{
int i, eccsize = chip->ecc.size;
int eccbytes = chip->ecc.bytes;
@@ -1738,7 +1739,7 @@ static void nand_write_page_syndrome(struct mtd_info *mtd,
* @cached: cached programming
* @raw: use _raw version of write_page
*/
-static int nand_write_page(struct mtd_info *mtd, struct nand_chip *chip,
+int nand_write_page(struct mtd_info *mtd, struct nand_chip *chip,
const uint8_t *buf, int page, int cached, int raw)
{
int status;
@@ -1791,7 +1792,7 @@ static int nand_write_page(struct mtd_info *mtd, struct nand_chip *chip,
* @oob: oob data buffer
* @ops: oob ops structure
*/
-static uint8_t *nand_fill_oob(struct nand_chip *chip, uint8_t *oob,
+uint8_t *nand_fill_oob(struct nand_chip *chip, uint8_t *oob,
struct mtd_oob_ops *ops)
{
size_t len = ops->ooblen;
@@ -1844,7 +1845,7 @@ static uint8_t *nand_fill_oob(struct nand_chip *chip, uint8_t *oob,
*
* NAND write with ECC
*/
-static int nand_do_write_ops(struct mtd_info *mtd, loff_t to,
+int nand_do_write_ops(struct mtd_info *mtd, loff_t to,
struct mtd_oob_ops *ops)
{
int chipnr, realpage, page, blockmask, column;
@@ -1944,7 +1945,7 @@ static int nand_do_write_ops(struct mtd_info *mtd, loff_t to,
*
* NAND write with ECC
*/
-static int nand_write(struct mtd_info *mtd, loff_t to, size_t len,
+int nand_write(struct mtd_info *mtd, loff_t to, size_t len,
size_t *retlen, const uint8_t *buf)
{
struct nand_chip *chip = mtd->priv;
@@ -1979,7 +1980,7 @@ static int nand_write(struct mtd_info *mtd, loff_t to, size_t len,
*
* NAND write out-of-band
*/
-static int nand_do_write_oob(struct mtd_info *mtd, loff_t to,
+int nand_do_write_oob(struct mtd_info *mtd, loff_t to,
struct mtd_oob_ops *ops)
{
int chipnr, page, status, len;
@@ -2057,7 +2058,7 @@ static int nand_do_write_oob(struct mtd_info *mtd, loff_t to,
* @to: offset to write to
* @ops: oob operation description structure
*/
-static int nand_write_oob(struct mtd_info *mtd, loff_t to,
+int nand_write_oob(struct mtd_info *mtd, loff_t to,
struct mtd_oob_ops *ops)
{
struct nand_chip *chip = mtd->priv;
@@ -2101,7 +2102,7 @@ static int nand_write_oob(struct mtd_info *mtd, loff_t to,
*
* Standard erase command for NAND chips
*/
-static void single_erase_cmd(struct mtd_info *mtd, int page)
+void single_erase_cmd(struct mtd_info *mtd, int page)
{
struct nand_chip *chip = mtd->priv;
/* Send commands to erase a block */
@@ -2117,7 +2118,7 @@ static void single_erase_cmd(struct mtd_info *mtd, int page)
* AND multi block erase command function
* Erase 4 consecutive blocks
*/
-static void multi_erase_cmd(struct mtd_info *mtd, int page)
+void multi_erase_cmd(struct mtd_info *mtd, int page)
{
struct nand_chip *chip = mtd->priv;
/* Send commands to erase a block */
@@ -2135,7 +2136,7 @@ static void multi_erase_cmd(struct mtd_info *mtd, int page)
*
* Erase one ore more blocks
*/
-static int nand_erase(struct mtd_info *mtd, struct erase_info *instr)
+int nand_erase(struct mtd_info *mtd, struct erase_info *instr)
{
return nand_erase_nand(mtd, instr, 0);
}
@@ -2330,7 +2331,7 @@ int nand_erase_nand(struct mtd_info *mtd, struct erase_info *instr,
*
* Sync is actually a wait for chip ready function
*/
-static void nand_sync(struct mtd_info *mtd)
+void nand_sync(struct mtd_info *mtd)
{
struct nand_chip *chip = mtd->priv;
@@ -2347,7 +2348,7 @@ static void nand_sync(struct mtd_info *mtd)
* @mtd: MTD device structure
* @offs: offset relative to mtd start
*/
-static int nand_block_isbad(struct mtd_info *mtd, loff_t offs)
+int nand_block_isbad(struct mtd_info *mtd, loff_t offs)
{
/* Check for invalid offset */
if (offs > mtd->size)
@@ -2361,7 +2362,7 @@ static int nand_block_isbad(struct mtd_info *mtd, loff_t offs)
* @mtd: MTD device structure
* @ofs: offset relative to mtd start
*/
-static int nand_block_markbad(struct mtd_info *mtd, loff_t ofs)
+int nand_block_markbad(struct mtd_info *mtd, loff_t ofs)
{
struct nand_chip *chip = mtd->priv;
int ret;
@@ -2379,7 +2380,7 @@ static int nand_block_markbad(struct mtd_info *mtd, loff_t ofs)
/*
* Set default functions
*/
-static void nand_set_defaults(struct nand_chip *chip, int busw)
+void nand_set_defaults(struct nand_chip *chip, int busw)
{
/* check for proper chip_delay setup, set 20us if not */
if (!chip->chip_delay)
@@ -2416,7 +2417,7 @@ static void nand_set_defaults(struct nand_chip *chip, int busw)
}
#ifdef CONFIG_SYS_NAND_ONFI_DETECTION
-static u16 onfi_crc16(u16 crc, u8 const *p, size_t len)
+u16 onfi_crc16(u16 crc, u8 const *p, size_t len)
{
int i;
@@ -2432,9 +2433,8 @@ static u16 onfi_crc16(u16 crc, u8 const *p, size_t len)
/*
* Check if the NAND chip is ONFI compliant, returns 1 if it is, 0 otherwise
*/
-static int nand_flash_detect_onfi(struct mtd_info *mtd,
- struct nand_chip *chip,
- int *busw)
+int nand_flash_detect_onfi(struct mtd_info *mtd, struct nand_chip *chip,
+ int *busw)
{
struct nand_onfi_params *p = &chip->onfi_params;
int i;
@@ -2494,7 +2494,7 @@ static int nand_flash_detect_onfi(struct mtd_info *mtd,
return 1;
}
#else
-static inline int nand_flash_detect_onfi(struct mtd_info *mtd,
+inline int nand_flash_detect_onfi(struct mtd_info *mtd,
struct nand_chip *chip,
int *busw)
{
@@ -2502,10 +2502,8 @@ static inline int nand_flash_detect_onfi(struct mtd_info *mtd,
}
#endif
-static void nand_flash_detect_non_onfi(struct mtd_info *mtd,
- struct nand_chip *chip,
- const struct nand_flash_dev *type,
- int *busw)
+void nand_flash_detect_non_onfi(struct mtd_info *mtd, struct nand_chip *chip,
+ const struct nand_flash_dev *type, int *busw)
{
/* Newer devices have all the information in additional id bytes */
if (!type->pagesize) {
@@ -2540,7 +2538,7 @@ static void nand_flash_detect_non_onfi(struct mtd_info *mtd,
/*
* Get the flash and manufacturer id and lookup if the type is supported
*/
-static const struct nand_flash_dev *nand_get_flash_type(struct mtd_info *mtd,
+const struct nand_flash_dev *nand_get_flash_type(struct mtd_info *mtd,
struct nand_chip *chip,
int busw,
int *maf_id, int *dev_id,
diff --git a/drivers/mtd/nand/nand_plat.c b/drivers/mtd/nand/nand_plat.c
index 37a0206..d0e22a4 100644
--- a/drivers/mtd/nand/nand_plat.c
+++ b/drivers/mtd/nand/nand_plat.c
@@ -22,6 +22,7 @@
#endif
#include <nand.h>
+#include <nand_interface.h>
static void plat_cmd_ctrl(struct mtd_info *mtd, int cmd, unsigned int ctrl)
{
diff --git a/drivers/mtd/nand/nand_spl_simple.c b/drivers/mtd/nand/nand_spl_simple.c
index 71491d4..5025491 100644
--- a/drivers/mtd/nand/nand_spl_simple.c
+++ b/drivers/mtd/nand/nand_spl_simple.c
@@ -20,6 +20,7 @@
#include <common.h>
#include <nand.h>
+#include <nand_interface.h>
#include <asm/io.h>
static int nand_ecc_pos[] = CONFIG_SYS_NAND_ECCPOS;
diff --git a/drivers/mtd/nand/nand_util.c b/drivers/mtd/nand/nand_util.c
index 81bf366..d59dc4e 100644
--- a/drivers/mtd/nand/nand_util.c
+++ b/drivers/mtd/nand/nand_util.c
@@ -48,6 +48,7 @@
#include <asm/errno.h>
#include <linux/mtd/mtd.h>
#include <nand.h>
+#include <nand_interface.h>
#include <jffs2/jffs2.h>
typedef struct erase_info erase_info_t;
diff --git a/drivers/mtd/nand/ndfc.c b/drivers/mtd/nand/ndfc.c
index 6ebbb5e..510d755 100644
--- a/drivers/mtd/nand/ndfc.c
+++ b/drivers/mtd/nand/ndfc.c
@@ -31,6 +31,7 @@
#include <common.h>
#include <nand.h>
+#include <nand_interface.h>
#include <linux/mtd/ndfc.h>
#include <linux/mtd/nand_ecc.h>
#include <asm/processor.h>
diff --git a/drivers/mtd/nand/nomadik.c b/drivers/mtd/nand/nomadik.c
index b76f4cb..8f7a9da 100644
--- a/drivers/mtd/nand/nomadik.c
+++ b/drivers/mtd/nand/nomadik.c
@@ -23,6 +23,7 @@
#include <common.h>
#include <nand.h>
+#include <nand_interface.h>
#include <asm/io.h>
static inline int parity(int b) /* b is really a byte; returns 0 or ~0 */
diff --git a/drivers/mtd/nand/omap_gpmc.c b/drivers/mtd/nand/omap_gpmc.c
index 5bbec48..2cde42b 100644
--- a/drivers/mtd/nand/omap_gpmc.c
+++ b/drivers/mtd/nand/omap_gpmc.c
@@ -28,6 +28,7 @@
#include <asm/arch/omap_gpmc.h>
#include <linux/mtd/nand_ecc.h>
#include <nand.h>
+#include <nand_base.h>
static uint8_t cs;
static struct nand_ecclayout hw_nand_oob = GPMC_NAND_HW_ECC_LAYOUT;
diff --git a/drivers/mtd/nand/s3c2410_nand.c b/drivers/mtd/nand/s3c2410_nand.c
index 27351fb..8e9c69e 100644
--- a/drivers/mtd/nand/s3c2410_nand.c
+++ b/drivers/mtd/nand/s3c2410_nand.c
@@ -21,6 +21,7 @@
#include <common.h>
#include <nand.h>
+#include <nand_interface.h>
#include <asm/arch/s3c24x0_cpu.h>
#include <asm/io.h>
diff --git a/drivers/mtd/nand/s3c64xx.c b/drivers/mtd/nand/s3c64xx.c
index 084e475..c833ecf 100644
--- a/drivers/mtd/nand/s3c64xx.c
+++ b/drivers/mtd/nand/s3c64xx.c
@@ -28,6 +28,7 @@
#include <common.h>
#include <nand.h>
+#include <nand_interface.h>
#include <asm/arch/s3c6400.h>
#include <asm/io.h>
@@ -60,32 +61,6 @@ static void print_oob(const char *header, struct mtd_info *mtd)
}
#endif /* S3C_NAND_DEBUG */
-#ifdef CONFIG_NAND_SPL
-static u_char nand_read_byte(struct mtd_info *mtd)
-{
- struct nand_chip *this = mtd->priv;
- return readb(this->IO_ADDR_R);
-}
-
-static void nand_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len)
-{
- int i;
- struct nand_chip *this = mtd->priv;
-
- for (i = 0; i < len; i++)
- writeb(buf[i], this->IO_ADDR_W);
-}
-
-static void nand_read_buf(struct mtd_info *mtd, u_char *buf, int len)
-{
- int i;
- struct nand_chip *this = mtd->priv;
-
- for (i = 0; i < len; i++)
- buf[i] = readb(this->IO_ADDR_R);
-}
-#endif
-
static void s3c_nand_select_chip(struct mtd_info *mtd, int chip)
{
int ctrl = readl(NFCONT);
diff --git a/drivers/mtd/nand/spr_nand.c b/drivers/mtd/nand/spr_nand.c
index 097d0c6..93d7f84 100644
--- a/drivers/mtd/nand/spr_nand.c
+++ b/drivers/mtd/nand/spr_nand.c
@@ -23,6 +23,7 @@
#include <common.h>
#include <nand.h>
+#include <nand_interface.h>
#include <linux/mtd/nand_ecc.h>
#include <asm/io.h>
#include <asm/arch/hardware.h>
diff --git a/fs/jffs2/jffs2_1pass.c b/fs/jffs2/jffs2_1pass.c
index 5ddc2b9..a604265 100644
--- a/fs/jffs2/jffs2_1pass.c
+++ b/fs/jffs2/jffs2_1pass.c
@@ -148,6 +148,7 @@ static struct part_info *current_part;
#if (defined(CONFIG_JFFS2_NAND) && \
defined(CONFIG_CMD_NAND) )
#include <nand.h>
+#include <nand_interface.h>
/*
* Support for jffs2 on top of NAND-flash
*
diff --git a/fs/jffs2/jffs2_nand_1pass.c b/fs/jffs2/jffs2_nand_1pass.c
index 740f787..084d1a9 100644
--- a/fs/jffs2/jffs2_nand_1pass.c
+++ b/fs/jffs2/jffs2_nand_1pass.c
@@ -7,6 +7,7 @@
#include <jffs2/jffs2.h>
#include <jffs2/jffs2_1pass.h>
#include <nand.h>
+#include <nand_interface.h>
#include "jffs2_nand_private.h"
diff --git a/include/nand.h b/include/nand.h
index b4140794..09b793e 100644
--- a/include/nand.h
+++ b/include/nand.h
@@ -37,34 +37,6 @@ typedef struct mtd_info nand_info_t;
extern int nand_curr_device;
extern nand_info_t nand_info[];
-static inline int nand_read(nand_info_t *info, loff_t ofs, size_t *len, u_char *buf)
-{
- return info->read(info, ofs, *len, (size_t *)len, buf);
-}
-
-static inline int nand_write(nand_info_t *info, loff_t ofs, size_t *len, u_char *buf)
-{
- return info->write(info, ofs, *len, (size_t *)len, buf);
-}
-
-static inline int nand_block_isbad(nand_info_t *info, loff_t ofs)
-{
- return info->block_isbad(info, ofs);
-}
-
-static inline int nand_erase(nand_info_t *info, loff_t off, size_t size)
-{
- struct erase_info instr;
-
- instr.mtd = info;
- instr.addr = off;
- instr.len = size;
- instr.callback = 0;
-
- return info->erase(info, &instr);
-}
-
-
/*****************************************************************************
* declarations from nand_util.c
****************************************************************************/
@@ -135,8 +107,6 @@ int nand_get_lock_status(nand_info_t *meminfo, loff_t offset);
int nand_spl_load_image(uint32_t offs, unsigned int size, void *dst);
void nand_deselect(void);
-void nand_read_buf16(struct mtd_info *mtd, uint8_t *buf, int len);
-void nand_read_buf(struct mtd_info *mtd, uint8_t *buf, int len);
#ifdef CONFIG_SYS_NAND_SELECT_DEVICE
void board_nand_select_device(struct nand_chip *nand, int chip);
@@ -153,4 +123,106 @@ __attribute__((noreturn)) void nand_boot(void);
stored as byte number */
#define ENV_OFFSET_SIZE 8
int get_nand_env_oob(nand_info_t *nand, unsigned long *result);
+
+/* nand_base.c Standard implementation of nand functions */
+void nand_release_device (struct mtd_info *mtd);
+uint8_t nand_read_byte(struct mtd_info *mtd);
+uint8_t nand_read_byte16(struct mtd_info *mtd);
+u16 nand_read_word(struct mtd_info *mtd);
+void nand_select_chip(struct mtd_info *mtd, int chipnr);
+void nand_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len);
+void nand_read_buf(struct mtd_info *mtd, uint8_t *buf, int len);
+int nand_verify_buf(struct mtd_info *mtd, const uint8_t *buf, int len);
+void nand_write_buf16(struct mtd_info *mtd, const uint8_t *buf, int len);
+void nand_read_buf16(struct mtd_info *mtd, uint8_t *buf, int len);
+int nand_verify_buf16(struct mtd_info *mtd, const uint8_t *buf, int len);
+int nand_block_bad(struct mtd_info *mtd, loff_t ofs, int getchip);
+int nand_default_block_markbad(struct mtd_info *mtd, loff_t ofs);
+int nand_check_wp(struct mtd_info *mtd);
+int nand_block_checkbad(struct mtd_info *mtd, loff_t ofs, int getchip,
+ int allowbbt);
+void nand_wait_ready(struct mtd_info *mtd);
+void nand_command(struct mtd_info *mtd, unsigned int command, int column,
+ int page_addr);
+void nand_command_lp(struct mtd_info *mtd, unsigned int command, int column,
+ int page_addr);
+int nand_get_device (struct nand_chip *this, struct mtd_info *mtd,
+ int new_state);
+int nand_wait(struct mtd_info *mtd, struct nand_chip *this);
+int nand_read_page_raw(struct mtd_info *mtd, struct nand_chip *chip,
+ uint8_t *buf, int page);
+static int nand_read_page_raw_syndrome(struct mtd_info *mtd,
+ struct nand_chip *chip, uint8_t *buf, int page);
+int nand_read_subpage(struct mtd_info *mtd, struct nand_chip *chip,
+ uint32_t data_offs, uint32_t readlen, uint8_t *bufpoi);
+int nand_read_page_swecc(struct mtd_info *mtd, struct nand_chip *chip,
+ uint8_t *buf, int page);
+int nand_read_subpage(struct mtd_info *mtd, struct nand_chip *chip,
+ uint32_t data_offs, uint32_t readlen, uint8_t *bufpoi);
+int nand_read_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip,
+ uint8_t *buf, int page);
+int nand_read_page_hwecc_oob_first(struct mtd_info *mtd,
+ struct nand_chip *chip, uint8_t *buf, int page);
+int nand_read_page_syndrome(struct mtd_info *mtd,
+ struct nand_chip *chip, uint8_t *buf, int page);
+uint8_t *nand_transfer_oob(struct nand_chip *chip, uint8_t *oob,
+ struct mtd_oob_ops *ops, size_t len);
+int nand_do_read_ops(struct mtd_info *mtd, loff_t from,
+ struct mtd_oob_ops *ops);
+int nand_read(struct mtd_info *mtd, loff_t from, size_t len,i
+ size_t *retlen, uint8_t *buf);
+int nand_read_oob_std(struct mtd_info *mtd, struct nand_chip *chip,
+ int page, int sndcmd);
+int nand_read_oob_syndrome(struct mtd_info *mtd, struct nand_chip *chip,
+ int page, int sndcmd);
+int nand_write_oob_std(struct mtd_info *mtd, struct nand_chip *chip,
+ int page);
+int nand_write_oob_syndrome(struct mtd_info *mtd, struct nand_chip *chip,
+ int page);
+int nand_do_read_oob(struct mtd_info *mtd, loff_t from,
+ struct mtd_oob_ops *ops);
+int nand_read_oob(struct mtd_info *mtd, loff_t from, struct mtd_oob_ops *ops);
+void nand_write_page_raw(struct mtd_info *mtd, struct nand_chip *chip,
+ const uint8_t *buf);
+void nand_write_page_raw_syndrome(struct mtd_info *mtd,
+ struct nand_chip *chip, const uint8_t *buf);
+void nand_write_page_swecc(struct mtd_info *mtd, struct nand_chip *chip,
+ const uint8_t *buf);
+void nand_write_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip,
+ const uint8_t *buf);
+void nand_write_page_syndrome(struct mtd_info *mtd, struct nand_chip *chip,
+ const uint8_t *buf);
+int nand_write_page(struct mtd_info *mtd, struct nand_chip *chip,
+ const uint8_t *buf, int page, int cached, int raw);
+uint8_t *nand_fill_oob(struct nand_chip *chip, uint8_t *oob,
+ struct mtd_oob_ops *ops);
+int nand_do_write_ops(struct mtd_info *mtd, loff_t to,
+ struct mtd_oob_ops *ops);
+int nand_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen,
+ const uint8_t *buf);
+int nand_do_write_oob(struct mtd_info *mtd, loff_t to, struct mtd_oob_ops *ops);
+int nand_write_oob(struct mtd_info *mtd, loff_t to, struct mtd_oob_ops *ops);
+void single_erase_cmd(struct mtd_info *mtd, int page);
+void multi_erase_cmd(struct mtd_info *mtd, int page);
+int nand_erase(struct mtd_info *mtd, struct erase_info *instr);
+int nand_erase_nand(struct mtd_info *mtd, struct erase_info *instr,
+ int allowbbt);
+
+void nand_sync(struct mtd_info *mtd);
+int nand_block_isbad(struct mtd_info *mtd, loff_t offs);
+int nand_block_markbad(struct mtd_info *mtd, loff_t ofs);
+void nand_set_defaults(struct nand_chip *chip, int busw);
+u16 onfi_crc16(u16 crc, u8 const *p, size_t len);
+int nand_flash_detect_onfi(struct mtd_info *mtd, struct nand_chip *chip,
+ int *busw);
+void nand_flash_detect_non_onfi(struct mtd_info *mtd, struct nand_chip *chip,
+ const struct nand_flash_dev *type, int *busw);
+const struct nand_flash_dev *nand_get_flash_type(struct mtd_info *mtd,
+ struct nand_chip *chip, int busw, int *maf_id, int *dev_id,
+ const struct nand_flash_dev *type);
+int nand_scan_ident(struct mtd_info *mtd, int maxchips,
+ const struct nand_flash_dev *table);
+int nand_scan_tail(struct mtd_info *mtd);
+int nand_scan(struct mtd_info *mtd, int maxchips);
+void nand_release(struct mtd_info *mtd);
#endif
diff --git a/include/nand_base.h b/include/nand_base.h
new file mode 100644
index 0000000..2b70313
--- /dev/null
+++ b/include/nand_base.h
@@ -0,0 +1,127 @@
+/*
+ * (C) Copyright 2005
+ * 2N Telekomunikace, a.s. <www.2n.cz>
+ * Ladislav Michl <michl@2n.cz>
+ *
+ * See file CREDITS for list of people who contributed to this
+ * project.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * version 2 as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ */
+
+#ifndef _NAND_BASE_H_
+#define _NAND_BASE_H_
+
+/* nand_base.c Standard implementation of nand functions */
+void nand_release_device (struct mtd_info *mtd);
+uint8_t nand_read_byte(struct mtd_info *mtd);
+uint8_t nand_read_byte16(struct mtd_info *mtd);
+u16 nand_read_word(struct mtd_info *mtd);
+void nand_select_chip(struct mtd_info *mtd, int chipnr);
+void nand_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len);
+void nand_read_buf(struct mtd_info *mtd, uint8_t *buf, int len);
+int nand_verify_buf(struct mtd_info *mtd, const uint8_t *buf, int len);
+void nand_write_buf16(struct mtd_info *mtd, const uint8_t *buf, int len);
+void nand_read_buf16(struct mtd_info *mtd, uint8_t *buf, int len);
+int nand_verify_buf16(struct mtd_info *mtd, const uint8_t *buf, int len);
+int nand_block_bad(struct mtd_info *mtd, loff_t ofs, int getchip);
+int nand_default_block_markbad(struct mtd_info *mtd, loff_t ofs);
+int nand_check_wp(struct mtd_info *mtd);
+int nand_block_checkbad(struct mtd_info *mtd, loff_t ofs, int getchip,
+ int allowbbt);
+void nand_wait_ready(struct mtd_info *mtd);
+void nand_command(struct mtd_info *mtd, unsigned int command, int column,
+ int page_addr);
+void nand_command_lp(struct mtd_info *mtd, unsigned int command, int column,
+ int page_addr);
+int nand_get_device (struct nand_chip *this, struct mtd_info *mtd,
+ int new_state);
+int nand_wait(struct mtd_info *mtd, struct nand_chip *this);
+int nand_read_page_raw(struct mtd_info *mtd, struct nand_chip *chip,
+ uint8_t *buf, int page);
+static int nand_read_page_raw_syndrome(struct mtd_info *mtd,
+ struct nand_chip *chip, uint8_t *buf, int page);
+int nand_read_subpage(struct mtd_info *mtd, struct nand_chip *chip,
+ uint32_t data_offs, uint32_t readlen, uint8_t *bufpoi);
+int nand_read_page_swecc(struct mtd_info *mtd, struct nand_chip *chip,
+ uint8_t *buf, int page);
+int nand_read_subpage(struct mtd_info *mtd, struct nand_chip *chip,
+ uint32_t data_offs, uint32_t readlen, uint8_t *bufpoi);
+int nand_read_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip,
+ uint8_t *buf, int page);
+int nand_read_page_hwecc_oob_first(struct mtd_info *mtd,
+ struct nand_chip *chip, uint8_t *buf, int page);
+int nand_read_page_syndrome(struct mtd_info *mtd,
+ struct nand_chip *chip, uint8_t *buf, int page);
+uint8_t *nand_transfer_oob(struct nand_chip *chip, uint8_t *oob,
+ struct mtd_oob_ops *ops, size_t len);
+int nand_do_read_ops(struct mtd_info *mtd, loff_t from,
+ struct mtd_oob_ops *ops);
+int nand_read_oob_std(struct mtd_info *mtd, struct nand_chip *chip,
+ int page, int sndcmd);
+int nand_read_oob_syndrome(struct mtd_info *mtd, struct nand_chip *chip,
+ int page, int sndcmd);
+int nand_write_oob_std(struct mtd_info *mtd, struct nand_chip *chip,
+ int page);
+int nand_write_oob_syndrome(struct mtd_info *mtd, struct nand_chip *chip,
+ int page);
+int nand_do_read_oob(struct mtd_info *mtd, loff_t from,
+ struct mtd_oob_ops *ops);
+int nand_read_oob(struct mtd_info *mtd, loff_t from, struct mtd_oob_ops *ops);
+void nand_write_page_raw(struct mtd_info *mtd, struct nand_chip *chip,
+ const uint8_t *buf);
+void nand_write_page_raw_syndrome(struct mtd_info *mtd,
+ struct nand_chip *chip, const uint8_t *buf);
+void nand_write_page_swecc(struct mtd_info *mtd, struct nand_chip *chip,
+ const uint8_t *buf);
+void nand_write_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip,
+ const uint8_t *buf);
+void nand_write_page_syndrome(struct mtd_info *mtd, struct nand_chip *chip,
+ const uint8_t *buf);
+int nand_write_page(struct mtd_info *mtd, struct nand_chip *chip,
+ const uint8_t *buf, int page, int cached, int raw);
+uint8_t *nand_fill_oob(struct nand_chip *chip, uint8_t *oob,
+ struct mtd_oob_ops *ops);
+int nand_do_write_ops(struct mtd_info *mtd, loff_t to,
+ struct mtd_oob_ops *ops);
+int nand_do_write_oob(struct mtd_info *mtd, loff_t to, struct mtd_oob_ops *ops);
+int nand_write_oob(struct mtd_info *mtd, loff_t to, struct mtd_oob_ops *ops);
+void single_erase_cmd(struct mtd_info *mtd, int page);
+void multi_erase_cmd(struct mtd_info *mtd, int page);
+int nand_erase_nand(struct mtd_info *mtd, struct erase_info *instr,
+ int allowbbt);
+int nand_read(struct mtd_info *mtd, loff_t from, size_t len,
+ size_t *retlen, uint8_t *buf);
+int nand_write(struct mtd_info *mtd, loff_t to, size_t len,
+ size_t *retlen, const uint8_t *buf);
+int nand_erase(struct mtd_info *mtd, struct erase_info *instr);
+void nand_sync(struct mtd_info *mtd);
+int nand_block_isbad(struct mtd_info *mtd, loff_t offs);
+int nand_block_markbad(struct mtd_info *mtd, loff_t ofs);
+void nand_set_defaults(struct nand_chip *chip, int busw);
+u16 onfi_crc16(u16 crc, u8 const *p, size_t len);
+int nand_flash_detect_onfi(struct mtd_info *mtd, struct nand_chip *chip,
+ int *busw);
+void nand_flash_detect_non_onfi(struct mtd_info *mtd, struct nand_chip *chip,
+ const struct nand_flash_dev *type, int *busw);
+const struct nand_flash_dev *nand_get_flash_type(struct mtd_info *mtd,
+ struct nand_chip *chip, int busw, int *maf_id, int *dev_id,
+ const struct nand_flash_dev *type);
+int nand_scan_ident(struct mtd_info *mtd, int maxchips,
+ const struct nand_flash_dev *table);
+int nand_scan_tail(struct mtd_info *mtd);
+int nand_scan(struct mtd_info *mtd, int maxchips);
+void nand_release(struct mtd_info *mtd);
+#endif /* NAND_BASE_H */
diff --git a/include/nand_interface.h b/include/nand_interface.h
new file mode 100644
index 0000000..f5caab3
--- /dev/null
+++ b/include/nand_interface.h
@@ -0,0 +1,32 @@
+#ifndef NAND_INTERFACE_H
+#define NAND_INTERFACE_H
+static inline int nand_read(nand_info_t *info, loff_t ofs, size_t *len,
+ u_char *buf)
+{
+ return info->read(info, ofs, *len, (size_t *)len, buf);
+}
+
+static inline int nand_write(nand_info_t *info, loff_t ofs, size_t *len,
+ u_char *buf)
+{
+ return info->write(info, ofs, *len, (size_t *)len, buf);
+}
+
+static inline int nand_block_isbad(nand_info_t *info, loff_t ofs)
+{
+ return info->block_isbad(info, ofs);
+}
+
+static inline int nand_erase(nand_info_t *info, loff_t off,
+ size_t size)
+{
+ struct erase_info instr;
+
+ instr.mtd = info;
+ instr.addr = off;
+ instr.len = size;
+ instr.callback = 0;
+
+ return info->erase(info, &instr);
+}
+#endif /* NAND_INTERFACE_H */
diff --git a/nand_spl/board/freescale/mpc8536ds/nand_boot.c b/nand_spl/board/freescale/mpc8536ds/nand_boot.c
index 5a0a0c7..51d6738 100644
--- a/nand_spl/board/freescale/mpc8536ds/nand_boot.c
+++ b/nand_spl/board/freescale/mpc8536ds/nand_boot.c
@@ -23,6 +23,7 @@
#include <ns16550.h>
#include <asm/io.h>
#include <nand.h>
+#include <nand_interface.h>
u32 sysclk_tbl[] = {
33333000, 39999600, 49999500, 66666000,
diff --git a/nand_spl/board/freescale/mpc8569mds/nand_boot.c b/nand_spl/board/freescale/mpc8569mds/nand_boot.c
index 047da34..6efbf22 100644
--- a/nand_spl/board/freescale/mpc8569mds/nand_boot.c
+++ b/nand_spl/board/freescale/mpc8569mds/nand_boot.c
@@ -23,6 +23,7 @@
#include <asm/io.h>
#include <ns16550.h>
#include <nand.h>
+#include <nand_interface.h>
#include <asm/mmu.h>
#include <asm/immap_85xx.h>
#include <asm/fsl_ddr_sdram.h>
diff --git a/nand_spl/board/freescale/mpc8572ds/nand_boot.c b/nand_spl/board/freescale/mpc8572ds/nand_boot.c
index 7ca4d4d..2b785fa 100644
--- a/nand_spl/board/freescale/mpc8572ds/nand_boot.c
+++ b/nand_spl/board/freescale/mpc8572ds/nand_boot.c
@@ -23,6 +23,7 @@
#include <ns16550.h>
#include <asm/io.h>
#include <nand.h>
+#include <nand_interface.h>
u32 sysclk_tbl[] = {
33333000, 39999600, 49999500, 66666000,
diff --git a/nand_spl/board/freescale/p1023rds/nand_boot.c b/nand_spl/board/freescale/p1023rds/nand_boot.c
index 0065c87..9eac83f 100644
--- a/nand_spl/board/freescale/p1023rds/nand_boot.c
+++ b/nand_spl/board/freescale/p1023rds/nand_boot.c
@@ -24,6 +24,7 @@
#include <ns16550.h>
#include <asm/io.h>
#include <nand.h>
+#include <nand_interface.h>
#include <asm/fsl_law.h>
/* Fixed sdram init -- doesn't use serial presence detect. */
diff --git a/nand_spl/board/freescale/p1_p2_rdb/nand_boot.c b/nand_spl/board/freescale/p1_p2_rdb/nand_boot.c
index 16a756c..fbfe31e 100644
--- a/nand_spl/board/freescale/p1_p2_rdb/nand_boot.c
+++ b/nand_spl/board/freescale/p1_p2_rdb/nand_boot.c
@@ -23,6 +23,7 @@
#include <asm/io.h>
#include <ns16550.h>
#include <nand.h>
+#include <nand_interface.h>
#include <asm/mmu.h>
#include <asm/immap_85xx.h>
#include <asm/fsl_ddr_sdram.h>
diff --git a/nand_spl/board/samsung/smdk6400/Makefile b/nand_spl/board/samsung/smdk6400/Makefile
index 2f9c307..32ea116 100644
--- a/nand_spl/board/samsung/smdk6400/Makefile
+++ b/nand_spl/board/samsung/smdk6400/Makefile
@@ -33,12 +33,12 @@ nandobj := $(OBJTREE)/nand_spl/
LDSCRIPT= $(TOPDIR)/nand_spl/board/$(BOARDDIR)/u-boot.lds
LDFLAGS := -T $(nandobj)u-boot.lds -Ttext $(CONFIG_SYS_TEXT_BASE) $(LDFLAGS) \
- $(LDFLAGS_FINAL)
+ $(LDFLAGS_FINAL) -gc-sections
AFLAGS += -DCONFIG_NAND_SPL
-CFLAGS += -DCONFIG_NAND_SPL
+CFLAGS += -DCONFIG_NAND_SPL -ffunction-sections
SOBJS = start.o cpu_init.o lowlevel_init.o
-COBJS = nand_boot.o nand_ecc.o s3c64xx.o smdk6400_nand_spl.o
+COBJS = nand_boot.o nand_ecc.o s3c64xx.o smdk6400_nand_spl.o nand_base.o
SRCS := $(addprefix $(obj),$(SOBJS:.o=.S) $(COBJS:.o=.c))
OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
@@ -98,6 +98,10 @@ $(obj)smdk6400_nand_spl.c:
@rm -f $@
@ln -s $(TOPDIR)/board/samsung/smdk6400/smdk6400_nand_spl.c $@
+$(obj)nand_base.c:
+ @rm -f $@
+ @ln -s $(TOPDIR)/drivers/mtd/nand/nand_base.c $@
+
#########################################################################
$(obj)%.o: $(obj)%.S
diff --git a/nand_spl/nand_boot.c b/nand_spl/nand_boot.c
index 4683c7c..af1235e 100644
--- a/nand_spl/nand_boot.c
+++ b/nand_spl/nand_boot.c
@@ -20,6 +20,7 @@
#include <common.h>
#include <nand.h>
+#include <nand_interface.h>
#include <asm/io.h>
static int nand_ecc_pos[] = CONFIG_SYS_NAND_ECCPOS;
diff --git a/nand_spl/nand_boot_fsl_nfc.c b/nand_spl/nand_boot_fsl_nfc.c
index d6b0d9b..04e3ded 100644
--- a/nand_spl/nand_boot_fsl_nfc.c
+++ b/nand_spl/nand_boot_fsl_nfc.c
@@ -26,6 +26,7 @@
#include <common.h>
#include <nand.h>
+#include <nand_interface.h>
#include <asm/arch/imx-regs.h>
#include <asm/io.h>
#include <fsl_nfc.h>
--
1.7.4.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [U-Boot] [PATCH RFC] Add general nand functions
2011-09-23 16:36 ` [U-Boot] [PATCH RFC] Add general nand functions Simon Schwarz
@ 2011-09-23 16:42 ` Simon Schwarz
2011-09-23 17:22 ` Scott Wood
1 sibling, 0 replies; 39+ messages in thread
From: Simon Schwarz @ 2011-09-23 16:42 UTC (permalink / raw)
To: u-boot
RFC-Patch to solve this problem.
I had to modify many files because of a name conflict.
I will do BUILDALL for arm over the weekend...
What are the opinions for this solution? Scott?
Regards and have a nice weekend
Simon
On 09/23/2011 06:36 PM, Simon Schwarz wrote:
[SNIP]
^ permalink raw reply [flat|nested] 39+ messages in thread
* [U-Boot] [PATCH RFC] Add general nand functions
2011-09-23 16:36 ` [U-Boot] [PATCH RFC] Add general nand functions Simon Schwarz
2011-09-23 16:42 ` Simon Schwarz
@ 2011-09-23 17:22 ` Scott Wood
2011-09-26 8:27 ` Simon Schwarz
1 sibling, 1 reply; 39+ messages in thread
From: Scott Wood @ 2011-09-23 17:22 UTC (permalink / raw)
To: u-boot
On 09/23/2011 11:36 AM, Simon Schwarz wrote:
> Added a nand_base.h header that defines all prototypes of nand_base.c
> functions.
Just add the new prototypes to include/linux/mtd/nand.h (which gets
included by nand.h), that's the header that goes with
drivers/mtd/nand/nand_base.c.
> This is necessary because these functions were often copied
> in SPLs.
You'd rather add new #includes to dozens of files, and keep duplicated
code around, than fix a few SPLs? NACK.
> It was necessary to also add nand_interface.c.
You maen nand_interface.h?
> This now defines static
> inline functions former defined in nand.h - theses functions had name
> conflicts with these in nand_base.c/h.
If we have two functions with the same name that do different things,
change the name of the one in nand.h.
> diff --git a/arch/blackfin/lib/board.c b/arch/blackfin/lib/board.c
> index bfdb586..4568820 100644
> --- a/arch/blackfin/lib/board.c
> +++ b/arch/blackfin/lib/board.c
> @@ -25,7 +25,8 @@
> #include <kgdb.h>
>
> #ifdef CONFIG_CMD_NAND
> -#include <nand.h> /* cannot even include nand.h if it isnt configured */
> +#include <nand.h>
> +#include <nand_interface.h> /* cannot even include nand.h if it isnt configured */
I don't think it's still true that you can't include nand.h if it isn't
configured, BTW.
> diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c
> index e7dfcb1..3fe0935 100644
> --- a/drivers/mtd/nand/nand_base.c
> +++ b/drivers/mtd/nand/nand_base.c
> @@ -51,6 +51,8 @@
> #include <asm/io.h>
> #include <asm/errno.h>
>
> +#include <nand_base.h>
Wait, there's *two* new headers?
> +/* nand_base.c Standard implementation of nand functions */
> +void nand_release_device (struct mtd_info *mtd);
> +uint8_t nand_read_byte(struct mtd_info *mtd);
> +uint8_t nand_read_byte16(struct mtd_info *mtd);
> +u16 nand_read_word(struct mtd_info *mtd);
> +void nand_select_chip(struct mtd_info *mtd, int chipnr);
> +void nand_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len);
> +void nand_read_buf(struct mtd_info *mtd, uint8_t *buf, int len);
> +int nand_verify_buf(struct mtd_info *mtd, const uint8_t *buf, int len);
> +void nand_write_buf16(struct mtd_info *mtd, const uint8_t *buf, int len);
> +void nand_read_buf16(struct mtd_info *mtd, uint8_t *buf, int len);
> +int nand_verify_buf16(struct mtd_info *mtd, const uint8_t *buf, int len);
> +int nand_block_bad(struct mtd_info *mtd, loff_t ofs, int getchip);
> +int nand_default_block_markbad(struct mtd_info *mtd, loff_t ofs);
> +int nand_check_wp(struct mtd_info *mtd);
> +int nand_block_checkbad(struct mtd_info *mtd, loff_t ofs, int getchip,
> + int allowbbt);
> +void nand_wait_ready(struct mtd_info *mtd);
> +void nand_command(struct mtd_info *mtd, unsigned int command, int column,
> + int page_addr);
> +void nand_command_lp(struct mtd_info *mtd, unsigned int command, int column,
> + int page_addr);
> +int nand_get_device (struct nand_chip *this, struct mtd_info *mtd,
> + int new_state);
> +int nand_wait(struct mtd_info *mtd, struct nand_chip *this);
> +int nand_read_page_raw(struct mtd_info *mtd, struct nand_chip *chip,
> + uint8_t *buf, int page);
> +static int nand_read_page_raw_syndrome(struct mtd_info *mtd,
> + struct nand_chip *chip, uint8_t *buf, int page);
> +int nand_read_subpage(struct mtd_info *mtd, struct nand_chip *chip,
> + uint32_t data_offs, uint32_t readlen, uint8_t *bufpoi);
> +int nand_read_page_swecc(struct mtd_info *mtd, struct nand_chip *chip,
> + uint8_t *buf, int page);
> +int nand_read_subpage(struct mtd_info *mtd, struct nand_chip *chip,
> + uint32_t data_offs, uint32_t readlen, uint8_t *bufpoi);
> +int nand_read_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip,
> + uint8_t *buf, int page);
> +int nand_read_page_hwecc_oob_first(struct mtd_info *mtd,
> + struct nand_chip *chip, uint8_t *buf, int page);
> +int nand_read_page_syndrome(struct mtd_info *mtd,
> + struct nand_chip *chip, uint8_t *buf, int page);
> +uint8_t *nand_transfer_oob(struct nand_chip *chip, uint8_t *oob,
> + struct mtd_oob_ops *ops, size_t len);
> +int nand_do_read_ops(struct mtd_info *mtd, loff_t from,
> + struct mtd_oob_ops *ops);
> +int nand_read_oob_std(struct mtd_info *mtd, struct nand_chip *chip,
> + int page, int sndcmd);
> +int nand_read_oob_syndrome(struct mtd_info *mtd, struct nand_chip *chip,
> + int page, int sndcmd);
> +int nand_write_oob_std(struct mtd_info *mtd, struct nand_chip *chip,
> + int page);
> +int nand_write_oob_syndrome(struct mtd_info *mtd, struct nand_chip *chip,
> + int page);
> +int nand_do_read_oob(struct mtd_info *mtd, loff_t from,
> + struct mtd_oob_ops *ops);
> +int nand_read_oob(struct mtd_info *mtd, loff_t from, struct mtd_oob_ops *ops);
> +void nand_write_page_raw(struct mtd_info *mtd, struct nand_chip *chip,
> + const uint8_t *buf);
> +void nand_write_page_raw_syndrome(struct mtd_info *mtd,
> + struct nand_chip *chip, const uint8_t *buf);
> +void nand_write_page_swecc(struct mtd_info *mtd, struct nand_chip *chip,
> + const uint8_t *buf);
> +void nand_write_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip,
> + const uint8_t *buf);
> +void nand_write_page_syndrome(struct mtd_info *mtd, struct nand_chip *chip,
> + const uint8_t *buf);
> +int nand_write_page(struct mtd_info *mtd, struct nand_chip *chip,
> + const uint8_t *buf, int page, int cached, int raw);
> +uint8_t *nand_fill_oob(struct nand_chip *chip, uint8_t *oob,
> + struct mtd_oob_ops *ops);
> +int nand_do_write_ops(struct mtd_info *mtd, loff_t to,
> + struct mtd_oob_ops *ops);
> +int nand_do_write_oob(struct mtd_info *mtd, loff_t to, struct mtd_oob_ops *ops);
> +int nand_write_oob(struct mtd_info *mtd, loff_t to, struct mtd_oob_ops *ops);
> +void single_erase_cmd(struct mtd_info *mtd, int page);
> +void multi_erase_cmd(struct mtd_info *mtd, int page);
> +int nand_erase_nand(struct mtd_info *mtd, struct erase_info *instr,
> + int allowbbt);
> +int nand_read(struct mtd_info *mtd, loff_t from, size_t len,
> + size_t *retlen, uint8_t *buf);
> +int nand_write(struct mtd_info *mtd, loff_t to, size_t len,
> + size_t *retlen, const uint8_t *buf);
> +int nand_erase(struct mtd_info *mtd, struct erase_info *instr);
> +void nand_sync(struct mtd_info *mtd);
> +int nand_block_isbad(struct mtd_info *mtd, loff_t offs);
> +int nand_block_markbad(struct mtd_info *mtd, loff_t ofs);
> +void nand_set_defaults(struct nand_chip *chip, int busw);
> +u16 onfi_crc16(u16 crc, u8 const *p, size_t len);
> +int nand_flash_detect_onfi(struct mtd_info *mtd, struct nand_chip *chip,
> + int *busw);
> +void nand_flash_detect_non_onfi(struct mtd_info *mtd, struct nand_chip *chip,
> + const struct nand_flash_dev *type, int *busw);
> +const struct nand_flash_dev *nand_get_flash_type(struct mtd_info *mtd,
> + struct nand_chip *chip, int busw, int *maf_id, int *dev_id,
> + const struct nand_flash_dev *type);
> +int nand_scan_ident(struct mtd_info *mtd, int maxchips,
> + const struct nand_flash_dev *table);
> +int nand_scan_tail(struct mtd_info *mtd);
> +int nand_scan(struct mtd_info *mtd, int maxchips);
> +void nand_release(struct mtd_info *mtd);
Can we limit the scope of this to functions (or classes thereof -- if we
export one buffer function might as well export all the variants) that
we actually need from a current SPL?
> diff --git a/nand_spl/board/samsung/smdk6400/Makefile b/nand_spl/board/samsung/smdk6400/Makefile
> index 2f9c307..32ea116 100644
> --- a/nand_spl/board/samsung/smdk6400/Makefile
> +++ b/nand_spl/board/samsung/smdk6400/Makefile
> @@ -33,12 +33,12 @@ nandobj := $(OBJTREE)/nand_spl/
>
> LDSCRIPT= $(TOPDIR)/nand_spl/board/$(BOARDDIR)/u-boot.lds
> LDFLAGS := -T $(nandobj)u-boot.lds -Ttext $(CONFIG_SYS_TEXT_BASE) $(LDFLAGS) \
> - $(LDFLAGS_FINAL)
> + $(LDFLAGS_FINAL) -gc-sections
> AFLAGS += -DCONFIG_NAND_SPL
> -CFLAGS += -DCONFIG_NAND_SPL
> +CFLAGS += -DCONFIG_NAND_SPL -ffunction-sections
Are gc-sections/function-sections not already being set?
> SOBJS = start.o cpu_init.o lowlevel_init.o
> -COBJS = nand_boot.o nand_ecc.o s3c64xx.o smdk6400_nand_spl.o
> +COBJS = nand_boot.o nand_ecc.o s3c64xx.o smdk6400_nand_spl.o nand_base.o
>
> SRCS := $(addprefix $(obj),$(SOBJS:.o=.S) $(COBJS:.o=.c))
> OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
> @@ -98,6 +98,10 @@ $(obj)smdk6400_nand_spl.c:
> @rm -f $@
> @ln -s $(TOPDIR)/board/samsung/smdk6400/smdk6400_nand_spl.c $@
>
> +$(obj)nand_base.c:
> + @rm -f $@
> + @ln -s $(TOPDIR)/drivers/mtd/nand/nand_base.c $@
This is a separate (albeit dependent) change from the NAND function
exporting, BTW.
-Scott
^ permalink raw reply [flat|nested] 39+ messages in thread
* [U-Boot] [PATCH RFC] Add general nand functions
2011-09-23 17:22 ` Scott Wood
@ 2011-09-26 8:27 ` Simon Schwarz
2011-09-27 0:28 ` Scott Wood
0 siblings, 1 reply; 39+ messages in thread
From: Simon Schwarz @ 2011-09-26 8:27 UTC (permalink / raw)
To: u-boot
On 09/23/2011 07:22 PM, Scott Wood wrote:
> On 09/23/2011 11:36 AM, Simon Schwarz wrote:
>> Added a nand_base.h header that defines all prototypes of nand_base.c
>> functions.
>
> Just add the new prototypes to include/linux/mtd/nand.h (which gets
> included by nand.h), that's the header that goes with
> drivers/mtd/nand/nand_base.c.
>
That was my first intention. I changed my mind because of the name
collisions.
>> This is necessary because these functions were often copied
>> in SPLs.
>
> You'd rather add new #includes to dozens of files, and keep duplicated
> code around, than fix a few SPLs? NACK.
>
Where do you see duplicated code? The additional include?
>> It was necessary to also add nand_interface.c.
>
> You maen nand_interface.h?
>
Yes sorry.
>> This now defines static
>> inline functions former defined in nand.h - theses functions had name
>> conflicts with these in nand_base.c/h.
>
> If we have two functions with the same name that do different things,
> change the name of the one in nand.h.
>
>> diff --git a/arch/blackfin/lib/board.c b/arch/blackfin/lib/board.c
>> index bfdb586..4568820 100644
>> --- a/arch/blackfin/lib/board.c
>> +++ b/arch/blackfin/lib/board.c
>> @@ -25,7 +25,8 @@
>> #include<kgdb.h>
>>
>> #ifdef CONFIG_CMD_NAND
>> -#include<nand.h> /* cannot even include nand.h if it isnt configured */
>> +#include<nand.h>
>> +#include<nand_interface.h> /* cannot even include nand.h if it isnt configured */
>
>
> I don't think it's still true that you can't include nand.h if it isn't
> configured, BTW.
>
Auto search and replace.
[SNIP]
so in essence I will:
- rename the inline functions
- just add the functions used in SPL now
- make better patch-splitting
objections?
Regards
Simon
^ permalink raw reply [flat|nested] 39+ messages in thread
* [U-Boot] [PATCH RFC] Add general nand functions
2011-09-26 8:27 ` Simon Schwarz
@ 2011-09-27 0:28 ` Scott Wood
2011-09-27 10:09 ` [U-Boot] [PATCH RFC 1/3] nand: Remove static modifier from common functions Simon Schwarz
2011-09-27 10:14 ` [U-Boot] [PATCH RFC] Add general nand functions Simon Schwarz
0 siblings, 2 replies; 39+ messages in thread
From: Scott Wood @ 2011-09-27 0:28 UTC (permalink / raw)
To: u-boot
On 09/26/2011 03:27 AM, Simon Schwarz wrote:
> On 09/23/2011 07:22 PM, Scott Wood wrote:
>> On 09/23/2011 11:36 AM, Simon Schwarz wrote:
>>> Added a nand_base.h header that defines all prototypes of nand_base.c
>>> functions.
>>
>> Just add the new prototypes to include/linux/mtd/nand.h (which gets
>> included by nand.h), that's the header that goes with
>> drivers/mtd/nand/nand_base.c.
>>
> That was my first intention. I changed my mind because of the name
> collisions.
>
>>> This is necessary because these functions were often copied
>>> in SPLs.
>>
>> You'd rather add new #includes to dozens of files, and keep duplicated
>> code around, than fix a few SPLs? NACK.
>>
> Where do you see duplicated code? The additional include?
Sorry, I misparsed what was meant by the "this" in "this is necessary
because these functions were often copied...".
> so in essence I will:
> - rename the inline functions
> - just add the functions used in SPL now
> - make better patch-splitting
>
> objections?
Sounds good.
-Scott
^ permalink raw reply [flat|nested] 39+ messages in thread
* [U-Boot] [PATCH RFC 1/3] nand: Remove static modifier from common functions
2011-09-27 0:28 ` Scott Wood
@ 2011-09-27 10:09 ` Simon Schwarz
2011-09-27 10:09 ` [U-Boot] [PATCH RFC 2/3] nand: Add common functions to nand.h Simon Schwarz
2011-09-27 10:09 ` [U-Boot] [PATCH RFC 3/3] Fix regression in SMDK6400 Simon Schwarz
2011-09-27 10:14 ` [U-Boot] [PATCH RFC] Add general nand functions Simon Schwarz
1 sibling, 2 replies; 39+ messages in thread
From: Simon Schwarz @ 2011-09-27 10:09 UTC (permalink / raw)
To: u-boot
Removed static modifiers from functions that were often duplicated in
SPL implementations.
Signed-off-by: Simon Schwarz <simonschwarzcor@gmail.com>
---
drivers/mtd/nand/nand_base.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c
index e7dfcb1..109d2cf 100644
--- a/drivers/mtd/nand/nand_base.c
+++ b/drivers/mtd/nand/nand_base.c
@@ -133,7 +133,7 @@ static void nand_release_device (struct mtd_info *mtd)
*
* Default read function for 8bit buswith
*/
-static uint8_t nand_read_byte(struct mtd_info *mtd)
+uint8_t nand_read_byte(struct mtd_info *mtd)
{
struct nand_chip *chip = mtd->priv;
return readb(chip->IO_ADDR_R);
@@ -196,7 +196,7 @@ static void nand_select_chip(struct mtd_info *mtd, int chipnr)
*
* Default write function for 8bit buswith
*/
-static void nand_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len)
+void nand_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len)
{
int i;
struct nand_chip *chip = mtd->priv;
@@ -249,7 +249,7 @@ static int nand_verify_buf(struct mtd_info *mtd, const uint8_t *buf, int len)
*
* Default write function for 16bit buswith
*/
-static void nand_write_buf16(struct mtd_info *mtd, const uint8_t *buf, int len)
+void nand_write_buf16(struct mtd_info *mtd, const uint8_t *buf, int len)
{
int i;
struct nand_chip *chip = mtd->priv;
--
1.7.4.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [U-Boot] [PATCH RFC 2/3] nand: Add common functions to nand.h
2011-09-27 10:09 ` [U-Boot] [PATCH RFC 1/3] nand: Remove static modifier from common functions Simon Schwarz
@ 2011-09-27 10:09 ` Simon Schwarz
2011-09-27 10:09 ` [U-Boot] [PATCH RFC 3/3] Fix regression in SMDK6400 Simon Schwarz
1 sibling, 0 replies; 39+ messages in thread
From: Simon Schwarz @ 2011-09-27 10:09 UTC (permalink / raw)
To: u-boot
Functions often used in SPL are now part of nand.h.
Signed-off-by: Simon Schwarz <simonschwarzcor@gmail.com>
---
include/nand.h | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/include/nand.h b/include/nand.h
index b4140794..980408a 100644
--- a/include/nand.h
+++ b/include/nand.h
@@ -135,9 +135,6 @@ int nand_get_lock_status(nand_info_t *meminfo, loff_t offset);
int nand_spl_load_image(uint32_t offs, unsigned int size, void *dst);
void nand_deselect(void);
-void nand_read_buf16(struct mtd_info *mtd, uint8_t *buf, int len);
-void nand_read_buf(struct mtd_info *mtd, uint8_t *buf, int len);
-
#ifdef CONFIG_SYS_NAND_SELECT_DEVICE
void board_nand_select_device(struct nand_chip *nand, int chip);
#endif
@@ -154,3 +151,10 @@ __attribute__((noreturn)) void nand_boot(void);
#define ENV_OFFSET_SIZE 8
int get_nand_env_oob(nand_info_t *nand, unsigned long *result);
#endif
+
+/* Standard NAND functions from nand_base.c */
+void nand_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len);
+void nand_write_buf16(struct mtd_info *mtd, const uint8_t *buf, int len);
+void nand_read_buf(struct mtd_info *mtd, uint8_t *buf, int len);
+void nand_read_buf16(struct mtd_info *mtd, uint8_t *buf, int len);
+uint8_t nand_read_byte(struct mtd_info *mtd);
--
1.7.4.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [U-Boot] [PATCH RFC 3/3] Fix regression in SMDK6400
2011-09-27 10:09 ` [U-Boot] [PATCH RFC 1/3] nand: Remove static modifier from common functions Simon Schwarz
2011-09-27 10:09 ` [U-Boot] [PATCH RFC 2/3] nand: Add common functions to nand.h Simon Schwarz
@ 2011-09-27 10:09 ` Simon Schwarz
1 sibling, 0 replies; 39+ messages in thread
From: Simon Schwarz @ 2011-09-27 10:09 UTC (permalink / raw)
To: u-boot
s3c64xx.c implemented its own nand_read_byte, nand_write_buf and
nand_read_buf functions. This provoked a regression when these functions
were made public by patch 55f429bb39614a16b1bacc9a8bea9ac01a60bfc8.
This deletes these duplicated functions from s3c64xx.c and adds the generic
implementations in nand_base.c to the spl Makefile. It also adds
-ffcuntion-sections and -gc-sections to comilation flags.
Description of the regression:
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/108873
Signed-off-by: Simon Schwarz <simonschwarzcor@gmail.com>
---
drivers/mtd/nand/s3c64xx.c | 26 --------------------------
nand_spl/board/samsung/smdk6400/Makefile | 9 ++++++---
2 files changed, 6 insertions(+), 29 deletions(-)
diff --git a/drivers/mtd/nand/s3c64xx.c b/drivers/mtd/nand/s3c64xx.c
index 084e475..7260537 100644
--- a/drivers/mtd/nand/s3c64xx.c
+++ b/drivers/mtd/nand/s3c64xx.c
@@ -60,32 +60,6 @@ static void print_oob(const char *header, struct mtd_info *mtd)
}
#endif /* S3C_NAND_DEBUG */
-#ifdef CONFIG_NAND_SPL
-static u_char nand_read_byte(struct mtd_info *mtd)
-{
- struct nand_chip *this = mtd->priv;
- return readb(this->IO_ADDR_R);
-}
-
-static void nand_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len)
-{
- int i;
- struct nand_chip *this = mtd->priv;
-
- for (i = 0; i < len; i++)
- writeb(buf[i], this->IO_ADDR_W);
-}
-
-static void nand_read_buf(struct mtd_info *mtd, u_char *buf, int len)
-{
- int i;
- struct nand_chip *this = mtd->priv;
-
- for (i = 0; i < len; i++)
- buf[i] = readb(this->IO_ADDR_R);
-}
-#endif
-
static void s3c_nand_select_chip(struct mtd_info *mtd, int chip)
{
int ctrl = readl(NFCONT);
diff --git a/nand_spl/board/samsung/smdk6400/Makefile b/nand_spl/board/samsung/smdk6400/Makefile
index 2f9c307..c9e75ba 100644
--- a/nand_spl/board/samsung/smdk6400/Makefile
+++ b/nand_spl/board/samsung/smdk6400/Makefile
@@ -33,12 +33,12 @@ nandobj := $(OBJTREE)/nand_spl/
LDSCRIPT= $(TOPDIR)/nand_spl/board/$(BOARDDIR)/u-boot.lds
LDFLAGS := -T $(nandobj)u-boot.lds -Ttext $(CONFIG_SYS_TEXT_BASE) $(LDFLAGS) \
- $(LDFLAGS_FINAL)
+ $(LDFLAGS_FINAL) -gc-sections
AFLAGS += -DCONFIG_NAND_SPL
-CFLAGS += -DCONFIG_NAND_SPL
+CFLAGS += -DCONFIG_NAND_SPL -ffunction-sections
SOBJS = start.o cpu_init.o lowlevel_init.o
-COBJS = nand_boot.o nand_ecc.o s3c64xx.o smdk6400_nand_spl.o
+COBJS = nand_boot.o nand_ecc.o s3c64xx.o smdk6400_nand_spl.o nand_base.o
SRCS := $(addprefix $(obj),$(SOBJS:.o=.S) $(COBJS:.o=.c))
OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
@@ -98,6 +98,9 @@ $(obj)smdk6400_nand_spl.c:
@rm -f $@
@ln -s $(TOPDIR)/board/samsung/smdk6400/smdk6400_nand_spl.c $@
+$(obj)nand_base.c:
+ @rm -f $@
+ @ln -s $(TOPDIR)/drivers/mtd/nand/nand_base.c $@
#########################################################################
$(obj)%.o: $(obj)%.S
--
1.7.4.1
^ permalink raw reply related [flat|nested] 39+ messages in thread
* [U-Boot] [PATCH RFC] Add general nand functions
2011-09-27 0:28 ` Scott Wood
2011-09-27 10:09 ` [U-Boot] [PATCH RFC 1/3] nand: Remove static modifier from common functions Simon Schwarz
@ 2011-09-27 10:14 ` Simon Schwarz
2011-09-27 22:50 ` Scott Wood
1 sibling, 1 reply; 39+ messages in thread
From: Simon Schwarz @ 2011-09-27 10:14 UTC (permalink / raw)
To: u-boot
On 09/27/2011 02:28 AM, Scott Wood wrote:
> On 09/26/2011 03:27 AM, Simon Schwarz wrote:
>> On 09/23/2011 07:22 PM, Scott Wood wrote:
>>> On 09/23/2011 11:36 AM, Simon Schwarz wrote:
>>>> Added a nand_base.h header that defines all prototypes of nand_base.c
>>>> functions.
>>>
>>> Just add the new prototypes to include/linux/mtd/nand.h (which gets
>>> included by nand.h), that's the header that goes with
>>> drivers/mtd/nand/nand_base.c.
>>>
>> That was my first intention. I changed my mind because of the name
>> collisions.
>>
>>>> This is necessary because these functions were often copied
>>>> in SPLs.
>>>
>>> You'd rather add new #includes to dozens of files, and keep duplicated
>>> code around, than fix a few SPLs? NACK.
>>>
>> Where do you see duplicated code? The additional include?
>
> Sorry, I misparsed what was meant by the "this" in "this is necessary
> because these functions were often copied...".
>
>> so in essence I will:
>> - rename the inline functions
>> - just add the functions used in SPL now
>> - make better patch-splitting
>>
>> objections?
>
> Sounds good.
>
> -Scott
>
Ok, new patch RFC is out. I didn't rename the inline functions because
none of the duplicated names are used in an SPL.
Comments?
Regards
Simon
^ permalink raw reply [flat|nested] 39+ messages in thread
* [U-Boot] [PATCH RFC] Add general nand functions
2011-09-27 10:14 ` [U-Boot] [PATCH RFC] Add general nand functions Simon Schwarz
@ 2011-09-27 22:50 ` Scott Wood
2011-09-28 8:48 ` Simon Schwarz
0 siblings, 1 reply; 39+ messages in thread
From: Scott Wood @ 2011-09-27 22:50 UTC (permalink / raw)
To: u-boot
On 09/27/2011 05:14 AM, Simon Schwarz wrote:
> On 09/27/2011 02:28 AM, Scott Wood wrote:
>> On 09/26/2011 03:27 AM, Simon Schwarz wrote:
>>> so in essence I will:
>>> - rename the inline functions
>>> - just add the functions used in SPL now
>>> - make better patch-splitting
>>>
>>> objections?
>>
>> Sounds good.
>>
>> -Scott
>>
>
> Ok, new patch RFC is out. I didn't rename the inline functions because
> none of the duplicated names are used in an SPL.
>
> Comments?
Looks much better, thanks.
-Scott
^ permalink raw reply [flat|nested] 39+ messages in thread
* [U-Boot] [PATCH RFC] Add general nand functions
2011-09-27 22:50 ` Scott Wood
@ 2011-09-28 8:48 ` Simon Schwarz
0 siblings, 0 replies; 39+ messages in thread
From: Simon Schwarz @ 2011-09-28 8:48 UTC (permalink / raw)
To: u-boot
On 09/28/2011 12:50 AM, Scott Wood wrote:
> On 09/27/2011 05:14 AM, Simon Schwarz wrote:
>> On 09/27/2011 02:28 AM, Scott Wood wrote:
>>> On 09/26/2011 03:27 AM, Simon Schwarz wrote:
>>>> so in essence I will:
>>>> - rename the inline functions
>>>> - just add the functions used in SPL now
>>>> - make better patch-splitting
>>>>
>>>> objections?
>>>
>>> Sounds good.
>>>
>>> -Scott
>>>
>>
>> Ok, new patch RFC is out. I didn't rename the inline functions because
>> none of the duplicated names are used in an SPL.
>>
>> Comments?
>
> Looks much better, thanks.
>
> -Scott
>
Great. Will do MAKEALL for arm and post it later this day.
Regards
Simon
^ permalink raw reply [flat|nested] 39+ messages in thread
* [U-Boot] Please pull u-boot-ti/next
@ 2011-12-19 21:20 Tom Rini
2011-12-19 22:02 ` Albert ARIBAUD
0 siblings, 1 reply; 39+ messages in thread
From: Tom Rini @ 2011-12-19 21:20 UTC (permalink / raw)
To: u-boot
Hello,
The following changes since commit a69c1beefe8d1afb34c79a324a87a8951a793a59:
Fabio Estevam (1):
vision2: Fix checkpatch warning
are available in the git repository at:
git://git.denx.de/u-boot-ti.git next
Christian Riesch (7):
spl: display_options.o is required for SPI flash support in SPL
sf: Add spi_boot() to allow booting from SPI flash in an SPL
arm, davinci: Add SPL support for DA850 SoCs
arm, da850evm: Add an SPL for SPI boot
mkimage: Fix variable length header support
arm, davinci: Add support for generating AIS images to the Makefile
arm, davinci: Fix build warnings for cam_enc_4xx
Stefano Babic (2):
ARM: omap3: added common configuration for Technexion TAM3517
ARM: omap3: add support to Technexion twister board
Thomas Weber (1):
Devkit8000: Switch over to enable_gpmc_cs_config
.gitignore | 1 +
MAINTAINERS | 1 +
Makefile | 13 +
arch/arm/cpu/arm926ejs/davinci/Makefile | 3 +-
arch/arm/cpu/arm926ejs/davinci/spl.c | 35 +++-
board/davinci/da8xxevm/da850evm.c | 4 +-
board/davinci/da8xxevm/u-boot-spl.lds | 73 ++++++
board/technexion/twister/Makefile | 38 +++
board/technexion/twister/twister.c | 116 +++++++++
board/technexion/twister/twister.h | 411 +++++++++++++++++++++++++++++++
board/timll/devkit8000/devkit8000.c | 19 +-
boards.cfg | 1 +
doc/README.SPL | 1 +
doc/README.davinci | 9 +
drivers/mtd/spi/Makefile | 4 +
drivers/mtd/spi/spi_spl_load.c | 58 +++++
include/configs/da850evm.h | 87 +++++++
include/configs/tam3517-common.h | 361 +++++++++++++++++++++++++++
include/configs/twister.h | 54 ++++
include/spi_flash.h | 3 +
lib/Makefile | 2 +
tools/mkimage.c | 97 ++++----
22 files changed, 1333 insertions(+), 58 deletions(-)
create mode 100644 board/davinci/da8xxevm/u-boot-spl.lds
create mode 100644 board/technexion/twister/Makefile
create mode 100644 board/technexion/twister/twister.c
create mode 100644 board/technexion/twister/twister.h
create mode 100644 drivers/mtd/spi/spi_spl_load.c
create mode 100644 include/configs/tam3517-common.h
create mode 100644 include/configs/twister.h
Thanks!
--
Tom
^ permalink raw reply [flat|nested] 39+ messages in thread
* [U-Boot] Please pull u-boot-ti/next
2011-12-19 21:20 Tom Rini
@ 2011-12-19 22:02 ` Albert ARIBAUD
0 siblings, 0 replies; 39+ messages in thread
From: Albert ARIBAUD @ 2011-12-19 22:02 UTC (permalink / raw)
To: u-boot
Hi Tom,
Le 19/12/2011 22:20, Tom Rini a ?crit :
> Hello,
>
> The following changes since commit a69c1beefe8d1afb34c79a324a87a8951a793a59:
> Fabio Estevam (1):
> vision2: Fix checkpatch warning
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-ti.git next
>
> Christian Riesch (7):
> spl: display_options.o is required for SPI flash support in SPL
> sf: Add spi_boot() to allow booting from SPI flash in an SPL
> arm, davinci: Add SPL support for DA850 SoCs
> arm, da850evm: Add an SPL for SPI boot
> mkimage: Fix variable length header support
> arm, davinci: Add support for generating AIS images to the Makefile
> arm, davinci: Fix build warnings for cam_enc_4xx
>
> Stefano Babic (2):
> ARM: omap3: added common configuration for Technexion TAM3517
> ARM: omap3: add support to Technexion twister board
>
> Thomas Weber (1):
> Devkit8000: Switch over to enable_gpmc_cs_config
>
> .gitignore | 1 +
> MAINTAINERS | 1 +
> Makefile | 13 +
> arch/arm/cpu/arm926ejs/davinci/Makefile | 3 +-
> arch/arm/cpu/arm926ejs/davinci/spl.c | 35 +++-
> board/davinci/da8xxevm/da850evm.c | 4 +-
> board/davinci/da8xxevm/u-boot-spl.lds | 73 ++++++
> board/technexion/twister/Makefile | 38 +++
> board/technexion/twister/twister.c | 116 +++++++++
> board/technexion/twister/twister.h | 411 +++++++++++++++++++++++++++++++
> board/timll/devkit8000/devkit8000.c | 19 +-
> boards.cfg | 1 +
> doc/README.SPL | 1 +
> doc/README.davinci | 9 +
> drivers/mtd/spi/Makefile | 4 +
> drivers/mtd/spi/spi_spl_load.c | 58 +++++
> include/configs/da850evm.h | 87 +++++++
> include/configs/tam3517-common.h | 361 +++++++++++++++++++++++++++
> include/configs/twister.h | 54 ++++
> include/spi_flash.h | 3 +
> lib/Makefile | 2 +
> tools/mkimage.c | 97 ++++----
> 22 files changed, 1333 insertions(+), 58 deletions(-)
> create mode 100644 board/davinci/da8xxevm/u-boot-spl.lds
> create mode 100644 board/technexion/twister/Makefile
> create mode 100644 board/technexion/twister/twister.c
> create mode 100644 board/technexion/twister/twister.h
> create mode 100644 drivers/mtd/spi/spi_spl_load.c
> create mode 100644 include/configs/tam3517-common.h
> create mode 100644 include/configs/twister.h
>
> Thanks!
Applied to u-boot-arm/next (to move onto master after 2011.12 is out),
thanks!
Amicalement,
--
Albert.
^ permalink raw reply [flat|nested] 39+ messages in thread
* [U-Boot] Please pull u-boot-ti/next
@ 2012-03-16 17:15 Tom Rini
2012-03-26 19:06 ` Tom Rini
0 siblings, 1 reply; 39+ messages in thread
From: Tom Rini @ 2012-03-16 17:15 UTC (permalink / raw)
To: u-boot
Hello,
The following changes since commit 5c91ee919c359e89fcb3230722253dbb9b4f7e32:
Ian Campbell (1):
ARM: dreamplug: Enable FDT support
are available in the git repository at:
git://git.denx.de/u-boot-ti next
Balaji T K (3):
arm: omap5: correct boot device mode7 for eMMC
omap5: pbias ldo9 turn on
mmc: omap5evm: Add eMMC saveenv support
Enric Balletb?? i Serra (1):
OMAP3: igep00x0: Reduce lines of code for IGEP-based boards.
Heiko Schocher (1):
ARM: davinci: fixes for cam_enc_4xx board
Jonathan Solnit (1):
ARM:OMAP+:MMC: Add parameters to MMC init
Nishanth Menon (3):
OMAP3+: Introduce generic logic for OMAP voltage controller
OMAP4460: TPS Ensure SET1 is selected after voltage configuration
OMAP4: scale voltage of core before MPU scales
SRICHARAN R (16):
OMAP5: clocks: Change clock settings as required for ES1.0 silicon.
OMAP5: board: Add pinmux data for omap5_evm board.
OMAP5: io: Configure the io settings for omap5430 sevm board.
OMAP5: emif/ddr: Change emif settings as required for ES1.0 silicon.
OMAP5: palmas: Configure nominal opp vdd values
OMAP5: hwinit: Add the missing break statement
OMAP4/5: Make the silicon revision variable common.
OMAP5: SRAM: Change the SRAM base address.
OMAP4/5: Make the sysctrl structure common
OMAP4/5: device: Add support to get the device type.
OMAP5: defconfig: Align the defconfig for 5430 ES1.0
OMAP5: ddr: Change the ddr device name.
OMAP4/5: emif: Correct the emif power mgt shadow register bit fields.
power: twl6035: add palmas PMIC support
OMAP3+: reset: Create a common reset layer.
OMAP5: reset: Use cold reset in case of 5430ES1.0
arch/arm/cpu/armv7/am33xx/board.c | 2 +-
arch/arm/cpu/armv7/omap-common/Makefile | 1 +
arch/arm/cpu/armv7/omap-common/clocks-common.c | 99 ++---
arch/arm/cpu/armv7/omap-common/emif-common.c | 41 ++-
arch/arm/cpu/armv7/omap-common/hwinit-common.c | 6 +-
.../arm/cpu/armv7/omap-common/{reset.S => reset.c} | 30 +-
arch/arm/cpu/armv7/omap-common/spl.c | 1 +
arch/arm/cpu/armv7/omap-common/spl_mmc.c | 5 +-
arch/arm/cpu/armv7/omap-common/vc.c | 138 ++++++
arch/arm/cpu/armv7/omap4/clocks.c | 77 ++-
arch/arm/cpu/armv7/omap4/hwinit.c | 24 +-
arch/arm/cpu/armv7/omap4/sdram_elpida.c | 4 +
arch/arm/cpu/armv7/omap5/Makefile | 2 +-
arch/arm/cpu/armv7/omap5/clocks.c | 143 ++++--
arch/arm/cpu/armv7/omap5/hwinit.c | 104 ++++-
.../cpu/armv7/omap5/{sdram_elpida.c => sdram.c} | 101 +++--
arch/arm/include/asm/arch-am33xx/mmc_host_def.h | 2 +-
arch/arm/include/asm/arch-omap3/cpu.h | 5 +-
arch/arm/include/asm/arch-omap3/mmc_host_def.h | 8 +-
arch/arm/include/asm/arch-omap4/clocks.h | 18 +-
arch/arm/include/asm/arch-omap4/cpu.h | 11 +
arch/arm/include/asm/arch-omap4/mmc_host_def.h | 2 +-
arch/arm/include/asm/arch-omap4/omap.h | 25 +-
arch/arm/include/asm/arch-omap4/sys_proto.h | 8 +-
arch/arm/include/asm/arch-omap5/clocks.h | 52 ++-
arch/arm/include/asm/arch-omap5/cpu.h | 11 +
arch/arm/include/asm/arch-omap5/mmc_host_def.h | 2 +-
arch/arm/include/asm/arch-omap5/mux_omap5.h | 502 ++++++++++----------
arch/arm/include/asm/arch-omap5/omap.h | 153 +++++--
arch/arm/include/asm/arch-omap5/sys_proto.h | 8 +-
arch/arm/include/asm/emif.h | 76 +++-
arch/arm/include/asm/omap_common.h | 11 +-
board/ait/cam_enc_4xx/cam_enc_4xx.c | 55 ++-
board/ait/cam_enc_4xx/config.mk | 7 +
board/ait/cam_enc_4xx/u-boot-spl.lds | 2 +-
board/cm_t35/cm_t35.c | 2 +-
board/comelit/dig297/dig297.c | 2 +-
board/corscience/tricorder/tricorder.c | 2 +-
board/htkw/mcx/mcx.c | 2 +-
board/isee/igep0020/igep0020.c | 4 +-
board/isee/igep0030/igep0030.c | 4 +-
board/logicpd/am3517evm/am3517evm.c | 2 +-
board/logicpd/omap3som/omap3logic.c | 2 +-
board/logicpd/zoom1/zoom1.c | 2 +-
board/logicpd/zoom2/zoom2.c | 2 +-
board/matrix_vision/mvblx/mvblx.c | 4 +-
board/overo/overo.c | 2 +-
board/pandora/pandora.c | 2 +-
board/technexion/twister/twister.c | 2 +-
board/teejet/mt_ventoux/mt_ventoux.c | 2 +-
board/ti/am3517crane/am3517crane.c | 2 +-
board/ti/beagle/beagle.c | 2 +-
board/ti/evm/evm.c | 2 +-
board/ti/omap5_evm/evm.c | 10 +-
board/ti/omap5_evm/mux_data.h | 489 ++++++++++---------
board/ti/panda/panda.c | 2 +-
board/ti/panda/panda_mux_data.h | 2 +-
board/ti/sdp3430/sdp.c | 2 +-
board/ti/sdp4430/sdp.c | 4 +-
board/ti/sdp4430/sdp4430_mux_data.h | 2 +-
board/timll/devkit8000/devkit8000.c | 2 +-
boards.cfg | 4 +-
drivers/mmc/omap_hsmmc.c | 61 +++-
drivers/power/Makefile | 1 +
drivers/power/twl6035.c | 65 +++
include/configs/cam_enc_4xx.h | 13 +-
include/configs/igep0030.h | 261 ----------
include/configs/{igep0020.h => igep00x0.h} | 15 +-
include/configs/omap5_evm.h | 25 +-
.../armv7/omap-common/reset.S => include/twl6035.h | 38 +-
70 files changed, 1612 insertions(+), 1162 deletions(-)
copy arch/arm/cpu/armv7/omap-common/{reset.S => reset.c} (70%)
create mode 100644 arch/arm/cpu/armv7/omap-common/vc.c
rename arch/arm/cpu/armv7/omap5/{sdram_elpida.c => sdram.c} (64%)
create mode 100644 drivers/power/twl6035.c
delete mode 100644 include/configs/igep0030.h
rename include/configs/{igep0020.h => igep00x0.h} (97%)
rename arch/arm/cpu/armv7/omap-common/reset.S => include/twl6035.h (53%)
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120316/a5869336/attachment.pgp>
^ permalink raw reply [flat|nested] 39+ messages in thread
* [U-Boot] Please pull u-boot-ti/next
2012-03-16 17:15 Tom Rini
@ 2012-03-26 19:06 ` Tom Rini
2012-03-26 20:55 ` Tom Rini
0 siblings, 1 reply; 39+ messages in thread
From: Tom Rini @ 2012-03-26 19:06 UTC (permalink / raw)
To: u-boot
On Fri, Mar 16, 2012 at 10:15:28AM -0700, Tom Rini wrote:
> Hello,
>
> The following changes since commit 5c91ee919c359e89fcb3230722253dbb9b4f7e32:
> Ian Campbell (1):
> ARM: dreamplug: Enable FDT support
This has been updated as follows:
The following changes since commit 5c91ee919c359e89fcb3230722253dbb9b4f7e32:
Ian Campbell (1):
ARM: dreamplug: Enable FDT support
are available in the git repository at:
git://git.denx.de/u-boot-ti next
Aneesh V (6):
arm: adapt asm/linkage.h from Linux
armv7: add appropriate headers for assembly functions
ARM: enable Thumb build
armv7: Use -march=armv7-a and thereby enable Thumb-2
omap4+: Avoid using __attribute__ ((__packed__))
OMAP4: enable Thumb build
Balaji T K (3):
arm: omap5: correct boot device mode7 for eMMC
omap5: pbias ldo9 turn on
mmc: omap5evm: Add eMMC saveenv support
Enric Balletb?? i Serra (1):
OMAP3: igep00x0: Reduce lines of code for IGEP-based boards.
Grazvydas Ignotas (3):
OMAP3: pandora: pin mux updates for DM3730 board variant
OMAP3: pandora: revise GPIO configuration
OMAP3: pandora: drop console kernel argument
Heiko Schocher (1):
ARM: davinci: fixes for cam_enc_4xx board
Jonathan Solnit (1):
ARM:OMAP+:MMC: Add parameters to MMC init
Nishanth Menon (3):
OMAP3+: Introduce generic logic for OMAP voltage controller
OMAP4460: TPS Ensure SET1 is selected after voltage configuration
OMAP4: scale voltage of core before MPU scales
SRICHARAN R (16):
OMAP5: clocks: Change clock settings as required for ES1.0 silicon.
OMAP5: board: Add pinmux data for omap5_evm board.
OMAP5: io: Configure the io settings for omap5430 sevm board.
OMAP5: emif/ddr: Change emif settings as required for ES1.0 silicon.
OMAP5: palmas: Configure nominal opp vdd values
OMAP5: hwinit: Add the missing break statement
OMAP4/5: Make the silicon revision variable common.
OMAP5: SRAM: Change the SRAM base address.
OMAP4/5: Make the sysctrl structure common
OMAP4/5: device: Add support to get the device type.
OMAP5: defconfig: Align the defconfig for 5430 ES1.0
OMAP5: ddr: Change the ddr device name.
OMAP4/5: emif: Correct the emif power mgt shadow register bit fields.
power: twl6035: add palmas PMIC support
OMAP3+: reset: Create a common reset layer.
OMAP5: reset: Use cold reset in case of 5430ES1.0
Tom Rini (2):
tools, config.mk: Add gcc-version.sh, cc-version test from Linux
Makefile: Add a 'checkthumb' rule
Makefile | 7 +
README | 8 +
arch/arm/config.mk | 27 +-
arch/arm/cpu/armv7/am33xx/board.c | 2 +-
arch/arm/cpu/armv7/config.mk | 7 +-
arch/arm/cpu/armv7/mx5/lowlevel_init.S | 5 +-
arch/arm/cpu/armv7/mx6/lowlevel_init.S | 5 +-
arch/arm/cpu/armv7/omap-common/Makefile | 1 +
arch/arm/cpu/armv7/omap-common/clocks-common.c | 99 ++---
arch/arm/cpu/armv7/omap-common/emif-common.c | 41 ++-
arch/arm/cpu/armv7/omap-common/hwinit-common.c | 6 +-
arch/arm/cpu/armv7/omap-common/lowlevel_init.S | 14 +-
.../arm/cpu/armv7/omap-common/{reset.S => reset.c} | 30 +-
arch/arm/cpu/armv7/omap-common/spl.c | 1 +
arch/arm/cpu/armv7/omap-common/spl_mmc.c | 5 +-
arch/arm/cpu/armv7/omap-common/vc.c | 138 ++++++
arch/arm/cpu/armv7/omap3/lowlevel_init.S | 41 +-
arch/arm/cpu/armv7/omap4/clocks.c | 77 ++-
arch/arm/cpu/armv7/omap4/hwinit.c | 24 +-
arch/arm/cpu/armv7/omap4/sdram_elpida.c | 4 +
arch/arm/cpu/armv7/omap5/Makefile | 2 +-
arch/arm/cpu/armv7/omap5/clocks.c | 143 ++++--
arch/arm/cpu/armv7/omap5/hwinit.c | 104 ++++-
.../cpu/armv7/omap5/{sdram_elpida.c => sdram.c} | 101 +++--
arch/arm/cpu/armv7/s5pc1xx/cache.S | 10 +-
arch/arm/cpu/armv7/s5pc1xx/reset.S | 5 +-
arch/arm/cpu/armv7/start.S | 13 +-
arch/arm/cpu/armv7/tegra2/lowlevel_init.S | 5 +-
arch/arm/cpu/armv7/u8500/lowlevel.S | 9 +-
arch/arm/include/asm/arch-am33xx/mmc_host_def.h | 2 +-
arch/arm/include/asm/arch-omap3/cpu.h | 5 +-
arch/arm/include/asm/arch-omap3/mmc_host_def.h | 8 +-
arch/arm/include/asm/arch-omap3/mux.h | 6 +
arch/arm/include/asm/arch-omap4/clocks.h | 18 +-
arch/arm/include/asm/arch-omap4/cpu.h | 11 +
arch/arm/include/asm/arch-omap4/mmc_host_def.h | 2 +-
arch/arm/include/asm/arch-omap4/mux_omap4.h | 2 +-
arch/arm/include/asm/arch-omap4/omap.h | 25 +-
arch/arm/include/asm/arch-omap4/sys_proto.h | 8 +-
arch/arm/include/asm/arch-omap5/clocks.h | 52 ++-
arch/arm/include/asm/arch-omap5/cpu.h | 11 +
arch/arm/include/asm/arch-omap5/mmc_host_def.h | 2 +-
arch/arm/include/asm/arch-omap5/mux_omap5.h | 504 ++++++++++----------
arch/arm/include/asm/arch-omap5/omap.h | 153 +++++--
arch/arm/include/asm/arch-omap5/sys_proto.h | 8 +-
arch/arm/include/asm/emif.h | 76 +++-
arch/arm/include/asm/linkage.h | 7 +
arch/arm/include/asm/omap_common.h | 11 +-
board/ait/cam_enc_4xx/cam_enc_4xx.c | 55 ++-
board/ait/cam_enc_4xx/config.mk | 7 +
board/ait/cam_enc_4xx/u-boot-spl.lds | 2 +-
board/cm_t35/cm_t35.c | 2 +-
board/comelit/dig297/dig297.c | 2 +-
board/corscience/tricorder/tricorder.c | 2 +-
board/htkw/mcx/mcx.c | 2 +-
board/isee/igep0020/igep0020.c | 4 +-
board/isee/igep0030/igep0030.c | 4 +-
board/logicpd/am3517evm/am3517evm.c | 2 +-
board/logicpd/omap3som/omap3logic.c | 2 +-
board/logicpd/zoom1/zoom1.c | 2 +-
board/logicpd/zoom2/zoom2.c | 2 +-
board/matrix_vision/mvblx/mvblx.c | 4 +-
board/overo/overo.c | 2 +-
board/pandora/pandora.c | 59 ++-
board/pandora/pandora.h | 6 +
board/technexion/twister/twister.c | 2 +-
board/teejet/mt_ventoux/mt_ventoux.c | 2 +-
board/ti/am3517crane/am3517crane.c | 2 +-
board/ti/beagle/beagle.c | 2 +-
board/ti/evm/evm.c | 2 +-
board/ti/omap5_evm/evm.c | 10 +-
board/ti/omap5_evm/mux_data.h | 489 ++++++++++---------
board/ti/panda/panda.c | 2 +-
board/ti/panda/panda_mux_data.h | 2 +-
board/ti/sdp3430/sdp.c | 2 +-
board/ti/sdp4430/sdp.c | 4 +-
board/ti/sdp4430/sdp4430_mux_data.h | 2 +-
board/timll/devkit8000/devkit8000.c | 2 +-
boards.cfg | 4 +-
config.mk | 6 +-
drivers/mmc/omap_hsmmc.c | 61 +++-
drivers/power/Makefile | 1 +
drivers/power/twl6035.c | 65 +++
include/configs/cam_enc_4xx.h | 13 +-
include/configs/igep0030.h | 261 ----------
include/configs/{igep0020.h => igep00x0.h} | 15 +-
include/configs/omap3_pandora.h | 3 +-
include/configs/omap4_common.h | 2 +
include/configs/omap5_evm.h | 25 +-
include/linux/linkage.h | 7 +-
.../armv7/omap-common/reset.S => include/twl6035.h | 38 +-
tools/gcc-version.sh | 32 ++
92 files changed, 1821 insertions(+), 1239 deletions(-)
copy arch/arm/cpu/armv7/omap-common/{reset.S => reset.c} (70%)
create mode 100644 arch/arm/cpu/armv7/omap-common/vc.c
rename arch/arm/cpu/armv7/omap5/{sdram_elpida.c => sdram.c} (64%)
create mode 100644 arch/arm/include/asm/linkage.h
create mode 100644 drivers/power/twl6035.c
delete mode 100644 include/configs/igep0030.h
rename include/configs/{igep0020.h => igep00x0.h} (97%)
rename arch/arm/cpu/armv7/omap-common/reset.S => include/twl6035.h (53%)
create mode 100755 tools/gcc-version.sh
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120326/c734ea55/attachment.pgp>
^ permalink raw reply [flat|nested] 39+ messages in thread
* [U-Boot] Please pull u-boot-ti/next
2012-03-26 19:06 ` Tom Rini
@ 2012-03-26 20:55 ` Tom Rini
0 siblings, 0 replies; 39+ messages in thread
From: Tom Rini @ 2012-03-26 20:55 UTC (permalink / raw)
To: u-boot
On Mon, Mar 26, 2012 at 12:06:47PM -0700, Tom Rini wrote:
> On Fri, Mar 16, 2012 at 10:15:28AM -0700, Tom Rini wrote:
>
> > Hello,
> >
> > The following changes since commit 5c91ee919c359e89fcb3230722253dbb9b4f7e32:
> > Ian Campbell (1):
> > ARM: dreamplug: Enable FDT support
>
> This has been updated as follows:
>
> The following changes since commit 5c91ee919c359e89fcb3230722253dbb9b4f7e32:
> Ian Campbell (1):
> ARM: dreamplug: Enable FDT support
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-ti next
[snip]
With the updates to u-boot-arm/next, this needs a little manual merging
on the cam_enc_4xx changes. I've done this locally and can push if you
like.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120326/c27d6b13/attachment.pgp>
^ permalink raw reply [flat|nested] 39+ messages in thread
* [U-Boot] Please pull u-boot-ti/next
@ 2012-04-02 16:49 Tom Rini
0 siblings, 0 replies; 39+ messages in thread
From: Tom Rini @ 2012-04-02 16:49 UTC (permalink / raw)
To: u-boot
Hello,
The following changes since commit 37ee186fde3c48f90121a76e5039efe534a273f3:
Ian Campbell (1):
ARM: dreamplug: Enable FDT support
are available in the git repository at:
git://git.denx.de/u-boot-ti next
Aneesh V (6):
arm: adapt asm/linkage.h from Linux
armv7: add appropriate headers for assembly functions
ARM: enable Thumb build
armv7: Use -march=armv7-a and thereby enable Thumb-2
omap4+: Avoid using __attribute__ ((__packed__))
OMAP4: enable Thumb build
Balaji T K (3):
arm: omap5: correct boot device mode7 for eMMC
omap5: pbias ldo9 turn on
mmc: omap5evm: Add eMMC saveenv support
Enric Balletb?? i Serra (1):
OMAP3: igep00x0: Reduce lines of code for IGEP-based boards.
Grazvydas Ignotas (3):
OMAP3: pandora: pin mux updates for DM3730 board variant
OMAP3: pandora: revise GPIO configuration
OMAP3: pandora: drop console kernel argument
Jonathan Solnit (1):
ARM:OMAP+:MMC: Add parameters to MMC init
Nishanth Menon (3):
OMAP3+: Introduce generic logic for OMAP voltage controller
OMAP4460: TPS Ensure SET1 is selected after voltage configuration
OMAP4: scale voltage of core before MPU scales
SRICHARAN R (16):
OMAP5: clocks: Change clock settings as required for ES1.0 silicon.
OMAP5: board: Add pinmux data for omap5_evm board.
OMAP5: io: Configure the io settings for omap5430 sevm board.
OMAP5: emif/ddr: Change emif settings as required for ES1.0 silicon.
OMAP5: palmas: Configure nominal opp vdd values
OMAP5: hwinit: Add the missing break statement
OMAP4/5: Make the silicon revision variable common.
OMAP5: SRAM: Change the SRAM base address.
OMAP4/5: Make the sysctrl structure common
OMAP4/5: device: Add support to get the device type.
OMAP5: defconfig: Align the defconfig for 5430 ES1.0
OMAP5: ddr: Change the ddr device name.
OMAP4/5: emif: Correct the emif power mgt shadow register bit fields.
power: twl6035: add palmas PMIC support
OMAP3+: reset: Create a common reset layer.
OMAP5: reset: Use cold reset in case of 5430ES1.0
Tom Rini (2):
tools, config.mk: Add gcc-version.sh, cc-version test from Linux
Makefile: Add a 'checkthumb' rule
Makefile | 7 +
README | 8 +
arch/arm/config.mk | 27 +-
arch/arm/cpu/armv7/am33xx/board.c | 2 +-
arch/arm/cpu/armv7/config.mk | 7 +-
arch/arm/cpu/armv7/mx5/lowlevel_init.S | 5 +-
arch/arm/cpu/armv7/mx6/lowlevel_init.S | 5 +-
arch/arm/cpu/armv7/omap-common/Makefile | 1 +
arch/arm/cpu/armv7/omap-common/clocks-common.c | 99 ++---
arch/arm/cpu/armv7/omap-common/emif-common.c | 41 ++-
arch/arm/cpu/armv7/omap-common/hwinit-common.c | 6 +-
arch/arm/cpu/armv7/omap-common/lowlevel_init.S | 14 +-
.../arm/cpu/armv7/omap-common/{reset.S => reset.c} | 30 +-
arch/arm/cpu/armv7/omap-common/spl.c | 1 +
arch/arm/cpu/armv7/omap-common/spl_mmc.c | 5 +-
arch/arm/cpu/armv7/omap-common/vc.c | 138 ++++++
arch/arm/cpu/armv7/omap3/lowlevel_init.S | 41 +-
arch/arm/cpu/armv7/omap4/clocks.c | 77 ++-
arch/arm/cpu/armv7/omap4/hwinit.c | 24 +-
arch/arm/cpu/armv7/omap4/sdram_elpida.c | 4 +
arch/arm/cpu/armv7/omap5/Makefile | 2 +-
arch/arm/cpu/armv7/omap5/clocks.c | 143 ++++--
arch/arm/cpu/armv7/omap5/hwinit.c | 104 ++++-
.../cpu/armv7/omap5/{sdram_elpida.c => sdram.c} | 101 +++--
arch/arm/cpu/armv7/s5pc1xx/cache.S | 10 +-
arch/arm/cpu/armv7/s5pc1xx/reset.S | 5 +-
arch/arm/cpu/armv7/start.S | 13 +-
arch/arm/cpu/armv7/tegra2/lowlevel_init.S | 5 +-
arch/arm/cpu/armv7/u8500/lowlevel.S | 9 +-
arch/arm/include/asm/arch-am33xx/mmc_host_def.h | 2 +-
arch/arm/include/asm/arch-omap3/cpu.h | 5 +-
arch/arm/include/asm/arch-omap3/mmc_host_def.h | 8 +-
arch/arm/include/asm/arch-omap3/mux.h | 6 +
arch/arm/include/asm/arch-omap4/clocks.h | 18 +-
arch/arm/include/asm/arch-omap4/cpu.h | 11 +
arch/arm/include/asm/arch-omap4/mmc_host_def.h | 2 +-
arch/arm/include/asm/arch-omap4/mux_omap4.h | 2 +-
arch/arm/include/asm/arch-omap4/omap.h | 25 +-
arch/arm/include/asm/arch-omap4/sys_proto.h | 8 +-
arch/arm/include/asm/arch-omap5/clocks.h | 52 ++-
arch/arm/include/asm/arch-omap5/cpu.h | 11 +
arch/arm/include/asm/arch-omap5/mmc_host_def.h | 2 +-
arch/arm/include/asm/arch-omap5/mux_omap5.h | 504 ++++++++++----------
arch/arm/include/asm/arch-omap5/omap.h | 153 +++++--
arch/arm/include/asm/arch-omap5/sys_proto.h | 8 +-
arch/arm/include/asm/emif.h | 76 +++-
arch/arm/include/asm/linkage.h | 7 +
arch/arm/include/asm/omap_common.h | 11 +-
board/cm_t35/cm_t35.c | 2 +-
board/comelit/dig297/dig297.c | 2 +-
board/corscience/tricorder/tricorder.c | 2 +-
board/htkw/mcx/mcx.c | 2 +-
board/isee/igep0020/igep0020.c | 4 +-
board/isee/igep0030/igep0030.c | 4 +-
board/logicpd/am3517evm/am3517evm.c | 2 +-
board/logicpd/omap3som/omap3logic.c | 2 +-
board/logicpd/zoom1/zoom1.c | 2 +-
board/logicpd/zoom2/zoom2.c | 2 +-
board/matrix_vision/mvblx/mvblx.c | 4 +-
board/overo/overo.c | 2 +-
board/pandora/pandora.c | 59 ++-
board/pandora/pandora.h | 6 +
board/technexion/twister/twister.c | 2 +-
board/teejet/mt_ventoux/mt_ventoux.c | 2 +-
board/ti/am3517crane/am3517crane.c | 2 +-
board/ti/beagle/beagle.c | 2 +-
board/ti/evm/evm.c | 2 +-
board/ti/omap5_evm/evm.c | 10 +-
board/ti/omap5_evm/mux_data.h | 489 ++++++++++---------
board/ti/panda/panda.c | 2 +-
board/ti/panda/panda_mux_data.h | 2 +-
board/ti/sdp3430/sdp.c | 2 +-
board/ti/sdp4430/sdp.c | 4 +-
board/ti/sdp4430/sdp4430_mux_data.h | 2 +-
board/timll/devkit8000/devkit8000.c | 2 +-
boards.cfg | 4 +-
config.mk | 6 +-
drivers/mmc/omap_hsmmc.c | 61 +++-
drivers/power/Makefile | 1 +
drivers/power/twl6035.c | 65 +++
include/configs/igep0030.h | 261 ----------
include/configs/{igep0020.h => igep00x0.h} | 15 +-
include/configs/omap3_pandora.h | 3 +-
include/configs/omap4_common.h | 2 +
include/configs/omap5_evm.h | 25 +-
include/linux/linkage.h | 7 +-
.../armv7/omap-common/reset.S => include/twl6035.h | 38 +-
tools/gcc-version.sh | 32 ++
88 files changed, 1767 insertions(+), 1216 deletions(-)
copy arch/arm/cpu/armv7/omap-common/{reset.S => reset.c} (70%)
create mode 100644 arch/arm/cpu/armv7/omap-common/vc.c
rename arch/arm/cpu/armv7/omap5/{sdram_elpida.c => sdram.c} (64%)
create mode 100644 arch/arm/include/asm/linkage.h
create mode 100644 drivers/power/twl6035.c
delete mode 100644 include/configs/igep0030.h
rename include/configs/{igep0020.h => igep00x0.h} (97%)
rename arch/arm/cpu/armv7/omap-common/reset.S => include/twl6035.h (53%)
create mode 100755 tools/gcc-version.sh
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120402/efd7533a/attachment.pgp>
^ permalink raw reply [flat|nested] 39+ messages in thread
* [U-Boot] Please pull u-boot-ti/next
@ 2012-04-20 16:26 Tom Rini
2012-04-20 17:11 ` Albert ARIBAUD
0 siblings, 1 reply; 39+ messages in thread
From: Tom Rini @ 2012-04-20 16:26 UTC (permalink / raw)
To: u-boot
Hello,
The following changes since commit 0d32389f2c8cb967dde2d3f89abdbe5fab5b0788:
David Purdy (1):
kirkwood: add support for Cloud Engines Pogoplug E02
are available in the git repository at:
git://git.denx.de/u-boot-ti next
Aneesh V (6):
arm: adapt asm/linkage.h from Linux
armv7: add appropriate headers for assembly functions
ARM: enable Thumb build
armv7: Use -march=armv7-a and thereby enable Thumb-2
omap4+: Avoid using __attribute__ ((__packed__))
OMAP4: enable Thumb build
Balaji T K (3):
arm: omap5: correct boot device mode7 for eMMC
omap5: pbias ldo9 turn on
mmc: omap5evm: Add eMMC saveenv support
Enric Balletb?? i Serra (1):
OMAP3: igep00x0: Reduce lines of code for IGEP-based boards.
Grazvydas Ignotas (3):
OMAP3: pandora: pin mux updates for DM3730 board variant
OMAP3: pandora: revise GPIO configuration
OMAP3: pandora: drop console kernel argument
Jonathan Solnit (1):
ARM:OMAP+:MMC: Add parameters to MMC init
Nishanth Menon (3):
OMAP3+: Introduce generic logic for OMAP voltage controller
OMAP4460: TPS Ensure SET1 is selected after voltage configuration
OMAP4: scale voltage of core before MPU scales
SRICHARAN R (16):
OMAP5: clocks: Change clock settings as required for ES1.0 silicon.
OMAP5: board: Add pinmux data for omap5_evm board.
OMAP5: io: Configure the io settings for omap5430 sevm board.
OMAP5: emif/ddr: Change emif settings as required for ES1.0 silicon.
OMAP5: palmas: Configure nominal opp vdd values
OMAP5: hwinit: Add the missing break statement
OMAP4/5: Make the silicon revision variable common.
OMAP5: SRAM: Change the SRAM base address.
OMAP4/5: Make the sysctrl structure common
OMAP4/5: device: Add support to get the device type.
OMAP5: defconfig: Align the defconfig for 5430 ES1.0
OMAP5: ddr: Change the ddr device name.
OMAP4/5: emif: Correct the emif power mgt shadow register bit fields.
power: twl6035: add palmas PMIC support
OMAP3+: reset: Create a common reset layer.
OMAP5: reset: Use cold reset in case of 5430ES1.0
Tom Rini (9):
tools, config.mk: Add gcc-version.sh, cc-version test from Linux
Makefile: Add a 'checkthumb' rule
omap4: Remove CONFIG_SYS_MMC_SET_DEV
omap4+: Remove CONFIG_ARCH_CPU_INIT
omap5912osk: Remove empty misc_init_r
omap730p2: Remove empty misc_init_r
omap3: Introduce weak misc_init_r
include/configs: Remove CONFIG_SYS_64BIT_VSPRINTF
include/configs: Remove CONFIG_SYS_64BIT_STRTOUL
Makefile | 7 +
README | 8 +
arch/arm/config.mk | 27 +-
arch/arm/cpu/armv7/am33xx/board.c | 2 +-
arch/arm/cpu/armv7/config.mk | 7 +-
arch/arm/cpu/armv7/mx5/lowlevel_init.S | 5 +-
arch/arm/cpu/armv7/mx6/lowlevel_init.S | 5 +-
arch/arm/cpu/armv7/omap-common/Makefile | 1 +
arch/arm/cpu/armv7/omap-common/clocks-common.c | 99 ++---
arch/arm/cpu/armv7/omap-common/emif-common.c | 41 ++-
arch/arm/cpu/armv7/omap-common/hwinit-common.c | 16 +-
arch/arm/cpu/armv7/omap-common/lowlevel_init.S | 14 +-
.../arm/cpu/armv7/omap-common/{reset.S => reset.c} | 30 +-
arch/arm/cpu/armv7/omap-common/spl.c | 1 +
arch/arm/cpu/armv7/omap-common/spl_mmc.c | 5 +-
arch/arm/cpu/armv7/omap-common/vc.c | 138 ++++++
arch/arm/cpu/armv7/omap3/board.c | 12 +
arch/arm/cpu/armv7/omap3/lowlevel_init.S | 41 +-
arch/arm/cpu/armv7/omap4/clocks.c | 77 ++-
arch/arm/cpu/armv7/omap4/hwinit.c | 24 +-
arch/arm/cpu/armv7/omap4/sdram_elpida.c | 4 +
arch/arm/cpu/armv7/omap5/Makefile | 2 +-
arch/arm/cpu/armv7/omap5/clocks.c | 143 ++++--
arch/arm/cpu/armv7/omap5/hwinit.c | 104 ++++-
.../cpu/armv7/omap5/{sdram_elpida.c => sdram.c} | 101 +++--
arch/arm/cpu/armv7/s5pc1xx/cache.S | 10 +-
arch/arm/cpu/armv7/s5pc1xx/reset.S | 5 +-
arch/arm/cpu/armv7/start.S | 13 +-
arch/arm/cpu/armv7/tegra2/lowlevel_init.S | 5 +-
arch/arm/cpu/armv7/u8500/lowlevel.S | 9 +-
arch/arm/include/asm/arch-am33xx/mmc_host_def.h | 2 +-
arch/arm/include/asm/arch-omap3/cpu.h | 5 +-
arch/arm/include/asm/arch-omap3/mmc_host_def.h | 8 +-
arch/arm/include/asm/arch-omap3/mux.h | 6 +
arch/arm/include/asm/arch-omap4/clocks.h | 18 +-
arch/arm/include/asm/arch-omap4/cpu.h | 11 +
arch/arm/include/asm/arch-omap4/mmc_host_def.h | 2 +-
arch/arm/include/asm/arch-omap4/mux_omap4.h | 2 +-
arch/arm/include/asm/arch-omap4/omap.h | 25 +-
arch/arm/include/asm/arch-omap4/sys_proto.h | 8 +-
arch/arm/include/asm/arch-omap5/clocks.h | 52 ++-
arch/arm/include/asm/arch-omap5/cpu.h | 11 +
arch/arm/include/asm/arch-omap5/mmc_host_def.h | 2 +-
arch/arm/include/asm/arch-omap5/mux_omap5.h | 504 ++++++++++----------
arch/arm/include/asm/arch-omap5/omap.h | 153 +++++--
arch/arm/include/asm/arch-omap5/sys_proto.h | 8 +-
arch/arm/include/asm/emif.h | 76 +++-
arch/arm/include/asm/linkage.h | 7 +
arch/arm/include/asm/omap_common.h | 11 +-
board/cm_t35/cm_t35.c | 13 +-
board/comelit/dig297/dig297.c | 2 +-
board/corscience/tricorder/tricorder.c | 2 +-
board/htkw/mcx/mcx.c | 13 +-
board/isee/igep0020/igep0020.c | 4 +-
board/isee/igep0030/igep0030.c | 4 +-
board/logicpd/am3517evm/am3517evm.c | 2 +-
board/logicpd/omap3som/omap3logic.c | 13 +-
board/logicpd/zoom1/zoom1.c | 2 +-
board/logicpd/zoom2/zoom2.c | 2 +-
board/matrix_vision/mvblx/mvblx.c | 4 +-
board/overo/overo.c | 2 +-
board/pandora/pandora.c | 59 ++-
board/pandora/pandora.h | 6 +
board/technexion/twister/twister.c | 2 +-
board/teejet/mt_ventoux/mt_ventoux.c | 9 +-
board/ti/am3517crane/am3517crane.c | 2 +-
board/ti/beagle/beagle.c | 2 +-
board/ti/evm/evm.c | 2 +-
board/ti/omap5912osk/omap5912osk.c | 7 -
board/ti/omap5_evm/evm.c | 10 +-
board/ti/omap5_evm/mux_data.h | 489 ++++++++++---------
board/ti/omap730p2/omap730p2.c | 6 -
board/ti/panda/panda.c | 2 +-
board/ti/panda/panda_mux_data.h | 2 +-
board/ti/sdp3430/sdp.c | 2 +-
board/ti/sdp4430/sdp.c | 4 +-
board/ti/sdp4430/sdp4430_mux_data.h | 2 +-
board/timll/devkit8000/devkit8000.c | 2 +-
boards.cfg | 4 +-
config.mk | 6 +-
drivers/mmc/omap_hsmmc.c | 61 +++-
drivers/power/Makefile | 1 +
drivers/power/twl6035.c | 65 +++
include/configs/P1023RDS.h | 3 -
include/configs/P2020COME.h | 2 -
include/configs/am3517_crane.h | 1 -
include/configs/am3517_evm.h | 2 -
include/configs/at91sam9263ek.h | 2 -
include/configs/da830evm.h | 1 -
include/configs/ea20.h | 1 -
include/configs/eb_cpux9k2.h | 2 -
include/configs/flea3.h | 2 -
include/configs/hawkboard.h | 1 -
include/configs/igep0030.h | 261 ----------
include/configs/{igep0020.h => igep00x0.h} | 15 +-
include/configs/imx27lite-common.h | 1 -
include/configs/mcx.h | 2 -
include/configs/meesc.h | 1 -
include/configs/mv-common.h | 1 -
include/configs/mx25pdk.h | 1 -
include/configs/mx35pdk.h | 2 -
include/configs/omap3_pandora.h | 3 +-
include/configs/omap4_common.h | 4 +-
include/configs/omap5912osk.h | 2 -
include/configs/omap5_evm.h | 26 +-
include/configs/omap730p2.h | 2 -
include/configs/otc570.h | 1 -
include/configs/p1_p2_rdb_pc.h | 3 -
include/configs/spear-common.h | 1 -
include/configs/tam3517-common.h | 1 -
include/configs/tx25.h | 2 -
include/configs/zmx25.h | 2 -
include/linux/linkage.h | 7 +-
.../armv7/omap-common/reset.S => include/twl6035.h | 38 +-
tools/gcc-version.sh | 32 ++
115 files changed, 1779 insertions(+), 1321 deletions(-)
copy arch/arm/cpu/armv7/omap-common/{reset.S => reset.c} (70%)
create mode 100644 arch/arm/cpu/armv7/omap-common/vc.c
rename arch/arm/cpu/armv7/omap5/{sdram_elpida.c => sdram.c} (64%)
create mode 100644 arch/arm/include/asm/linkage.h
create mode 100644 drivers/power/twl6035.c
delete mode 100644 include/configs/igep0030.h
rename include/configs/{igep0020.h => igep00x0.h} (97%)
rename arch/arm/cpu/armv7/omap-common/reset.S => include/twl6035.h (53%)
create mode 100755 tools/gcc-version.sh
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120420/4f115a5d/attachment.pgp>
^ permalink raw reply [flat|nested] 39+ messages in thread
* [U-Boot] Please pull u-boot-ti/next
2012-04-20 16:26 Tom Rini
@ 2012-04-20 17:11 ` Albert ARIBAUD
0 siblings, 0 replies; 39+ messages in thread
From: Albert ARIBAUD @ 2012-04-20 17:11 UTC (permalink / raw)
To: u-boot
Hi Tom,
Le 20/04/2012 18:26, Tom Rini a ?crit :
> Hello,
>
> The following changes since commit 0d32389f2c8cb967dde2d3f89abdbe5fab5b0788:
> David Purdy (1):
> kirkwood: add support for Cloud Engines Pogoplug E02
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-ti next
>
> Aneesh V (6):
> arm: adapt asm/linkage.h from Linux
> armv7: add appropriate headers for assembly functions
> ARM: enable Thumb build
> armv7: Use -march=armv7-a and thereby enable Thumb-2
> omap4+: Avoid using __attribute__ ((__packed__))
> OMAP4: enable Thumb build
>
> Balaji T K (3):
> arm: omap5: correct boot device mode7 for eMMC
> omap5: pbias ldo9 turn on
> mmc: omap5evm: Add eMMC saveenv support
>
> Enric Balletb? i Serra (1):
> OMAP3: igep00x0: Reduce lines of code for IGEP-based boards.
>
> Grazvydas Ignotas (3):
> OMAP3: pandora: pin mux updates for DM3730 board variant
> OMAP3: pandora: revise GPIO configuration
> OMAP3: pandora: drop console kernel argument
>
> Jonathan Solnit (1):
> ARM:OMAP+:MMC: Add parameters to MMC init
>
> Nishanth Menon (3):
> OMAP3+: Introduce generic logic for OMAP voltage controller
> OMAP4460: TPS Ensure SET1 is selected after voltage configuration
> OMAP4: scale voltage of core before MPU scales
>
> SRICHARAN R (16):
> OMAP5: clocks: Change clock settings as required for ES1.0 silicon.
> OMAP5: board: Add pinmux data for omap5_evm board.
> OMAP5: io: Configure the io settings for omap5430 sevm board.
> OMAP5: emif/ddr: Change emif settings as required for ES1.0 silicon.
> OMAP5: palmas: Configure nominal opp vdd values
> OMAP5: hwinit: Add the missing break statement
> OMAP4/5: Make the silicon revision variable common.
> OMAP5: SRAM: Change the SRAM base address.
> OMAP4/5: Make the sysctrl structure common
> OMAP4/5: device: Add support to get the device type.
> OMAP5: defconfig: Align the defconfig for 5430 ES1.0
> OMAP5: ddr: Change the ddr device name.
> OMAP4/5: emif: Correct the emif power mgt shadow register bit fields.
> power: twl6035: add palmas PMIC support
> OMAP3+: reset: Create a common reset layer.
> OMAP5: reset: Use cold reset in case of 5430ES1.0
>
> Tom Rini (9):
> tools, config.mk: Add gcc-version.sh, cc-version test from Linux
> Makefile: Add a 'checkthumb' rule
> omap4: Remove CONFIG_SYS_MMC_SET_DEV
> omap4+: Remove CONFIG_ARCH_CPU_INIT
> omap5912osk: Remove empty misc_init_r
> omap730p2: Remove empty misc_init_r
> omap3: Introduce weak misc_init_r
> include/configs: Remove CONFIG_SYS_64BIT_VSPRINTF
> include/configs: Remove CONFIG_SYS_64BIT_STRTOUL
>
> Makefile | 7 +
> README | 8 +
> arch/arm/config.mk | 27 +-
> arch/arm/cpu/armv7/am33xx/board.c | 2 +-
> arch/arm/cpu/armv7/config.mk | 7 +-
> arch/arm/cpu/armv7/mx5/lowlevel_init.S | 5 +-
> arch/arm/cpu/armv7/mx6/lowlevel_init.S | 5 +-
> arch/arm/cpu/armv7/omap-common/Makefile | 1 +
> arch/arm/cpu/armv7/omap-common/clocks-common.c | 99 ++---
> arch/arm/cpu/armv7/omap-common/emif-common.c | 41 ++-
> arch/arm/cpu/armv7/omap-common/hwinit-common.c | 16 +-
> arch/arm/cpu/armv7/omap-common/lowlevel_init.S | 14 +-
> .../arm/cpu/armv7/omap-common/{reset.S => reset.c} | 30 +-
> arch/arm/cpu/armv7/omap-common/spl.c | 1 +
> arch/arm/cpu/armv7/omap-common/spl_mmc.c | 5 +-
> arch/arm/cpu/armv7/omap-common/vc.c | 138 ++++++
> arch/arm/cpu/armv7/omap3/board.c | 12 +
> arch/arm/cpu/armv7/omap3/lowlevel_init.S | 41 +-
> arch/arm/cpu/armv7/omap4/clocks.c | 77 ++-
> arch/arm/cpu/armv7/omap4/hwinit.c | 24 +-
> arch/arm/cpu/armv7/omap4/sdram_elpida.c | 4 +
> arch/arm/cpu/armv7/omap5/Makefile | 2 +-
> arch/arm/cpu/armv7/omap5/clocks.c | 143 ++++--
> arch/arm/cpu/armv7/omap5/hwinit.c | 104 ++++-
> .../cpu/armv7/omap5/{sdram_elpida.c => sdram.c} | 101 +++--
> arch/arm/cpu/armv7/s5pc1xx/cache.S | 10 +-
> arch/arm/cpu/armv7/s5pc1xx/reset.S | 5 +-
> arch/arm/cpu/armv7/start.S | 13 +-
> arch/arm/cpu/armv7/tegra2/lowlevel_init.S | 5 +-
> arch/arm/cpu/armv7/u8500/lowlevel.S | 9 +-
> arch/arm/include/asm/arch-am33xx/mmc_host_def.h | 2 +-
> arch/arm/include/asm/arch-omap3/cpu.h | 5 +-
> arch/arm/include/asm/arch-omap3/mmc_host_def.h | 8 +-
> arch/arm/include/asm/arch-omap3/mux.h | 6 +
> arch/arm/include/asm/arch-omap4/clocks.h | 18 +-
> arch/arm/include/asm/arch-omap4/cpu.h | 11 +
> arch/arm/include/asm/arch-omap4/mmc_host_def.h | 2 +-
> arch/arm/include/asm/arch-omap4/mux_omap4.h | 2 +-
> arch/arm/include/asm/arch-omap4/omap.h | 25 +-
> arch/arm/include/asm/arch-omap4/sys_proto.h | 8 +-
> arch/arm/include/asm/arch-omap5/clocks.h | 52 ++-
> arch/arm/include/asm/arch-omap5/cpu.h | 11 +
> arch/arm/include/asm/arch-omap5/mmc_host_def.h | 2 +-
> arch/arm/include/asm/arch-omap5/mux_omap5.h | 504 ++++++++++----------
> arch/arm/include/asm/arch-omap5/omap.h | 153 +++++--
> arch/arm/include/asm/arch-omap5/sys_proto.h | 8 +-
> arch/arm/include/asm/emif.h | 76 +++-
> arch/arm/include/asm/linkage.h | 7 +
> arch/arm/include/asm/omap_common.h | 11 +-
> board/cm_t35/cm_t35.c | 13 +-
> board/comelit/dig297/dig297.c | 2 +-
> board/corscience/tricorder/tricorder.c | 2 +-
> board/htkw/mcx/mcx.c | 13 +-
> board/isee/igep0020/igep0020.c | 4 +-
> board/isee/igep0030/igep0030.c | 4 +-
> board/logicpd/am3517evm/am3517evm.c | 2 +-
> board/logicpd/omap3som/omap3logic.c | 13 +-
> board/logicpd/zoom1/zoom1.c | 2 +-
> board/logicpd/zoom2/zoom2.c | 2 +-
> board/matrix_vision/mvblx/mvblx.c | 4 +-
> board/overo/overo.c | 2 +-
> board/pandora/pandora.c | 59 ++-
> board/pandora/pandora.h | 6 +
> board/technexion/twister/twister.c | 2 +-
> board/teejet/mt_ventoux/mt_ventoux.c | 9 +-
> board/ti/am3517crane/am3517crane.c | 2 +-
> board/ti/beagle/beagle.c | 2 +-
> board/ti/evm/evm.c | 2 +-
> board/ti/omap5912osk/omap5912osk.c | 7 -
> board/ti/omap5_evm/evm.c | 10 +-
> board/ti/omap5_evm/mux_data.h | 489 ++++++++++---------
> board/ti/omap730p2/omap730p2.c | 6 -
> board/ti/panda/panda.c | 2 +-
> board/ti/panda/panda_mux_data.h | 2 +-
> board/ti/sdp3430/sdp.c | 2 +-
> board/ti/sdp4430/sdp.c | 4 +-
> board/ti/sdp4430/sdp4430_mux_data.h | 2 +-
> board/timll/devkit8000/devkit8000.c | 2 +-
> boards.cfg | 4 +-
> config.mk | 6 +-
> drivers/mmc/omap_hsmmc.c | 61 +++-
> drivers/power/Makefile | 1 +
> drivers/power/twl6035.c | 65 +++
> include/configs/P1023RDS.h | 3 -
> include/configs/P2020COME.h | 2 -
> include/configs/am3517_crane.h | 1 -
> include/configs/am3517_evm.h | 2 -
> include/configs/at91sam9263ek.h | 2 -
> include/configs/da830evm.h | 1 -
> include/configs/ea20.h | 1 -
> include/configs/eb_cpux9k2.h | 2 -
> include/configs/flea3.h | 2 -
> include/configs/hawkboard.h | 1 -
> include/configs/igep0030.h | 261 ----------
> include/configs/{igep0020.h => igep00x0.h} | 15 +-
> include/configs/imx27lite-common.h | 1 -
> include/configs/mcx.h | 2 -
> include/configs/meesc.h | 1 -
> include/configs/mv-common.h | 1 -
> include/configs/mx25pdk.h | 1 -
> include/configs/mx35pdk.h | 2 -
> include/configs/omap3_pandora.h | 3 +-
> include/configs/omap4_common.h | 4 +-
> include/configs/omap5912osk.h | 2 -
> include/configs/omap5_evm.h | 26 +-
> include/configs/omap730p2.h | 2 -
> include/configs/otc570.h | 1 -
> include/configs/p1_p2_rdb_pc.h | 3 -
> include/configs/spear-common.h | 1 -
> include/configs/tam3517-common.h | 1 -
> include/configs/tx25.h | 2 -
> include/configs/zmx25.h | 2 -
> include/linux/linkage.h | 7 +-
> .../armv7/omap-common/reset.S => include/twl6035.h | 38 +-
> tools/gcc-version.sh | 32 ++
> 115 files changed, 1779 insertions(+), 1321 deletions(-)
> copy arch/arm/cpu/armv7/omap-common/{reset.S => reset.c} (70%)
> create mode 100644 arch/arm/cpu/armv7/omap-common/vc.c
> rename arch/arm/cpu/armv7/omap5/{sdram_elpida.c => sdram.c} (64%)
> create mode 100644 arch/arm/include/asm/linkage.h
> create mode 100644 drivers/power/twl6035.c
> delete mode 100644 include/configs/igep0030.h
> rename include/configs/{igep0020.h => igep00x0.h} (97%)
> rename arch/arm/cpu/armv7/omap-common/reset.S => include/twl6035.h (53%)
> create mode 100755 tools/gcc-version.sh
Applied to u-boot-arm/next, thanks!
Amicalement,
--
Albert.
^ permalink raw reply [flat|nested] 39+ messages in thread
* [U-Boot] Please pull u-boot-ti/next
@ 2012-07-09 18:46 Tom Rini
2012-07-09 20:39 ` Albert ARIBAUD
0 siblings, 1 reply; 39+ messages in thread
From: Tom Rini @ 2012-07-09 18:46 UTC (permalink / raw)
To: u-boot
Hello,
The following changes since commit d702b0811df53a1fc2d8049e35431e4591d093c6:
ARM: cache: Move the cp15 CR register read before flushing the cache. (2012-07-07 14:07:44 +0200)
are available in the git repository at:
git://git.denx.de/u-boot-ti next
for you to fetch changes up to 9af1a780c81639ca4b6f7035530dc8c7151bf201:
omap: am335x_evm: enable i2c1 channel (2012-07-09 11:12:19 -0700)
----------------------------------------------------------------
Igor Grinberg (1):
arm: omap3: cm-t35: minor comment and printf change
Ilya Yanok (1):
omap24xx_i2c: add 2-byte address support
Javier Martinez Canillas (2):
igep00x0: default to OMAP-specific serial driver
igep00x0: default mmcrootfstype to EXT4
Lad, Prabhakar (7):
da850/omap-l138: Add MMC support for DA850/OMAP-L138
arm, davinci: perform check for initializing global data and serial init
da850/omap-l138: Define SPI specific configs for SPL only when SPI is used
da850/omap-l138: Add support to read u-boot image from MMC/SD
da850/omap-l138: Fix NAND flash timings
da850/omap-l138: Add support for NAND SPL
da850/omap-l138: add support for direct NOR boot mode
Peter Meerwald (4):
beagle: add eeprom expansion board info for bct brettl4
beagle: make get_expansion_id(), get_board_revision(), beagle_display_init() static
beagle: fix termination of buddy env setting
beagle: removed unused pr_debug #define
Rajashekhara, Sudhakar (2):
da850/omap-l138: modifications for Logic PD Rev.3 AM18xx EVM
da850/omap-l138: Make MMC and NOR support mutually exclusive
Stefano Babic (4):
mcx: increased buffer for command line
OMAP3: mcx: set pinmux for uart4
OMAP3: mcx: updated default environment
OMAP3: mcx: read hot-water-button after reset
Steve Sakoman (3):
omap: am335x_evm: remove unused definitions
omap: am33xx: enable gpio support
omap: am335x_evm: enable i2c1 channel
Sughosh Ganu (1):
hawkboard/omapl-138: Add support for generating ais image for hawkboard
.gitignore | 3 +
Makefile | 5 +-
arch/arm/cpu/arm926ejs/davinci/da850_pinmux.c | 11 ++
arch/arm/cpu/arm926ejs/davinci/spl.c | 20 ++--
arch/arm/cpu/armv7/am33xx/board.c | 10 ++
arch/arm/cpu/armv7/am33xx/clock.c | 20 ++++
arch/arm/cpu/armv7/omap-common/Makefile | 2 +-
arch/arm/include/asm/arch-am33xx/cpu.h | 20 ++++
arch/arm/include/asm/arch-am33xx/gpio.h | 29 +++++
arch/arm/include/asm/arch-davinci/hardware.h | 1 +
arch/arm/include/asm/arch-davinci/pinmux_defs.h | 3 +
board/cm_t35/cm_t35.c | 4 +-
board/davinci/da8xxevm/da850evm.c | 54 ++++++++--
board/davinci/da8xxevm/hawkboard-ais-nand.cfg | 4 +
board/htkw/mcx/mcx.c | 23 ++++
board/htkw/mcx/mcx.h | 11 +-
board/ti/am335x/evm.c | 6 +-
board/ti/am335x/mux.c | 13 +++
board/ti/beagle/beagle.c | 16 +--
boards.cfg | 1 +
drivers/i2c/omap24xx_i2c.c | 58 +++++-----
drivers/mmc/Makefile | 4 +
drivers/mmc/spl_mmc_load.c | 62 +++++++++++
include/configs/am335x_evm.h | 2 +-
include/configs/da850evm.h | 93 ++++++++++++++--
include/configs/hawkboard.h | 1 +
include/configs/igep00x0.h | 4 +-
include/configs/mcx.h | 132 ++++++++++++++++-------
include/configs/omap3_beagle.h | 2 +-
include/mmc.h | 2 +
30 files changed, 502 insertions(+), 114 deletions(-)
create mode 100644 arch/arm/include/asm/arch-am33xx/gpio.h
create mode 100644 board/davinci/da8xxevm/hawkboard-ais-nand.cfg
create mode 100644 drivers/mmc/spl_mmc_load.c
This includes the single patch I asked for in u-boot-ti/master as well
as a number of other small clean-ups, bugfixes or enhancements that have
been around for a bit, but did not meet the merge window and I don't
want to forget them. If you want me to carry them in my own /next
branch until -rc1 comes out, that's fine and this can just serve as
notice to interested parties that yes, really, patches have been picked
up.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120709/a6634cd8/attachment.pgp>
^ permalink raw reply [flat|nested] 39+ messages in thread
* [U-Boot] Please pull u-boot-ti/next
2012-07-09 18:46 Tom Rini
@ 2012-07-09 20:39 ` Albert ARIBAUD
0 siblings, 0 replies; 39+ messages in thread
From: Albert ARIBAUD @ 2012-07-09 20:39 UTC (permalink / raw)
To: u-boot
Hi Tom,
On Mon, 9 Jul 2012 11:46:11 -0700, Tom Rini <trini@ti.com> wrote:
> Hello,
>
> The following changes since commit d702b0811df53a1fc2d8049e35431e4591d093c6:
>
> ARM: cache: Move the cp15 CR register read before flushing the cache. (2012-07-07 14:07:44 +0200)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-ti next
>
> for you to fetch changes up to 9af1a780c81639ca4b6f7035530dc8c7151bf201:
>
> omap: am335x_evm: enable i2c1 channel (2012-07-09 11:12:19 -0700)
>
> ----------------------------------------------------------------
> Igor Grinberg (1):
> arm: omap3: cm-t35: minor comment and printf change
>
> Ilya Yanok (1):
> omap24xx_i2c: add 2-byte address support
>
> Javier Martinez Canillas (2):
> igep00x0: default to OMAP-specific serial driver
> igep00x0: default mmcrootfstype to EXT4
>
> Lad, Prabhakar (7):
> da850/omap-l138: Add MMC support for DA850/OMAP-L138
> arm, davinci: perform check for initializing global data and serial init
> da850/omap-l138: Define SPI specific configs for SPL only when SPI is used
> da850/omap-l138: Add support to read u-boot image from MMC/SD
> da850/omap-l138: Fix NAND flash timings
> da850/omap-l138: Add support for NAND SPL
> da850/omap-l138: add support for direct NOR boot mode
>
> Peter Meerwald (4):
> beagle: add eeprom expansion board info for bct brettl4
> beagle: make get_expansion_id(), get_board_revision(), beagle_display_init() static
> beagle: fix termination of buddy env setting
> beagle: removed unused pr_debug #define
>
> Rajashekhara, Sudhakar (2):
> da850/omap-l138: modifications for Logic PD Rev.3 AM18xx EVM
> da850/omap-l138: Make MMC and NOR support mutually exclusive
>
> Stefano Babic (4):
> mcx: increased buffer for command line
> OMAP3: mcx: set pinmux for uart4
> OMAP3: mcx: updated default environment
> OMAP3: mcx: read hot-water-button after reset
>
> Steve Sakoman (3):
> omap: am335x_evm: remove unused definitions
> omap: am33xx: enable gpio support
> omap: am335x_evm: enable i2c1 channel
>
> Sughosh Ganu (1):
> hawkboard/omapl-138: Add support for generating ais image for hawkboard
>
> .gitignore | 3 +
> Makefile | 5 +-
> arch/arm/cpu/arm926ejs/davinci/da850_pinmux.c | 11 ++
> arch/arm/cpu/arm926ejs/davinci/spl.c | 20 ++--
> arch/arm/cpu/armv7/am33xx/board.c | 10 ++
> arch/arm/cpu/armv7/am33xx/clock.c | 20 ++++
> arch/arm/cpu/armv7/omap-common/Makefile | 2 +-
> arch/arm/include/asm/arch-am33xx/cpu.h | 20 ++++
> arch/arm/include/asm/arch-am33xx/gpio.h | 29 +++++
> arch/arm/include/asm/arch-davinci/hardware.h | 1 +
> arch/arm/include/asm/arch-davinci/pinmux_defs.h | 3 +
> board/cm_t35/cm_t35.c | 4 +-
> board/davinci/da8xxevm/da850evm.c | 54 ++++++++--
> board/davinci/da8xxevm/hawkboard-ais-nand.cfg | 4 +
> board/htkw/mcx/mcx.c | 23 ++++
> board/htkw/mcx/mcx.h | 11 +-
> board/ti/am335x/evm.c | 6 +-
> board/ti/am335x/mux.c | 13 +++
> board/ti/beagle/beagle.c | 16 +--
> boards.cfg | 1 +
> drivers/i2c/omap24xx_i2c.c | 58 +++++-----
> drivers/mmc/Makefile | 4 +
> drivers/mmc/spl_mmc_load.c | 62 +++++++++++
> include/configs/am335x_evm.h | 2 +-
> include/configs/da850evm.h | 93 ++++++++++++++--
> include/configs/hawkboard.h | 1 +
> include/configs/igep00x0.h | 4 +-
> include/configs/mcx.h | 132 ++++++++++++++++-------
> include/configs/omap3_beagle.h | 2 +-
> include/mmc.h | 2 +
> 30 files changed, 502 insertions(+), 114 deletions(-)
> create mode 100644 arch/arm/include/asm/arch-am33xx/gpio.h
> create mode 100644 board/davinci/da8xxevm/hawkboard-ais-nand.cfg
> create mode 100644 drivers/mmc/spl_mmc_load.c
>
> This includes the single patch I asked for in u-boot-ti/master as well
> as a number of other small clean-ups, bugfixes or enhancements that have
> been around for a bit, but did not meet the merge window and I don't
> want to forget them. If you want me to carry them in my own /next
> branch until -rc1 comes out, that's fine and this can just serve as
> notice to interested parties that yes, really, patches have been picked
> up.
Applied to u-boot-arm/next, to be moved to master after the 12.07 release.
Amicalement,
--
Albert.
^ permalink raw reply [flat|nested] 39+ messages in thread
end of thread, other threads:[~2012-07-09 20:39 UTC | newest]
Thread overview: 39+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-18 23:39 [U-Boot] Please pull u-boot-ti/next s-paulraj at ti.com
2011-09-19 7:15 ` Albert ARIBAUD
2011-09-19 7:47 ` Wolfgang Denk
2011-09-19 12:11 ` Albert ARIBAUD
2011-09-19 14:21 ` Paulraj, Sandeep
2011-09-20 6:47 ` [U-Boot] SMDK6400 regression (was: Please pull u-boot-ti/next) Albert ARIBAUD
2011-09-20 7:38 ` [U-Boot] SMDK6400 regression Simon Schwarz
2011-09-21 9:13 ` Simon Schwarz
2011-09-21 19:35 ` Scott Wood
2011-09-23 16:36 ` [U-Boot] [PATCH RFC] Add general nand functions Simon Schwarz
2011-09-23 16:42 ` Simon Schwarz
2011-09-23 17:22 ` Scott Wood
2011-09-26 8:27 ` Simon Schwarz
2011-09-27 0:28 ` Scott Wood
2011-09-27 10:09 ` [U-Boot] [PATCH RFC 1/3] nand: Remove static modifier from common functions Simon Schwarz
2011-09-27 10:09 ` [U-Boot] [PATCH RFC 2/3] nand: Add common functions to nand.h Simon Schwarz
2011-09-27 10:09 ` [U-Boot] [PATCH RFC 3/3] Fix regression in SMDK6400 Simon Schwarz
2011-09-27 10:14 ` [U-Boot] [PATCH RFC] Add general nand functions Simon Schwarz
2011-09-27 22:50 ` Scott Wood
2011-09-28 8:48 ` Simon Schwarz
2011-09-20 6:49 ` [U-Boot] Please pull u-boot-ti/next Albert ARIBAUD
-- strict thread matches above, loose matches on Subject: below --
2012-07-09 18:46 Tom Rini
2012-07-09 20:39 ` Albert ARIBAUD
2012-04-20 16:26 Tom Rini
2012-04-20 17:11 ` Albert ARIBAUD
2012-04-02 16:49 Tom Rini
2012-03-16 17:15 Tom Rini
2012-03-26 19:06 ` Tom Rini
2012-03-26 20:55 ` Tom Rini
2011-12-19 21:20 Tom Rini
2011-12-19 22:02 ` Albert ARIBAUD
2010-12-21 1:09 [U-Boot] Please Pull u-boot-ti/next s-paulraj at ti.com
2010-12-11 16:08 [U-Boot] Please pull u-boot-ti/next s-paulraj at ti.com
2010-12-11 16:24 ` Albert ARIBAUD
2010-12-13 22:54 ` Wolfgang Denk
2010-11-30 16:59 s-paulraj at ti.com
2010-11-30 20:39 ` Wolfgang Denk
2010-06-22 15:29 [U-Boot] Please Pull u-boot-ti/next s-paulraj at ti.com
2010-06-29 19:59 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox