From: Hou Zhiqiang
When enabled sec firmware framework, but lack of definition of
the marco SEC_FIRMWARE_FIT_IMAGE, SEC_FIRMEWARE_FIT_CNF_NAME
and SEC_FIRMWARE_TARGET_EL, there will be some build errors,
so give a default definition.
Signed-off-by: Hou Zhiqiang
---
arch/arm/cpu/armv8/sec_firmw
On Mon, 2016-09-05 at 18:01 +0200, Marek Vasut wrote:
> On 08/22/2016 05:02 PM, Chin Liang See wrote:
> > Segregate the misc.c to support both GEN5 SoC and Stratix 10 SoC.
> >
> > Signed-off-by: Chin Liang See
> > Cc: Marek Vasut
> > Cc: Dinh Nguyen
> > Cc: Ley Foon Tan
> > ---
> > arch/arm/m
On Mon, 2016-09-05 at 18:00 +0200, Marek Vasut wrote:
> On 08/22/2016 05:02 PM, Chin Liang See wrote:
> > Segregate the FPGA Manager to support both GEN5 SoC and
> > Stratix 10 SoC.
> >
> > Signed-off-by: Chin Liang See
> > Cc: Marek Vasut
> > Cc: Dinh Nguyen
> > Cc: Ley Foon Tan
> > ---
> >
"U-Boot" schrieb am 06.09.2016 03:54:52:
> Von: Bin Meng
> An: Joe Hershberger ,
> Kopie: u-boot , Hannes Schmelzer
, Joe
> Hershberger
> Datum: 06.09.2016 03:57
> Betreff: Re: [U-Boot] [PATCH] net: write enetaddr down to hardware on
env_callback
> Gesendet von: "U-Boot"
>
> Hi,
Hi Bin,
On Mon, 2016-09-05 at 17:58 +0200, Marek Vasut wrote:
> On 08/22/2016 05:02 PM, Chin Liang See wrote:
> > Segregate the Clock Manager to support both GEN5 SoC and
> > Stratix 10 SoC.
> >
> > Signed-off-by: Chin Liang See
> > Cc: Marek Vasut
> > Cc: Dinh Nguyen
> > Cc: Ley Foon Tan
> > ---
> >
Hi,
On Sunday 04 September 2016 07:51 PM, Jagan Teki wrote:
> On Thu, Sep 1, 2016 at 1:24 PM, Vignesh R wrote:
[...]
>> @@ -23,6 +23,8 @@ DECLARE_GLOBAL_DATA_PTR;
>> #define QSPI_TIMEOUT200
>> #define QSPI_FCLK 19200
>> #define QSPI_DRA7XX_FCLK
A previous patch (net: asix: fix operation without eeprom) added a
two-byte shift to the packet buffer when receiving a packet on the
AX88772B.
This shift was not included when the driver was updated to work with
DriverModel. Testing on a Marvell DB-88F6820-ACM showed that the adapter
was not func
Update the README to add support for K2G EVM. Also
- Add steps on how to use MMC boot
- Fix load address when using CCS
- Update build target to u-boot.bin from u-boot-dtb.bin as all ks2
platforms uses DT.
Signed-off-by: Lokesh Vutla
---
board/ti/ks2_evm/README | 40 +++
e2fsck warns about "Group descriptor 0 marked uninitialized without
feature set."
The bg_itable_unused field is only defined if FEATURE_RO_COMPAT_GDT_CSUM
is set, and should be set (kept) zero otherwise.
Signed-off-by: Stefan Brüns
Reviewed-by: Lukasz Majewski
---
fs/ext4/ext4_common.c | 14 +++
read_allocated block may return block number 0, which is just an indicator
a chunk of the file is not backed by a block, i.e. it is sparse.
During file deletions, just continue with the next logical block, for other
operations treat blocknumber <= 0 as an error.
For writes, blocknumber 0 should n
If the blocksize is 1024, count is initialized with 1. Incrementing count
by 8 will never match (count == fs->blksz * 8), and ptr may be
incremented beyond the buffer end if the bitmap is filled. Add the
startblock offset after the loop.
Remove the second loop, as only the first iteration will be
The data blocks are identical for files using traditional direct/indirect
block allocation scheme and extent trees, thus this code part can be
common. Only the code to deallocate the indirect blocks to record the
used blocks has to be seperate, respectively the code to release extent
tree index blo
The following command crashes u-boot:
./sandbox/u-boot -c 'i=0; host bind 0 ./sandbox/test/fs/3GB.ext4.img ;
while test $i -lt 200 ; do echo $i; setexpr i $i + 1;
ext4write host 0 0 /foobar${i} 0; done'
Previously, the code updated the direct_block even for extents, and
fortunately crashed bef
While directories can be read using the old linear scan method, adding a
new file would require updating the index tree (alternatively, the whole
tree could be removed).
Signed-off-by: Stefan Brüns
Reviewed-by: Lukasz Majewski
---
fs/ext4/ext4_write.c | 5 +
include/ext4fs.h | 1 +
2 fi
Make sure the the extra_isize field (offset 128) is initialized to 0, to
mark any extra data as invalid.
Signed-off-by: Stefan Brüns
Reviewed-by: Lukasz Majewski
---
fs/ext4/ext4_write.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/fs/ext4/ext4_write.c b/fs/ext
Previously, only the last directory block was scanned for available space.
Instead, scan all blocks back to front, and if no sufficient space is
found, eventually append a new block.
Blocks are only appended if the directory does not use extents or the new
block would require insertion of indirect
If the same block is updated multiple times in a row during a single
file system operation, gd_index is decremented to use the same journal
entry again. Avoid loosing the already allocated buffer.
Signed-off-by: Stefan Brüns
---
fs/ext4/ext4_journal.c | 6 +-
1 file changed, 5 insertions(+),
The U-Boot ext4 support has some bugs which either cause U-Boot crashes
or lead to filesystem corruption.
This series goes on top of the endian patch series by Michael Walle.
It has been rebased against v4 of the series.
The first 13 patches have already been reviewed, last 3 patches are
new. Rev
The last free block of a block group may be in its middle. After it has
been allocated, the next block group should be scanned from its beginning.
The following command triggers the bad behaviour (on a blocksize 1024 fs):
./sandbox/u-boot -c 'i=0; host bind 0 ./disk.raw ;
while test $i -l
temp_ptr should always be freed, even if the function is left via
goto fail.
Signed-off-by: Stefan Brüns
Reviewed-by: Lukasz Majewski
---
fs/ext4/ext4_write.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/ext4/ext4_write.c b/fs/ext4/ext4_write.c
index 50c8415..5e208
zero_buffer is never written, thus clearing it is pointless.
journal_buffer is completely initialized by ext4fs_devread (or in case
of failure, not used).
Signed-off-by: Stefan Brüns
Reviewed-by: Lukasz Majewski
---
fs/ext4/ext4_common.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/fs/
Scanning only the direct blocks of the directory file may falsely report
an existing file as nonexisting, and worse can also lead to creation
of a duplicate entry on file creation.
Signed-off-by: Stefan Brüns
Reviewed-by: Lukasz Majewski
---
fs/ext4/ext4_common.c | 84 --
The following command triggers a segfault in search_dir:
./sandbox/u-boot -c 'host bind 0 ./sandbox/test/fs/3GB.ext4.img ;
ext4write host 0 0 /./foo 0x10'
The following command triggers a segfault in check_filename:
./sandbox/u-boot -c 'host bind 0 ./sandbox/test/fs/3GB.ext4.img ;
ext4writ
fs->inodesz is already correctly (i.e. dependent on fs revision)
initialized in ext4fs_mount.
Signed-off-by: Stefan Brüns
Reviewed-by: Lukasz Majewski
---
fs/ext4/ext4_write.c | 1 -
include/ext_common.h | 2 --
2 files changed, 3 deletions(-)
diff --git a/fs/ext4/ext4_write.c b/fs/ext4/ext4_w
In case the dir entry creation failed, ext4fs_write would later overwrite
a random inode, as inodeno was never initialized.
Signed-off-by: Stefan Brüns
Reviewed-by: Lukasz Majewski
---
fs/ext4/ext4_common.c | 12 ++--
fs/ext4/ext4_common.h | 2 +-
fs/ext4/ext4_write.c | 4 +++-
3 fil
On 5 September 2016 at 07:38, Masahiro Yamada
wrote:
> arch_cpu_init() can be simpler by this refactoring.
>
> Signed-off-by: Masahiro Yamada
> ---
>
> arch/x86/cpu/baytrail/valleyview.c | 8 +---
> arch/x86/cpu/ivybridge/ivybridge.c | 8 +---
> arch/x86/cpu/qemu/qemu.c | 8 +--
Hi Stefan,
On Mon, Sep 5, 2016 at 5:03 PM, Stefan Roese wrote:
> This patch adds a small README to explain the 2 defconfig files and its
> usage for the different console UART options.
>
> Signed-off-by: Stefan Roese
> Cc: Bin Meng
> Cc: Simon Glass
> ---
> board/congatec/conga-qeval20-qa3-e3
Hi,
On Fri, Sep 2, 2016 at 9:00 PM, Joe Hershberger
wrote:
> On Fri, Sep 2, 2016 at 7:48 AM, Hannes Schmelzer wrote:
>> If mac-address is changed using "setenv ethaddr " command the new
>> mac-adress also must be written into the responsible ethernet driver.
>>
>> Signed-off-by: Hannes Schme
On Mon, Sep 5, 2016 at 9:38 PM, Masahiro Yamada
wrote:
> arch_cpu_init() can be simpler by this refactoring.
>
> Signed-off-by: Masahiro Yamada
> ---
>
> arch/x86/cpu/baytrail/valleyview.c | 8 +---
> arch/x86/cpu/ivybridge/ivybridge.c | 8 +---
> arch/x86/cpu/qemu/qemu.c | 8 +
Hi,
On 29 August 2016 at 21:02, 陈豪 wrote:
> Hi,
>
> You probably did not short the clock of eMMC.
> If we don't press maskrom buttons(short the clock of eMMC), SPL will
> detect eMMC and try to load image from eMMC. if the eMMC is blank, it
> hangs.
> So if we specifies board_boot_order and want
Hi Alex,
On 5 September 2016 at 04:51, Alexander Graf wrote:
> On 08/19/2016 08:45 AM, Michal Simek wrote:
>>
>> On 16.8.2016 20:39, Alexander Graf wrote:
>>>
>>> Hi Michal,
>>>
>>> I just tried to run the latest u-boot master + a few patches to implement
>>> generic PSCI RTS support on zynqmp an
On 12 August 2016 at 11:21, Simon Glass wrote:
> On 12 August 2016 at 03:47, Kever Yang wrote:
>> pmucru is a module like cru which is a clock controller manage some PLL
>> and module clocks.
>>
>> Signed-off-by: Kever Yang
>> ---
>>
>> drivers/clk/rockchip/clk_rk3399.c | 177
>> ++
2016-09-06 2:12 GMT+09:00 Anatolij Gustschin :
> On Mon, 5 Sep 2016 22:38:38 +0900
> Masahiro Yamada yamada.masah...@socionext.com wrote:
>
>> ptn3460_attach() and display_update_config_from_edid() will become
>> a simple wrapper function.
>>
>> For vidconsole_post_probe(), it is common coding sty
On 12 August 2016 at 11:21, Simon Glass wrote:
> On 12 August 2016 at 03:57, Kever Yang wrote:
>> This patch add clk_get_rate for PWM device.
>>
>> Signed-off-by: Kever Yang
>> ---
>>
>> drivers/clk/rockchip/clk_rk3288.c | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>
> Acked-by: Simon Glass
Hi Masahiro,
On 4 September 2016 at 20:40, Masahiro Yamada
wrote:
> 2016-09-02 23:35 GMT+09:00 Tom Rini :
>
>>> >> diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig
>>> >> index c25fcf3..d4a5bc9 100644
>>> >> --- a/arch/arm/mach-exynos/Kconfig
>>> >> +++ b/arch/arm/mach-exy
Hi,
On 30 August 2016 at 08:01, Nikolaus Schulz
wrote:
> With the ethernet driver model enabled, reset the device before reading
> the MAC address, just like it's done for the non-device-model code path.
> This avoids a timeout when the interface is first used.
>
> Signed-off-by: Nikolaus Schulz
+Tom, in case this should go into the release.
On 1 August 2016 at 05:49, Andreas J. Reichel
wrote:
> This patch fixes unwanted watchdog resets while the user enters
> a command at the U-Boot prompt.
>
> As found on the CM-FX6 board from Compulab, when having enabled the
> watchdog, a missing WAT
On 30 August 2016 at 03:56, Stefan Roese wrote:
> On 30.08.2016 11:50, Masahiro Yamada wrote:
>>
>> If both SPL_DM and SPL_OF_CONTROL are enabled, SPL needs to bind
>> several devices, but CONFIG_SYS_MALLOC_F_LEN=0x400 is apparently
>> not enough. Increase the default to 0x2000 for the case. Thi
On 30 August 2016 at 02:11, Wenyou Yang wrote:
> The at91-pmc and at91-sckc aren't the clock providers, change their
> class ID from UCLASS_CLK to UCLASS_SIMPLE_BUS, they also don't
> need to bind the child nodes explicitly, the .post_bind callback
> of simple_bus uclass will do it for them.
>
> S
Hi Heiko,
On 29 August 2016 at 23:28, Heiko Schocher wrote:
> Hello Simon,
>
>
> Am 30.08.2016 um 02:21 schrieb Simon Glass:
>>
>> This series moves all the CONFIG_SPL_..._SUPPORT options to Kconfig and
>> fixes up existing boards to continue to build.
>>
>> It also adds a few small but useful fe
Hi Kever,
On 29 August 2016 at 21:02, Kever Yang wrote:
> This driver add support for pwm regulator.
>
> Signed-off-by: Elaine Zhang
> Signed-off-by: Kever Yang
> ---
>
> drivers/power/regulator/Kconfig | 9 ++
> drivers/power/regulator/Makefile| 1 +
> drivers/power/regula
Hi Kever,
On 29 August 2016 at 21:02, Kever Yang wrote:
> This patch update PPLL to 676MHz and PMU_PCLK to 48MHz.
Why?
>
> Signed-off-by: Kever Yang
> ---
>
> arch/arm/include/asm/arch-rockchip/cru_rk3399.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/
On 24 August 2016 at 23:52, Masahiro Yamada
wrote:
> This is the state-of-the-art MMC driver implementation.
>
> Signed-off-by: Masahiro Yamada
> ---
>
> arch/arm/Kconfig | 1 +
> drivers/mmc/Kconfig | 1 +
> drivers/mmc/uniphier-sd.c | 50
> +++-
On 24 August 2016 at 23:52, Masahiro Yamada
wrote:
> Catch up with the DM migration.
>
> As struct dm_mmc_ops does not have .init callback, call the init
> function directly from the probe function.
>
> Signed-off-by: Masahiro Yamada
> ---
>
> drivers/mmc/Kconfig | 1 +
> drivers/mmc/unip
Hi,
On 29 August 2016 at 11:26, Jacob Chen wrote:
> From: "jacob2.chen"
>
> Below link contains documents about rockchip linux partitions.
> http://rockchip.wikidot.com/partitions
>
Please add to the commit message some info about why this change is needed.
Please can you update README.rockchi
Hi John,
On 18 August 2016 at 13:08, John Keeping wrote:
> The special handling of the chip address and register address must only
> happen before we send the data buffer, otherwise we will end up
> inserting both of these every 32 bytes.
>
> Signed-off-by: John Keeping
>
> ---
> I'm not entirel
On 30 August 2016 at 03:18, Wenyou Yang wrote:
> Enable an early debug UART to debug problems when an ICE or other
> debug mechanism is not available.
>
> Signed-off-by: Wenyou Yang
> ---
>
> board/atmel/sama5d2_xplained/sama5d2_xplained.c | 14 ++
> configs/sama5d2_xplained_mmc_defc
On 30 August 2016 at 02:43, Wenyou Yang wrote:
> Add support to enable an early debug UART for debugging.
>
> Signed-off-by: Wenyou Yang
> ---
>
> drivers/serial/Kconfig | 7 +++
> drivers/serial/atmel_usart.c | 22 ++
> 2 files changed, 29 insertions(+)
Reviewed-
On 30 August 2016 at 03:18, Wenyou Yang wrote:
> Since the introduction of pinctrl and clk driver, and the dts file,
> remove unneeded the pin configurations and the clock enabling code.
>
> Signed-off-by: Wenyou Yang
> ---
>
> board/atmel/sama5d2_xplained/sama5d2_xplained.c | 104
> ---
+Stephen
On 30 August 2016 at 02:03, Wenyou Yang wrote:
> Since the 'clk_client.h' doesn't exist, it should be 'clk.h'.
>
> Signed-off-by: Wenyou Yang
> ---
>
> drivers/i2c/at91_i2c.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass
On 29 August 2016 at 21:02, Kever Yang wrote:
> This patch enable the pwm regulator for evb-rk3399.
>
Please remove 'This patch'
> Signed-off-by: Kever Yang
> ---
>
> configs/evb-rk3399_defconfig | 1 +
> 1 file changed, 1 insertion(+)
Acked-by: Simon Glass
__
On 29 August 2016 at 21:02, Kever Yang wrote:
> This patch enable DM_PWM and DM_REGULATOR on rockchip SoCs.
>
> Signed-off-by: Kever Yang
> ---
>
> arch/arm/Kconfig | 2 ++
> 1 file changed, 2 insertions(+)
I think this is safe.
Acked-by: Simon Glass
__
Hi Kever,
On 29 August 2016 at 21:02, Kever Yang wrote:
> This patch add regulator-init-microvolt for pwm regulator
> to get a init value when driver do probe init.
How about:
Add a regulator-init-microvolt value for the vd_center regulator so that
(please complete the sentence - commits
On 29 August 2016 at 21:02, Kever Yang wrote:
> This patch add vdd_center pwm regulator get_device to
You don't need to say 'This patch', just:
"Add vdd...
> enable this regulator.
>
> Signed-off-by: Kever Yang
> ---
>
> board/rockchip/evb_rk3399/evb-rk3399.c | 6 ++
> 1 file changed, 6 i
On 29 August 2016 at 21:02, Kever Yang wrote:
> Reference to kernel source code, rockchip pwm has three
> type, we are using v2 for rk3288 and rk3399, so let's
> update the register to sync with pwm_data_v2 in kernel.
>
> Signed-off-by: Kever Yang
> ---
>
> arch/arm/include/asm/arch-rockchip/pwm
On 29 August 2016 at 11:26, Jacob Chen wrote:
> From: "jacob2.chen"
>
> Enable ums feature for rk3036 boards, so that we can mount the mmc
> device to PC.
>
> Signed-off-by: jacob2.chen
> ---
>
> include/configs/rk3036_common.h | 4
> 1 file changed, 4 insertions(+)
Acked-by: Simon Glass
On 26 August 2016 at 09:10, Hannes Schmelzer wrote:
>
> mfG
> Schmelzer Hannes
>
> On 08/17/2016 09:19 AM, Wenyou Yang wrote:
>>
>> From: Cyrille Pitchen
>>
>> This patch fixes the "sf probe" command. The very first SPI flash probe
>> passes, for instance when u-boot tries to read its environment
On 18 August 2016 at 13:08, John Keeping wrote:
> There is no point in writing intermediate values to the txdata
> registers.
>
> Also add padding to the debug logging to make it easier to read when
> there are leading zeroes.
>
> Signed-off-by: John Keeping
> ---
>
> drivers/i2c/rk_i2c.c | 4 ++
On 29 August 2016 at 05:31, Sandy Patterson wrote:
> Default SPL_MMC_SUPPORT to false when ROCKCHIP_SPL_BACK_TO_BROM is enabled.
>
> Acked-by: Ziyuan Xu
> Signed-off-by: Sandy Patterson
> ---
>
> Changes in v3:
> - Move activate in rock2_defconfig to proper commit.
>
> Changes in v2:
> - Rebas
On 29 August 2016 at 05:31, Sandy Patterson wrote:
> Rock2 has been tested with back to brom feature. The tricky part is that
> with this feature the default environment is inside u-boot, and it's
> defined for every rk3288 board independetly. So I just changed it for
> rock2 here if ROCKCHIP_SPL_
On 18 August 2016 at 13:08, John Keeping wrote:
> Make it clear that we are using the same value in two adjacent lines.
>
> Signed-off-by: John Keeping
> ---
>
> drivers/i2c/rk_i2c.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Simon Glass
_
On Sonntag, 28. August 2016 22:42:38 CEST you wrote:
> Make sure the the extra_isize field (offset 128) is initialized to 0 to
> mark any extra data as invalid.
>
> Signed-off-by: Stefan Brüns
> ---
> fs/ext4/ext4_write.c | 12 +---
> 1 file changed, 5 insertions(+), 7 deletions(-)
>
>
On 23 August 2016 at 22:02, Kever Yang wrote:
> This patch enable fixed regulator driver for rk3399 evb.
>
> Signed-off-by: Kever Yang
> Acked-by: Simon Glass
> ---
>
> Changes in v3: None
> Changes in v2:
> - add Acked-by Tag from Simon
>
> configs/evb-rk3399_defconfig | 2 ++
> 1 file changed
On 31 August 2016 at 20:14, Kever Yang wrote:
> driver/usb/dwc3/gadget.c need a "sys_proto.h" header file, add a
> empty one to make compile success.
>
> Signed-off-by: Kever Yang
> Acked-by: Simon Glass
> ---
>
> Changes in v4: None
> Changes in v3: None
> Changes in v2: None
>
> arch/arm/incl
On 27 August 2016 at 10:06, Simon Glass wrote:
> On 27 August 2016 at 07:53, Ziyuan Xu wrote:
>> lowlevel_init() is never needed for rk3288, so drop it.
>>
>> Signed-off-by: Ziyuan Xu
>>
>> ---
>>
>> arch/arm/mach-rockchip/board.c| 4
>> arch/arm/mach-rockchip/rk3288-board-spl.
Hi,
On 23 August 2016 at 22:02, Kever Yang wrote:
>
> rk3399 evb has two typec port(dwc3 controller) which support dual role
> device with separate GPIO for vbus control and two USB 2.0 host port
> (generic EHCI controller) with one GPIO for vbus control.
>
> This patch set enable all these host
On 23 August 2016 at 22:02, Kever Yang wrote:
> rk3399 using one gpio control signal for two usb 2.0 host port,
> it's better to enable the power in board file instead of in usb driver.
>
> Signed-off-by: Kever Yang
> Acked-by: Simon Glass
> ---
>
> Changes in v3:
> - add Acked-by tag from Simon
On 25 August 2016 at 06:04, Simon Glass wrote:
> On 23 August 2016 at 22:02, Kever Yang wrote:
>> From: MengDongyang
>>
>> This patch add support for rockchip dwc3 controller, which corresponding
>> to the two type-C port on rk3399 evb.
>> Only support usb2.0 currently for we have not enable the
On 23 August 2016 at 22:02, Kever Yang wrote:
> From: MengDongyang
>
> Select DM_USB to compatible with USB DM driver model.
>
> Signed-off-by: MengDongyang
> Signed-off-by: Kever Yang
> Acked-by: Simon Glass
> ---
>
> Changes in v3: None
> Changes in v2: None
>
> arch/arm/Kconfig | 1 +
> 1
On 23 August 2016 at 22:02, Kever Yang wrote:
> From: MengDongyang
>
> This patch to enable configs for usb module
> - xhci
> - ehci
> - usb storage
> - usb net
>
> Signed-off-by: MengDongyang
> Signed-off-by: Kever Yang
> Acked-by: Simon Glass
> ---
>
> Changes in v3: None
> Changes in v2: No
On 23 August 2016 at 22:02, Kever Yang wrote:
> From: MengDongyang
>
> rk3399 has two dwc3 controller for type-C port, add the dts node
> and enable them.
>
> Signed-off-by: MengDongyang
> Signed-off-by: Kever Yang
> Acked-by: Simon Glass
> ---
>
> Changes in v3: None
> Changes in v2: None
>
>
On 23 August 2016 at 22:02, Kever Yang wrote:
> rk3399 evb using one gpio to enable 5V output for both USB 2.0
> host port, let's use fixed regulator for them.
>
> Signed-off-by: Kever Yang
> Acked-by: Simon Glass
> ---
>
> Changes in v3: None
> Changes in v2: None
>
> arch/arm/dts/rk3399-evb.d
ret = [expression];
if (ret)
return ret;
return 0;
... is equivalent to:
return [expression];
First, I sent a tree-wide patch:
http://patchwork.ozlabs.org/patch/665199/
In the review of v1, Stephen suggested that
twee-wide conversion with something like Coccinelle
can break code unifo
On Mon, 5 Sep 2016 22:38:38 +0900
Masahiro Yamada yamada.masah...@socionext.com wrote:
> ptn3460_attach() and display_update_config_from_edid() will become
> a simple wrapper function.
>
> For vidconsole_post_probe(), it is common coding style to let a
> probe method return the value of a resist
On 08/22/2016 05:02 PM, Chin Liang See wrote:
> Segregate the misc.c to support both GEN5 SoC and Stratix 10 SoC.
>
> Signed-off-by: Chin Liang See
> Cc: Marek Vasut
> Cc: Dinh Nguyen
> Cc: Ley Foon Tan
> ---
> arch/arm/mach-socfpga/misc.c | 12
> 1 file changed, 12 insertions(+)
On 08/22/2016 05:02 PM, Chin Liang See wrote:
> Add support for Stratix 10 SoC development kit
>
> Signed-off-by: Chin Liang See
> Cc: Marek Vasut
> Cc: Dinh Nguyen
> Cc: Ley Foon Tan
> ---
> arch/arm/Kconfig | 7 +-
> arch/arm/mach-socfpga/Kconfig | 10
On 08/22/2016 05:02 PM, Chin Liang See wrote:
> Add board folder for Stratix 10 SoC development kit
Directory, this is not Windows :-(
Oh, btw also use "separate", not "segregate", in the previous patches.
> Signed-off-by: Chin Liang See
> Cc: Marek Vasut
> Cc: Dinh Nguyen
> Cc: Ley Foon Tan
On 08/22/2016 05:02 PM, Chin Liang See wrote:
> Add Reset Manager registers structure for Stratix 10 SoC
>
> Signed-off-by: Chin Liang See
> Cc: Marek Vasut
> Cc: Dinh Nguyen
> Cc: Ley Foon Tan
Acked-by: Marek Vasut
> ---
> arch/arm/mach-socfpga/include/mach/reset_manager.h | 32
> +++
On 08/22/2016 05:02 PM, Chin Liang See wrote:
> Segregate the Clock Manager to support both GEN5 SoC and
> Stratix 10 SoC.
>
> Signed-off-by: Chin Liang See
> Cc: Marek Vasut
> Cc: Dinh Nguyen
> Cc: Ley Foon Tan
> ---
> arch/arm/mach-socfpga/clock_manager.c | 8
> 1 file changed, 8 i
On 08/22/2016 05:02 PM, Chin Liang See wrote:
> Segregate the FPGA Manager to support both GEN5 SoC and
> Stratix 10 SoC.
>
> Signed-off-by: Chin Liang See
> Cc: Marek Vasut
> Cc: Dinh Nguyen
> Cc: Ley Foon Tan
> ---
> arch/arm/mach-socfpga/fpga_manager.c | 4
> 1 file changed, 4 inserti
On 08/22/2016 05:02 PM, Chin Liang See wrote:
> Fix casting warning to pointer from integer of different size
> when enabling ARM64 support
What sort of error did you observe ?
> Signed-off-by: Chin Liang See
> Cc: Marek Vasut
> Cc: Dinh Nguyen
> Cc: Ley Foon Tan
> ---
> arch/arm/mach-socfpg
On 08/22/2016 05:02 PM, Chin Liang See wrote:
> Add base address header file for Stratix10 SoC
>
> Signed-off-by: Chin Liang See
> Cc: Marek Vasut
> Cc: Dinh Nguyen
> Cc: Ley Foon Tan
Acked-by: Marek Vasut
> ---
> arch/arm/mach-socfpga/include/mach/base_addr_s10.h | 48
> +
On 08/22/2016 05:02 PM, Chin Liang See wrote:
> Add device tree for Stratix 10 SoC development kit
>
> Signed-off-by: Chin Liang See
> Cc: Marek Vasut
> Cc: Dinh Nguyen
> Cc: Ley Foon Tan
Acked-by: Marek Vasut
> ---
> arch/arm/dts/Makefile| 3 +-
> arch/arm/dts/socfpga
On 08/22/2016 05:02 PM, Chin Liang See wrote:
> Segregate the Reset Manager to support both GEN5 SoC and
> Stratix 10 SoC.
>
> Signed-off-by: Chin Liang See
> Cc: Marek Vasut
> Cc: Dinh Nguyen
> Cc: Ley Foon Tan
Acked-by: Marek Vasut
> ---
> arch/arm/mach-socfpga/reset_manager.c | 12 +
Add memory map layout for Stratix 10 SoC
Signed-off-by: Chin Liang See
Cc: Marek Vasut
Cc: Dinh Nguyen
Cc: Ley Foon Tan
---
arch/arm/mach-socfpga/Makefile| 2 ++
arch/arm/mach-socfpga/mmu-arm64.c | 71 +++
2 files changed, 73 insertions(+)
create mode
Add support for Stratix 10 SoC development kit
Signed-off-by: Chin Liang See
Cc: Marek Vasut
Cc: Dinh Nguyen
Cc: Ley Foon Tan
---
arch/arm/Kconfig | 7 +-
arch/arm/mach-socfpga/Kconfig | 10 +++
configs/socfpga_stratix10_defconfig | 14
incl
Add device tree for Stratix 10 SoC development kit
Signed-off-by: Chin Liang See
Cc: Marek Vasut
Cc: Dinh Nguyen
Cc: Ley Foon Tan
---
arch/arm/dts/Makefile| 3 +-
arch/arm/dts/socfpga_stratix10_socdk.dts | 64
2 files changed, 66 insertion
Add board folder for Stratix 10 SoC development kit
Signed-off-by: Chin Liang See
Cc: Marek Vasut
Cc: Dinh Nguyen
Cc: Ley Foon Tan
---
board/altera/stratix10-socdk/MAINTAINERS | 8
board/altera/stratix10-socdk/Makefile| 7 +++
board/altera/stratix10-socdk/socfpga.c | 7
Segregate the misc.c to support both GEN5 SoC and Stratix 10 SoC.
Signed-off-by: Chin Liang See
Cc: Marek Vasut
Cc: Dinh Nguyen
Cc: Ley Foon Tan
---
arch/arm/mach-socfpga/misc.c | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm/mach-socfpga/misc.c b/arch/arm/mach-socf
Fix casting warning to pointer from integer of different size
when enabling ARM64 support
Signed-off-by: Chin Liang See
Cc: Marek Vasut
Cc: Dinh Nguyen
Cc: Ley Foon Tan
---
arch/arm/mach-socfpga/system_manager.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach
Segregate the FPGA Manager to support both GEN5 SoC and
Stratix 10 SoC.
Signed-off-by: Chin Liang See
Cc: Marek Vasut
Cc: Dinh Nguyen
Cc: Ley Foon Tan
---
arch/arm/mach-socfpga/fpga_manager.c | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/mach-socfpga/fpga_manager.c
b/arch/
Segregate the Clock Manager to support both GEN5 SoC and
Stratix 10 SoC.
Signed-off-by: Chin Liang See
Cc: Marek Vasut
Cc: Dinh Nguyen
Cc: Ley Foon Tan
---
arch/arm/mach-socfpga/clock_manager.c | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/mach-socfpga/clock_manager.c
Segregate the Reset Manager to support both GEN5 SoC and
Stratix 10 SoC.
Signed-off-by: Chin Liang See
Cc: Marek Vasut
Cc: Dinh Nguyen
Cc: Ley Foon Tan
---
arch/arm/mach-socfpga/reset_manager.c | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm/mach-socfpga/reset_manag
Add Reset Manager registers structure for Stratix 10 SoC
Signed-off-by: Chin Liang See
Cc: Marek Vasut
Cc: Dinh Nguyen
Cc: Ley Foon Tan
---
arch/arm/mach-socfpga/include/mach/reset_manager.h | 32 ++
1 file changed, 32 insertions(+)
diff --git a/arch/arm/mach-socfpga/incl
Add base address header file for Stratix10 SoC
Signed-off-by: Chin Liang See
Cc: Marek Vasut
Cc: Dinh Nguyen
Cc: Ley Foon Tan
---
arch/arm/mach-socfpga/include/mach/base_addr_s10.h | 48 ++
1 file changed, 48 insertions(+)
create mode 100755 arch/arm/mach-socfpga/include/
Add support for Stratix 10 SoC which is ARM64 based. This series
of patches are tested with Stratix 10 SOC Virtual Platform that
is available today.
Chin Liang See (11):
arm: socfpga: stratix10: Add SOCFPGA Stratix10 base address
arm: socfpga: rstmgr: Add Reset Manager for Stratix 10
arm: so
On Freitag, 2. September 2016 14:51:59 CEST Thomas Schaefer wrote:
> > -Ursprüngliche Nachricht-
> > Von: Brüns, Stefan [mailto:stefan.bru...@rwth-aachen.de]
> > Gesendet: Freitag, 2. September 2016 13:43
> > An: Thomas Schaefer
> > Cc: u-boot@lists.denx.de; Michael Walle
> > Betreff: Re: e
Currently, this function is just a wrapper of pmic_bus_init().
Signed-off-by: Masahiro Yamada
---
drivers/power/axp809.c | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/drivers/power/axp809.c b/drivers/power/axp809.c
index c8b76cf..c5b608d 100644
--- a/drivers/power/a
These functions can be much simpler by squashing lines for immediate
return.
For *_bind() callbacks, they will be a simple wrapper function of an
upper-level bind API.
For mmc_set_{boot_bus_width,part_conf}, they will be a wrapper of
mmc_switch().
Signed-off-by: Masahiro Yamada
---
drivers/mm
The variable "err" is unneeded.
[ Backport from Device Tree Compiler
commit: 36fd7331fb11276c09a6affc0d8cd4977f2fe100 ]
Signed-off-by: Masahiro Yamada
Signed-off-by: David Gibson
---
lib/libfdt/fdt_rw.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/lib/libfdt/fdt_
1 - 100 of 127 matches
Mail list logo