On Sat, Apr 8, 2017 at 5:01 AM, André Przywara wrote:
> On 07/04/17 06:10, Jagan Teki wrote:
>
> Hi Jagan,
>
>> Can you check this error on master?
>>
>> COPYspl/u-boot-spl.bin
>> MKSUNXI spl/sunxi-spl.bin
>> ERROR: File too large!
>> make[1]: *** [spl/sunxi-spl.bin] Error 1
>> make: *** [
On Thu, Apr 20, 2017 at 9:32 PM, Alexander Graf wrote:
> On 04/14/2017 06:44 PM, Andreas Färber wrote:
>>
>> Currently $fdtfile is constructed from CONFIG_DEFAULT_TREE, containing
>> the filename. However on arm64 that file is located in an allwinner
>> subdirectory.
>>
>> To avoid the need for us
On 04/24/2017 12:38 PM, Simon Glass wrote:
> Hi,
>
> On 17 April 2017 at 16:39, Jaehoon Chung wrote:
>> On 04/18/2017 06:18 AM, Heinrich Schuchardt wrote:
>>> On 04/16/2017 09:34 PM, Simon Glass wrote:
Hi Alex,
On 16 April 2017 at 04:08, Alexander Graf wrote:
>
>
> On
Hi Simon,
2017-04-24 8:10 GMT+09:00 Simon Glass :
> This is a test patch for Philipp.
>
> Please apply this on top of your existing patch:
>
> http://patchwork.ozlabs.org/patch/752268/
>
> For me this handles this better in that I can deal with get_maintainers
> returning unicode. Can you check i
The file is from evb-rk3399_defconfig with changes:
- use rk3399-firefly dtb
- re-order by make savedefconfig
Signed-off-by: Kever Yang
---
configs/firefly-rk3399_defconfig | 65
1 file changed, 65 insertions(+)
create mode 100644 configs/firefly-rk3399
On 21 April 2017 at 04:08, Jean-Jacques Hiblot wrote:
> This is needed to probe devices under that bus such as the SATA PHY.
>
> Signed-off-by: Jean-Jacques Hiblot
> Reviewed-by: Tom Rini
> ---
> arch/arm/dts/omap5-u-boot.dtsi | 4
> 1 file changed, 4 insertions(+)
Reviewed-by: Simon Glas
+Tom
Hi Chris,
On 21 April 2017 at 10:27, Chris Packham wrote:
>
> The first patch is the addition of a KConfig option for the date
> command. I haven't updated any boards to use the new option due to the
> sheer number of boards that would affect. It's probably better if board
> maintainers swi
Hi Jean-Jacques,
On 21 April 2017 at 04:08, Jean-Jacques Hiblot wrote:
> Those tests check:
> - the ability for a phy-user to get a phy based on its name or its index
> - the ability of a phy device (provider) to manage multiple ports
> - the ability to perform operations on the phy (init,deinit,
Hi Alex,
On 20 April 2017 at 10:09, Alexander Graf wrote:
> On 04/11/2017 05:58 AM, Andreas Färber wrote:
>>
>> Hello,
>>
>> In our OBS builds I occasionally see the following build failure with,
>> e.g., -j 2, which seems to hint at a missing Makefile dependency
>> somewhere:
>>
>>> [ 234s] C
On 21 April 2017 at 04:08, Jean-Jacques Hiblot wrote:
> Enable disk driver model for dra7xx_evm as dwc_ahci supports
> driver model. As a consequence we must also enable CONFIG_BLK and
> CONFIG_DM_USB.
>
> Signed-off-by: Mugunthan V N
> Signed-off-by: Jean-Jacques Hiblot
> Reviewed-by: Tom Rini
On 21 April 2017 at 04:08, Jean-Jacques Hiblot wrote:
> The DM version of scsi_scan() is becoming a bit long, it can be split:
> scsi_scan() iterates over the IDs and LUNs and for each id/lun pair calls
> do_scsi_scan_one() to do the work of:
> - detecting an attached drive
> - creating the asso
Hi Stefan,
On 19 April 2017 at 03:27, Stefan Roese wrote:
> Hi Simon,
>
> sorry for the late replay - just back from vacation
>
>
> On 09.04.2017 21:28, Simon Glass wrote:
>>
>> Hi Stefan,
>>
>> On 6 April 2017 at 07:29, Stefan Roese wrote:
>>>
>>> On my x86 platform I've noticed, that calli
On 23 April 2017 at 02:43, Álvaro Fernández Rojas wrote:
> Use uclass_first_device and uclass_next_device in order to avoid exceptions
> for drivers that aren't probed when cpu ops are requested.
> Improve code style and fix indentations.
> Fix incorrect line break when cpu info is not available.
Hi,
On 17 April 2017 at 16:39, Jaehoon Chung wrote:
> On 04/18/2017 06:18 AM, Heinrich Schuchardt wrote:
>> On 04/16/2017 09:34 PM, Simon Glass wrote:
>>> Hi Alex,
>>>
>>> On 16 April 2017 at 04:08, Alexander Graf wrote:
On 16.04.17 04:09, Heinrich Schuchardt wrote:
>
> On
On 20 April 2017 at 02:15, Kever Yang wrote:
> GMAC controller need to init the tx io driver strength to 13mA,
> just like the description in dts pinctrl node, or else the controller
> may only work in 100MHz Mode, and fail to work at 1000MHz mode.
>
> Signed-off-by: Kever Yang
> ---
>
> arch/ar
Hi Jean-Jacques,
On 21 April 2017 at 04:08, Jean-Jacques Hiblot wrote:
> The PHY framework provides a set of APIs to control a PHY. This API is
> derived from the linux version of the generic PHY framework.
> Currently the API supports init(), deinit(), power_on, power_off() and
> reset(). The fr
On 23 April 2017 at 02:43, Álvaro Fernández Rojas wrote:
> Signed-off-by: Álvaro Fernández Rojas
> ---
> v5: Add specific desc functions.
> v4: No changes.
> v3: Several improvements:
> - Probe driver correctly.
> - Allocate size for priv struct.
> - Cosmetic fixes.
> v2: Introduce chan
Hi Stefan,
On 17 April 2017 at 03:37, Stefan Roese wrote:
> Hi Bin,
>
> On 12.04.2017 10:14, Bin Meng wrote:
>> On Wed, Mar 22, 2017 at 4:06 AM, Simon Glass wrote:
>>> Hi Bin,
>>>
>>> On 16 March 2017 at 08:26, Bin Meng wrote:
In an S3 resume path, U-Boot does everything like a cold boot e
On 19 April 2017 at 20:06, Eddie Cai wrote:
> 2017-04-19 20:39 GMT+08:00 Eric Gao :
>> Signed-off-by: Eric Gao
> Reviewed-by: Eddie Cai
Acked-by: Simon Glass
>>
>> ---
>>
>> Changes in v3:
>> -Add ret value in debug message.
>>
>> Changes in v2:
>> -Add pwm0 pinctrl init for lcd backlight.
>>
On 18 April 2017 at 20:06, James Balean wrote:
> Enables the pinctrl-single driver to support 16-bit registers. Only
> 32-bit registers were supported previously. Reduced width registers are
> required for some platforms, such as OMAP.
>
> Signed-off-by: James Balean
> Cc: Felix Brack
> Cc: Simo
Hi Peng,
On 19 April 2017 at 19:10, Peng Fan wrote:
> Change type of timebase_l/h to unsigned int.
What is the motivation for this, please?
>
> Signed-off-by: Peng Fan
> Cc: Simon Glass
> Cc: Eddie Cai
> Cc: Jagan Teki
> Cc: York Sun
> Cc: "Robert P. J. Day"
> Cc: Michal Simek
> Cc: Tom
On 19 April 2017 at 04:17, Kever Yang wrote:
> Firefly-rk3399 is a bord from T-Firefly, you can find detail about
> it here:
> http://en.t-firefly.com/en/firenow/Firefly_RK3399/
>
> This patch add basic node for the board and make it able to bring
> up.
>
> Peripheral/interfaces on board:
> - usb
Hi Bin,
On 21 April 2017 at 08:24, Bin Meng wrote:
> U-Boot sets up the real mode interrupt handler stubs starting from
> address 0x1000. In most cases, the first 640K (0x0 - 0x9)
> system memory is reported as system RAM in E820 table to the OS.
> (see install_e820_map() implementation f
On 19 April 2017 at 08:46, Philipp Tomsich
wrote:
> This originally started out as
> "pinctrl: Kconfig: reorder to keep Rockchip options together"
> and tried to keep the Rockchip-related config options together.
>
> However, we now rewrite all chip-specific driver selections to start
> with
Hi Peng,
On 19 April 2017 at 19:10, Peng Fan wrote:
> Change tbu/l type to unsigned int.
Why do this, please?
>
> Signed-off-by: Peng Fan
> Cc: Simon Glass
> Cc: Tom Rini
> ---
> arch/arm/include/asm/global_data.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/
On 20 April 2017 at 03:03, Kever Yang wrote:
> There are 3 regions used by rk3399 ATF:
> - bl31 code, located at 0x1;
> - cortex-m0 code and data, located at 0xff8c;
> - bl31 data, located at 0xff8c1000 ~ 0xff8c4000;
>
> SPL_TEXT_BASE starts from 0xff8c2000, we need to reserve memory
> for
On 21 April 2017 at 08:24, Bin Meng wrote:
> When SeaBIOS is being used, U-Boot reserves a memory area to be
> used for configuration tables like ACPI. But it should not be
> cleared otherwise ACPI table will be missing.
>
> Signed-off-by: Bin Meng
>
> ---
>
> Changes in v2:
> - new patch "Do not
On 21 April 2017 at 08:24, Bin Meng wrote:
> Introduce a new CONFIG_S3_VGA_ROM_RUN option so that U-Boot can
> bypass executing VGA roms in S3.
>
> Signed-off-by: Bin Meng
> ---
>
> Changes in v2: None
>
> arch/x86/Kconfig | 12
> drivers/pci/pci_rom.c | 14 ++
> 2
On 21 April 2017 at 08:24, Bin Meng wrote:
> This adds one API acpi_find_wakeup_vector() to locate OS wakeup
> vector from the ACPI FACS table, to be used in the S3 boot path.
>
> Signed-off-by: Bin Meng
>
> ---
>
> Changes in v2:
> - add a function comment block for acpi_find_wakeup_vector()
>
>
Hi Philipp,
On 17 February 2017 at 10:28, Philipp Tomsich
wrote:
> This introduces the ability to override the environment offets from the
> device tree by setting the following nodes in '/config':
> 'u-boot,mmc-env-offset' - overrides CONFIG_ENV_OFFSET
> 'u-boot,mmc-env-offset-re
Add test case for new interface set_invert().
Signed-off-by: Kever Yang
Acked-by: Simon Glass
---
Changes in v4: None
Changes in v3:
- add sanbox test
Changes in v2: None
drivers/pwm/sandbox_pwm.c | 16
test/dm/pwm.c | 1 +
2 files changed, 17 insertions(+)
dif
Rockchip pwm need to init polarity, implement pwm_set_invert()
to do it.
Signed-off-by: Kever Yang
Acked-by: Simon Glass
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
drivers/pwm/rk_pwm.c | 17 -
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/d
This is a copy from kernel.
Signed-off-by: Kever Yang
Acked-by: Simon Glass
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
doc/device-tree-bindings/pwm/pwm.txt | 69
1 file changed, 69 insertions(+)
create mode 100644 doc/device-tree-bind
The latest kernel PWM drivers enable the polarity settings. When system
run from U-Boot to kerenl, if there are differences in polarity set or
duty cycle, the PMW will re-init:
close -> set polarity and duty cycle -> enable the PWM.
The power supply controled by pwm regulator may have voltage sha
Hi Simon,
On 04/23/2017 08:42 AM, Simon Glass wrote:
The code to generate the tables is quite long. Move the node-output code
into its own function.
Signed-off-by: Simon Glass
---
tools/dtoc/dtoc.py | 96 +-
1 file changed, 52 insertions
Hi Simon,
On 04/23/2017 08:42 AM, Simon Glass wrote:
At present dtoc assumes that nodes which are phandles do not themselves
reference other phandle nodes. Unfortunately this is not necessarilly
true. As a result we can currently output C code which does not compile
because a node declaration c
Hi Andreas,
On 23 April 2017 at 04:55, Andreas Färber wrote:
> Am 19.04.2017 um 23:34 schrieb Simon Glass:
>> On 19 April 2017 at 15:06, Andreas Färber wrote:
>>> Am 19.04.2017 um 13:26 schrieb Heinrich Schuchardt:
When iterating over the devices of an uclass the iteration stops
at the
On 19 April 2017 at 03:37, Kever Yang wrote:
> This is a copy from kernel.
>
> Signed-off-by: Kever Yang
> ---
>
> Changes in v3: None
> Changes in v2: None
>
> doc/device-tree-bindings/pwm/pwm.txt | 69
>
> 1 file changed, 69 insertions(+)
> create mode 10
Hi Andreas,
On 23 April 2017 at 04:48, Andreas Färber wrote:
> Am 23.04.2017 um 01:58 schrieb Simon Glass:
>> Hi,
>>
>> On 19 April 2017 at 15:34, Simon Glass wrote:
>>> On 19 April 2017 at 15:06, Andreas Färber wrote:
Am 19.04.2017 um 13:26 schrieb Heinrich Schuchardt:
> When iteratin
Hi Kever,
On 19 April 2017 at 03:37, Kever Yang wrote:
> The latest kernel PWM drivers enable the polarity settings. When system
> run from U-Boot to kerenl, if there are differences in polarity set or
> duty cycle, the PMW will re-init:
> close -> set polarity and duty cycle -> enable the PWM.
Hi,
On 5 April 2017 at 16:23, Simon Glass wrote:
> When an MMC controller is set up we should probe the device to find out
> what it is. This includes finding its capacity and reading its partition
> table.
>
> Signed-off-by: Simon Glass
> Reviewed-by: Jaehoon Chung
> ---
>
> Changes in v6: Non
On 19 April 2017 at 03:37, Kever Yang wrote:
> Add test case for new interface set_invert().
>
> Signed-off-by: Kever Yang
> ---
>
> Changes in v3: None
> Changes in v2: None
>
> drivers/pwm/sandbox_pwm.c | 16
> test/dm/pwm.c | 1 +
> 2 files changed, 17 insertions
Sometimes it is useful to iterate through all devices in a uclass and
skip over those which do not work correctly (e.g fail to probe). Add two
new functions to provide this feature.
The caller must check the return value each time to make sure that the
device is valid. But the device pointer is al
These are not as clear as they could be. Tidy them up a bit. Also fix a
tiny code-style nit.
Signed-off-by: Simon Glass
---
Changes in v2: None
drivers/core/uclass.c | 3 +--
include/dm/uclass.h | 13 +++--
2 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/drivers/core
Add some tests which check the behaviour of uclass_first_device() and
uclass_next_device() when probing of a device fails.
Signed-off-by: Simon Glass
---
Changes in v2: None
arch/sandbox/dts/test.dts | 19 +
include/dm/uclass-id.h| 1 +
test/dm/test-fdt.c| 72 +
When binding a new MMC device, make sure that it has the required
operations. Since for now we still support *not* having the operations
(with CONFIG_DM_MMC_OPS not enabled) it makes sense to add this check.
Signed-off-by: Simon Glass
---
drivers/mmc/mmc-uclass.c | 4
1 file changed, 4 ins
We do not need to probe the block device here, so avoid doing so. The MMC
device itself must be active, but the block device can come later.
Signed-off-by: Simon Glass
---
drivers/mmc/mmc-uclass.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/mmc/mmc-uclass.c
This function is called when the MMC block device is being probed. There
is a recursive call in this function since find_mmc_device() itself can
cause the MMC device to be probed.
Admittedly the MMC device should already be probed, since we would not be
probing its child otherwise, but the current
Enable CONFIG_DM_MMC_OPS and CONFIG_BLK for all Tegra devices. This moves
Tegra to use driver model fully for MMC.
Signed-off-by: Simon Glass
---
board/toradex/common/tdx-cfg-block.c | 2 +-
configs/apalis-tk1_defconfig | 2 -
configs/apalis_t30_defconfig | 2 -
configs/beave
Sometimes it is useful to be able to find a block device without also
probing it. Add a function for this as well as the associated test.
Signed-off-by: Simon Glass
---
drivers/block/blk-uclass.c | 15 +--
include/blk.h | 15 ++-
test/dm/blk.c |
At present this code is inline. Move it into a function to allow it to
be used elsewhere.
Signed-off-by: Simon Glass
---
drivers/block/blk-uclass.c | 22 --
1 file changed, 16 insertions(+), 6 deletions(-)
diff --git a/drivers/block/blk-uclass.c b/drivers/block/blk-uclass.c
The intention with block devices is that the device number (devnum field
in its descriptor) matches the alias of its parent device. For example,
with:
aliases {
mmc0 = "/sdhci@700b0600";
mmc1 = "/sdhci@700b0400";
}
we expect that the block devices f
With driver model MMC is probed automatically when needed. We should not
re-init MMC each time.
Signed-off-by: Simon Glass
---
common/env_mmc.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/common/env_mmc.c b/common/env_mmc.c
index a5d14d448c..1611886e22 100644
--- a/com
The current MMC block device support has a few deficiencies which show up
when both CONFIG_BLK and CONFIG_DM_MMC_OPS are defined:
- Block device numbering does not always following MMC device numbering
- Environment in MMC does not always work correctly
In addition some parts of the code can be i
This is a test patch for Philipp.
Please apply this on top of your existing patch:
http://patchwork.ozlabs.org/patch/752268/
For me this handles this better in that I can deal with get_maintainers
returning unicode. Can you check if it breaks anything on your side. If
so, please let me know what
Am 23.04.2017 um 10:43 schrieb Álvaro Fernández Rojas:
> CFE checks CPU Thread in a different way (using register $22):
> mfc0 t1, C0_BCM_CONFIG, 3 # $22
> lit2, CP0_CMT_TPID # (1 << 31)
> and t1, t2
> bnez t1, 2f # if we are running on thread 1, skip init
> nop
>
> Signed-off-by: Álvar
Am 23.04.2017 um 10:43 schrieb Álvaro Fernández Rojas:
> Add a new sysreset driver based on linux/drivers/power/reset/syscon-reboot.c,
> which provides a generic driver for platforms that only require writing a mask
> to a regmap offset.
>
> Signed-off-by: Álvaro Fernández Rojas
> Reviewed-by:
Am 23.04.2017 um 10:43 schrieb Álvaro Fernández Rojas:
> It is based on linux/drivers/tty/serial/bcm63xx_uart.c
>
> Signed-off-by: Álvaro Fernández Rojas
> ---
> v5: No changes.
> v4: Add more missing register configurations based on CFE.
> v3: Several improvements:
> - Add missing registe
On 04/23/2017 09:04 PM, Daniel Schwierzeck wrote:
>
>
> Am 23.04.2017 um 19:08 schrieb Marek Vasut:
>> On 04/23/2017 02:04 PM, Álvaro Fernández Rojas wrote:
>>> Hi Marek,
>>>
>>> El 23/04/2017 a las 13:44, Marek Vasut escribió:
On 04/23/2017 01:31 PM, Álvaro Fernández Rojas wrote:
> Hi M
Am 23.04.2017 um 12:50 schrieb Álvaro Fernández Rojas:
> From: Daniel Schwierzeck
>
> All MIPS boards that support debug uart are calling debug_uart_init right at
> the beginning of board_early_init_f.
> Instead of doing that, let's provide a generic call to debug_uart_init right
> before the c
Am 23.04.2017 um 19:08 schrieb Marek Vasut:
> On 04/23/2017 02:04 PM, Álvaro Fernández Rojas wrote:
>> Hi Marek,
>>
>> El 23/04/2017 a las 13:44, Marek Vasut escribió:
>>> On 04/23/2017 01:31 PM, Álvaro Fernández Rojas wrote:
Hi Marek,
El 23/04/2017 a las 13:09, Marek Vasut escribi
On 04/23/2017 02:04 PM, Álvaro Fernández Rojas wrote:
> Hi Marek,
>
> El 23/04/2017 a las 13:44, Marek Vasut escribió:
>> On 04/23/2017 01:31 PM, Álvaro Fernández Rojas wrote:
>>> Hi Marek,
>>>
>>> El 23/04/2017 a las 13:09, Marek Vasut escribió:
On 04/23/2017 12:50 PM, Álvaro Fernández Rojas
This option is not used in U-Boot. Drop it.
Signed-off-by: Simon Glass
---
README | 6 --
common/board_r.c | 17 -
scripts/config_whitelist.txt | 1 -
3 files changed, 24 deletions(-)
diff --git a/README b/README
index aee17cb35d..9798292
This option is not used by any boards. Drop it.
Signed-off-by: Simon Glass
---
README | 11 ---
drivers/i2c/fsl_i2c.c| 9 -
drivers/i2c/fti2c010.c | 9 -
include/i2c.h| 3 ---
scripts/config_whitelist.txt | 1 -
5 f
This option is not used in U-Boot. Drop it.
Signed-off-by: Simon Glass
---
README | 32 +---
1 file changed, 1 insertion(+), 31 deletions(-)
diff --git a/README b/README
index 9798292f8d..f7137d 100644
--- a/README
+++ b/README
@@ -2214,37 +2214,7 @@ The followi
This option is not used in U-Boot. Drop it.
Signed-off-by: Simon Glass
---
README | 2 --
1 file changed, 2 deletions(-)
diff --git a/README b/README
index 0bee478ec7..f75dc0f2f6 100644
--- a/README
+++ b/README
@@ -2238,8 +2238,6 @@ The following options need to be configured:
Drop use of this long-deprecated option.
Signed-off-by: Simon Glass
---
drivers/i2c/mxc_i2c.c | 4
1 file changed, 4 deletions(-)
diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c
index 13ec0e63b1..b68e82770b 100644
--- a/drivers/i2c/mxc_i2c.c
+++ b/drivers/i2c/mxc_i2c.c
@@ -69,1
Drop use of this long-deprecated option.
Signed-off-by: Simon Glass
---
README | 16
board/ti/am335x/board.c | 6 +-
board/ti/am43xx/board.c | 3 +--
cmd/eeprom.c | 2 --
common/board_f.c | 4 ++--
common/stdio
Drop use of this long-deprecated option.
Signed-off-by: Simon Glass
---
board/keymile/km82xx/km82xx.c | 5 -
board/keymile/km_arm/km_arm.c | 4
2 files changed, 9 deletions(-)
diff --git a/board/keymile/km82xx/km82xx.c b/board/keymile/km82xx/km82xx.c
index 51b4571d40..f5a98b33e7 10064
Drop use of this long-deprecated option for powerpc.
Signed-off-by: Simon Glass
---
arch/powerpc/cpu/mpc512x/Makefile | 1 -
arch/powerpc/cpu/mpc512x/i2c.c | 386 ---
arch/powerpc/cpu/mpc5xxx/Makefile | 1 -
arch/powerpc/cpu/mpc5xxx/i2c.c | 456
Drop use of this long-deprecated option.
Signed-off-by: Simon Glass
---
board/pdm360ng/pdm360ng.c | 30 --
1 file changed, 30 deletions(-)
diff --git a/board/pdm360ng/pdm360ng.c b/board/pdm360ng/pdm360ng.c
index 9db31d3312..371bcd9e6b 100644
--- a/board/pdm360ng/pdm
Drop use of this long-deprecated option.
Signed-off-by: Simon Glass
---
board/cm5200/cm5200.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/board/cm5200/cm5200.c b/board/cm5200/cm5200.c
index 2f55191caf..0c647bbd3d 100644
--- a/board/cm5200/cm5200.c
+++ b/board/cm520
Hi Marek,
El 23/04/2017 a las 13:44, Marek Vasut escribió:
> On 04/23/2017 01:31 PM, Álvaro Fernández Rojas wrote:
>> Hi Marek,
>>
>> El 23/04/2017 a las 13:09, Marek Vasut escribió:
>>> On 04/23/2017 12:50 PM, Álvaro Fernández Rojas wrote:
From: Daniel Schwierzeck
All MIPS boards
On 04/23/2017 01:31 PM, Álvaro Fernández Rojas wrote:
> Hi Marek,
>
> El 23/04/2017 a las 13:09, Marek Vasut escribió:
>> On 04/23/2017 12:50 PM, Álvaro Fernández Rojas wrote:
>>> From: Daniel Schwierzeck
>>>
>>> All MIPS boards that support debug uart are calling debug_uart_init right at
>>> the
Hi Marek,
El 23/04/2017 a las 13:09, Marek Vasut escribió:
> On 04/23/2017 12:50 PM, Álvaro Fernández Rojas wrote:
>> From: Daniel Schwierzeck
>>
>> All MIPS boards that support debug uart are calling debug_uart_init right at
>> the beginning of board_early_init_f.
>> Instead of doing that, let's
On 04/23/2017 12:50 PM, Álvaro Fernández Rojas wrote:
> From: Daniel Schwierzeck
>
> All MIPS boards that support debug uart are calling debug_uart_init right at
> the beginning of board_early_init_f.
> Instead of doing that, let's provide a generic call to debug_uart_init right
> before the call
Am 19.04.2017 um 23:34 schrieb Simon Glass:
> On 19 April 2017 at 15:06, Andreas Färber wrote:
>> Am 19.04.2017 um 13:26 schrieb Heinrich Schuchardt:
>>> When iterating over the devices of an uclass the iteration stops
>>> at the first device that cannot be probed.
>>> When calling booefi this wil
Am 23.04.2017 um 01:58 schrieb Simon Glass:
> Hi,
>
> On 19 April 2017 at 15:34, Simon Glass wrote:
>> On 19 April 2017 at 15:06, Andreas Färber wrote:
>>> Am 19.04.2017 um 13:26 schrieb Heinrich Schuchardt:
When iterating over the devices of an uclass the iteration stops
at the first
From: Daniel Schwierzeck
All MIPS boards that support debug uart are calling debug_uart_init right at
the beginning of board_early_init_f.
Instead of doing that, let's provide a generic call to debug_uart_init right
before the call to board_init_f if debug uart is enabled.
Signed-off-by: Daniel
In order to add a generic MIPS debug_uart_init call right before the call to
board_early_init_f, we need to remove all calls to debug_uart_init from every
MIPS boards.
WDR4300 doesn't provide a board_debug_uart_init and configures pinmux in
board_early_init_f instead. Since I have no idead of what'
In order to add a generic MIPS debug_uart_init call right before the call to
board_early_init_f, we need to remove all calls to debug_uart_init from every
MIPS boards.
Signed-off-by: Álvaro Fernández Rojas
---
board/qca/ap143/ap143.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/board/qc
All MIPS boards that support debug uart are calling debug_uart_init right at
the beginning of board_early_init_f.
Instead of doing that, let's provide a generic call to debug_uart_init right
before the call to board_init_f if debug uart is enabled.
Daniel Schwierzeck (1):
MIPS: call debug_uart_i
In order to add a generic MIPS debug_uart_init call right before the call to
board_early_init_f, we need to remove all calls to debug_uart_init from every
MIPS boards.
Signed-off-by: Álvaro Fernández Rojas
---
board/qca/ap121/ap121.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/board/qc
Am 23.04.2017 um 12:41 schrieb Andreas Färber:
> Am 22.04.2017 um 16:51 schrieb Heinrich Schuchardt:
>> On 04/22/2017 03:10 PM, Andreas Färber wrote:
>>> Hi,
>>>
>>> Am 22.04.2017 um 14:59 schrieb Heinrich Schuchardt:
On 01/15/2017 07:52 PM, Andreas Färber wrote:
> Use the generic "distro"
Am 22.04.2017 um 16:51 schrieb Heinrich Schuchardt:
> On 04/22/2017 03:10 PM, Andreas Färber wrote:
>> Hi,
>>
>> Am 22.04.2017 um 14:59 schrieb Heinrich Schuchardt:
>>> On 01/15/2017 07:52 PM, Andreas Färber wrote:
Use the generic "distro" boot framework to enable automatic DHCP boot.
>>>
Heinrich,
Am 23.04.2017 um 10:09 schrieb Heinrich Schuchardt:
> According to doc/README.pxe fdtfile shall only contain a filename
> and no path. If a path is needed it shall be specified with
> ftddir.
That is absolute BS!!! It does NOT say that at all.
http://git.denx.de/?p=u-boot.git;a=commitd
Signed-off-by: Álvaro Fernández Rojas
---
v5: No changes.
v4: No changes.
v3: No changes.
v2: Introduce changes suggested by Daniel Schwierzeck:
- Split BMIPS support patches.
- Remove DEBUG_UART from defconfig.
arch/mips/dts/Makefile | 1 +
arch/mips/dts/comtrend,ar-53
Use uclass_first_device and uclass_next_device in order to avoid exceptions
for drivers that aren't probed when cpu ops are requested.
Improve code style and fix indentations.
Fix incorrect line break when cpu info is not available.
Remove unneeded brackets.
Signed-off-by: Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas
---
v5: No changes.
v4: No changes.
v3: No changes.
v2: Introduce changes suggested by Daniel Schwierzeck:
- Split BMIPS support patches.
- Add PERF_BASE to cpus.
arch/mips/dts/brcm,bcm6328.dtsi | 88 +
arch/mi
Signed-off-by: Álvaro Fernández Rojas
---
v5: Add specific desc functions.
v4: No changes.
v3: Several improvements:
- Probe driver correctly.
- Allocate size for priv struct.
- Cosmetic fixes.
v2: Introduce changes suggested by Daniel Schwierzeck:
- Split BMIPS support patches.
- Ge
Signed-off-by: Álvaro Fernández Rojas
---
v5: No changes.
v4: No changes.
v3: No changes.
v2: Introduce changes suggested by Daniel Schwierzeck:
- Split BMIPS support patches.
- Add PERF_BASE to cpus.
arch/mips/dts/brcm,bcm63268.dtsi | 88
arch/mi
CFE checks CPU Thread in a different way (using register $22):
mfc0t1, C0_BCM_CONFIG, 3 # $22
li t2, CP0_CMT_TPID # (1 << 31)
and t1, t2
bnezt1, 2f # if we are running on thread 1, skip init
nop
Signed-off-by: Álvaro Fernández Rojas
---
v4: No changes.
v5: No changes.
v3: Sel
Signed-off-by: Álvaro Fernández Rojas
---
v5: No changes.
v4: No changes.
v3: No changes.
v2: Introduce changes suggested by Daniel Schwierzeck:
- Split BMIPS support patches.
- Remove DEBUG_UART from defconfig.
arch/mips/dts/Makefile | 1 +
arch/mips/dts/comtrend,vr-303
Signed-off-by: Álvaro Fernández Rojas
---
v5: No changes.
v4: No changes.
v3: Add cfi-flash support.
v2: Introduce changes suggested by Daniel Schwierzeck:
- Split BMIPS support patches.
- Remove DEBUG_UART from defconfig.
arch/mips/dts/Makefile | 1 +
arch/mips/dts/huawei,
Add a new sysreset driver based on linux/drivers/power/reset/syscon-reboot.c,
which provides a generic driver for platforms that only require writing a mask
to a regmap offset.
Signed-off-by: Álvaro Fernández Rojas
Reviewed-by: Simon Glass
---
v5: No chnages.
v4: Rebased.
v3: Introduce change
Signed-off-by: Álvaro Fernández Rojas
Reviewed-by: Simon Glass
---
v5: No changes.
v4: No changes.
v3: Rename of_match to ids.
v2: Introduce changes suggested by Daniel Schwierzeck:
- Split BMIPS support patches.
drivers/ram/Makefile| 2 +
drivers/ram/bmips_ram.c | 126 +
Signed-off-by: Álvaro Fernández Rojas
---
v5: No changes.
v4: No changes.
v3: Add cfi-flash defines.
v2: Introduce changes suggested by Daniel Schwierzeck:
- Split BMIPS support patches.
- Add PERF_BASE to cpus.
- Merge with "fix ioremap for BCM6358" patch.
- Add a custom ioremap.h ins
It is based on linux/drivers/tty/serial/bcm63xx_uart.c
Signed-off-by: Álvaro Fernández Rojas
---
v5: No changes.
v4: Add more missing register configurations based on CFE.
v3: Several improvements:
- Add missing register configurations based on CFE.
- Replace tabs with whitespaces.
- Cos
Avoid duplicating do_reset definition if SYSRESET is enabled for MIPS
Signed-off-by: Álvaro Fernández Rojas
Reviewed-by: Simon Glass
---
v5: No changes.
v4: No changes.
v3: No changes.
v2: No changes.
arch/mips/cpu/cpu.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/mips/cpu/c
Commit 740d5d3 added two new features but only one feature name,
which results in NULL prints when device_id feature is selected.
Before:
HG556a # cpu detail
-1: cpu@0 BCM6358A1
ID = 0, freq = 300 MHz: L1 cache, MMU, NULL
Device ID 0x2a010
1 - 100 of 104 matches
Mail list logo