mbox series

[GIT,PULL] NAND + UniPhier updates for v2018.01-rc1

Message ID CAK7LNAQWi3wRM0Yaq1c5bHt0EnyrAG5W=umg9Ae6EvzkSt9X4Q@mail.gmail.com
State New
Headers show
Series [GIT,PULL] NAND + UniPhier updates for v2018.01-rc1 | expand

Pull-request

git://git.denx.de/u-boot-uniphier.git master

Message

Masahiro Yamada Nov. 28, 2017, 12:52 a.m. UTC
Hi Tom,

Please pull a large number of NAND core syncing
and a little bit UniPhier updates.

I picked up commits from Linux one by one
in order not to break existing drivers.
At last, the Denali NAND driver is fully synced with Linux 4.15-rc1.
I tested it on my UniPhier boards, and working for me.



The following changes since commit 0931b6f20e19f6c412d6ad1ba8e3b50b2a70c3c0:

  Merge git://git.denx.de/u-boot-rockchip (2017-11-26 18:10:21 -0500)

are available in the git repository at:

  git://git.denx.de/u-boot-uniphier.git master

for you to fetch changes up to 6391d42f23181d363fc5e07652baf1c79a37f1b5:

  ARM: uniphier: remove unused NAND CONFIG options (2017-11-28 09:39:19 +0900)

----------------------------------------------------------------
Boris Brezillon (9):
      mtd: nand: Add an option to maximize the ECC strength
      mtd: nand: automate NAND timings selection
      mtd: nand: Fix data interface configuration logic
      mtd: nand: Add a few more timings to nand_sdr_timings
      mtd: add mtd_ooblayout_xxx() helper functions
      mtd: nand: Drop unused cached programming support
      mtd: nand: Drop the ->errstat() hook
      mtd: nand: Wait for PAGEPROG to finish in drivers setting
NAND_ECC_CUSTOM_PAGE_ACCESS
      mtd: nand: Pass the CS line to ->setup_data_interface()

Marc Gonzalez (1):
      mtd: nand: Support controllers with custom page

Masahiro Yamada (13):
      bitops: collect BIT macros to include/linux/bitops.h
      mtd: nand: add onfi_* stubs in case ONFI_DETECTION is disabled
      mtd: nand: allow drivers to request minimum alignment for passed buffer
      mtd: nand: add generic helpers to check, match, maximize ECC settings
      mtd: nand: add a shorthand to generate nand_ecc_caps structure
      mtd: nand: introduce NAND_ROW_ADDR_3 flag
      mtd: nand: denali: sync with Linux 4.15-rc1
      ARM: uniphier: set CONFIG_LOGLEVEL to 6
      ARM: uniphier: remove IRQ settings
      ARM: uniphier: remove XIRQ pin settings
      gpio: uniphier: import dt-binginds header from Linux
      ARM: dts: uniphier: Sync with Linux 4.15-rc1
      ARM: uniphier: remove unused NAND CONFIG options

Sascha Hauer (5):
      mtd: nand: remove unnecessary 'extern' from function declarations
      mtd: nand: Create a NAND reset function
      mtd: nand: Introduce nand_data_interface
      mtd: nand: convert ONFI mode into data interface
      mtd: nand: Expose data interface for ONFI mode 0

 arch/arm/dts/uniphier-ld11-ref.dts              |   10 +-
 arch/arm/dts/uniphier-ld11.dtsi                 |   50 +-
 arch/arm/dts/uniphier-ld20-ref.dts              |   10 +-
 arch/arm/dts/uniphier-ld20.dtsi                 |   87 +-
 arch/arm/dts/uniphier-ld4-ref.dts               |   10 +-
 arch/arm/dts/uniphier-ld4.dtsi                  |   23 +-
 arch/arm/dts/uniphier-ld6b-ref.dts              |   10 +-
 arch/arm/dts/uniphier-pinctrl.dtsi              |   52 +-
 arch/arm/dts/uniphier-pro4-ref.dts              |   10 +-
 arch/arm/dts/uniphier-pro4.dtsi                 |   22 +-
 arch/arm/dts/uniphier-pro5.dtsi                 |   16 +-
 arch/arm/dts/uniphier-pxs2.dtsi                 |   66 +-
 arch/arm/dts/uniphier-pxs3-ref.dts              |   10 +-
 arch/arm/dts/uniphier-pxs3.dtsi                 |   42 +-
 arch/arm/dts/uniphier-sld8-ref.dts              |   10 +-
 arch/arm/dts/uniphier-sld8.dtsi                 |   23 +-
 arch/arm/dts/uniphier-support-card.dtsi         |    3 +-
 arch/arm/dts/uniphier-v7-u-boot.dtsi            |    8 +-
 arch/arm/include/asm/arch-sunxi/dram_sunxi_dw.h |    3 +-
 arch/arm/mach-kirkwood/include/mach/gpio.h      |    4 -
 arch/arm/mach-uniphier/board_init.c             |   51 -
 arch/arm/mach-uniphier/sbc/sbc-ld11.c           |    2 +-
 arch/arm/mach-uniphier/sbc/sbc-pxs2.c           |    2 +-
 configs/uniphier_ld4_sld8_defconfig             |    1 +
 configs/uniphier_v7_defconfig                   |    1 +
 configs/uniphier_v8_defconfig                   |    1 +
 drivers/gpio/gpio-uniphier.c                    |    3 +-
 drivers/gpio/kw_gpio.c                          |    2 +-
 drivers/mtd/mtdcore.c                           |  360 ++++
 drivers/mtd/nand/Kconfig                        |   11 -
 drivers/mtd/nand/davinci_nand.c                 |   10 +-
 drivers/mtd/nand/denali.c                       | 2027 +++++++++---------
 drivers/mtd/nand/denali.h                       |  473 ++--
 drivers/mtd/nand/denali_dt.c                    |   17 +-
 drivers/mtd/nand/denali_spl.c                   |   14 +-
 drivers/mtd/nand/nand_base.c                    |  530 ++++-
 drivers/mtd/nand/nand_timings.c                 |  494 +++--
 include/configs/uniphier.h                      |    5 -
 include/dt-bindings/gpio/uniphier-gpio.h        |   18 +
 include/linux/bitops.h                          |    7 +
 include/linux/mtd/mtd.h                         |   57 +
 include/linux/mtd/nand.h                        |  314 ++-
 include/usb/lin_gadget_compat.h                 |    4 +-
 43 files changed, 3106 insertions(+), 1767 deletions(-)
 create mode 100644 include/dt-bindings/gpio/uniphier-gpio.h

Comments

Tom Rini Nov. 28, 2017, 2:17 p.m. UTC | #1
On Tue, Nov 28, 2017 at 09:52:24AM +0900, Masahiro Yamada wrote:

> Hi Tom,

> 

> Please pull a large number of NAND core syncing

> and a little bit UniPhier updates.

> 

> I picked up commits from Linux one by one

> in order not to break existing drivers.

> At last, the Denali NAND driver is fully synced with Linux 4.15-rc1.

> I tested it on my UniPhier boards, and working for me.

> 

> 

> 

> The following changes since commit 0931b6f20e19f6c412d6ad1ba8e3b50b2a70c3c0:

> 

>   Merge git://git.denx.de/u-boot-rockchip (2017-11-26 18:10:21 -0500)

> 

> are available in the git repository at:

> 

>   git://git.denx.de/u-boot-uniphier.git master

> 

> for you to fetch changes up to 6391d42f23181d363fc5e07652baf1c79a37f1b5:

> 

>   ARM: uniphier: remove unused NAND CONFIG options (2017-11-28 09:39:19 +0900)


NAK.  At the moment it's causing at least two size issues:
https://travis-ci.org/trini/u-boot/jobs/308399764
https://travis-ci.org/trini/u-boot/jobs/308399741

And the rest of the build is
https://travis-ci.org/trini/u-boot/builds/308399729 and I'm going to let
it finish.  Thanks!

-- 
Tom
Masahiro Yamada Nov. 28, 2017, 3:12 p.m. UTC | #2
2017-11-28 23:17 GMT+09:00 Tom Rini <trini@konsulko.com>:
> On Tue, Nov 28, 2017 at 09:52:24AM +0900, Masahiro Yamada wrote:
>
>> Hi Tom,
>>
>> Please pull a large number of NAND core syncing
>> and a little bit UniPhier updates.
>>
>> I picked up commits from Linux one by one
>> in order not to break existing drivers.
>> At last, the Denali NAND driver is fully synced with Linux 4.15-rc1.
>> I tested it on my UniPhier boards, and working for me.
>>
>>
>>
>> The following changes since commit 0931b6f20e19f6c412d6ad1ba8e3b50b2a70c3c0:
>>
>>   Merge git://git.denx.de/u-boot-rockchip (2017-11-26 18:10:21 -0500)
>>
>> are available in the git repository at:
>>
>>   git://git.denx.de/u-boot-uniphier.git master
>>
>> for you to fetch changes up to 6391d42f23181d363fc5e07652baf1c79a37f1b5:
>>
>>   ARM: uniphier: remove unused NAND CONFIG options (2017-11-28 09:39:19 +0900)
>
> NAK.  At the moment it's causing at least two size issues:
> https://travis-ci.org/trini/u-boot/jobs/308399764
> https://travis-ci.org/trini/u-boot/jobs/308399741

As far as I saw, the problem is the following three:

openrd_client openrd_base openrd_ultimate


Today, I noticed they were on the boundary of the size check.

Then, I sent this patch for the assert -> BUG_ON() conversion:
http://patchwork.ozlabs.org/patch/842106/


Maybe, I can insert it before the NAND core updates.




> And the rest of the build is
> https://travis-ci.org/trini/u-boot/builds/308399729 and I'm going to let
> it finish.  Thanks!
>
> --
> Tom
>
> _______________________________________________
> U-Boot mailing list
> U-Boot@lists.denx.de
> https://lists.denx.de/listinfo/u-boot
>
Tom Rini Nov. 28, 2017, 3:17 p.m. UTC | #3
On Wed, Nov 29, 2017 at 12:12:58AM +0900, Masahiro Yamada wrote:
> 2017-11-28 23:17 GMT+09:00 Tom Rini <trini@konsulko.com>:

> > On Tue, Nov 28, 2017 at 09:52:24AM +0900, Masahiro Yamada wrote:

> >

> >> Hi Tom,

> >>

> >> Please pull a large number of NAND core syncing

> >> and a little bit UniPhier updates.

> >>

> >> I picked up commits from Linux one by one

> >> in order not to break existing drivers.

> >> At last, the Denali NAND driver is fully synced with Linux 4.15-rc1.

> >> I tested it on my UniPhier boards, and working for me.

> >>

> >>

> >>

> >> The following changes since commit 0931b6f20e19f6c412d6ad1ba8e3b50b2a70c3c0:

> >>

> >>   Merge git://git.denx.de/u-boot-rockchip (2017-11-26 18:10:21 -0500)

> >>

> >> are available in the git repository at:

> >>

> >>   git://git.denx.de/u-boot-uniphier.git master

> >>

> >> for you to fetch changes up to 6391d42f23181d363fc5e07652baf1c79a37f1b5:

> >>

> >>   ARM: uniphier: remove unused NAND CONFIG options (2017-11-28 09:39:19 +0900)

> >

> > NAK.  At the moment it's causing at least two size issues:

> > https://travis-ci.org/trini/u-boot/jobs/308399764

> > https://travis-ci.org/trini/u-boot/jobs/308399741

> 

> As far as I saw, the problem is the following three:

> 

> openrd_client openrd_base openrd_ultimate

> 

> 

> Today, I noticed they were on the boundary of the size check.

> 

> Then, I sent this patch for the assert -> BUG_ON() conversion:

> http://patchwork.ozlabs.org/patch/842106/

> 

> 

> Maybe, I can insert it before the NAND core updates.


I'd be fine with the openrd related changes coming in via your tree now
to keep things functional.  Thanks!

-- 
Tom