Are any OMAP35xx boards/systems working since this commit:
"arm: omap: Unify get_device_type() function"
http://git.denx.de/?p=u-boot.git;a=commit;h=00bbe96ebabbc83777cd8d6c6fd2791c5c8cf619
I have an OMAP3EVM (3530) system which stopped booting, with the default
config, at this commit. The com
Hi Tom,
The following changes since commit 19d1f1a2f3ccfbf85125150f7876ce22714b38bd:
Merge git://git.denx.de/u-boot-socfpga (2017-07-29 11:44:08 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-x86.git
for you to fetch changes up to 55f228b07e2d84938a88737445441e736d
On Sat, Jul 29, 2017 at 05:26:45PM +0200, Marek Vasut wrote:
> The following changes since commit 26722335253a9fa384ceb423419254cb00d0def1:
>
> rockchip: puma-rk3399: remove duplicate code (merge artifact)
> (2017-07-27 14:59:04 +0200)
>
> are available in the git repository at:
>
> git://g
On Sat, Jul 29, 2017 at 05:27:19PM +0200, Marek Vasut wrote:
> The following changes since commit 609bf924117950b88987a5fa477acf1239bfdbc1:
>
> Convert CONFIG_ENV_IS_IN_ONENAND to Kconfig (2017-07-25 21:34:39 -0400)
>
> are available in the git repository at:
>
> git://git.denx.de/u-boot-so
We want to use fsl_esdhc_init() with driver model. Move the mmc_init() out
of this function so that we can use it for our common init.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/mmc/fsl_esdhc.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/d
With driver model we will not use mmc->priv to access driver-private data.
To accomodate this, update internal functions so that we can pass the
private data directly. This will allow the caller to obtain it as it
prefers.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/mmc/fsl_esdh
This driver does not currently support CONFIG_DM_MMC_OPS. Update it to
fully convert it to driver model.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/mmc/fsl_esdhc.c | 69 +
1 file changed, 64 insertions(+), 5 deletions(-)
diff --g
Update this driver to support a live device tree.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/mmc/fsl_esdhc.c | 16 +++-
1 file changed, 7 insertions(+), 9 deletions(-)
diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c
index 9796b174c8..46707c6def 10064
When CONFIG_BLK is enabled our weak board_mmc_init() will not be called.
Since there is no clock driver for MX6 yet, we must manually enable the
clocks.
Signed-off-by: Simon Glass
---
Changes in v2: None
board/compulab/cm_fx6/cm_fx6.c | 11 +++
1 file changed, 11 insertions(+)
diff --
All boards which use DM_MMC have now been converted to use DM_MMC_OPS.
Drop the option and good riddance.
Signed-off-by: Simon Glass
---
Changes in v2:
- Rebase to u-boot-mmc/master
arch/arm/Kconfig | 2 --
drivers/mmc/Kconfig | 39 +-
Now that the driver supports it, move these boards over to use driver
model fully for MMC.
Signed-off-by: Simon Glass
---
Changes in v2: None
configs/imx6q_logic_defconfig | 1 -
configs/imx6qdl_icore_mmc_defconfig | 1 -
configs/imx6qdl_icore_rqs_defconfig | 1 -
confi
Since esdhc_reset() can fail it should return an error code. Update this
and also adjust the timeout mechanism to use get_timer(), which is a more
common approach.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/mmc/fsl_esdhc.c | 22 +++---
1 file changed, 15 inserti
Add this file so we can use device-tree control for cm_fx6. It comes from
linux 4.12.
Signed-off-by: Simon Glass
---
Changes in v2: None
arch/arm/dts/Makefile | 1 +
arch/arm/dts/imx6q-cm-fx6.dts | 115 ++
2 files changed, 116 insertions(+)
cr
Hi there,
I recently installed mainline u-boot on my odroid c2, that is latest
release which is 2017.07. However I'm having a small issue and I don't
know if it should be reported here or not, please feel free to correct
me if not. I'm noticing that once it's installed, if I interrupt
automati
Since esdhc_init_common() can fail it should return an error code. Update
this and also adjust the timeout mechanism to use get_timer(), which is a
more common approach.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/mmc/fsl_esdhc.c | 9 ++---
1 file changed, 6 insertions(+), 3
Add support for using driver model for SATA with the cm_fx6 board. The old
code remains for now to permit testing.
Signed-off-by: Simon Glass
---
Changes in v2: None
board/compulab/cm_fx6/cm_fx6.c | 69 ++
1 file changed, 69 insertions(+)
diff --git a/b
Update this driver to support driver model. This involves implementing the
AHCI operations and reusing existing common code.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/ata/dwc_ahsata.c | 113 +++
include/dwc_ahsata.h | 16 +++
Driver model wants to use the core functions in this file but accesses the
driver-private data in a different way. Move the code into new 'common'
functions and set up stubs to call these. Also sort the operations into
alphabetical order for consistency.
Signed-off-by: Simon Glass
---
Changes in
Driver model wants to use the core functions in this file but accesses the
uclass-private data in a different way. Move the code into new 'common'
functions and set up stubs to call these.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/ata/dwc_ahsata.c | 236 +++
With driver model sata_dev_desc[] does not exist. We still want to use the
common code of this driver so update it to pass struct ahci_uc_priv * to
each of these functions, instead of an integer which must be looked up in
sata_dev_desc[].
Signed-off-by: Simon Glass
---
Changes in v2: None
driv
This should depend on SPL_DM_MMC, not SPL_DM. For it and update the only
affected board's defconfig.
Signed-off-by: Simon Glass
---
Changes in v2: None
configs/Linksprite_pcDuino3_defconfig | 3 ---
drivers/mmc/Kconfig | 2 +-
2 files changed, 1 insertion(+), 4 deletions(-)
Rename dwc_ahsata.h to indicate that it is a private header file. We plan
to create another header with some public functions.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/ata/dwc_ahsata.c| 2 +-
drivers/ata/{dwc_ahsata.h => dwc_ahsata_priv.h} | 6 +++---
At present the AHCI uclass is just a shell and we still use the global
functions to access SATA. Fix this by adding operations to the uclass.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/ata/sata.c | 37 +
include/ahci.h | 54 ++
Most of the casts in this driver are not necessary. With driver model we
do not cast from void *. Update the driver to follow this rule.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/ata/dwc_ahsata.c | 60 ++--
1 file changed, 22 inserti
Instead of having separate code in the 'ide' command, adjust it to use
the common function.
Signed-off-by: Simon Glass
---
Changes in v2: None
cmd/ide.c | 107 ++
1 file changed, 3 insertions(+), 104 deletions(-)
diff --git a/cmd/ide
With driver model we want to store the mmc and configuration structure in
platform data. Set up structure up and use it for non-DM as well.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/mmc/fsl_esdhc.c | 61 +++--
1 file changed, 39 inse
Enable driver model for MMC (including BLK), SATA and USB. Note that USB
does not yet work correctly since the nodes are disabled. Hopefully this
can be resolved by the maintainer.
Signed-off-by: Simon Glass
---
Changes in v2: None
configs/cm_fx6_defconfig | 8 +++-
drivers/mmc/fsl_esdhc.c
Instead of having separate code in the 'sata' command, adjust it to use
the common function.
Signed-off-by: Simon Glass
---
Changes in v2: None
cmd/sata.c | 83 +-
1 file changed, 1 insertion(+), 82 deletions(-)
diff --git a/cmd/sata
Instead of having separate code in the 'usb' command, adjust it to use
the common function.
Signed-off-by: Simon Glass
---
Changes in v2: None
cmd/usb.c | 111 ++
1 file changed, 3 insertions(+), 108 deletions(-)
diff --git a/cmd/usb
This function is not called from anywhere. Drop it.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/ata/dwc_ahsata.c | 43 ---
1 file changed, 43 deletions(-)
diff --git a/drivers/ata/dwc_ahsata.c b/drivers/ata/dwc_ahsata.c
index b587ec4492..
This function will not be used with driver model and it relates to the
other exported functions. Move it down next to them.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/ata/dwc_ahsata.c | 66
1 file changed, 33 insertions(+), 33 de
Update the sata call to work with driver model.
Signed-off-by: Simon Glass
---
Changes in v2: None
arch/arm/mach-imx/cpu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx/cpu.c b/arch/arm/mach-imx/cpu.c
index 9e83b4221e..1017eb84f9 100644
--- a/arch/arm/ma
We should explain which flags are used for this function. Update the
comment to indicate this.
Signed-off-by: Simon Glass
---
Changes in v2: None
include/dm/device-internal.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/dm/device-internal.h b/include/dm/device-in
With driver model this becomes uclass-private data. Rename the parameter
varable to reflect this.
With the driver model conversion we will not have any exported functions.
Move all exported functions to be together at the end of the file so that
we can deal with them in one #ifdef block.
Signed-o
With the driver model conversion we will not have any exported functions.
Move all exported functions to be together at the end of the file so that
we can deal with them in one #ifdef block.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/ata/dwc_ahsata.c | 124 +
Sort the header file inclusions into the correct order.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/ata/dwc_ahsata.c | 13 ++---
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/drivers/ata/dwc_ahsata.c b/drivers/ata/dwc_ahsata.c
index 63e7b7d7a1..b6915d217b
This returns 'ret' but the value is always zero. Update it to simply
return 0, for clarity.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/block/blk-uclass.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/block/blk-uclass.c b/drivers/block/blk-uclass.c
Instead of having separate code in the 'scsi' command, adjust it to use
the common function.
Signed-off-by: Simon Glass
---
Changes in v2: None
cmd/scsi.c | 79 +++---
1 file changed, 3 insertions(+), 76 deletions(-)
diff --git a/cmd/scs
There is a strange &(var) coding style in this driver. Adjust it to use
&var instead, which is more usual.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/ata/dwc_ahsata.c | 98
1 file changed, 48 insertions(+), 50 deletions(-)
diff
Some functions are not called from outside this file. Make these static
to make that obvious.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/ata/dwc_ahsata.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/ata/dwc_ahsata.c b/drivers/ata/dwc_
Update this command to support driver model. This has a different way of
starting and stopping SATA.
Signed-off-by: Simon Glass
---
Changes in v2: None
cmd/sata.c | 95 --
common/splash_source.c | 2 +-
include/sata.h | 5 ++
This variable is set but never used. Drop it.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/ata/dwc_ahsata.c | 4
1 file changed, 4 deletions(-)
diff --git a/drivers/ata/dwc_ahsata.c b/drivers/ata/dwc_ahsata.c
index 8056bc94a3..4b89a8b788 100644
--- a/drivers/ata/dwc_ahsata.
We cannot call dm_scan_fdt_dev() with of-platdata since there is no device
tree. Fix this with an #if check.
Fixes: 3be9a37 (dm: syscon: scan sub-nodes of the syscon node)
Signed-off-by: Simon Glass
---
Changes in v2:
- Add new patch to avoid calling dm_scan_fdt_dev() with of-platdata
drivers/
Most block devices provide a command (e.g. 'sata', 'scsi', 'ide') and
these commands generally do the same thing. This makes it harder to
maintain this code and keep it consistent.
We now have a block device interface which is either implemented by driver
model (when CONFIG_BLK is enabled) or with
Add a function to find the name of an interface type (e.g. "sata", "scsi")
from the interface type enum.
This is useful for generic code (not specific to SATA or SCSI, for
example) that wants to display the type of interface it is dealing with.
Signed-off-by: Simon Glass
---
Changes in v2: None
Note: This series is rebased to u-boot-mmc/master with a fix-up patch
for a broken patch there.
This series completes the conversion of SATA to driver model.
Previous work converted SCSI including the SCSI-based SATA driver. This
series converts the AHCI uclass itself, adding operations and adjus
> From: Tom Rini
> Date: Sat, 29 Jul 2017 11:43:21 -0400
>
> Otherwise we get a warning about assignment about making a pointer from
> int without a cast.
That (uintptr_t *) cast makes no sense. Either leave the member as a
"void *" and use a (void *) cast, or change it to uintptr_t and use a
(
Otherwise we get a warning about assignment about making a pointer from
int without a cast.
Cc: Alexander Graf
Signed-off-by: Tom Rini
---
lib/efi_loader/efi_gop.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/efi_loader/efi_gop.c b/lib/efi_loader/efi_gop.c
index 8
The following changes since commit 609bf924117950b88987a5fa477acf1239bfdbc1:
Convert CONFIG_ENV_IS_IN_ONENAND to Kconfig (2017-07-25 21:34:39 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-socfpga.git master
for you to fetch changes up to 9af91b7c4041a455de5f3e3da4e
The following changes since commit 26722335253a9fa384ceb423419254cb00d0def1:
rockchip: puma-rk3399: remove duplicate code (merge artifact)
(2017-07-27 14:59:04 +0200)
are available in the git repository at:
git://git.denx.de/u-boot-usb.git master
for you to fetch changes up to b108d8a0de3dd
On 07/29/2017 05:25 PM, Bin Meng wrote:
> Hi Marek,
>
> On Fri, Jul 21, 2017 at 8:36 PM, Marek Vasut wrote:
>> On 07/21/2017 02:34 PM, Bin Meng wrote:
>>> Hi Marek,
>>>
>>> On Fri, Jul 21, 2017 at 6:06 PM, Marek Vasut wrote:
On 07/21/2017 12:04 PM, Bin Meng wrote:
> Hi Marek,
>
Hi Marek,
On Fri, Jul 21, 2017 at 8:36 PM, Marek Vasut wrote:
> On 07/21/2017 02:34 PM, Bin Meng wrote:
>> Hi Marek,
>>
>> On Fri, Jul 21, 2017 at 6:06 PM, Marek Vasut wrote:
>>> On 07/21/2017 12:04 PM, Bin Meng wrote:
Hi Marek,
On Fri, Jul 21, 2017 at 4:56 PM, Marek Vasut wrote:
On Sat, Jul 29, 2017 at 12:53:36PM +0300, Denis Pynkin wrote:
> 28.07.2017 00:26, Joe Hershberger wrote:
>
> >>>PXE boot is broken with GCC 7.1 due option '-fstore-merging' enabled
> >>>by default for '-O2':
>
> >>So, what I've been wondering, and others have poked me about (who can
> >>chime in
28.07.2017 00:26, Joe Hershberger wrote:
PXE boot is broken with GCC 7.1 due option '-fstore-merging' enabled
by default for '-O2':
So, what I've been wondering, and others have poked me about (who can
chime in if they like), how is the kernel not also tripping over this?
Great question.
28.07.2017 00:26, Joe Hershberger wrote:
PXE boot is broken with GCC 7.1 due option '-fstore-merging' enabled
by default for '-O2':
So, what I've been wondering, and others have poked me about (who can
chime in if they like), how is the kernel not also tripping over this?
Great question.
All events of type EVT_SIGNAL_EXIT_BOOT_SERVICES have to be
notified when ExitBootServices is invoked.
Signed-off-by: Heinrich Schuchardt
---
lib/efi_loader/efi_boottime.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c
i
56 matches
Mail list logo