Patchwork [U-Boot] pull request for u-boot-tegra/master

login
register
mail settings
Submitter Tom Warren
Date May 3, 2012, 3:56 p.m.
Message ID <CA+m5__KMQAxg_b0CwRCGJa9U7m6F-sSiE0eohkBxd_fUijJmsQ@mail.gmail.com>
Download mbox
Permalink /patch/156736/
State Superseded
Delegated to: Albert ARIBAUD
Headers show

Pull-request

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

Comments

Tom Warren - May 3, 2012, 3:56 p.m.
Albert,

Please pull u-boot-tegra/master into arm master. Thanks!

The following changes since commit 026251a5e825d61d3bcdf6dffcc27d15afd574f4:
  Donghwa Lee (1):
        EXYNOS: Change bits per pixel value proper for u-boot.

are available in the git repository at:

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

Anton Staff (3):
      fdt: Add fdtdec functions to read byte array
      tegra: fdt: Add keyboard controller definition
      tegra: fdt: Add keyboard definitions for Seaboard

Bernie Thompson (1):
      input: Add support for keyboard matrix decoding from an fdt

Jimmy Zhang (3):
      tegra: Add EMC support for optimal memory timings
      tegra: Add PMU to manage power supplies
      tegra: Add EMC settings for Seaboard

Rakesh Iyer (1):
      tegra: Add tegra keyboard driver

Simon Glass (19):
      fdt: Add function to locate an array in the device tree
      fdt: Add function to return next compatible subnode
      Add abs() macro to return absolute value
      i2c: Add TPS6586X driver
      tegra: Move ap20.h header into arch location
      tegra: Add functions to access low-level Osc/PLL details
      tegra: Add tegra_get_chip_type() to detect SKU
      tegra: Add header file for APB_MISC register
      tegra: Set up PMU for Nvidia boards
      tegra: Set up warmboot code on Nvidia boards
      fdt: tegra: Add EMC node to device tree
      tegra: i2c: Add function to find DVC bus
      tegra: fdt: Add EMC data for Tegra2 Seaboard
      tegra: Enable LP0 on Seaboard
      input: Add linux/input.h for key code support
      input: Add generic keyboard input handler
      tegra: Add keyboard support to funcmux
      tegra: Switch on console mux and use environment for console
      tegra: Enable keyboard for Seaboard

Wei Ni (1):
      tegra: Turn off power detect in board init

Yen Lin (5):
      Add AES crypto library
      tegra: Add crypto library for warmboot code
      tegra: Add flow, gp_padctl, fuse, sdram headers
      tegra: Add warmboot implementation
      tegra: Setup PMC scratch info from ap20 setup

 arch/arm/cpu/armv7/tegra2/Makefile                 |    4 +
 arch/arm/cpu/armv7/tegra2/ap20.c                   |   44 ++-
 arch/arm/cpu/armv7/tegra2/board.c                  |    4 +-
 arch/arm/cpu/armv7/tegra2/clock.c                  |   32 +
 arch/arm/cpu/armv7/tegra2/crypto.c                 |  230 ++++++++
 arch/arm/cpu/armv7/tegra2/crypto.h                 |   36 ++
 arch/arm/cpu/armv7/tegra2/emc.c                    |  286 ++++++++++
 arch/arm/cpu/armv7/tegra2/funcmux.c                |   16 +
 arch/arm/cpu/armv7/tegra2/pmu.c                    |   70 +++
 arch/arm/cpu/armv7/tegra2/warmboot.c               |  386 +++++++++++++
 arch/arm/cpu/armv7/tegra2/warmboot_avp.c           |  250 ++++++++
 arch/arm/cpu/armv7/tegra2/warmboot_avp.h           |   81 +++
 arch/arm/dts/tegra20.dtsi                          |   11 +
 .../tegra2 => include/asm/arch-tegra2}/ap20.h      |    7 +
 arch/arm/include/asm/arch-tegra2/apb_misc.h        |   36 ++
 arch/arm/include/asm/arch-tegra2/clk_rst.h         |    3 +
 arch/arm/include/asm/arch-tegra2/clock.h           |   22 +
 arch/arm/include/asm/arch-tegra2/emc.h             |  113 ++++
 arch/arm/include/asm/arch-tegra2/flow.h            |   36 ++
 arch/arm/include/asm/arch-tegra2/fuse.h            |   39 ++
 arch/arm/include/asm/arch-tegra2/gp_padctrl.h      |   73 +++
 arch/arm/include/asm/arch-tegra2/pmu.h             |   30 +
 arch/arm/include/asm/arch-tegra2/sdram_param.h     |  148 +++++
 arch/arm/include/asm/arch-tegra2/tegra2.h          |   25 +
 arch/arm/include/asm/arch-tegra2/tegra_i2c.h       |    7 +
 arch/arm/include/asm/arch-tegra2/warmboot.h        |  150 +++++
 board/nvidia/common/Makefile                       |    1 +
 board/nvidia/common/board.c                        |   42 ++-
 board/nvidia/common/emc.c                          |   53 ++
 board/nvidia/common/emc.h                          |   29 +
 board/nvidia/dts/tegra2-seaboard.dts               |   64 +++
 drivers/i2c/tegra_i2c.c                            |   14 +
 drivers/input/Makefile                             |    3 +
 drivers/input/input.c                              |  429 ++++++++++++++
 drivers/input/key_matrix.c                         |  208 +++++++
 drivers/input/tegra-kbc.c                          |  375 ++++++++++++
 drivers/power/Makefile                             |    1 +
 drivers/power/tps6586x.c                           |  280 +++++++++
 include/aes.h                                      |   70 +++
 include/common.h                                   |   13 +
 include/configs/seaboard.h                         |   16 +
 include/configs/tegra2-common.h                    |   26 +-
 include/fdtdec.h                                   |   71 +++
 include/input.h                                    |  145 +++++
 include/key_matrix.h                               |   99 ++++
 include/linux/input.h                              |  155 +++++
 include/tegra-kbc.h                                |   33 ++
 include/tps6586x.h                                 |   68 +++
 lib/Makefile                                       |    1 +
 lib/aes.c                                          |  598 ++++++++++++++++++++
 lib/fdtdec.c                                       |   53 ++
 51 files changed, 4981 insertions(+), 5 deletions(-)
 create mode 100644 arch/arm/cpu/armv7/tegra2/crypto.c
 create mode 100644 arch/arm/cpu/armv7/tegra2/crypto.h
 create mode 100644 arch/arm/cpu/armv7/tegra2/emc.c
 create mode 100644 arch/arm/cpu/armv7/tegra2/pmu.c
 create mode 100644 arch/arm/cpu/armv7/tegra2/warmboot.c
 create mode 100644 arch/arm/cpu/armv7/tegra2/warmboot_avp.c
 create mode 100644 arch/arm/cpu/armv7/tegra2/warmboot_avp.h
 rename arch/arm/{cpu/armv7/tegra2 => include/asm/arch-tegra2}/ap20.h (96%)
 create mode 100644 arch/arm/include/asm/arch-tegra2/apb_misc.h
 create mode 100644 arch/arm/include/asm/arch-tegra2/emc.h
 create mode 100644 arch/arm/include/asm/arch-tegra2/flow.h
 create mode 100644 arch/arm/include/asm/arch-tegra2/fuse.h
 create mode 100644 arch/arm/include/asm/arch-tegra2/gp_padctrl.h
 create mode 100644 arch/arm/include/asm/arch-tegra2/pmu.h
 create mode 100644 arch/arm/include/asm/arch-tegra2/sdram_param.h
 create mode 100644 arch/arm/include/asm/arch-tegra2/warmboot.h
 create mode 100644 board/nvidia/common/emc.c
 create mode 100644 board/nvidia/common/emc.h
 create mode 100644 drivers/input/input.c
 create mode 100644 drivers/input/key_matrix.c
 create mode 100644 drivers/input/tegra-kbc.c
 create mode 100644 drivers/power/tps6586x.c
 create mode 100644 include/aes.h
 create mode 100644 include/input.h
 create mode 100644 include/key_matrix.h
 create mode 100644 include/linux/input.h
 create mode 100644 include/tegra-kbc.h
 create mode 100644 include/tps6586x.h
 create mode 100644 lib/aes.c
Albert ARIBAUD - May 4, 2012, 7:30 a.m.
Hi Tom,

Le 03/05/2012 17:56, Tom Warren a écrit :
> Albert,
>
> Please pull u-boot-tegra/master into arm master. Thanks!
>
> The following changes since commit 026251a5e825d61d3bcdf6dffcc27d15afd574f4:
>    Donghwa Lee (1):
>          EXYNOS: Change bits per pixel value proper for u-boot.
>
> are available in the git repository at:
>
>    git://git.denx.de/u-boot-tegra master

Using ELDK42, a ./MAKEALL arm from u-boot-tegra/master yields 271 build 
issues out of 280 targets -- whereas the same from u-boot-arm/master 
yields 6 build issues.

Most of the build issues seem to have a single cause:

Configuring for pdnb3 board...
In file included from input.c:27:
/home/uboot/src/u-boot-arm/include/input.h:124: warning: 'struct 
stdio_dev' declared inside parameter list
/home/uboot/src/u-boot-arm/include/input.h:124: warning: its scope is 
only this definition or declaration, which is probably not what you want
input.c:414: warning: 'struct stdio_dev' declared inside parameter list
input.c:415: error: conflicting types for 'input_stdio_register'
/home/uboot/src/u-boot-arm/include/input.h:124: error: previous 
declaration of 'input_stdio_register' was here
input.c: In function 'input_stdio_register':
input.c:418: warning: implicit declaration of function 'stdio_register'
input.c:421: error: dereferencing pointer to incomplete type
input.c:424: error: dereferencing pointer to incomplete type

Can you please bisect the commit in your pull request which causes this 
and ask its submitter for a fix?

Alicalement,
Tom Warren - May 4, 2012, 3:36 p.m.
Albert,

On Fri, May 4, 2012 at 12:30 AM, Albert ARIBAUD
<albert.u.boot@aribaud.net> wrote:
> Hi Tom,
>
> Le 03/05/2012 17:56, Tom Warren a écrit :
>
>> Albert,
>>
>> Please pull u-boot-tegra/master into arm master. Thanks!
>>
>> The following changes since commit
>> 026251a5e825d61d3bcdf6dffcc27d15afd574f4:
>>   Donghwa Lee (1):
>>         EXYNOS: Change bits per pixel value proper for u-boot.
>>
>> are available in the git repository at:
>>
>>   git://git.denx.de/u-boot-tegra master
>
>
> Using ELDK42, a ./MAKEALL arm from u-boot-tegra/master yields 271 build
> issues out of 280 targets -- whereas the same from u-boot-arm/master yields
> 6 build issues.
>
> Most of the build issues seem to have a single cause:
>
> Configuring for pdnb3 board...
> In file included from input.c:27:
> /home/uboot/src/u-boot-arm/include/input.h:124: warning: 'struct stdio_dev'
> declared inside parameter list
> /home/uboot/src/u-boot-arm/include/input.h:124: warning: its scope is only
> this definition or declaration, which is probably not what you want
> input.c:414: warning: 'struct stdio_dev' declared inside parameter list
> input.c:415: error: conflicting types for 'input_stdio_register'
> /home/uboot/src/u-boot-arm/include/input.h:124: error: previous declaration
> of 'input_stdio_register' was here
> input.c: In function 'input_stdio_register':
> input.c:418: warning: implicit declaration of function 'stdio_register'
> input.c:421: error: dereferencing pointer to incomplete type
> input.c:424: error: dereferencing pointer to incomplete type
>
> Can you please bisect the commit in your pull request which causes this and
> ask its submitter for a fix?
Sorry about that. The first pull request didn't have the kbd patches,
and I did a full MAKEALL arm on that one. The 2nd request w/the
input/kbd code didn't get a MAKEALL run, obviously. Mea culpa. I'll
find the offending patch and get it fixed.

Thanks,

Tom
>
> Alicalement,
> --
> Albert.