Most rockchip platform based boards use a key to instruct
the board enter download firmware mode, some boards use a
adc to detect the key status, and some use a gpio.
This series try to implement all the download mode related
functions.
Changes in v2:
- correct the rk322x boot mode register addr
setup_boot_mode function use the same logic but different
mode register address across all the rockchip platforms,
so it's better to make this function reused across all the
platforms, and let the mode register address setting from
the config file.
Signed-off-by: Andy Yan
Reviewed-by: Simon Glass
Rockchip bootrom will enter download mode if it returns from
spl/tpl with a non-zero value and couldn't find a valid image
in the backup partition.
This patch provide a method to instruct the system to back to
bootrom download mode by checking the BROM_DOWNLOAD_FLAG register.
As the bootrom downloa
Enter download mode if the download key pressed.
Signed-off-by: Andy Yan
---
Changes in v2:
- more document
- move adc key detect as the defaut
arch/arm/mach-rockchip/boot_mode.c | 43 ++
1 file changed, 43 insertions(+)
diff --git a/arch/arm/mach-rockchip
run_command does not have a parameter wait_for_each.
Signed-off-by: Heinrich Schuchardt
---
test/py/u_boot_console_base.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/py/u_boot_console_base.py b/test/py/u_boot_console_base.py
index b1f474236e..eedf73f858 100644
--- a
Spam detection software, running on the system "lists.denx.de",
has identified this incoming email as possible spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
@@CONTACT_ADDRESS@@ for details.
Content preview:
On Wed, Sep 13, 2017 at 09:03:38PM -0400, Tom Rini wrote:
> On Wed, Sep 13, 2017 at 06:53:17PM -0600, Simon Glass wrote:
> > Hi Pantelis,
> >
> > On 4 September 2017 at 14:12, Pantelis Antoniou
> > wrote:
> > > This patchset allows uboot to handle overlays in a manner that uses
> > > a base DT bl
On Thu, Sep 14, 2017 at 07:23:29AM -0400, Tom Rini wrote:
> On Wed, Sep 13, 2017 at 09:03:38PM -0400, Tom Rini wrote:
> > On Wed, Sep 13, 2017 at 06:53:17PM -0600, Simon Glass wrote:
> > > Hi Pantelis,
> > >
> > > On 4 September 2017 at 14:12, Pantelis Antoniou
> > > wrote:
> > > > This patchset
This patch provides default implementations of the two functions
set_uart_mux_conf and set_mux_conf_regs. Hence boards not using
them do not need to provide their distinct empty definitions.
Signed-off-by: Felix Brack
---
Changes in v2:
- removed weak attribute from function declarations
- add
On Mon, Aug 28, 2017 at 05:53:08PM +0200, Anatolij Gustschin wrote:
> We do not need hashtable code in SPL when building
> without environment support. Also display options
> code is not used in current SPL configuration and
> can be disabled.
>
> Signed-off-by: Anatolij Gustschin
> ---
> lib/M
On Mon, Sep 11, 2017 at 10:53:51PM +0200, Łukasz Majewski wrote:
> On 09/11/2017 07:31 PM, Tom Rini wrote:
> >On Sun, Sep 10, 2017 at 08:25:02PM +0200, Lukasz Majewski wrote:
> >
> >>This patch gives an opportunity to override the defined CONFIG_BOOTCOMMAND
> >>(at files) with set of commands defi
> On 14 Sep 2017, at 13:17, David.Wu wrote:
>
> Hi Philipp,
>
> 在 2017/9/14 4:41, Philipp Tomsich 写道:
>>> +static ulong rk3368_saradc_get_clk(struct rk3368_cru *cru)
>>> +{
>>> +u32 div, val;
>>> +
>>> +val = readl(&cru->clksel_con[25]);
>>> +div = bitfield_extract(val, CLK_SARADC_D
On 09/13/2017 09:27 PM, Heinrich Schuchardt wrote:
> On 09/13/2017 11:07 PM, York Sun wrote:
>> On 09/13/2017 01:38 PM, Heinrich Schuchardt wrote:
>>> On 08/08/2017 01:16 AM, York Sun wrote:
Add Kconfig option SPL_GZIP and SPL_ZLIB to enable gunzip support for
SPL boot, eg. falcon boot co
On Thu, Sep 14, 2017 at 03:20:18PM +, York Sun wrote:
> On 09/13/2017 09:27 PM, Heinrich Schuchardt wrote:
> > On 09/13/2017 11:07 PM, York Sun wrote:
> >> On 09/13/2017 01:38 PM, Heinrich Schuchardt wrote:
> >>> On 08/08/2017 01:16 AM, York Sun wrote:
> Add Kconfig option SPL_GZIP and SPL
In a0f3e3df4adc we switched to using the Ubuntu-provided dtc as travis
was having a problem with the number of warnings that were generated by
the newer dtc. This is no longer a concern as we now have the same
logic as Linux to enable/disable additional more stringent warnings. Go
back to buildin
On Wed, Sep 13, 2017 at 06:53:17PM -0600, Simon Glass wrote:
> Hi Pantelis,
>
> On 4 September 2017 at 14:12, Pantelis Antoniou
> wrote:
> > This patchset allows uboot to handle overlays in a manner that uses
> > a base DT blob and an arbitrary number of DT overlays blobs.
> >
> > While it is in
On 09/13/2017 03:11 PM, Dr. Philipp Tomsich wrote:
> York,
>
>> On 13 Sep 2017, at 23:24, York Sun wrote:
>>
>> On 09/13/2017 02:21 PM, Dr. Philipp Tomsich wrote:
>>> York,
>>>
On 13 Sep 2017, at 23:16, York Sun wrote:
On 09/13/2017 12:30 PM, Philipp Tomsich wrote:
> To better
On 09/14/2017 05:23 PM, Tom Rini wrote:
> On Thu, Sep 14, 2017 at 03:20:18PM +, York Sun wrote:
>> On 09/13/2017 09:27 PM, Heinrich Schuchardt wrote:
>>> On 09/13/2017 11:07 PM, York Sun wrote:
On 09/13/2017 01:38 PM, Heinrich Schuchardt wrote:
> On 08/08/2017 01:16 AM, York Sun wrote:
This partially reverts commit 15eb1d43bf470b85e9031c2fce7e0ce7b27dd321
which intended to move assignment of board info earlier, into
board_init_r(). However, function preload_console_init() is called
either from spl_board_init() or from board_init_f(). For the latter
case, the board info assignment
CONFIG_CMD_SPL_WRITE_SIZE is used for writing parameters to non-volatile
storage. So far it is only used for NAND. Fix compiling error when this
macro is not used for SD.
Signed-off-by: York Sun
CC: Anatolij Gustschin
---
Changes in v2:
New patch to fix compiling error after rebasing to latest
This board has soldered DDR chips. To reduce the SPL image size,
use static DDR setting instead of dynamic DDR driver.
Signed-off-by: York Sun
---
Changes in v2:
Drop checking secure boot in this patch after rebasing to latest mater.
Recent change in SPL makes the image size bigger.
board/fre
gd->ram_size is reduced in this function to reserve secure memory.
Avoid running this function again to further reduce memory size.
This fixes issue for SPL boot with PPA image loaded in which case
secure memory is incorrectly allocated due to repeated calling.
Signed-off-by: York Sun
---
Chang
CONFIG_SPL_BOARD_INIT is used for SPL boot. Enable it in defconfig
for LS1043ARDB SPL targets.
Signed-off-by: York Sun
---
Changes in v2: None
configs/ls1043ardb_nand_SECURE_BOOT_defconfig | 1 +
configs/ls1043ardb_nand_defconfig | 1 +
configs/ls1043ardb_sdcard_SECURE_BOOT_def
This is the 2nd version to enable falcon boot for LS1043ARDB. With
SPL FIT patches merged, enabling falcon boot for this board is
straight forward after fixing some errors introduced by other
commits.
Secure boot is dropped in this set due to SPL image size issue.
Recent changes made the SPL image
Update defconfig to enable falcon boot, add needed macros to board
header file. Because environment variables are not avaiable during
SPL stage for SD boot, set "boot_os=y" as default.
Signed-off-by: York Sun
---
Changes in v2: None
configs/ls1043ardb_sdcard_defconfig | 6 ++
include/conf
Add jump_to_image_linux() for arm64. Add "noreturn" flag to
armv8_switch_to_el2(). Add hooks to fsl-layerscape to enable falcon
boot.
Signed-off-by: York Sun
---
Changes in v2:
Relace getenv_f() with env_get_f() after rebasing to latet master.
.../arm/cpu/armv8/fsl-layerscape/doc/README.falco
common/spl/spl_fit.c:201:12: warning: passing argument 4 of ‘gunzip’
from incompatible pointer type [-Wincompatible-pointer-types]
src, &length))
Signed-off-by: York Sun
Reported-by: Heinrich Schuchardt
---
common/spl/spl_fit.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
d
Commit a8ecb39e accidentally reverted config macro CONFIG_ARCH_LS1021A
to CONFIG_LS102XA.
Signed-off-by: York Sun
---
include/usb/ehci-ci.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/usb/ehci-ci.h b/include/usb/ehci-ci.h
index cd3eb47..59bfc14 100644
--- a/inclu
On 07/27/2017 03:05 AM, yinbo@nxp.com wrote:
> From: Rajesh Bhagat
>
> Add USB EHCI support for ls1012aqds platform
>
> Signed-off-by: Rajat Srivastava
> Signed-off-by: Rajesh Bhagat
> Signed-off-by: yinbo.zhu
> ---
> arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h | 1 +
> incl
On 09/14/2017 12:54 PM, York Sun wrote:
> On 07/27/2017 03:05 AM, yinbo@nxp.com wrote:
>> From: Rajesh Bhagat
>>
>> +#elif defined(CONFIG_LS102XA) || defined(CONFIG_ARCH_LS1012A)
>
> Please use CONFIG_ARCH_LS1021A, not CONFIG_LS102XA.
>
Never mind. This is merged. I will send a patch to
On 05/17/2017 05:05 AM, yinbo.zhu wrote:
> From: Rajat Srivastava
>
> Adds helper functions to enable snooping and outstanding burst beat
> settings.
>
> Signed-off-by: Rajat Srivastava
> Signed-off-by: Rajesh Bhagat
> ---
Please re-submit this set. Some of them are accepted as separated patc
This series allows test/py to run on python 3.x in addition to the
already supported python 2.x. With it applied I currently see only one
failure (test_ut[ut_dm_usb_flash]) which doesn't appear to be python
related when running with:
$ ./test/py/test.py --bd sandbox --build
Thanks,
Paul
Paul
In python 3.x print must be called as a function rather than used as a
statement. Update uses of print to the function call syntax in order to
be python 3.x safe.
Signed-off-by: Paul Burton
---
test/py/conftest.py | 2 +-
test/py/test.py | 6 --
test/py/tes
In python 3.x the xrange() function has been removed, and range()
returns an iterator much like Python 2.x's xrange(). Simply use range()
in place of xrange() in order to work on both python 2.x & 3.x. This
will mean a small cost on python 2.x since range() will return a list
there rather than an i
On 08/15/2017 11:32 PM, Xiaowei Bao wrote:
> Hi York,
>
> Yes, it is my mean, I am not brief enough to express, thank you correct me.
Xiaowei,
Please update his patch as discussed.
York
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.d
In python 3.x the configparser module is named with all lower case.
Import it as such in order to avoid errors when running on python 3.x,
and fall back to the CamelCase version in order to keep working with
python 2.x.
Signed-off-by: Paul Burton
---
test/py/conftest.py | 6 +-
1 file chang
In python 3.x the StringIO module is gone, and instead StringIO can be
imported from the io module. Do this in order to run on python 3.x, and
fall back to importing StringIO as a module in order to continue working
with python 2.x.
Signed-off-by: Paul Burton
---
test/py/conftest.py | 8 ++-
In python 3.x the file() function has been removed. Use open() instead,
which works on both python 2.x & 3.x, and is described as the preferred
method of opening a file by python 2.x documentation anyway.
Signed-off-by: Paul Burton
---
test/py/tests/test_hush_if_test.py | 2 +-
1 file changed,
When reading stdin python 3.x will give us byte arrays, and when writing
stdout or stderr it will expect byte arrays. In order to insulate the
rest of the code from this difference, call encode or decode at
appropriate points when reading or writing stdio files. This works fine
on python 2.x too.
The read_file() function in test_fit is used with files that are not
text files, as well as some that are. It is never used in a way that
requires it to decode text files to characters, so open all files in
binary mode such that read() doesn't attempt to decode characters for
files which are not te
The openssl command specified in test_with_algo() ultimately ends up
being run by RunAndLog::run(), which uses it to construct a Popen object
with the default shell=False. The stderr redirect in the command is
therefore simply passed to openssl as an argument. With at least openssl
1.1.0f this caus
On 08/18/2017 03:21 AM, Prabhakar Kushwaha wrote:
>
>> -Original Message-
>> From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Santan
>> Kumar
>> Sent: Friday, August 18, 2017 3:21 PM
>> To: u-boot@lists.denx.de; York Sun
>> Cc: Priyanka Jain
>> Subject: [U-Boot] [PATCH 1/1
The subject doesn't represent your change. Please revise.
On 08/22/2017 03:47 AM, ying.zhang22...@nxp.com wrote:
> From: Zhang Ying-22455
>
> The SP805-WDT module on LS1088A requires configuration of PMU's
> PCTBENR register to enable watchdog counter decrement and reset
> signal generation. The
On 08/25/2017 02:03 AM, Udit Agarwal wrote:
> Validates PPA, MC, DPC, Bootscript, DPL and Kernel images in ESBC phase
> using esbc_validate command. Add images validation in default environment
> under mcinitcmd prior to MC initialization.
>
> Add header address for PPA to be validated during ESBC
On 09/14/2017 02:06 PM, Paul Burton wrote:
In python 3.x the configparser module is named with all lower case.
Import it as such in order to avoid errors when running on python 3.x,
and fall back to the CamelCase version in order to keep working with
python 2.x.
diff --git a/test/py/conftest.p
On 09/14/2017 02:06 PM, Paul Burton wrote:
The openssl command specified in test_with_algo() ultimately ends up
being run by RunAndLog::run(), which uses it to construct a Popen object
with the default shell=False. The stderr redirect in the command is
therefore simply passed to openssl as an arg
On 08/25/2017 02:03 AM, Udit Agarwal wrote:
> Add the secure boot defconfigs for QSPI boot on LS1088ARDB
> and LS1088AQDS platforms.
>
> Signed-off-by: Udit Agarwal
> ---
> configs/ls1088aqds_qspi_SECURE_BOOT_defconfig | 32
> +++
> configs/ls1088ardb_qspi_SECURE_BOOT_
On 08/28/2017 04:26 AM, Udit Agarwal wrote:
> Add config CONFIG_FSL_LS_PPA and CONFIG_FSL_CAAM in
> LS2080AQDS and LS2080ARDB secure boot defconfig.
You also change other things. Please explain.
>
> Signed-off-by: Udit Agarwal
> ---
> configs/ls2080aqds_SECURE_BOOT_defconfig | 5 +++--
> con
On 08/29/2017 12:01 AM, Sumit Garg wrote:
> Using changes in this patch we were able to reduce approx 4k
> size of u-boot-spl.bin image. Following is breif description of
> changes to reduce SPL size:
> 1. Compile-off mp.c and libfdt.c in case of SPL build.
> 2. Keep MMU and DCACHE specific variabl
On 08/29/2017 02:50 AM, Priyanka Jain wrote:
> For most of ls2080ardb use-cases, mc private DRAM block is required
> to be of 1.75GB.
> Henc set mcmemsize=0x7000 in default env
>
> Signed-off-by: Priyanka Jain
> ---
> include/configs/ls2080ardb.h |1 +
> 1 files changed, 1 insertions(
On 09/12/2017 06:35 PM, Rob Clark wrote:
> An event can be created with type==0, Shell.efi does this for an event
> that is set when Ctrl-C is typed. So our current approach of having a
> fixed set of timer slots, and determining which slots are unused by
> type==0 doesn't work so well. But we do
You have a lot of magic numbers and delays. See inline comments.
On 09/03/2017 11:24 PM, Rajesh Bhagat wrote:
> Adds SERDES voltage and reset SERDES lanes API and makes
> enable/disable DDR controller support 0.9V API common.
>
> Signed-off-by: Ashish Kumar
> Signed-off-by: Rajesh Bhagat
> ---
On 09/04/2017 03:14 AM, Sriram Dash wrote:
> Remove dependency of SYS_HAS_SERDES for Layerscape Chasis 3.
>
> Signed-off-by: Sriram Dash
> ---
> arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 4 ++--
> arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 2 ++
> arch/arm/cpu/armv8/fsl-layerscape/soc.c
On 09/05/2017 10:42 PM, Priyanka Jain wrote:
> As per current implementation, default value of board env is
> based on board filename i.e ls2080ardb.
>
> With distro support changes, this env is used to decide upon
> kernel dtb which is different for other SoCs (ls2088a, ls2081a)
> combination sup
On Thu, Sep 14, 2017 at 4:51 PM, Heinrich Schuchardt wrote:
> On 09/12/2017 06:35 PM, Rob Clark wrote:
>> An event can be created with type==0, Shell.efi does this for an event
>> that is set when Ctrl-C is typed. So our current approach of having a
>> fixed set of timer slots, and determining wh
The flash chip is 2 MiB , organized as 32 x 64 kiB sectors .
Rectify the entry to match the datasheet, reality and Linux SNOR IDs.
Signed-off-by: Marek Vasut
Cc: Jagan Teki
---
drivers/mtd/spi/spi_flash_ids.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/spi/sp
On 09/12/2017 10:56 AM, Joakim Tjernlund wrote:
> Most FSL PCIe controllers expects 333 MHz PCI reference clock.
> This clock is derived from the CCB but in many cases the ref.
> clock is not 333 MHz and a divisor needs to be configured.
>
> This adds PEX_CCB_DIV #define which can be defined for e
On 09/12/2017 11:03 PM, Yangbo Lu wrote:
> SD boot couldn't work with ls1043aqds_sdcard_ifc_defconfig since
> IFC in SPL is disabled. This patch is to fix this issue.
You subject matches the change. But the commit message is confusing.
Please rephrase it.
York
>
> Signed-off-by: Yangbo Lu
> -
On 08/30/2017 03:43 AM, Shengzhou Liu wrote:
> Signed-off-by: Shengzhou Liu
> ---
> include/configs/ls1043a_common.h | 11 ++-
> 1 file changed, 10 insertions(+), 1 deletion(-)
>
> diff --git a/include/configs/ls1043a_common.h
> b/include/configs/ls1043a_common.h
> index f064d5c24a..9
This series allows test/py to run on python 3.x in addition to the
already supported python 2.x. With it applied I currently see only one
failure (test_ut[ut_dm_usb_flash]) which doesn't appear to be python
related when running with:
$ ./test/py/test.py --bd sandbox --build
Thanks,
Paul
Paul
In python 3.x print must be called as a function rather than used as a
statement. Update uses of print to the function call syntax in order to
be python 3.x safe.
Signed-off-by: Paul Burton
Reviewed-by: Stephen Warren
---
Changes in v2: None
test/py/conftest.py | 2 +-
test/py/
In python 3.x the xrange() function has been removed, and range()
returns an iterator much like Python 2.x's xrange(). Simply use range()
in place of xrange() in order to work on both python 2.x & 3.x. This
will mean a small cost on python 2.x since range() will return a list
there rather than an i
In python 3.x the configparser module is named with all lower case.
Import it as such in order to avoid errors when running on python 3.x,
and fall back to the CamelCase version in order to keep working with
python 2.x.
Signed-off-by: Paul Burton
Reviewed-by: Stephen Warren
---
Changes in v2:
In python 3.x the StringIO module is gone, and instead StringIO can be
imported from the io module. Do this in order to run on python 3.x, and
fall back to importing StringIO as a module in order to continue working
with python 2.x.
Signed-off-by: Paul Burton
Reviewed-by: Stephen Warren
---
Ch
When reading stdin python 3.x will give us byte arrays, and when writing
stdout or stderr it will expect byte arrays. In order to insulate the
rest of the code from this difference, call encode or decode at
appropriate points when reading or writing stdio files. This works fine
on python 2.x too.
In python 3.x the file() function has been removed. Use open() instead,
which works on both python 2.x & 3.x, and is described as the preferred
method of opening a file by python 2.x documentation anyway.
Signed-off-by: Paul Burton
Reviewed-by: Stephen Warren
---
Changes in v2: None
test/py/t
The read_file() function in test_fit is used with files that are not
text files, as well as some that are. It is never used in a way that
requires it to decode text files to characters, so open all files in
binary mode such that read() doesn't attempt to decode characters for
files which are not te
The openssl command specified in test_with_algo() ultimately ends up
being run by RunAndLog::run(), which uses it to construct a Popen object
with the default shell=False. The stderr redirect in the command is
therefore simply passed to openssl as an argument. With at least openssl
1.1.0f this caus
Hi Stephen,
On Thursday, 14 September 2017 13:28:35 PDT Stephen Warren wrote:
> I could have sworn I checked this code ran on Python 3 when I first
> wrote it. Some of the issues you've fixed were clearly introduced since
> then, but not all. Perhaps I'm remembering some other project where I
> us
This series introduces a new asm-generic/io.h header & makes use of it
to reduce duplication between architectures & ensure they all
consistently provide implementations of virt_to_phys() & phys_to_virt().
This was split out from an earlier series which goes on to use
phys_to_virt(), in order to s
Most architectures currently supported by U-Boot use trivial
implementations of map_to_physmem & virt_to_phys which simply cast a
physical address to a pointer for use a virtual address & vice-versa.
This results in a lot of duplicate implementations of these mapping
functions.
The set of function
Convert the arc architecture to make use of the new asm-generic/io.h to
provide address mapping functions. As the generic implementations are
suitable for arc this is primarily a matter of removing code.
Feedback from architecture maintainers is welcome.
Signed-off-by: Paul Burton
Cc: Alexey Bro
Convert the arm architecture to make use of the new asm-generic/io.h to
provide address mapping functions. As the generic implementations are
suitable for arm this is primarily a matter of removing code.
This has only been build-tested, feedback from architecture maintainers
is welcome.
Signed-of
Convert the m68k architecture to make use of the new asm-generic/io.h to
provide address mapping functions. As the generic implementations are
suitable for m68k this is primarily a matter of emoving code.
Feedback from architecture maintainers is welcome.
Signed-off-by: Paul Burton
Cc: Huan Wang
Convert the sh architecture to make use of the new asm-generic/io.h to
provide address mapping functions. As the generic implementations are
suitable for sh this is primarily a matter of moving code.
Feedback from architecture maintainers is welcome.
Signed-off-by: Paul Burton
Cc: Nobuhiro Iwama
Convert the mips architecture to make use of the new asm-generic/io.h to
provide address mapping functions. As mips actually performs
non-identity mapping between physical & virtual addresses we can't
simply make use of the generic functions, with the exception of being
able to drop our no-op unmap
Convert the microblaze architecture to make use of the new
asm-generic/io.h to provide address mapping functions. As the generic
implementations are suitable for microblaze this is primarily a matter
of removing code.
Feedback from architecture maintainers is welcome.
Signed-off-by: Paul Burton
Convert the x86 architecture to make use of the new asm-generic/io.h to
provide address mapping functions. As the generic implementations are
suitable for x86 this is primarily a matter of moving code.
This has only been build-tested, feedback from architecture maintainers
is welcome.
Signed-off-
Convert the xtensa architecture to make use of the new asm-generic/io.h
to provide address mapping functions. As the generic implementations are
suitable for xtensa this is primarily a matter of moving code.
This has only been build-tested, feedback from architecture maintainers
is welcome.
Signe
Convert the nds32 architecture to make use of the new asm-generic/io.h
to provide address mapping functions. As the generic implementations are
suitable for nds32 this is primarily a matter of removing code.
Feedback from architecture maintainers is welcome.
Signed-off-by: Paul Burton
Cc: Macpau
Convert the sandbox architecture to make use of the new asm-generic/io.h
to provide address mapping functions. As sandbox actually performs
non-identity mapping between physical & virtual addresses we can't
simply make use of the generic mapping functions, but are able to
implement phys_to_virt() &
Convert the powerpc architecture to make use of the new asm-generic/io.h
to provide address mapping functions. As powerpc can actually perform
non-identity mapping between physical & virtual addresses we can't
simply make use of the generic phys_to_virt() & virt_to_phys()
functions. However since m
Convert the nios2 architecture to make use of the new asm-generic/io.h to
provide address mapping functions. As nios2 actually performs
non-identity mapping between physical & virtual addresses we can't
simply make use of the generic functions, with the exception of being
able to drop our no-op unm
On Thu, Sep 14, 2017 at 02:37:08PM +0200, Felix Brack wrote:
> This patch provides default implementations of the two functions
> set_uart_mux_conf and set_mux_conf_regs. Hence boards not using
> them do not need to provide their distinct empty definitions.
>
> Signed-off-by: Felix Brack
Review
On Tue, Sep 05, 2017 at 06:30:07PM +0800, Wenyou Yang wrote:
> By default, it is assumed that the UTMI clock is generated from
> a 12 MHz reference clock (MAINCK). If it's not the case, the FREQ
> field of the SFR_UTMICKTRIM has to be updated to generate the UTMI
> clock in the proper way.
>
> Th
On Tue, Sep 05, 2017 at 06:30:08PM +0800, Wenyou Yang wrote:
> For sama5d2, add the sfr node with syscon support.
>
> In order to access the SFR_UTMICKTRIM register for the utmi clock
> driver, add the phandle property for the utmi node to point to the
> sfr node.
>
> Signed-off-by: Wenyou Yang
On Wed, Sep 13, 2017 at 02:58:46PM +0800, Wenyou Yang wrote:
> From: Wenyou Yang
>
> In order to display the company's logo via the API of DM_VIDEO,
> and add the logo files of both Atmel and Microchip.
>
> Signed-off-by: Wenyou Yang
> Reviewed-by: Simon Glass
Applied to u-boot/master, thank
On Wed, Sep 13, 2017 at 02:58:48PM +0800, Wenyou Yang wrote:
> As said in 29.5.7 section of SAMA5D2 datasheet, before switching to
> the crystal oscillator, a check must be carried out to ensure that
> the oscillator is present and that its freqency is valid.
>
> Signed-off-by: Wenyou Yang
> Rev
On Wed, Sep 13, 2017 at 02:58:47PM +0800, Wenyou Yang wrote:
> Add a function to display the company's logo and board information
> via the API from DM_VIDEO. This function can be shared by other
> atmel boards, so locate it in board/atmel/common folder.
>
> Signed-off-by: Wenyou Yang
> Reviewed
On Wed, Sep 13, 2017 at 02:58:51PM +0800, Wenyou Yang wrote:
> Add the boot device for booting from the QSPI flash.
>
> Signed-off-by: Wenyou Yang
> Reviewed-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
__
On Wed, Sep 13, 2017 at 02:58:50PM +0800, Wenyou Yang wrote:
> Because before switching to a lower clock source, we must switch
> the clock source first instead of last. So before configuring the
> PMC_MCKR register, invoke at91_mck_init_down() first.
>
> As said in datasheet, the the size of SPL
On Thu, Sep 14, 2017 at 11:07:42AM +0800, Wenyou Yang wrote:
> From: Wenyou Yang
>
> As said in READRE.kconfig, include/configs/*.h will be removed
> after all options are switched to Kconfig. As the first step,
> remove the follow line from include/configs/*.h.
>
> #include
>
> Signed-off-b
On Wed, Sep 13, 2017 at 02:58:53PM +0800, Wenyou Yang wrote:
> From: Wenyou Yang
>
> The SAMA5D2 SiP(System in Package) has different Chip IDs in the
> CHIPID and CHIP_EXID registers.
>
> Signed-off-by: Wenyou Yang
> Reviewed-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signa
On Wed, Sep 13, 2017 at 02:58:52PM +0800, Wenyou Yang wrote:
> Add missing defines of Multiport DDR-SDRAM Controller (MPDDRC).
>
> Signed-off-by: Wenyou Yang
> Reviewed-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
___
On Thu, Sep 14, 2017 at 11:07:40AM +0800, Wenyou Yang wrote:
> From: Wenyou Yang
>
> Move the CONFIG_AT91FAMILY option from include/mach/.h header
> file to Kconfig.
>
> Signed-off-by: Wenyou Yang
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
__
On Thu, Sep 14, 2017 at 11:07:41AM +0800, Wenyou Yang wrote:
> From: Wenyou Yang
>
> To prepare to remove the SoCs options such as SAMA5D2, SAMA5D3
> and SAMA5D4 from the CONFIG_SYS_EXTRA_OPTIONS option which is
> deprecated, add the SoC options to Kconfig.
>
> Signed-off-by: Wenyou Yang
Appl
On Wed, Sep 13, 2017 at 02:58:49PM +0800, Wenyou Yang wrote:
> Refer to the commit 70f8c8316ad(PMC: add new mck function to lower
> rate while switching) from AT91Bootstrap.
>
> While switching to a lower clock source, we must switch the clock
> source first instead of last. Otherwise, we could e
On Thu, Sep 14, 2017 at 11:07:44AM +0800, Wenyou Yang wrote:
> To remove the assignment of CONFIG_SYS_EXTRA_OPTIONS option,
> which is deprecated, use the CONFIG__BOOT options to
> indicate the boot media, and the SoC is selected by the board.
>
> Signed-off-by: Wenyou Yang
Applied to u-boo
On Thu, Sep 14, 2017 at 11:07:43AM +0800, Wenyou Yang wrote:
> Use the CONFIG__BOOT to indicate the boot media, instead of
> the CONFIG_SYS_USE_ option, which is declared by
> CONFIG_SYS_EXTRA_OPTIONS option.
>
> Signed-off-by: Wenyou Yang
Applied to u-boot/master, thanks!
--
Tom
si
On Wed, Sep 13, 2017 at 02:58:54PM +0800, Wenyou Yang wrote:
> From: Wenyou Yang
>
> The SAMA5D27-SiP (System in Package) integrates the SAMA5D2
> with 1Gbit DDR2-SDRAM in a single package.
>
> The SAMA5D27 SOM1 embeds a 64Mbit QSPI flash, KSZ8081 Phy and
> Mac-address EEPROM.
>
> Signed-off-b
1 - 100 of 128 matches
Mail list logo