On Thu, Jul 6, 2017 at 7:41 PM, Andy Shevchenko
wrote:
> From: Felipe Balbi
>
> Add Intel Tangier SoC support.
>
> Intel Tangier SoC is a core part of Intel Merrifield platform. For
> example, Intel Edison board is based on such platform.
>
> The patch is based on work done by the following peopl
On Fri, Jul 7, 2017 at 11:59 AM, Simon Glass wrote:
> On 6 July 2017 at 05:41, Andy Shevchenko
> wrote:
>> Add Intel Edison board which is using U-Boot.
>>
>> The patch is based on work done by the following people (in alphabetical
>> order):
>> Aiden Park
>> Dukjoon Jeon
>>
On Fri, Jul 7, 2017 at 12:51 PM, Bin Meng wrote:
> On Thu, Jul 6, 2017 at 1:33 AM, Andy Shevchenko
> wrote:
>> From: Felipe Balbi
>>
>> Add watchdog driver for Intel Tangier based platforms.
>>
>> Signed-off-by: Vincent Tinelli
>> Signed-off-by: Felipe Balbi
>> Signed-off-by: Andy Shevchenko
On Fri, Jul 7, 2017 at 11:59 AM, Simon Glass wrote:
> On 5 July 2017 at 14:56, Andy Shevchenko
> wrote:
>> Some cross-platform drivers rely on this header present.
>> Make it so for x86.
>>
>> It's just a copy'n'paste of arch/arm/include/asm/dma-mapping.h.
>>
>> Suggested-by: Bin Meng
>> Reviewe
On Sat, Jul 22, 2017 at 12:18 PM, Bin Meng wrote:
> From: Andy Shevchenko
>
> Kbuild complains if USB is not selected before any of host driver.
>
> warning: (X86) selects USB_EHCI_HCD which has unmet direct dependencies (USB)
> warning: (X86) selects USB_EHCI_HCD which has unmet direct dependenc
On Mon, Jul 10, 2017 at 10:14 AM, Bin Meng wrote:
> +Simon,
>
> Hi Andy,
>
> On Wed, Jul 5, 2017 at 9:09 PM, Tom Rini wrote:
>> On Wed, Jul 05, 2017 at 08:19:27PM +0800, Bin Meng wrote:
>>> +Marek,
>>>
>>> Hi Andy,
>>>
>>> On Wed, Jul 5, 2017 at 5:36 PM, Andy Shevchenko
>>> wrote:
>>> > On Wed,
From: Andy Shevchenko
Kbuild complains if USB is not selected before any of host driver.
warning: (X86) selects USB_EHCI_HCD which has unmet direct dependencies (USB)
warning: (X86) selects USB_EHCI_HCD which has unmet direct dependencies (USB)
Select it for X86.
Fixes: 64d6ac5bc4a9 ("Kconfig:
This converts the following to Kconfig:
CONFIG_CMD_TRACE
Signed-off-by: Simon Glass
---
cmd/Kconfig | 9 +
include/configs/exynos5-common.h | 1 -
include/configs/sandbox.h| 1 -
scripts/config_whitelist.txt | 1 -
4 files changed, 9 insertions(+), 3
This driver is not used in U-Boot. Drop it and its associated CONFIG
options.
Signed-off-by: Simon Glass
---
drivers/gpio/Makefile| 1 -
drivers/gpio/sx151x.c| 242 ---
scripts/config_whitelist.txt | 3 -
3 files changed, 246 deletions
This converts the following to Kconfig:
CONFIG_CMD_ZBOOT
Signed-off-by: Simon Glass
---
arch/Kconfig | 1 +
cmd/Kconfig | 12
include/configs/x86-common.h | 2 --
scripts/config_whitelist.txt | 1 -
4 files changed, 13 insertions(+), 3 deletio
This converts the following to Kconfig:
CONFIG_CMD_SH_ZIMAGEBOOT
Signed-off-by: Simon Glass
---
arch/sh/Kconfig | 2 ++
arch/sh/lib/Kconfig | 5 +
configs/r2dplus_defconfig | 1 +
configs/sh7785lcr_32bit_defconfig | 1 +
configs/sh7785lcr_defconfig
Most of this is duplicated in Kconfig help. Add some of that which is not,
and remove the help from the README.
Signed-off-by: Simon Glass
---
README | 131 +--
cmd/Kconfig | 4 +-
cmd/fastboot/Kconfig | 2 +
3 files cha
This converts the following to Kconfig:
CONFIG_CMD_TCA642X
Signed-off-by: Simon Glass
---
configs/omap5_uevm_defconfig | 1 +
drivers/gpio/Kconfig | 9 +
include/configs/omap5_uevm.h | 1 -
scripts/config_whitelist.txt | 1 -
4 files changed, 10 insertions(+), 2 deletions(-)
This converts the following to Kconfig:
CONFIG_CMD_SPL_NAND_OFS
Signed-off-by: Simon Glass
---
cmd/Kconfig| 10 ++
configs/am335x_boneblack_defconfig | 1 +
configs/am335x_boneblack_vboot_defconfig | 1 +
configs/am335x_evm_defconfig
Convert this option and enable it in sandbox. Also correct a bug which
was introduced with the block-device driver model conversion.
Signed-off-by: Simon Glass
---
README | 2 --
cmd/Kconfig | 5 +
cmd/Makefile | 1 -
cmd/read.c
This file does not include all commands and has not for a while. Let's
drop it.
Signed-off-by: Simon Glass
---
README | 5 -
include/config_cmd_all.h | 19 ---
2 files changed, 24 deletions(-)
delete mode 100644 include/config_cmd_all.h
diff --git a/READ
This converts the following to Kconfig:
CONFIG_CMD_YAFFS2
Signed-off-by: Simon Glass
---
cmd/Kconfig | 11 +++
cmd/Makefile | 2 +-
fs/Kconfig| 2 ++
fs/yaffs2/Kconfig | 7 +++
4 files changed, 21 insertions(+), 1 deletion(-)
create mode 100644 fs/yaffs2/Kc
This converts the following to Kconfig:
CONFIG_CMD_SF_TEST
Signed-off-by: Simon Glass
---
README | 6 --
arch/Kconfig | 1 +
arch/x86/cpu/baytrail/Kconfig| 1 +
cmd/Kconfig | 11
This converts the following to Kconfig:
CONFIG_CMD_SPL_WRITE_SIZE
Signed-off-by: Simon Glass
---
cmd/Kconfig | 9 +
configs/am43xx_evm_defconfig | 1 +
configs/am43xx_evm_ethboot_defconfig | 1 +
configs/am43xx_evm_usbhost_boot_defconfi
This converts the following to Kconfig:
CONFIG_CMD_UNIVERSE
Signed-off-by: Simon Glass
---
cmd/Kconfig | 6 ++
include/config_cmd_all.h | 1 -
scripts/config_whitelist.txt | 1 -
3 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/cmd/Kconfig b/cmd/Kconfig
This converts the following to Kconfig:
CONFIG_CMD_TSI148
Signed-off-by: Simon Glass
---
cmd/Kconfig | 6 ++
configs/caddy2_defconfig | 1 +
configs/vme8349_defconfig| 1 +
include/configs/vme8349.h| 1 -
scripts/config_whitelist.txt | 1 -
5 files changed, 8
This converts the following to Kconfig:
CONFIG_CMD_TERMINAL
Signed-off-by: Simon Glass
---
cmd/Kconfig | 8
include/config_cmd_all.h | 1 -
include/configs/vct.h| 2 --
scripts/config_whitelist.txt | 1 -
4 files changed, 8 insertions(+), 4 deletions(-)
This is not a valid CONFIG option. Drop it.
Signed-off-by: Simon Glass
---
include/configs/dragonboard410c.h | 1 -
scripts/config_whitelist.txt | 1 -
2 files changed, 2 deletions(-)
diff --git a/include/configs/dragonboard410c.h
b/include/configs/dragonboard410c.h
index 712e11725b..160
This converts the following to Kconfig:
CONFIG_CMD_STRINGS
Signed-off-by: Simon Glass
---
cmd/Kconfig | 8
include/configs/vct.h| 1 -
scripts/config_whitelist.txt | 1 -
3 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/cmd/Kconfig b/cmd/Kconfi
This converts the following to Kconfig:
CONFIG_CMD_THOR_DOWNLOAD
Signed-off-by: Simon Glass
---
cmd/Kconfig | 8
configs/odroid-xu3_defconfig | 1 +
configs/odroid_defconfig | 1 +
configs/origen_defcon
This converts the following to Kconfig:
CONFIG_CMD_SDRAM
Signed-off-by: Simon Glass
---
README | 2 --
cmd/Kconfig | 7 +++
configs/MPC8349ITXGP_defconfig | 1 +
configs/MPC8349ITX_LOWBOOT_defconfig | 1 +
configs/MPC8349ITX_de
This converts the following to Kconfig:
CONFIG_CMD_SAVES
Signed-off-by: Simon Glass
---
README | 1 -
arch/arm/Kconfig | 6 ++
cmd/Kconfig | 6 ++
configs/ethernut5_defconfig | 1 +
configs/microblaze
This converts the following to Kconfig:
CONFIG_CMD_UUID
Signed-off-by: Simon Glass
---
README | 1 -
cmd/Kconfig | 11 +++
scripts/config_whitelist.txt | 1 -
3 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/README b/README
inde
This converts the following to Kconfig:
CONFIG_CMD_ZFS
Signed-off-by: Simon Glass
---
cmd/Kconfig | 11 +++
include/config_cmd_all.h | 1 -
scripts/config_whitelist.txt | 1 -
3 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/cmd/Kconfig b/cmd/Kco
This is no-longer used. Drop it.
Signed-off-by: Simon Glass
---
README | 1 -
include/config_cmd_all.h | 1 -
include/configs/sandbox.h| 2 --
scripts/config_whitelist.txt | 1 -
4 files changed, 5 deletions(-)
diff --git a/README b/README
index f5558eb9f1..cb9540
This converts the following to Kconfig:
CONFIG_CMD_SCSI
Signed-off-by: Simon Glass
---
arch/arm/Kconfig | 3 +++
cmd/Kconfig | 9 +
cmd/Makefile | 2 +-
configs/cl-som-am57x_defconfig| 1 +
configs/controlcenterdc_defcon
This converts the following to Kconfig:
CONFIG_CMD_PCMCIA
Signed-off-by: Simon Glass
---
README | 1 -
cmd/Kconfig | 8
configs/ms7720se_defconfig | 1 +
include/config_cmd_all.h | 1 -
include/configs/dbau1x00.h | 5 -
include/conf
This converts the following to Kconfig:
CONFIG_CMD_SPL
Signed-off-by: Simon Glass
---
arch/arm/Kconfig | 1 +
arch/arm/mach-imx/mx6/Kconfig | 1 +
arch/arm/mach-omap2/am33xx/Kconfig| 1 +
cmd/Kconfig | 9 +
co
This command is not used by any board. It also looks quite similar to the
'iod' and 'iow' commands which use the correct I/O macros.
Drop it.
Signed-off-by: Simon Glass
---
cmd/portio.c | 145 ---
1 file changed, 145 deletions(-)
delete
This converts the following to Kconfig:
CONFIG_CMD_REGINFO
Signed-off-by: Simon Glass
---
README | 1 -
arch/powerpc/cpu/mpc85xx/Kconfig | 11 +++
cmd/Kconfig| 6 ++
.../BSC9132QDS_SDCA
This converts the following to Kconfig:
CONFIG_CMD_REISER
Signed-off-by: Simon Glass
---
cmd/Kconfig | 9 +
include/config_cmd_all.h | 1 -
include/configs/ethernut5.h | 1 -
scripts/config_whitelist.txt | 1 -
4 files changed, 9 insertions(+), 3 deletions(-)
d
It does not seem worth having an option to enable another sub-command in
this legacy driver. Drop this option so that the sub-command is always
available.
Signed-off-by: Simon Glass
---
README | 1 -
drivers/gpio/pca953x.c | 8
include/co
This driver is not used by any board. Drop it.
Signed-off-by: Simon Glass
---
drivers/pcmcia/Makefile | 1 -
drivers/pcmcia/ti_pci1410a.c | 623 ---
2 files changed, 624 deletions(-)
delete mode 100644 drivers/pcmcia/ti_pci1410a.c
diff --git a/dr
This option enables the 'pci enum' command. It is only enabled by a few
board and these have not yet been converted to driver model, which always
enables this command. It seems easiest to just remove this option.
The affected boards can be converted to use driver model for PCI if
needed.
Signed-o
This converts the following to Kconfig:
CONFIG_CMD_PCA953X
Signed-off-by: Simon Glass
---
README | 1 -
arch/powerpc/cpu/mpc83xx/Kconfig| 1 +
configs/cl-som-am57x_defconfig | 1 +
configs/cm_t335_defconfig | 1 +
This converts the following to Kconfig:
CONFIG_CMD_MTDPARTS_SPREAD
Signed-off-by: Simon Glass
---
cmd/Kconfig | 10 ++
configs/sandbox_defconfig| 1 +
scripts/config_whitelist.txt | 1 -
3 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/cmd/Kconfig
This converts the following to Kconfig:
CONFIG_CMD_MTDPARTS
Signed-off-by: Simon Glass
---
README | 1 -
arch/arm/Kconfig| 3 +++
arch/arm/cpu/armv7/vf610/Kconfig| 1 +
arch/powerpc/cpu/mpc83xx/Kconfig
This converts the following to Kconfig:
CONFIG_CMD_MMC_SPI
Signed-off-by: Simon Glass
---
cmd/Kconfig| 9 +
configs/UCP1020_SPIFLASH_defconfig | 1 +
configs/UCP1020_defconfig | 1 +
include/configs/UCP1020.h | 1 -
include/configs/am335x_shc
This converts the following to Kconfig:
CONFIG_CMD_ONENAND
Signed-off-by: Simon Glass
---
cmd/Kconfig | 8
configs/igep0020_defconfig | 1 +
configs/igep0030_defconfig | 1 +
configs/igep0032_defconfig
This series converts the remaining commands (starting from M and ending at
Z) to Kconfig. This completes the Kconfig conversion of commands.
Simon Glass (41):
Convert CONFIG_CMD_MAX6957 to Kconfig
Kconfig: Drop CONFIG_CMD_MEM
Convert CONFIG_CMD_MFSL to Kconfig
Convert CONFIG_CMD_MMC_SPI t
This converts the following to Kconfig:
CONFIG_CMD_MFSL
Signed-off-by: Simon Glass
---
README | 1 -
cmd/Kconfig | 7 +++
configs/microblaze-generic_defconfig | 1 +
include/config_cmd_all.h | 1 -
include/configs/microbl
This converts the following to Kconfig:
CONFIG_CMD_MAX6957
Signed-off-by: Simon Glass
---
board/work-microwave/work_92105/Kconfig | 7 +++
configs/work_92105_defconfig| 1 +
include/configs/work_92105.h| 1 -
scripts/config_whitelist.txt| 1 -
4 files
This is not actually used in U-Boot. Most likely it means
CONFIG_CMD_MEMORY so change all occurences to that.
Signed-off-by: Simon Glass
---
README| 4 ++--
include/configs/stm32f429-discovery.h | 2 --
scripts/config_whitelist.txt | 1 -
3 files changed
On Fri, Jul 21, 2017 at 6:20 PM, Tom Rini wrote:
> On Fri, Jul 21, 2017 at 03:10:14PM -0400, Rob Clark wrote:
>> Signed-off-by: Rob Clark
>> ---
>> arch/arm/Kconfig | 2 +-
>> configs/dragonboard410c_defconfig | 8 +++-
>> 2 files changed, 8 insertions(+), 2 deletions(-)
>>
On Fri, Jul 21, 2017 at 6:18 PM, Tom Rini wrote:
> On Fri, Jul 21, 2017 at 03:10:10PM -0400, Rob Clark wrote:
>
>> Snapdragon is a bit of a funny case, where we want to build the fdt to
>> pass to lk, which loads us, but otherwise want to treat it as OF_BOARD,
>> since lk will patch the fdt (for e
Hi,
I am trying to run the master on a STM32F746 Discovery board [1] by using
stm32f746-disco_defconfig. It was built with gcc-arm-none-eabi-5_4-2016q3
[2] and flashed with OpenOCD [3]. A USB-serial adapter is connected to
USART6_RX and USART6_TX (pins D0 and D1 of the Arduino connector) and
confi
On Fri, Jul 21, 2017 at 03:10:14PM -0400, Rob Clark wrote:
> Signed-off-by: Rob Clark
> ---
> arch/arm/Kconfig | 2 +-
> configs/dragonboard410c_defconfig | 8 +++-
> 2 files changed, 8 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> inde
On Fri, Jul 21, 2017 at 03:10:10PM -0400, Rob Clark wrote:
> Snapdragon is a bit of a funny case, where we want to build the fdt to
> pass to lk, which loads us, but otherwise want to treat it as OF_BOARD,
> since lk will patch the fdt (for example, to insert simple-framebuffer
> node).
>
> Signe
Add OF match entries and quirks for Renesas RCar Gen3 controllers
into the driver. The IP this driver handles is in fact Matsushita
one and in used both in Socionext and Renesas chips.
Signed-off-by: Marek Vasut
Cc: Masahiro Yamada
Cc: Jaehoon Chung
---
drivers/mmc/Kconfig | 7 ---
d
Check if the OF match has any associated data and if so, use those
data as the controller quirks, otherwise fallback to the old method
of reading the controller version register to figure out the quirks.
This allows us to supply controller quirks on controllers which ie.
do not have version registe
The Renesas RCar Gen3 contains the same controller, originally
Matsushita. This patch adds support for handling of the 64bit
FIFO on this controller.
Signed-off-by: Marek Vasut
Cc: Masahiro Yamada
Cc: Jaehoon Chung
---
drivers/mmc/uniphier-sd.c | 84 +---
Add MMC DM and DT probing support into the SH SDHI driver.
This patch abstracts out the common bits of the send command
and set ios functions, so they can be used both by DM and non
DM setups and adds the DM probe support.
Signed-off-by: Marek Vasut
Cc: Hiroyuki Yokoyama
Cc: Nobuhiro Iwamatsu
C
The Renesas RCar Gen3 contains the same controller, originally
Matsushita, yet the register addresses are shifted by 1 to the
left. The whole controller is also 64bit, including the data
FIFOs and RSP registers. This patch adds support for handling
the register IO by shifting the register offset by
This patch prepares the driver to support controller(s) with registers
at locations shifted by constant. Pull out the readl()/writel() from
the driver into separate functions, where the adjustment of the register
offset can be easily contained.
Signed-off-by: Marek Vasut
Cc: Masahiro Yamada
Cc:
Since we now have clock driver for the RCar Gen3 , add support for
enabling the clock into the SH SDHI driver to prevent hacks in the
board files.
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
Cc: Jaehoon Chung
---
drivers/mmc/sh_sdhi.c | 15 +++
1 file changed, 15 insertions(+)
Add support for enabling and disabling the clock using the clock
framework based on the content of OF instead of doing it manually
in the board file.
Signed-off-by: Marek Vasut
Cc: Joe Hershberger
Cc: Nobuhiro Iwamatsu
---
drivers/net/ravb.c | 21 +++--
1 file changed, 19 inser
The command handling in this driver is awful, esp. because the driver
depends on command numbers to determine whether this is APPCMD or not.
Also, handling of command RSP response types is totally wrong.
This patch at least plucks out some of the custom command encoding and
fixes the APPCMD handli
Add support for probing the RAVB Ethernet block from device tree.
Signed-off-by: Marek Vasut
Cc: Joe Hershberger
Cc: Nobuhiro Iwamatsu
---
drivers/net/ravb.c | 37 +
1 file changed, 37 insertions(+)
diff --git a/drivers/net/ravb.c b/drivers/net/ravb.c
index
The order of parameters passed to the phy_connect() was wrong.
Moreover, only PHY address 0 was used. Replace this with code
capable of detecting the PHY address.
Signed-off-by: Marek Vasut
Cc: Joe Hershberger
Cc: Nobuhiro Iwamatsu
---
drivers/net/ravb.c | 7 ---
1 file changed, 4 insertio
Since we now have clock driver on the RCar Gen3 , obtain the clock
configuration using the clock framework functions. In case this
fails, fall back to the original code for pulling the clock config
directly out of OF.
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
---
drivers/serial/serial_sh
Convert the SH Serial to Kconfig using tools/moveconfig.py tool
and a bit of manual adjustment to cater for failed conversions.
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
---
configs/MigoR_defconfig | 1 +
configs/alt_defconfig| 1 +
configs/ap325rxa_defconfig
Since there is now a clock driver for RCar Gen3, enable it on this board.
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
---
configs/r8a7795_ulcb_defconfig | 2 ++
configs/r8a7796_ulcb_defconfig | 2 ++
2 files changed, 4 insertions(+)
diff --git a/configs/r8a7795_ulcb_defconfig b/configs/r8
Since there is now a clock driver for RCar Gen3, enable it on this board.
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
---
configs/r8a7795_salvator-x_defconfig | 2 ++
configs/r8a7796_salvator-x_defconfig | 2 ++
2 files changed, 4 insertions(+)
diff --git a/configs/r8a7795_salvator-x_defc
Add clock driver for the RCar Gen3 R8A7795 and R8A7796 SoCs .
This driver allows reading out the clock configuration set by
previous boot stages and enabling and disabling clock using
the MSTP registers. Setting clock is not supported thus far.
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
--
Since the DTs are now in place, enable OF control so that they get
bundled into the U-Boot.
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
---
arch/arm/mach-rmobile/Kconfig| 1 +
configs/r8a7795_salvator-x_defconfig | 2 +-
configs/r8a7795_ulcb_defconfig | 2 +-
configs/r8a7796_
Allow pasting extra long lines into the U-Boot console on RCar Gen3.
This is OK since we have plenty of resources and it's convenient.
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
---
include/configs/rcar-gen3-common.h | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff -
Add the PFC5 PUEN address and SSI SDATA4 bit offset into the
rcar-gen3-base.h .
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
---
arch/arm/mach-rmobile/include/mach/rcar-gen3-base.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-rmobile/include/mach/rcar-gen3-base.h
b/a
Add initial support for the R8A7795 and R8A7796 based ULCB board.
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
---
arch/arm/mach-rmobile/Kconfig.64 | 6 +
board/renesas/ulcb/Kconfig | 15 +++
board/renesas/ulcb/MAINTAINERS | 7 ++
board/renesas/ulcb/Makefile | 9 ++
boar
This is defined twice in the same file, with the same value, likely
because of some patch merge issue. Pick the uglier one and nuke it.
Signed-off-by: Marek Vasut
Cc: Tom Rini
---
include/flash.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/flash.h b/include/flash.h
index 2a5e13
The long response entry 0..3 LSByte comes from the next response
register MSByte, not from the next response register LSByte. Fix
this to make the driver report correct values in response 136 .
Signed-off-by: Marek Vasut
Cc: Masahiro Yamada
Cc: Jaehoon Chung
---
drivers/mmc/uniphier-sd.c | 14
Signed-off-by: Rob Clark
---
I figured out why I was having no luck getting my usb ethernet dongle
to work ;-)
include/configs/dragonboard410c.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/configs/dragonboard410c.h
b/include/configs/dragonboard410c.h
index 8e742d82ce..47fcc5471b
On Fri, 21 Jul 2017 22:15:37 +0300
Siarhei Siamashka wrote:
> On Wed, 12 Jul 2017 16:34:50 +0200
> Maxime Ripard wrote:
>
> > The -mno-unaligned-access flag used on ARM to prevent GCC from generating
> > unaligned accesses (obviously) will only do so on packed structures.
>
> This statement
able checksum verification disabled
[0.00] ACPI: RSDP 0x000E4500 24 (v02 U-BOOT)
[0.00] ACPI: XSDT 0x000E45E0 3C (v01 U-BOOT U-BOOTBL
20170721 INTL )
[0.00] ACPI: FACP 0x000E4BA0 F4 (v06 U-BOOT U-BOOTBL
20170721 INTL )
[0.
Some platforms might require different approach when filling memory
mappings configuration table.
Allow them to override the common method.
At the same time export acpi_create_mcfg_mmconfig().
Signed-off-by: Andy Shevchenko
---
arch/x86/include/asm/acpi_table.h | 3 +++
arch/x86/lib/acpi_table
If ASL compiler failed by any reason do not produce output C file.
Otherwise sequential run of make will shadow the actual error in ASL,
i.e.
CC board/intel/edison/dsdt.o
board/intel/edison/dsdt.c:1:1: error: unterminated comment
/*
and user has to remove dsdt.c and run make in order to s
In some cases we would need build date as integer value.
Export U_BOOT_BUILD_DATE as %Y%m%d integer value.
Signed-off-by: Andy Shevchenko
---
Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Makefile b/Makefile
index 452596485d..71de5c656c 100644
--- a/Makefile
+++ b/Makefile
@@ -1
In Baytrail and Quark support code acpi_fill_madt() is identical.
Deduplicate its implementation by moving to lib/acpi_tables.c.
At the same time mark acpi_fill_madt() with __weak attribute to keep a
possibility to override it in platform code
Signed-off-by: Andy Shevchenko
---
arch/x86/cpu/ba
If ACPI HW reduced bit in FADT is set we should ignore any ACPI hardware
communications.
Signed-off-by: Andy Shevchenko
---
arch/x86/lib/acpi_table.c | 4
1 file changed, 4 insertions(+)
diff --git a/arch/x86/lib/acpi_table.c b/arch/x86/lib/acpi_table.c
index da6014fb41..3eb101105b 100644
ACPI specification defines FADT fields marked as reserved in U-Boot.
Name these fields in accordance with ACPI specification.
Signed-off-by: Andy Shevchenko
---
arch/x86/include/asm/acpi_table.h | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/arch/x86/include/asm/acpi_t
Patch 1 is a build improvement to have better understanding why DSDT
is not compiled.
Patches 2 and 3 add date of U-Boot build as OEM revision to
the generated tables.
Patch 4 marks fields in FADT in accordance with latest ACPI spec.
Patches 5 and 6 provides a generic "fill" functions that can b
Fill OEM revision field in the tables by U-Boot build date.
Signed-off-by: Andy Shevchenko
---
arch/x86/lib/acpi_table.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/x86/lib/acpi_table.c b/arch/x86/lib/acpi_table.c
index 01d5b6fff0..c6f4d8941c 100644
--- a/arch/x86/lib/acpi_table.c
We shouldn't always change the status to okay. There could be
situations that the esdhc is intentionally disabled in the device
tree.
Signed-off-by: Li Yang
---
drivers/mmc/fsl_esdhc.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c
index 3
On Wed, 12 Jul 2017 16:34:50 +0200
Maxime Ripard wrote:
> The -mno-unaligned-access flag used on ARM to prevent GCC from generating
> unaligned accesses (obviously) will only do so on packed structures.
This statement seems to be poorly worded.
> It seems like gcc 7.1 is a bit stricter than pre
stdin might not be set, which would cause iomux_doenv() to fail
therefore causing probe_usb_keyboard() to fail. Furthermore if we do
have iomux enabled, the sensible thing (in terms of user experience)
would be to simply add ourselves to the list of stdin devices.
Signed-off-by: Rob Clark
---
c
Signed-off-by: Rob Clark
---
common/usb_kbd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/usb_kbd.c b/common/usb_kbd.c
index 72cf78abd4..615f8f88cd 100644
--- a/common/usb_kbd.c
+++ b/common/usb_kbd.c
@@ -654,7 +654,7 @@ static int usb_kbd_remove(struct udevice *dev
Signed-off-by: Rob Clark
---
arch/arm/Kconfig | 2 +-
configs/dragonboard410c_defconfig | 8 +++-
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index f7b44392ac..db6a325ee1 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconf
Signed-off-by: Rob Clark
---
include/configs/dragonboard410c.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/configs/dragonboard410c.h
b/include/configs/dragonboard410c.h
index 11c842d952..8e742d82ce 100644
--- a/include/configs/dragonboard410c.h
+++ b/include/confi
Snapdragon is a bit of a funny case, where we want to build the fdt to
pass to lk, which loads us, but otherwise want to treat it as OF_BOARD,
since lk will patch the fdt (for example, to insert simple-framebuffer
node).
Signed-off-by: Rob Clark
---
Makefile | 6 ++
1 file changed, 6 inserti
If lk lights up display and populates simple-framebuffer node, it will
also setup a reserved-memory node (needed by simplefb on linux). But
it isn't clever enough to cope when the reserved-memory node is not
present.
Signed-off-by: Rob Clark
---
arch/arm/dts/dragonboard410c.dts | 7 ++-
1 f
lk patches the fdt to set some device's MAC addresses and more
importantly to patch in the simple-framebuffer node that we want u-boot
to see.
Signed-off-by: Rob Clark
---
board/qualcomm/dragonboard410c/Makefile | 1 +
board/qualcomm/dragonboard410c/dragonboard410c.c | 8 ++
board
Rob Clark (5):
Makefile: also build fdt for snapdragon
db410c: use fdt passed from lk
db410c: add reserved-memory node to dts
db410c: on aarch64 the fdtfile is in per-vendor subdirectory
db410c: config updates
Makefile | 6
arch/arm/Kconfig
Not really qcom specific, but for now qcom/lk is the one firmware that
is (afaiu) setting up the appropriate dt node for pre-configured
display. Uses the generic simple-framebuffer DT bindings so this should
be useful on other platforms.
Signed-off-by: Rob Clark
---
drivers/video/Kconfig| 1
The use-case is that the thing that loaded u-boot already put a splash
image on screen. And we want to preserve that until grub boot menu
takes over.
Signed-off-by: Rob Clark
---
drivers/video/Kconfig| 8
drivers/video/cfb_console.c | 3 ++-
drivers/video/video-uclass.c | 4 ++
This is the node that would contain, for example, the framebuffer setup
by an earlier stage.
Signed-off-by: Rob Clark
---
drivers/core/root.c | 22 +-
1 file changed, 21 insertions(+), 1 deletion(-)
diff --git a/drivers/core/root.c b/drivers/core/root.c
index d691d6ff94..5e6
1/3 unchanged, 2/3 updated to use fdtdec_get_addr_size_auto_parent()
to properly parse reg node based on #address-cells and #size-cells,
and 3/3 updated to change kconfig name and slight cleanup.
Rob Clark (3):
dm: core: also parse chosen node
video: simplefb
video: add config option to skip
1 - 100 of 180 matches
Mail list logo