Because there isn't the implementation of gpio_set/get_value()
and gpio_set/get_value() after the at91 gpio driver is converted
to support the driver model, use at91_set_gpio_value() and
at91_get_gpio_value()
Signed-off-by: Wenyou Yang
Reviewed-by: Simon Glass
---
Changes in v2:
- Add Reviewed
When the CONFIG_ATMEL_LEGACY is undefined, according to the following
defines, at91_set_gpio_value() references to at91_set_pio_value(x, y)
with two parameters.
#define at91_set_gpio_value(x, y) at91_set_pio_value(x, y)
#define at91_get_gpio_value(x) at91_get_pio_value(x)
But there
The purpose of the patch set is to use another functions to set
and get the gpio value for the atmel nand driver to fix the error
to set and get the gpio value after the at91 gpio driver conversion
to support the driver model.
Changes in v2:
- Improve the commit log.
- Add Reviewed-by tag.
Weny
Hi Lukasz,
>> I’m using u-boot-2015.07 in one of my project based on vpac270 soc
>> module.
>>
>> u-boot is well configured and build is fine without error.
>>
>> Gcc is v3.4.5 and glibc v2.3.6 built by crosstool 0.43 for
>> arm-softfloat-linux-gnu
>
> Could you try to use newer gcc and see if boo
Hi Simon,
On 03.03.2017 05:53, Simon Glass wrote:
On 1 March 2017 at 03:23, Stefan Roese wrote:
This patch adds a call to dm_pre_os_remove() to announce_and_cleanup()
so that drivers that have the flag DM_FLAG_PRE_OS_REMOVE set may do
some last-stage cleanup before the OS is started.
Signed-o
Add the compatible "atmel,at91rm9200-clk-master" to align with
the kernel's.
Signed-off-by: Wenyou Yang
Reviewed-by: Simon Glass
---
Changes in v2:
- Add the Reviewed-by tags.
drivers/clk/at91/clk-master.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/at91/clk-master.c b/dr
Hi Simon,
On 03.03.2017 05:53, Simon Glass wrote:
On 1 March 2017 at 03:23, Stefan Roese wrote:
The new function dm_pre_os_remove() is intented for driver specific
last-stage cleanup operations before the OS is started. This patch adds
this functionality and hooks it into the common device_rem
Enhance the peripheral clock to support both at9sam9x5's
and at91rm9200's peripheral clock via the different compatibles.
Signed-off-by: Wenyou Yang
Reviewed-by: Simon Glass
---
Changes in v2:
- Use an enum with a descriptive name to denote the clock type.
drivers/clk/at91/clk-peripheral.c |
The purpose of the patch set is to enhance the peripheral clock
to support both at9sam9x5's and at91rm9200's peripheral clock,
and align the clk-master's compatibles with kernel's.
Changes in v2:
- Use an enum with a descriptive name to denote the clock type.
- Add the Reviewed-by tags.
Wenyou
Hi Simon,
On 03.03.2017 05:53, Simon Glass wrote:
> On 1 March 2017 at 03:23, Stefan Roese wrote:
>> This patch adds the pre_os_remove boolean flag to device_remove() and
>> changes all calls to this function to provide the default value of
>> "false". This is in preparation for the driver specif
On 28 February 2017 at 05:04, Andy Shevchenko
wrote:
> Add a specific serial driver for Intel MID platforms.
>
> It has special fractional divider which can be programmed via UART_PS,
> UART_MUL, and UART_DIV registers.
>
> The UART clock is calculated as
>
> UART clock = XTAL * UART_MUL /
On 28 February 2017 at 19:25, Andre Przywara wrote:
> Currently the SPL FIT loader always looks only for the first image in
> the /images node a FIT tree, which it loads and later executes.
>
> Generalize this by looking for a "firmware" property in the matched
> configuration subnode, or, if that
On 28 February 2017 at 10:58, Tom Rini wrote:
> On Tue, Feb 28, 2017 at 11:47:01AM -0600, Andrew F. Davis wrote:
>> On 02/27/2017 09:19 AM, Tom Rini wrote:
>> > On Fri, Feb 24, 2017 at 06:59:45AM -0600, Andrew F. Davis wrote:
>> >
>> >> From: Vitaly Andrianov
>> >>
>> >> TI K2E secure devices hav
Hi York,
On 1 March 2017 at 12:32, York Sun wrote:
> Use gd->arch.resv_ram to track reserved memory allocation.
>
> Signed-off-by: York Sun
> ---
>
> Changes in v3: None
> Changes in v2: None
>
> arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 6 ++
> arch/arm/include/asm/global_data.h|
Hi Simon,
> -Original Message-
> From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass
> Sent: 2017年3月3日 12:52
> To: Wenyou Yang - A41535
> Cc: U-Boot Mailing List ; Andreas Bießmann
> ; Scott Wood ; Wenyou
> Yang - A41535
> Subject: Re: [PATCH 2/2] mtd: nand: atmel: ch
Hi Stefan,
On 1 March 2017 at 03:23, Stefan Roese wrote:
> This patch adds the pre_os_remove boolean flag to device_remove() and
> changes all calls to this function to provide the default value of
> "false". This is in preparation for the driver specific pre-OS remove
> support.
>
> Signed-off-b
Hi Mario,
On 22 February 2017 at 08:07, Mario Six wrote:
> From: Dirk Eibach
>
> The gdsys ControlCenter Digital board is based on a Marvell Armada 38x
> SOC.
>
> It boots from SPI-Flash but can be configured to boot from SD-card for
> factory programming and testing.
>
> On board peripherals in
On 28 February 2017 at 11:29, Patrick Delaunay wrote:
> This define is not used in tools sources and can be removed
> to avoid unnecessary link between tools and defconfig
>
> Signed-off-by: Patrick Delaunay
> ---
>
> tools/Makefile | 1 -
> 1 file changed, 1 deletion(-)
Reviewed-by: Simon Glas
On 22 February 2017 at 03:07, Wenyou Yang wrote:
> Because there is no implementation of gpio_set/get_value() function
> after the at91 gpio driver is converted to support DM, use
> at91_set/get_gpio_value().
>
> Signed-off-by: Wenyou Yang
> ---
>
> drivers/mtd/nand/atmel_nand.c | 5 +++--
> 1 f
Hi Stefan,
On 28 February 2017 at 22:52, Stefan Roese wrote:
> Hi Simon,
>
> On 01.03.2017 06:40, Simon Glass wrote:
>> On 28 February 2017 at 09:32, Stefan Roese wrote:
>>>
>>> Hi!
>>>
>>> I'm currently trying to add some code to stop (DMA) buffer usage
>>> in the Marvell mvpp2 ethernet driver,
On 22 February 2017 at 03:10, Wenyou Yang wrote:
> Enable CONFIG_CLK and CONFIG_PINCTRL to support at91 clock
> driver and at91 pinctrl driver.
>
> Move some config options to configs/*_defconfig, and make the drivers,
> emac, gpio and mci to support the driver model.
>
> Signed-off-by: Wenyou Yan
On 26 February 2017 at 23:24, Masahiro Yamada
wrote:
> DTC 1.4.2 or later checks DT unit-address without reg property and
> vice-versa, and generates lots of warnings. Fixing DT files will
> take for a while. Until then, let's turn off the check unless
> building with W=*.
>
> Introduce a new he
On 22 February 2017 at 23:20, Jacob Chen wrote:
> At current, only firefly and rock2 have network enabled.
> Let's enable other boards.
>
> Signed-off-by: Jacob Chen
> ---
>
> configs/evb-rk3288_defconfig | 5 -
> configs/fennec-rk3288_defconfig | 5 -
> configs/miniarm-rk3288_def
On 23 February 2017 at 09:30, Heiko Stuebner wrote:
> Commit e856bdcfb492 ("flash: complete CONFIG_SYS_NO_FLASH move with renaming")
> obsoleted the CONFIG_SYS_NO_FLASH option, which still is in our
> rk3188_common.h header, resulting in warnings like
> The following new ad-hoc CONFIG options
Hi Mario,
On 22 February 2017 at 08:07, Mario Six wrote:
> Certain boards come in different variations by way of utilizing daughter
> boards, for example. These boards might contain additional chips, which
> are added to the main board's busses, e.g. I2C.
>
> The device tree support for such boar
On 1 March 2017 at 14:51, Tom Rini wrote:
> We rename CONFIG_FIT_DISABLE_SHA256 to CONFIG_FIT_ENABLE_SHA256_SUPPORT which
> is enabled by default and now a positive option. Convert the handful of
> boards
> that were disabling it before to save space.
>
>
> Cc: Dirk Eibach
> Cc: Lukasz Dalek
>
Hi Philipp,
On 22 February 2017 at 13:47, Philipp Tomsich
wrote:
> Currently, driver binding stops once it encounters the first
> compatible driver that doesn't refuse to bind. However, there are
> cases where a single node will need to be handled by multiple driver
> classes. For those cases we
Hi Andre,
On 28 February 2017 at 19:25, Andre Przywara wrote:
> Currently the SPL FIT loader uses the spl_fit_select_fdt() function to
> find the offset to the right DTB within the FIT image.
> For this it iterates over all subnodes of the /configuration node in
> the FIT tree and compares all "d
Hi Andy,
On 27 February 2017 at 07:11, Andy Shevchenko
wrote:
> From: Vincent Tinelli
>
> Change GPT UUID string format from UUID to GUID per specification.
>
> Signed-off-by: Vincent Tinelli
> ---
> cmd/gpt.c | 2 +-
> disk/part_efi.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deleti
Hi Igor,
On 22 February 2017 at 00:35, Igor Grinberg wrote:
> Hi Philipp, Simon,
>
> On 02/22/17 05:59, Simon Glass wrote:
>> Hi,
>>
>> On 20 February 2017 at 02:18, Dr. Philipp Tomsich
>> wrote:
>>>
>>> On 20 Feb 2017, at 08:22, Igor Grinberg wrote:
>>>
>>> That sounds too odd...
>>> DT's purp
Hi Stefan,
On 1 March 2017 at 03:23, Stefan Roese wrote:
> This patch adds a call to dm_pre_os_remove() to announce_and_cleanup()
> so that drivers that have the flag DM_FLAG_PRE_OS_REMOVE set may do
> some last-stage cleanup before the OS is started.
>
> Signed-off-by: Stefan Roese
> Cc: Simon
On 23 February 2017 at 09:30, Heiko Stuebner wrote:
> Documentation says that we're returning true/false, not 1/0 so adapt
> the function to return actual booleans.
>
> Signed-off-by: Heiko Stuebner
> ---
> drivers/core/util.c | 12 ++--
> include/dm/util.h | 2 +-
> 2 files changed,
On 23 February 2017 at 09:30, Heiko Stuebner wrote:
> Commit c67c8c604b6c ("board_init.c: Always use memset()") dropped the naive
> memset alternative from board_init_f_init_reserve.
> So activate CONFIG_TPL_LIBGENERIC for that common memset implementation.
> We cannot use the ARCH-specific memset
On 23 February 2017 at 10:54, Andrew F. Davis wrote:
> The function 'board_fit_image_post_process' is defined only when the
> config option CONFIG_FIT_IMAGE_POST_PROCESS is enabled. For secure
> systems that do not use SPL but do use FIT kernel images, only
> CONFIG_FIT_IMAGE_POST_PROCESS will be
Hi Stefan,
On 1 March 2017 at 03:23, Stefan Roese wrote:
> The new function dm_pre_os_remove() is intented for driver specific
> last-stage cleanup operations before the OS is started. This patch adds
> this functionality and hooks it into the common device_remove()
> function.
>
> To enable usag
Hi,
On 27 February 2017 at 09:26, Tom Rini wrote:
> On Wed, Feb 22, 2017 at 10:25:38AM -0500, Tom Rini wrote:
>> On Thu, Feb 23, 2017 at 12:25:48AM +1100, Jonathan Gray wrote:
>> > On Mon, Feb 20, 2017 at 07:41:34PM +0100, Paul Kocialkowski wrote:
>> > > We now live in a world where python cannot
On 22 February 2017 at 03:10, Wenyou Yang wrote:
> Since the introduction of the pinctrl and clk drivers and the
> device tree files, remove unneeded hard coded related code from
> the board file.
>
> Signed-off-by: Wenyou Yang
> ---
>
> board/atmel/at91sam9260ek/at91sam9260ek.c | 73
>
On 22 February 2017 at 23:20, Jacob Chen wrote:
> Enable gmac interface for rk3288 board dts.
> use "okay" not "ok"
>
> Signed-off-by: Jacob Chen
> ---
>
> arch/arm/dts/rk3288-evb.dtsi | 22 ++
> arch/arm/dts/rk3288-miniarm.dtsi | 2 +-
> arch/arm/dts/rk3288-popmetal.d
On 22 February 2017 at 03:01, Wenyou Yang wrote:
> Add the compatible "atmel,at91rm9200-clk-master" to align with
> the kernel's.
>
> Signed-off-by: Wenyou Yang
> ---
>
> drivers/clk/at91/clk-master.c | 1 +
> 1 file changed, 1 insertion(+)
Reviewed-by: Simon Glass
Hi Wenyou,
On 22 February 2017 at 03:07, Wenyou Yang wrote:
> There is no implementation on at91_set_pio_value() with two arguments.
> at91_get_pio_value() with one argument.
>
> Signed-off-by: Wenyou Yang
> ---
>
> arch/arm/mach-at91/include/mach/gpio.h | 12 +---
> 1 file changed, 5 i
On 22 February 2017 at 03:01, Wenyou Yang wrote:
>
> Enhance the peripheral clock to support both at9sam9x5's
> and at91rm9200's peripheral clock via the different compatibles.
>
> Signed-off-by: Wenyou Yang
> ---
>
> drivers/clk/at91/clk-peripheral.c | 19 ---
> 1 file changed,
Hi,
On 22 February 2017 at 02:58, Markus Valentin wrote:
> Hi Simon,
>
> On Tue, 2017-02-21 at 20:59 -0700, Simon Glass wrote:
>> On 20 February 2017 at 02:10, Markus Valentin wrote:
>> >
>> > Hi,
>> >
>> > On Fri, 2017-02-17 at 19:58 +0800, Bin Meng wrote:
>> > >
>> > > On Fri, Feb 17, 2017 at
From: Hou Zhiqiang
There isn't LS2088A DT file, actually it reuse LS2080A DT file
under u-boot, while under kernel there are DT files for LS2080A
and LS2088A respectively with different PCIe node compatible
string.
Signed-off-by: Hou Zhiqiang
---
V3:
- removed unused variable.
drivers/pci/pc
From: Hou Zhiqiang
The LS2088A series SoCs has different physical memory map address and
CCSR registers address against LS2080A series SoCs.
Signed-off-by: Hou Zhiqiang
---
V3:
- no change
arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 46 +
drivers/pci/pcie_layers
On Fri, Mar 03, 2017 at 01:01:11AM +0100, Lukasz Majewski wrote:
> Add support for "wdt disable" command necessary for disabling the watchdog
> timer.
>
> Signed-off-by: Lukasz Majewski
> ---
> cmd/Kconfig| 6 ++
> cmd/Makefile | 2 ++
> cmd/wdt.c | 32 +
On 02/21/2017 04:25 AM, Heiner Kallweit wrote:
> As a prerequisite for adding a Meson GX MMC driver update the
> Meson GXBB / Odroid-C2 device tree in Uboot with the latest
> version from Linux.
>
> Signed-off-by: Neil Armstrong
> Signed-off-by: Carlo Caione
> Signed-off-by: Andreas Färber
> Si
Hi John,
On Mon, Sep 19, 2016 at 2:59 AM, John Keeping wrote:
> There is no guarantee that commands are null-terminated in the USB
> request buffer, so limit the length of data that is printed.
>
> Signed-off-by: John Keeping
> ---
>
> drivers/usb/gadget/f_fastboot.c | 2 +-
> 1 file changed,
On 01/03/17 03:03, Icenowy Zheng wrote:
>
>
> 01.03.2017, 10:26, "Andre Przywara" :
>> For a board or platform to support FIT loading in the SPL, it has to
>> provide a board_fit_config_name_match() routine, which helps to select
>> one of possibly multiple DTBs contained in a FIT image.
>> Provi
Add support for "wdt disable" command necessary for disabling the watchdog
timer.
Signed-off-by: Lukasz Majewski
---
cmd/Kconfig| 6 ++
cmd/Makefile | 2 ++
cmd/wdt.c | 32
include/watchdog.h | 2 ++
4 files changed, 42 insertions(+)
On 03/01/2017 01:52 PM, Alexey Brodkin wrote:
Hi Marek,
On Fri, 2017-02-10 at 21:33 +0100, Marek Vasut wrote:
On 02/10/2017 09:23 PM, Alexey Brodkin wrote:
Current implementation doesn't allow utilization of platform-specific
reads and writes.
But some arches or platforms may want to use the
On 03/01/2017 05:36 PM, Rush, Jason A. wrote:
This reverts commit b63b46313ed29e9b0c36b3d6b9407f6eade40c8f.
The Cadence QSPI device does not work with caching (introduced with
the bounce buffer in this commit) on the Altera SoC platform.
Signed-off-by: Jason A. Rush
Do we really need the rev
Hi Gary,
On Thu, Mar 2, 2017 at 3:12 AM, Lukasz Majewski wrote:
> Hi,
>
> > Hi Fabio, Lukasz,
> >
> > On Wed, Feb 15, 2017 at 02:24:40PM -0200, Fabio Estevam wrote:
> > > On Wed, Feb 15, 2017 at 2:04 PM, Gary Bisson
> > > wrote:
> > > > Hi,
> > > >
> > > > I've been testing fastboot to flash a
Oh, I forgot to mention but I think is important in this context: I also
have access to oscilloscope and logic analyzer.
Thank you!
On Thu, Mar 2, 2017 at 9:40 PM, Sebastian Panceac
wrote:
> I can't really say at what part I could contribute.
> That's why I was hoping for a TODO list so I could
On 03/02/2017 01:10 PM, Felipe Balbi wrote:
>
> Hi,
>
> Franklin S Cooper Jr writes:
>> From: Nishanth Menon
>>
>> In some situations the EEPROM used for board detection may not be
>> programmed or simply programmed incorrectly. Therefore, it may be
>> necessary to "simulate" reading the cont
I can't really say at what part I could contribute.
That's why I was hoping for a TODO list so I could chose something
according to my skills.
The hardware I have access to is: Raspi v1 and some custom boards with
Freescale IMX6 SoC.
Thank you!
On Wed, Feb 22, 2017 at 10:11 AM, Lukasz Majewski
Enable CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG to allow "board_name" to
be set depending on the board it is being ran on.
Update findfdt to use this new dynamic board_name value to determine
which dtb should be used.
Signed-off-by: Franklin S Cooper Jr
---
board/ti/ks2_evm/board_k2g.c | 13 +++
Hi,
Franklin S Cooper Jr writes:
> From: Nishanth Menon
>
> In some situations the EEPROM used for board detection may not be
> programmed or simply programmed incorrectly. Therefore, it may be
> necessary to "simulate" reading the contents of the EEPROM to set
> appropriate variables used in t
u-boot.bin is a copy of:
u-boot-fit-dtb.bin if CONFIG_FIT_EMBED is enabled,
u-boot-dtb.bin if CONFIG_OF_SEPARATE is enabled,
u-boot-nodtb.bin if DT is not enabled.
So, use u-boot.bin to to generate keystone images instead of
u-boot-dtb.bin
Signed-off-by: Franklin S Cooper Jr
---
arch/arm/mach-ke
Scratch space can be used for features such as board detection. Define
an area within SRAM that can be used for this purpose.
Signed-off-by: Franklin S Cooper Jr
Signed-off-by: Roger Quadros
---
include/configs/ti_armv7_keystone2.h | 7 +++
1 file changed, 7 insertions(+)
diff --git a/incl
Include K2G ICE to OF_LIST so it can be used for runtime board
detection.
Signed-off-by: Franklin S Cooper Jr
---
configs/k2g_evm_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/k2g_evm_defconfig b/configs/k2g_evm_defconfig
index 1352877..ed94f19 100644
---
Now with support for U-boot runtime dtb selection each board needs to
define board_fit_config_name_match so U-boot can determine what the
correct dtb is within the FIT blob.
Signed-off-by: Franklin S Cooper Jr
---
board/ti/ks2_evm/board_k2e.c | 10 ++
board/ti/ks2_evm/board_k2g.c | 14
Some K2G evms have their EEPROM programming while most do not. Therefore,
add EEPROM board detection to be used as the default method and fall back
to the alternative board detection when needed.
Also reorder board configuration. Perform bare minimal configuration
initially since board detection h
For K2G, runtime DTB selection utilitizes the embedded_dtb_select function.
Therefore, define the function which will perform a EEPROM read and then
retries selecting the correct dtb now that it can detect which board its
on. For other Keystone devices use an empty function since they will still
us
From: Roger Quadros
In stead of defining the board EEPROM address in the board headers
let's define them in the board config files and make them
configurable by Kconfig.
Signed-off-by: Roger Quadros
Reviewed-by: Tom Rini
---
board/ti/common/Kconfig | 20 +---
board/ti/ks2
With U-boot runtime board detect for DTB selection a "default" dtb needs
to be created. This will be used temporarily until the "proper" dtb is
selected.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
arch/arm/dts/Makefile | 3 ++-
arch/arm/dts/keystone-k2g-gener
K2G GP doesn't require the MR2 register to be programed since the
default is good enough. However, newer K2G boards do need to change
this register value. Therefore, instead of not writing this register if
ran on a K2G board just program the value to be written to match the
default/reset value.
Si
Add additional make targets and options for building embedded FIT U-boot
images.
Signed-off-by: Franklin S Cooper Jr
---
.gitignore | 1 +
Makefile | 18 --
2 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/.gitignore b/.gitignore
index 7fac5b3..29757aa 100644
--
Add a function that can be used to determine if the board being ran on is
a K2G Industrial Communication Engine EVM or K2G General Purpose EVM based
on values programmed on the EEPROM.
Signed-off-by: Franklin S Cooper Jr
---
board/ti/ks2_evm/board.h | 20
1 file changed, 20
Add configuration settings used by the K2G ICE evm. Also use board
detection to determine which DDR3 configuration to use.
Signed-off-by: Franklin S Cooper Jr
---
board/ti/ks2_evm/ddr3_k2g.c | 62 +++--
1 file changed, 60 insertions(+), 2 deletions(-)
dif
Certain peripherals used by K2G GP aren't used on K2G ICE evm. Or
configuration is slightly different. Therefore, use board detection to
deal with these variations.
Signed-off-by: Franklin S Cooper Jr
---
board/ti/ks2_evm/board_k2g.c | 16 ++--
1 file changed, 10 insertions(+), 6 del
Disable netcp by default like all other peripherals in the dtsi file.
Enable the peripheral explicitly in the board specific dts file.
Signed-off-by: Franklin S Cooper Jr
---
arch/arm/dts/keystone-k2g-evm.dts| 4
arch/arm/dts/keystone-k2g-netcp.dtsi | 1 +
2 files changed, 5 insertions(
K2G boards have a EEPROM that will be used for board detection. Therefore,
select the board detection config for K2G evms.
Signed-off-by: Franklin S Cooper Jr
---
arch/arm/mach-keystone/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-keystone/Kconfig b/arch/arm/mach-key
Enable various config options to allow U-boot at runtime to select the
proper dtb to use from the list of dtb's within the FIT image.
Signed-off-by: Franklin S Cooper Jr
---
configs/k2e_evm_defconfig | 3 +++
configs/k2g_evm_defconfig | 3 +++
configs/k2hk_evm_defconfig | 3 +++
configs/k2l_ev
K2G ICE evm will have its own dtb. Therefore, add it to the list of dtbs
located in the appended U-boot dtb FIT image. Therefore, when swapping out
dtbs K2G ICE boards can grab the correct one.
Signed-off-by: Franklin S Cooper Jr
---
board/ti/ks2_evm/board_k2g.c | 2 ++
1 file changed, 2 inserti
Different K2G evms may need to program the various
KS2_DDRPHY_DATX8_X_OFFSET registers in different ways. Therefore, use
the mask and val registers for each KS2_DDRPHY_DATAX_X_OFFSET to
properly program the register.
Signed-off-by: Franklin S Cooper Jr
---
arch/arm/mach-keystone/ddr3.c | 32
Some code doesn't apply to K2G ICE evm. Therefore, use board detection to
wrap these calls.
Signed-off-by: Franklin S Cooper Jr
---
board/ti/ks2_evm/board.c | 14 +-
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/board/ti/ks2_evm/board.c b/board/ti/ks2_evm/board.c
inde
Runtime U-boot dtb selection is generally a two step process. First step
is to simply use an initial generic dtb. The second step is to select
the dtb and perhaps execute additional code ones U-boot knows what board
it is running on. Embedded_dtb_select handles the second step by allowing
board spe
Add basic pinmux data for new K2G ICE evm. Also add pinmuxing for a
generic K2G evm which includes I2C 0 and 1 used for board detection
purposes.
Since multiple K2G boards are supported that means initially generic
pinmuxing should be used when board detection hasn't ran. Once board
detection runs
Add basic DT support for K2G ICE evm. Only minimal peripherals are
supported to allow console output and MMC boot.
Signed-off-by: Franklin S Cooper Jr
---
arch/arm/dts/Makefile | 3 ++-
arch/arm/dts/keystone-k2g-ice.dts | 25 +
2 files changed, 27 insertions(
Future boards will need to configure DDR3 registers in a slightly
different manner. Support this by defining additional variables and
defines that will be utilized later.
Signed-off-by: Franklin S Cooper Jr
---
arch/arm/mach-keystone/include/mach/ddr3.h | 14 ++
arch/arm/mach-key
From: Lokesh Vutla
Non OMAP platforms i.e. Keystone will also need to use the board
EEPROM helpers so let's make the macro platform independent.
Signed-off-by: Roger Quadros
Signed-off-by: Lokesh Vutla
Reviewed-by: Tom Rini
---
arch/arm/include/asm/omap_common.h | 8 +---
board/ti/common
This patch gives U-boot the runtime support to have the board specific
code decide which FDT to use. This is especially useful for devices
that need this type of runtime determination and also doesn't use SPL.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Lokesh Vutla
---
lib/fdtdec.c | 10 +
Some platforms may append a FIT image to the U-boot image. This function
aids in parsing the FIT image and selecting the correct DTB at runtime.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
common/Kconfig | 8
common/Makefile| 1 +
common/boot_fit.c | 58 +++
This patchset adds support for the new Keystone 2 Industrial Communication
Engine board.
This patchset includes the introduction of embedded FIT images in U-boot.
This creates a FIT image of dtb files that enables board specific code to
select which DTB to use at runtime. Initially during boot a g
When the EEPROM is first read its contents are stored in memory as a
cache to avoid further I2C operations. To determine if the EEPROM was
previously read the easiest way is to check the memory to see if the
EEPROM's magic header value is set. Create a new function that can
determine if the EEPROM
OF_LIST will be useable by SPL and U-boot. Therefore, update its
dependency to allow it to be enable by either SPL or U-boot specific
config option.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
Reviewed-by: Lokesh Vutla
Acked-by: Andrew F. Davis
---
dts/Kconfig | 11 ++-
Some of the functions within spl_fit will be used for non spl purposes.
Instead of duplicating functions simply break the functions to be reused
into its own file.
Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini
---
common/Makefile | 1 +
common/common_fit.c | 86 ++
From: Nishanth Menon
In some situations the EEPROM used for board detection may not be
programmed or simply programmed incorrectly. Therefore, it may be
necessary to "simulate" reading the contents of the EEPROM to set
appropriate variables used in the board detection code.
This may also be help
do_smhload was using a ulong to store the return value from
smh_load_file. That returns an int, where -1 indicates an error. As a
ulong will never be negative, smh_load_file errors were not detected and
so_smhload always returned zero.
Also, when errors were spotted, do_smhload was returning 1, ra
We only support cores that do Thumb-1 or later. So we add a comment to
explain this and remove the architecture test.
Cc: Albert ARIBAUD
Cc: Mans Rullgard
Signed-off-by: Tom Rini
---
arch/arm/include/asm/assembler.h | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/a
Tom Rini writes:
> On Thu, Mar 02, 2017 at 02:27:03PM +, Måns Rullgård wrote:
>> Tom Rini writes:
>>
>> > On Mon, Feb 27, 2017 at 08:19:07PM +0100, Albert ARIBAUD wrote:
>> >> Current ARM assembler helper for the 'return to caller' pseudo-instruction
>> >> turns 'ret lr' into 'mov pc, lr' f
On Thu, Mar 02, 2017 at 02:27:03PM +, Måns Rullgård wrote:
> Tom Rini writes:
>
> > On Mon, Feb 27, 2017 at 08:19:07PM +0100, Albert ARIBAUD wrote:
> >> Current ARM assembler helper for the 'return to caller' pseudo-instruction
> >> turns 'ret lr' into 'mov pc, lr' for ARMv5TE. This causes th
Tom Rini writes:
> On Mon, Feb 27, 2017 at 08:19:07PM +0100, Albert ARIBAUD wrote:
>> Current ARM assembler helper for the 'return to caller' pseudo-instruction
>> turns 'ret lr' into 'mov pc, lr' for ARMv5TE. This causes the core to remain
>> in its current ARM state even when the routine doing
On Thu, Mar 02, 2017 at 04:05:49PM +0530, Santan Kumar wrote:
A little here please.
> Signed-off-by: Santan Kumar
> Signed-off-by: Priyanka Jain
> Signed-off-by: Abhimanyu Saini
[snip]
> diff --git a/include/configs/ls2080a_common.h
> b/include/configs/ls2080a_common.h
> index ae72939..d63208
On Thu, Mar 02, 2017 at 04:05:48PM +0530, Santan Kumar wrote:
> Add CONFIG_NAND_BOOT config flag to organise
> NAND_BOOT specific code in config flag like
> -nand-boot specfic errata errata_rcw_src()
> -CONFIG_SYS_NAND_U_BOOT_DST,etc
>
> Signed-off-by: Santan Kumar
> Signed-off-by: Priyanka Jain
I'm trying to generate u-boot timings for
http://www.notebook-lcd.ru/pdf/QD17EL07_REV_11.pdf page 11.
i try
(x:640,y:1024,depth:24,pclk_khz:54000,le:45,ri:200,up:22,lo:22,hs:1,vs:1,sync:3,vmode:0)
LCD panel timing details
does someone have experience in writing such timings ?
The panel is du
Signed-off-by: Santan Kumar
Signed-off-by: Priyanka Jain
Signed-off-by: Abhimanyu Saini
---
Changes for v3:
Rebased to latest codebase
Depends on
York MMU patches:
http://patchwork.ozlabs.org/bundle/yorksun/Rewrite_MMU/
For correct type of image creation:
https://patchwork
Add CONFIG_NAND_BOOT config flag to organise
NAND_BOOT specific code in config flag like
-nand-boot specfic errata errata_rcw_src()
-CONFIG_SYS_NAND_U_BOOT_DST,etc
Signed-off-by: Santan Kumar
Signed-off-by: Priyanka Jain
Signed-off-by: Abhimanyu Saini
---
Changes for v3:
Rebased to latest code
Hi,
> Hi Fabio, Lukasz,
>
> On Wed, Feb 15, 2017 at 02:24:40PM -0200, Fabio Estevam wrote:
> > On Wed, Feb 15, 2017 at 2:04 PM, Gary Bisson
> > wrote:
> > > Hi,
> > >
> > > I've been testing fastboot to flash a sparse image on a i.MX6Q
> > > platform (Nitrogen6x) with U-Boot v2017.01.
> > >
> >
Signed-off-by: Santan Kumar
Signed-off-by: Priyanka Jain
Signed-off-by: Abhimanyu Saini
---
Changes for v2:
Rebased to latest codebase
Depends on
York MMU patches:
http://patchwork.ozlabs.org/bundle/yorksun/Rewrite_MMU/
For correct type of image creation:
https://patchwork
1 - 100 of 102 matches
Mail list logo