The operation should be OR, not BIT OR.
Signed-off-by: Peng Fan
Cc: Heiko Schocher
Cc: Stefano Babic
---
drivers/i2c/mxc_i2c.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c
index 205274e..79228c2 100644
--- a/drivers/i2c
AM574x-idk has the following DDR parts attached:
EMIF1: MT41K256M16HA (1GB with ECC)
EMIF2: MT41K256M16HA (1GB without ECC)
Enabling 2GB DDR without interleaving between EMIFs. And
enabling ECC on EMIF1.
Signed-off-by: Lokesh Vutla
Signed-off-by: Krunal Bhargav
---
board/ti/am57xx/board.c | 47
Select dtb name for am574x-idk and dra76x evm with acd package.
Signed-off-by: Lokesh Vutla
---
include/environment/ti/boot.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/include/environment/ti/boot.h b/include/environment/ti/boot.h
index 799d9840aa..0a2342061c 100644
-
Keystone and DRA7 based TI platforms uses same
EMIF memory controller. cmd_ddr3 command is customized
for keystone platforms, make it generic so that it can
be re used for DRA7 platforms.
Signed-off-by: Lokesh Vutla
---
arch/arm/include/asm/emif.h| 2 +
arch/arm/mach-keyst
Update prcm, voltages and pinmux support for am574x-idk.
Signed-off-by: Lokesh Vutla
---
arch/arm/include/asm/omap_common.h | 1 +
board/ti/am57xx/board.c| 9 ++---
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/arch/arm/include/asm/omap_common.h
b/arch/arm/inclu
From: Tero Kristo
Add support for simple memory fill operation. With large data sizes
it is much faster to use EDMA for memory fill rather than CPU.
Signed-off-by: Tero Kristo
---
arch/arm/include/asm/ti-common/ti-edma3.h | 2 ++
drivers/dma/ti-edma3.c| 55
Update the board pinmux for AM574x-IDK board using latest PMT[1] and the
board files named am574x_idk_v1p3b_sr2p0 that were auto generated on
13th October, 2017 by "Ahmad Rashed ".
Signed-off-by: Lokesh Vutla
---
board/ti/am57xx/board.c| 7 +-
board/ti/am57xx/mux_data.h | 299 +
am574x-idk board is similar to am572x-idk with am574x SoC.
This series adds support for this board.
Changes since v1:
- Moved cmd_ddr3 to cmd/ti/
Lokesh Vutla (12):
arm: emif-common: Add ecc specific emif registers
arm: emif-common: Add suppport for enabling ECC
arm: keystone: Move cmd_ddr3
DRA762 comes in two packages:
- ABZ: Pin compatible package with DRA742 with DDR@1333MHz
- ACD: High performance(OPP_PLUS) package with new IPs
Both the above packages uses the same IDCODE hence needs to
differentiate using package information in DIE_ID_2.
Add support for the same. Also update clo
Add initial dts support for am574x-idk
Signed-off-by: Lokesh Vutla
---
arch/arm/dts/Makefile | 1 +
arch/arm/dts/am572x-idk-common.dtsi | 100 ++
arch/arm/dts/am572x-idk.dts | 93 +--
arch/arm/dts/am57
Enable CMD_DDR3 on all am57xx based platforms.
Signed-off-by: Lokesh Vutla
---
arch/arm/mach-omap2/omap5/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-omap2/omap5/Kconfig
b/arch/arm/mach-omap2/omap5/Kconfig
index 8c1730a6be..deb9873cc5 100644
--- a/arch/arm/mach-omap
For data integrity, the EMIF1 supports ECC on the data
written or read from the SDRAM. Add support for enabling
ECC support in EMIF1.
Signed-off-by: Lokesh Vutla
Signed-off-by: Krunal Bhargav
---
arch/arm/include/asm/emif.h | 31 ++
arch/arm/mach-omap2/emif-common.c | 89 +
am574x-idk is a board based on TI's am574 processor
Add eeprom support.
Signed-off-by: Lokesh Vutla
---
board/ti/am57xx/board.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c
index f79aefd400..082346d2b1 100644
--- a/board/ti/am57xx/boa
This is a slight difference in emif_ddr_phy_status register offsets for
DRA7xx EMIF and older versions. And ecc registers are available only
in DRA7xx EMIC. Add support for this difference and ecc registers.
Signed-off-by: Lokesh Vutla
---
arch/arm/include/asm/emif.h | 17 -
Move cmd_ddr3 to cmd/ti in order to make
it build for non-keystone TI platforms.
Signed-off-by: Lokesh Vutla
---
arch/arm/mach-keystone/Kconfig| 4
arch/arm/mach-keystone/Makefile | 1 -
cmd/Kconfig | 2 ++
cmd/Makefile
Hi Lukas,
Sorry for the delayed response.
On Tuesday 19 December 2017 03:04 PM, Lukasz Majewski wrote:
> Hi Lokesh,
>
>> Hi Lukas,
>>
>> On Monday 18 December 2017 04:46 PM, Lukasz Majewski wrote:
>>> Hi Lokesh,
>>>
AM574x-idk has the following DDR parts attached:
EMIF1: MT41K256M16
The following version fixes some nasty compiler warnings present in
the previous version. Sorry about it.
>>> just to follow up on the db820c and db410c patchset that I posted a
>>> couple
>>> of weeks ago (v1 and v2)
>>> any feedback will be greatly appreciated!
>>
>> Can you also r
Total size of relocated u-boot is greater than
current value of 512KB, increase this to 1MB.
Signed-off-by: Ashish Kumar
---
v2:
Correct commit msg 512KB
include/configs/ls1088a_common.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/configs/ls1088a_common.h b/inclu
Hi Ken,
On 26 December 2017 at 03:38, Ken Ma wrote:
> Hi Simon & Joe
>
> I've cc the mail, thanks!
>
> BTW, I've implemented Marvell MDIO in plain MDIO APIs as other vendors.
>
> Thanks a lot for your kind help!
> Yours,
> Ken
>
> -Original Message-
> From: s...@google.com [mailto:s...@go
On 5 December 2017 at 03:09, Andre Przywara wrote:
> On 28/11/17 10:24, Maxime Ripard wrote:
>> Since we can have multiple environments now, it's better to provide a
>> decent indication on what environments were tried and which were the one to
>> fail and succeed.
>>
>> Signed-off-by: Maxime Ripa
Hi Mario,
On 20 December 2017 at 07:31, Mario Six wrote:
> From: Mario Six
>
> To debug device tree issues involving 32- and 64-bit platforms, it is useful
> to
> have a generic 64-bit platform available.
>
> Add a version of the sandbox that uses 64-bit integers for its physical
> addresses as
On 28 November 2017 at 03:24, Maxime Ripard
wrote:
> Since we'll soon have support for multiple environments, the environment
> saving message might end up being printed multiple times if the higher
> priority environment cannot be used.
>
> That might confuse the user, so let's make it explicit i
Hi Quentin,
On 22 December 2017 at 14:13, Quentin Schulz
wrote:
> This patch series is based on this[1] patch series from Maxime.
>
> This is an RFC. It's been only tested in a specific use case on a custom
> i.MX6 board. It's known to break compilation on a few boards.
>
> I have a use case wher
On 28 November 2017 at 03:24, Maxime Ripard
wrote:
> Now that we have everything in place to support multiple environment, let's
> make sure the current code can use it.
>
> The priority used between the various environment is the same one that was
> used in the code previously.
>
> At read / init
On 24 December 2017 at 05:14, Heinrich Schuchardt wrote:
> struct driver_info has no field 'flags'.
>
> Signed-off-by: Heinrich Schuchardt
> ---
> include/dm/platdata.h | 1 -
> 1 file changed, 1 deletion(-)
Reviewed-by: Simon Glass
___
U-Boot mailin
Hi Maxime,
On 28 November 2017 at 03:24, Maxime Ripard
wrote:
> Since we want to have multiple environments, we will need to initialise
> all the environments since we don't know at init time what drivers might
> fail when calling load.
>
> Let's init all of them, and only consider for further op
Hi Philipp,
On 20 December 2017 at 03:06, Philipp Tomsich
wrote:
> The 't208xrdb t4qds t102*' job is close to the time limit and
> sometimes fails, so this splits it into 3 separate jobs.
Should buidman have a time limit parameter? Then it could build for
(say) and hour and exit after that, writ
On 19 December 2017 at 18:30, Stephen Warren wrote:
> From: Stephen Warren
>
> 64-bit Tegra don't use SPL, and soon won't define CONFIG_SPL_TEXT_BASE
> when building. Fix the binman .dts file so that it doesn't use undefined
> values.
>
> Signed-off-by: Stephen Warren
> ---
> arch/arm/dts/tegra
Hi Maxime,
On 28 November 2017 at 03:24, Maxime Ripard
wrote:
> Allow boards and architectures to override the default environment lookup
> code by overriding env_get_location.
>
> Reviewed-by: Lukasz Majewski
> Signed-off-by: Maxime Ripard
> ---
> env/env.c | 2 +-
> 1 file changed, 1 inserti
On 28 November 2017 at 03:24, Maxime Ripard
wrote:
> Now that we have everything in place in the code, let's allow to build
> multiple environments backend through Kconfig.
>
> Reviewed-by: Lukasz Majewski
> Signed-off-by: Maxime Ripard
> ---
> env/Kconfig | 65 ++---
Hi Maxime,
On 28 November 2017 at 03:24, Maxime Ripard
wrote:
> In preparation for the multiple environment support, let's introduce two
> new parameters to the environment driver lookup function: the priority and
> operation.
>
> The operation parameter is meant to identify, obviously, the opera
On 28 November 2017 at 03:24, Maxime Ripard
wrote:
>
> The nvedit command is the only user of env_driver_lookup_default outside of
> the environment code itself, and it uses it only to print the environment
> it's about to save to during env save.
>
> As we're about to rework the environment to be
On 28 November 2017 at 03:24, Maxime Ripard
wrote:
> The env_driver_lookup_default and env_get_default_location functions are
> about to get refactored to support loading from multiple environment.
>
> The name is therefore not really well suited anymore. Drop the default
> part to be a bit more r
On Thu, Dec 28, 2017 at 02:24:08PM -0500, Tom Rini wrote:
> On Thu, Dec 28, 2017 at 01:21:05PM -0600, Derald D. Woods wrote:
> > On Thu, Dec 28, 2017 at 01:43:43PM -0500, Tom Rini wrote:
> > > On Thu, Dec 28, 2017 at 11:48:29AM -0600, Derald D. Woods wrote:
> > > > On Thu, Dec 28, 2017 at 10:37:18A
Hi,
> Missed that mail :(
>
> it's old board, I have no source code for that customized version of
> bootloader.
>
> I have commands
> loadb - load binary file over serial line (kermit mode)
> loads - load S-Record file over serial line
> loady - load binary file over serial line (ymodem
Commit b6251db8c3f0 ("Kconfig: Introduce USE_BOOTCOMMAND and migrate
BOOTCOMMAND") removed CONFIG_BOOTCOMMAND option from
include/configs/am335x_evm.h file. But that option wasn't added to
defconfig files for BeagleBone Black board.
Because of this we can't boot Linux from SD card using just
"run
Add some notes about recent new features.
Signed-off-by: Simon Glass
---
doc/README.log | 27 +++
1 file changed, 27 insertions(+)
diff --git a/doc/README.log b/doc/README.log
index f653fe7d79..54d9a8e1b9 100644
--- a/doc/README.log
+++ b/doc/README.log
@@ -68,6 +68,19
At present this just outputs the message. Update it to output whatever the
format requests.
Signed-off-by: Simon Glass
---
common/log_console.c | 27 ++-
test/py/tests/test_log.py | 4 ++--
2 files changed, 28 insertions(+), 3 deletions(-)
diff --git a/common/log_
Add a 'log format' command which can display or change the log output
format. This is useful for changing how much information is displayed. The
ordering of the fields is fixed.
Signed-off-by: Simon Glass
---
cmd/log.c | 43 +++
1 file changed, 43 inserti
Add a 'log rec' command which allows a log record to be manually output.
This is useful for scripts which want full control over what is logged. It
also permits easy testing of the log system.
Signed-off-by: Simon Glass
---
cmd/log.c | 41 -
1 file change
When functions return an error it propagates up the stack to the point
where it is reported. Often the error code provides enough information
about the root cause of the error that this is obvious what went wrong.
However in some cases the error may be hard to trace. For example if a
driver uses s
Category and level both use an enum for their ID values. Add functions to
convert these IDs to strings and vice versa. This will allow the log to
output the strings instead of the (inscrutable) values.
At the same time, add a new 'driver-model' category, to cover core
driver-model functions and fi
It is useful to be able to control the output format of log records on the
console. As a starting point, add definitions for controlling which
elements of the log record are displayed. Use function and message as the
default, since these are the most useful fields.
Signed-off-by: Simon Glass
---
Add a test of the 'log format' and 'log rec' commands. This also covers
things like log_get_cat_by_name(), since they are used by these commands.
Fix a style nit in the tests also.
Signed-off-by: Simon Glass
---
test/py/tests/test_log.py | 28 +++-
1 file changed, 27 ins
Each uclass has a driver name which we can use to look up the uclass. This
is useful for logging, where the uclass ID is used as the category.
Add a function to handle this, as well as a test.
Signed-off-by: Simon Glass
---
drivers/core/uclass.c | 14 ++
include/dm/uclass.h | 8
This adds a few more features to the log system:
- 'log format' command to control the log output format
- 'log rec' command to output a log record manually
- log_ret() function to log error-return values
With these we have more control over how log records are output as well
as the ability to lo
On Thu, Dec 28, 2017 at 02:24:08PM -0500, Tom Rini wrote:
> On Thu, Dec 28, 2017 at 01:21:05PM -0600, Derald D. Woods wrote:
> > On Thu, Dec 28, 2017 at 01:43:43PM -0500, Tom Rini wrote:
> > > On Thu, Dec 28, 2017 at 11:48:29AM -0600, Derald D. Woods wrote:
> > > > On Thu, Dec 28, 2017 at 10:37:18A
On Thu, Dec 28, 2017 at 01:21:05PM -0600, Derald D. Woods wrote:
> On Thu, Dec 28, 2017 at 01:43:43PM -0500, Tom Rini wrote:
> > On Thu, Dec 28, 2017 at 11:48:29AM -0600, Derald D. Woods wrote:
> > > On Thu, Dec 28, 2017 at 10:37:18AM -0500, Tom Rini wrote:
> > > > On Thu, Dec 28, 2017 at 01:25:43A
On Thu, Dec 28, 2017 at 01:43:43PM -0500, Tom Rini wrote:
> On Thu, Dec 28, 2017 at 11:48:29AM -0600, Derald D. Woods wrote:
> > On Thu, Dec 28, 2017 at 10:37:18AM -0500, Tom Rini wrote:
> > > On Thu, Dec 28, 2017 at 01:25:43AM -0600, Derald D. Woods wrote:
> > >
> > > > This commit keeps the 'fdt
There is no need to export these functions and data structures externally.
Make them all static now.
Signed-off-by: Bryan O'Donoghue
Cc: Stefano Babic
Cc: Fabio Estevam
Cc: Peng Fan
Cc: Albert Aribaud
Cc: Sven Ebenfeld
Cc: George McCollister
Cc: Breno Matheus Lima
---
arch/arm/mach-imx/ha
Add a hab_rvt_check_target() step to authenticate_image() as a sanity
check for the target memory region authenticate_image() will run over,
prior to making the BootROM authentication callback itself.
This check is recommended by the HAB documentation so it makes sense to
adhere to the guidance an
The hab_rvt_check_target() callback according to the HABv4 documentation:
"This function reports whether or not a given target region is allowed for
either peripheral configuration or image loading in memory. It is intended
for use by post-ROM boot stage components, via the ROM Vector Table, in
The current code disjoins an entire block of code on hab_entry pass/fail
resulting in a large chunk of authenticate_image being offset to the right.
Fix this by checking hab_entry() pass/failure and exiting the function
directly if in an error state.
Signed-off-by: Bryan O'Donoghue
Cc: Stefano B
This patch implements the basic callback hooks for
hab_rvt_check_failsafe for BootROM code using the older BootROM address
layout - in my test case the i.MX7. Code based on new BootROM callbacks
will just do nothing and there's definitely a TODO to implement that extra
functionality on the alternat
This patch implements the basic callback hooks for hab_rvt_check_target()
for BootROM code using the older BootROM address layout - in my test case
the i.MX7. Code based on new BootROM callbacks will just have HAB_SUCCESS
as a result code. Adding support for the new BootROM callbacks is a TODO.
Si
CSF_PAD_SIZE should be defined in hab.h, move it to that location now.
Signed-off-by: Bryan O'Donoghue
Cc: Stefano Babic
Cc: Fabio Estevam
Cc: Peng Fan
Cc: Albert Aribaud
Cc: Sven Ebenfeld
Cc: George McCollister
Cc: Breno Matheus Lima
---
arch/arm/include/asm/mach-imx/hab.h | 1 +
arch/ar
The IVT is a self-describing structure which contains a self field. The
self field is the absolute physical base address the IVT ought to be at in
memory. Use the IVT self field to validate the calculated ivt_addr bugging
out if the two values differ.
Signed-off-by: Bryan O'Donoghue
Cc: Stefano B
The hab_rvt_failsafe() callback according to the HABv4 documentation:
"This function provides a safe path when image authentication has failed
and all possible boot paths have been exhausted. It is intended for use by
post-ROM boot stage components, via the ROM Vector Table."
Once invoked the par
Understanding if the HAB is enabled is something that we want to
interrogate and report on outside of the HAB layer. First step to that is
renaming the relevant function to match the previously introduced external
naming convention imx_hab_function()
The name imx_hab_is_hab_enabled() is a tautolog
hab_failsafe when called puts the part into BootROM recovery mode.
This will allow u-boot scripts to script the dropping down into recovery
mode.
=> hab_failsafe
Shows the i.MX7 appear as "hiddev0,hidraw5: USB HID v1.10 Device [Freescale
SemiConductor Inc SP Blank ULT1] " in a Linux dmesg thus a
The IVT gives the absolute address of the CSF. There is no requirement for
the CSF to be located adjacent to the IVT so lets use the address provided
in the IVT header instead of the fixed CSF offset currently in place.
Its worth noting if you use u-boot mkimage and the i.MX CST tool as
described
It will be helpful to boot commands to know if the HAB is enabled. Export
imx_hab_is_enabled() now to facilitate further work with this data-point in
a secure-boot context.
Signed-off-by: Bryan O'Donoghue
Cc: Stefano Babic
Cc: Fabio Estevam
Cc: Peng Fan
Cc: Albert Aribaud
Cc: Sven Ebenfeld
C
The IVT header contains a magic number, fixed length and one of two version
identifiers. Validate these settings before doing anything with a putative
IVT binary.
Signed-off-by: Bryan O'Donoghue
Cc: Stefano Babic
Cc: Fabio Estevam
Cc: Peng Fan
Cc: Albert Aribaud
Cc: Sven Ebenfeld
Cc: George
Tidy up the HAB namespace a bit by prefixing external functions with
imx_hab. All external facing functions past this point will be prefixed in
the same way to make the fact we are doing IMX HAB activities clear from
reading the code. authenticate_image() could mean anything
imx_hab_authenticate_im
The various i.MX BootROMs containing the High Assurance Boot (HAB) block
rely on a data structure called the Image Vector Table (IVT) to describe to
the BootROM where to locate various data-structures used by HAB during
authentication.
This patch adds a definition of the IVT header for use in late
There is no need to call is_enabled() twice in authenticate_image - it does
nothing but add an additional layer of indentation.
We can check for is_enabled() at the start of the function and return the
result code directly.
Signed-off-by: Bryan O'Donoghue
Cc: Stefano Babic
Cc: Fabio Estevam
Cc
This patch enables printout of the IVT entry, dcd and csf data fields.
Signed-off-by: Bryan O'Donoghue
Cc: Stefano Babic
Cc: Fabio Estevam
Cc: Peng Fan
Cc: Albert Aribaud
Cc: Sven Ebenfeld
Cc: George McCollister
Cc: Breno Matheus Lima
---
arch/arm/mach-imx/hab.c | 2 ++
1 file changed, 2
The size of the IVT header should be defined in hab.h move it there now.
Signed-off-by: Bryan O'Donoghue
Cc: Stefano Babic
Cc: Fabio Estevam
Cc: Peng Fan
Cc: Albert Aribaud
Cc: Sven Ebenfeld
Cc: George McCollister
Cc: Breno Matheus Lima
---
arch/arm/include/asm/mach-imx/hab.h | 2 ++
arch
The i.MX6 has some pretty explicit code associated with informing the IROM
about flushing caches during authenticate_image().
Looking at various pieces of documentation its pretty clear the i.MX6 IROM
registers are not documented and absent similar documentation on the i.MX7
the next-best fix is t
authenticate_image returns 1 for success and 0 for failure. That result
code is mapped directly to the result code for the command line function
hab_auth_img - which means when hab_auth_img succeeds it is returning
CMD_RET_FAILURE (1) instead of CMD_RET_SUCCESS (0).
This patch fixes this behaviour
u-boot command "hab_auth_img" tells a user that it takes
- addr - image hex length
- offset - hex offset of IVT in the image
but in fact the callback hab_auth_img makes to authenticate_image treats
the second 'offset' parameter as an image length.
Furthermore existing code requires the IVT heade
Both usages of authenticate_image treat the result code as a simple binary.
The command line usage of authenticate_image directly returns the result
code of authenticate_image as a success/failure code.
Right now when calling hab_auth_img and test the result code in a shell a
passing hab_auth_img
v2:
- Fix compilation warnings and errors in SPL highlighted by
Breno Matheus Lima
- Add CC: Breno Matheus Lima to all patches
v1:
This patchset updates the i.MX HAB layer in u-boot to fix a list of
identified issues and then to add and extend existing functionality.
The first block of patch
On Thu, Dec 28, 2017 at 11:48:29AM -0600, Derald D. Woods wrote:
> On Thu, Dec 28, 2017 at 10:37:18AM -0500, Tom Rini wrote:
> > On Thu, Dec 28, 2017 at 01:25:43AM -0600, Derald D. Woods wrote:
> >
> > > This commit keeps the 'fdtaddr' as provided by DEFAULT_LINUX_BOOT_ENV.
> > >
> > > Signed-off
On 28/12/17 17:54, Breno Matheus Lima wrote:
Hi Bryan,
2017-12-27 10:25 GMT-02:00 Bryan O'Donoghue :
This patchset updates the i.MX HAB layer in u-boot to fix a list of
identified issues and then to add and extend existing functionality.
The first block of patches 0001-0006 deal with fixing
Hi Bryan,
2017-12-27 10:25 GMT-02:00 Bryan O'Donoghue :
> This patchset updates the i.MX HAB layer in u-boot to fix a list of
> identified issues and then to add and extend existing functionality.
>
> The first block of patches 0001-0006 deal with fixing existing code,
>
> - Fixes indentation
> -
On Thu, Dec 28, 2017 at 10:37:18AM -0500, Tom Rini wrote:
> On Thu, Dec 28, 2017 at 01:25:43AM -0600, Derald D. Woods wrote:
>
> > This commit keeps the 'fdtaddr' as provided by DEFAULT_LINUX_BOOT_ENV.
> >
> > Signed-off-by: Derald D. Woods
> > ---
> > include/configs/omap3_evm.h | 1 +
> > 1 f
I'm working on a v2 patch to add support for a board named pdu001. Its
Linux DTS file uses the include file added by this patch. To keep Linux
and U-Boot DTS files in sync U-Boot requires a copy of this file,
although there is no driver for NXP's PCA9532 i2c LED driver chip (yet).
Signed-off-by: F
On Thu, Dec 28, 2017 at 01:25:43AM -0600, Derald D. Woods wrote:
> This commit keeps the 'fdtaddr' as provided by DEFAULT_LINUX_BOOT_ENV.
>
> Signed-off-by: Derald D. Woods
> ---
> include/configs/omap3_evm.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/include/configs/omap3_evm.h
All ddr3_emif declarations are not used outside ddr3_k2g.c
file. So make all of them as static.
Signed-off-by: Lokesh Vutla
---
board/ti/ks2_evm/ddr3_k2g.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/board/ti/ks2_evm/ddr3_k2g.c b/board/ti/ks2_evm/ddr3_k2g.c
ind
DPLL DRR doesn't have an M4 divider. But the clock driver is trying
to configure M4 divider as 4(writing into a reserved register).
Fixing it by making M4 divider as -1.
Reported-by: Steve Kipisz
Signed-off-by: Lokesh Vutla
---
arch/arm/mach-omap2/am33xx/clock_am33xx.c | 12 ++--
1 file
The size field in GP header that is expected by ROM is size of the
image + size of the header. But omapimage tool is updating size
as image size + 2 * header size. Remove this extra header size bytes.
Reported-by: Denys Dmytriyenko
Debugged-by: Madan Srinivas
Signed-off-by: Lokesh Vutla
---
to
From: Tomi Valkeinen
gpio1_2 is used for HPD interrupt with DRA76's DVI add-on board, so mux
the pin as gpio and PIN_INPUT.
Signed-off-by: Tomi Valkeinen
---
board/ti/dra7xx/mux_data.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/ti/dra7xx/mux_data.h b/board/ti/dra
From: Rex Chang
Added support for K2G EVM with FlipChip SoC of which
ARM/DDR3 runs at 1GHz/1066 MT/s. The patch is also
backward compatible with old revision EVM and EVM
with WireBond SoC. Their ARM/DDR3 run at 600MHz/800 MT/s.
The new SoC supports 2 different speeds at 1GHz and 600MHz.
Modyfied
Now that we have multi dtb enabled in u-boot allocate
128K space for u-boot.
Signed-off-by: Lokesh Vutla
---
include/configs/k2g_evm.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/configs/k2g_evm.h b/include/configs/k2g_evm.h
index df81c09d86..9282a22739 100644
---
This series consolidates few bug fixes on TI platforms.
Changes since v2:
- Added a new patch for making in file structures static.
Lokesh Vutla (4):
configs: k2g_evm: Allocate more space for u-boot
tools: omapimage: Fix mismatch of image size in header
arm: am33xx: Avoid writing into reser
Hi Jagan,
> Compared to previous series’s [1], [2], [3] and [4] this patch set
> redefined most of the implementation suitable to fit into existing
> driver-model.
>
> MTD is generic subsystem for underlying flash devices like nand,
> parallel nor, spinor, dataflash etc. So to drive this theory w
Until now, Armada 3700 SoCs could not enable the mvneta driver, and thus
did not benefit from Ethernet support. Add ARMADA_3700 in the
"depends on" list of the MVNETA Kconfig entry.
Signed-off-by: Miquel Raynal
---
drivers/net/Kconfig | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Hi Marek,
> Add support for fetching the image position in RAM from control DT
> rather than hard-coding it. While doing so, return the return value
> of spl_parse_header_image() to make it possible to test application
> of DTOs on U-Boot's control DT.
>
> Signed-off-by: Marek Vasut
> Cc: Pantel
Hi Marek,
> Add support for fetching the image position in RAM from control DT
> rather than hard-coding it. While doing so, return the return value
> of spl_parse_header_image() to make it possible to test application
> of DTOs on U-Boot's control DT.
>
> Signed-off-by: Marek Vasut
> Cc: Pantel
Hi Marek,
> If the loader->load_image returns -EAGAIN, it is an indication
> the loading process should restart the loading, possible due to
> DTO being applied on the U-Boot's DT. Restart the loading until
> the loader stops returning -EAGAIN.
>
> Signed-off-by: Marek Vasut
> Cc: Pantelis Anton
Hi Marek,
> Add support for loading fitImage with device tree overlay image, which
> is applied to the U-Boot's own device tree. Once the DT is applied,
> the fitImage loading process is restarted.
>
> This patch allows a usecase where the DTO patches ie. load address in
> the U-Boot's DT or patc
Hi Marek,
> Add support for loading U-Boot and optionally FDT from a fitImage
> in SPL by using the full fitImage support from U-Boot. While we do
> have limited SPL loading support in SPL with a small footprint, it
> is missing a lot of important features, like checking signatures.
> This support
On 12/28/2017 01:09 PM, Eugeniy Paltsev wrote:
> As discussed with Marek during the LINUX-PITER here is v* patch:
>
> Add option to set spi controller clock frequency via device tree
> using standard clock bindings.
>
> Define dw_spi_get_clk function as 'weak' as some targets
> (like SOCFPGA_GEN5
Add option to set spi controller clock frequency via device tree
using standard clock bindings.
Define dw_spi_get_clk function as 'weak' as some targets
(like SOCFPGA_GEN5 and SOCFPGA_ARRIA10) don't use standard clock API
and implement dw_spi_get_clk their own way in their clock manager.
Get rid
Implement dw_spi_get_clk function to override its weak
implementation in designware_spi.c driver.
We need this change to get rid of cm_get_spi_controller_clk_hz
function and clock_manager.h include in designware_spi.c driver.
Reviewed-by: Marek Vasut
Signed-off-by: Eugeniy Paltsev
---
arch/arm
As discussed with Marek during the LINUX-PITER here is v* patch:
Add option to set spi controller clock frequency via device tree
using standard clock bindings.
Define dw_spi_get_clk function as 'weak' as some targets
(like SOCFPGA_GEN5 and SOCFPGA_ARRIA10) don't use standard clock API
and implem
Hi,
Le mercredi 27 décembre 2017 à 20:09 -0600, Adam Ford a écrit :
> This converts the following to Kconfig:
>CONFIG_USB_MUSB_OMAP2PLUS
>CONFIG_USB_MUSB_PIO_ONLY
Thanks for the continued effort on omap platforms!
While you're at it, you might want to do the same with:
* CONFIG_USB_MUSB_
Add support for fetching the image position in RAM from control DT
rather than hard-coding it. While doing so, return the return value
of spl_parse_header_image() to make it possible to test application
of DTOs on U-Boot's control DT.
Signed-off-by: Marek Vasut
Cc: Pantelis Antoniou
Cc: Simon Gl
Add support for fetching the image position in RAM from control DT
rather than hard-coding it. While doing so, return the return value
of spl_parse_header_image() to make it possible to test application
of DTOs on U-Boot's control DT.
Signed-off-by: Marek Vasut
Cc: Pantelis Antoniou
Cc: Simon Gl
1 - 100 of 117 matches
Mail list logo