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 <nolt...@gmail.com>
---
drivers/sysreset/Kconfig | 8 +
d
Avoid duplicating do_reset definition if SYSRESET is enabled for MIPS
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
arch/mips/cpu/cpu.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/mips/cpu/cpu.c b/arch/mips/cpu/cpu.c
index 1b919ed..55e6498 100644
--- a/arc
cache, MMU
Device ID 0x2a010
-1: cpu@1 BCM6358A1
ID = 1, freq = 300 MHz: L1 cache, MMU
Device ID 0x2a010
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
cmd/cpu.c | 3 ++-
1 file changed, 2 insertions(+), 1 de
This adds support for some of the xDSL Broadcom MIPS SoCs:
- BCM6358
- BCM6328
- BCM63268
However, support for other SoCs could be added in the future:
- Other BCM63xx
- BCM33xx
- BCM71xx
Álvaro Fernández Rojas (8):
cmd: cpu: fix NULL cpu feature prints
sysreset: add syscon-reboot
BCM6358 has its internal registers mapped to 0xfffe, which is changed to
0x1ffe when ioremap is called.
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
arch/mips/include/asm/mach-generic/ioremap.h | 15 ++-
1 file changed, 14 insertions(+), 1 deletion(-)
CFE supports loading .elf images instead of raw binaries.
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
Makefile | 22 ++
arch/mips/cpu/u-boot-elf.lds | 10 ++
2 files changed, 32 insertions(+)
create mode 100644 arch/mips
This target supports some of the xDSL Broadcom MIPS SoCs for now.
However, support for other SoCs could be added in the future.
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
arch/mips/Kconfig | 10 ++
arch/mips/Makefile | 1 +
It is based on linux/drivers/tty/serial/bcm63xx_uart.c
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
drivers/serial/Kconfig | 14 ++
drivers/serial/Makefile | 1 +
drivers/serial/serial_bcm6345.c | 341
3 files c
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 <nolt...@gmail.com>
---
arch/mips
for sysreset.
v3: Introduce changes suggested by Simon Glass.
v2: Introduce changes suggested by Daniel Schwierzeck.
Álvaro Fernández Rojas (14):
cmd: cpu: fix NULL cpu feature prints
sysreset: add syscon-reboot driver
MIPS: allow using generic sysreset drivers
serial: add serial driver
Avoid duplicating do_reset definition if SYSRESET is enabled for MIPS
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
v4: No changes.
v3: No changes.
v2: No changes.
arch/mips/cpu/cpu.c | 2 ++
1 file changed, 2 inserti
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
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/comtr
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
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/comtr
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 <nolt...@gmail.com>
---
v4: No
It is based on linux/drivers/tty/serial/bcm63xx_uart.c
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v4: Add more missing register configurations based on CFE.
v3: Several improvements:
- Add missing register configurations based on CFE.
- Replace tabs with white
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
v4: No changes.
v3: Rename of_match to ids.
v2: Introduce changes suggested by Daniel Schwierzeck:
- Split BMIPS support patches.
drivers/ram/Makefile| 2 +
-1: cpu@1 BCM6358A1
ID = 1, freq = 300 MHz: L1 cache, MMU, Device ID
Device ID 0x2a010
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
v3: No changes.
v2: Introduce changes suggest
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 <nolt...@gmail.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
v4: No changes.
v3: Several improvements:
- Probe driver correctly.
- Allocate size for priv struct.
- Cosmetic fixes.
v2: Introduce changes suggested by Daniel
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 <nolt...@gmail.com>
---
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/mi
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
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
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
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
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
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 +
Provide an u-boot.elf binary for Broadcom MIPS platforms by re-using
the already existing Makefile target for aarch64.
This u-boot.elf binary should be used as a stage 2 loader
until U-Boot can be replace the original Broadcom boot loader.
Split patches from main BMIPS support.
Álvaro Fernández
This is needed in order to allow building it for other archs.
Move relocation comment to a better place.
Remove no longer needed dts FIXME.
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Tom Rini <tr...@konsulko.com>
---
v4: no changes
v3: Introduce chang
Define PLATFORM_ELFFLAGS for MIPS in order to be able to generate u-boot.elf
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v4: Introduce changes suggested by Tom Rini:
- __start is the standard for MIPS, not ARM.
v3: Introduce changes suggested by Daniel Schwierzeck:
This way we can see output about u-boot.elf being built or not.
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v4: Introduce changes suggested by Tom Rini:
- Add new patch to output u-boot.elf build.
Makefile | 10 ++
1 file changed, 6 insertions(+), 4 del
=ed47513ccc1d23d23d32ee640053d2f351f3990b;hb=HEAD#l258
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v4: Introduce changes suggested by Tom Rini:
- __start is the standard for MIPS, not ARM.
v3: Introduce changes suggested by Daniel Schwierzeck:
- Split patches.
v2: Int
In case you decide to apply this version (I see you're yet deciding which is
the best way to go), I tested it and it solves my problem with sysreset not
bein probed correctly.
So,
Tested-by: Álvaro Fernández Rojas <nolt...@gmail.com>
El 19/04/2017 a las 13:26, Heinrich Schuchardt es
Hi Andreas,
El 19/04/2017 a las 18:25, Andreas Färber escribió:
> Am 19.04.2017 um 18:22 schrieb Álvaro Fernández Rojas:
>> In case you decide to apply this version (I see you're yet deciding which is
>> the best way to go), I tested it and it solves my problem with sysreset not
-1: cpu@1 BCM6358A1
ID = 1, freq = 300 MHz: L1 cache, MMU, Device ID
Device ID 0x2a010
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v2: Introduce changes suggested by Daniel Schwierzeck:
- Add the missing name instead of checking fo
This adds support for some of the xDSL Broadcom MIPS SoCs:
- BCM6358
- BCM6328
- BCM63268
However, support for other SoCs could be added in the future:
- Other BCM63xx
- BCM33xx
- BCM71xx
v2: Introduce changes suggested by Daniel Schwierzeck
Álvaro Fernández Rojas (14):
cmd: cpu: fix
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
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-3032u.dts
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v2: Introduce changes suggested by Daniel Schwierzeck:
- Split BMIPS support patches.
- Add PERF_BASE to cpus.
arch/mips/dts/brcm,bcm63268.dtsi | 88
arch/mips/mach-bmips/Kconfig
It is based on linux/drivers/tty/serial/bcm63xx_uart.c
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v2: Introduce changes suggested by Daniel Schwierzeck:
- Remove unneeded defines.
- Fix incorrect multi-line comment.
drivers/serial/Kconfig | 14 +++
d
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
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-5387un.dts
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v2: Introduce changes suggested by Daniel Schwierzeck:
- Split BMIPS support patches.
drivers/ram/Makefile| 2 +
drivers/ram/bmips_ram.c | 126
2 files changed, 128 inse
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
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,hg556a.dts
ARM64 isn't the only arch that needs it, since BMIPS CFE supports loading .elf
images instead of raw binaries.
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v2: Introduce changes suggested by Daniel Schwierzeck:
- Avoid using a linker script.
- Reuse aarch64 u-bo
Hi Daniel,
El 14/04/2017 a las 20:19, Daniel Schwierzeck escribió:
>
>
> Am 13.04.2017 um 17:52 schrieb Álvaro Fernández Rojas:
>> It is based on linux/drivers/tty/serial/bcm63xx_uart.c
>>
>> Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Hi Daniel,
El 14/04/2017 a las 19:43, Daniel Schwierzeck escribió:
> +cc Simon
>
> Am 13.04.2017 um 17:52 schrieb Álvaro Fernández Rojas:
>> Commit 740d5d3 added two new features but only one feature name,
>> which results in NULL prints when device_id featur
Hi,
El 15/04/2017 a las 19:19, Álvaro Fernández Rojas escribió:
>
>
> El 14/04/2017 a las 21:05, Daniel Schwierzeck escribió:
>>
>>
>> Am 13.04.2017 um 17:52 schrieb Álvaro Fernández Rojas:
>>> CFE supports loading .elf images instead of raw binaries.
>
Hi again,
El 15/04/2017 a las 19:18, Álvaro Fernández Rojas escribió:
> Hi Daniel,
>
> El 14/04/2017 a las 20:26, Daniel Schwierzeck escribió:
>>
>>
>> Am 13.04.2017 um 17:52 schrieb Álvaro Fernández Rojas:
>>> BCM6358 has its internal registers ma
Hi,
El 15/04/2017 a las 21:14, Álvaro Fernández Rojas escribió:
> Hi,
>
> El 15/04/2017 a las 20:54, Daniel Schwierzeck escribió:
>>
>>
>> Am 15.04.2017 um 20:10 schrieb Álvaro Fernández Rojas:
>>> Hi,
>>>
>>> El 15/04/2017 a las 19:19, Ál
Avoid duplicating do_reset definition if SYSRESET is enabled for MIPS
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v2: no changes
arch/mips/cpu/cpu.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/mips/cpu/cpu.c b/arch/mips/cpu/cpu.c
index 1b919ed..55e6498
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 <nolt...@gmail.com>
---
v2: no changes
drivers/sysreset/Kconfig
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 <nolt...@gmail.com>
---
v2: Intro
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v2: Introduce changes suggested by Daniel Schwierzeck:
- Split BMIPS support patches.
- Get register base from DT.
drivers/cpu/Makefile| 2 +
drivers/cpu/bmips_cpu.c
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v2: Introduce changes suggested by Daniel Schwierzeck:
- Split BMIPS support patches.
- Add PERF_BASE to cpus.
arch/mips/dts/brcm,bcm6328.dtsi | 88 +
arch/mips/mach-bmips/Kconfig
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
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 instead of modifying the gen
El 14/04/2017 a las 21:05, Daniel Schwierzeck escribió:
>
>
> Am 13.04.2017 um 17:52 schrieb Álvaro Fernández Rojas:
>> CFE supports loading .elf images instead of raw binaries.
>>
>> Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
>> --
Hi Daniel,
El 14/04/2017 a las 20:26, Daniel Schwierzeck escribió:
>
>
> Am 13.04.2017 um 17:52 schrieb Álvaro Fernández Rojas:
>> BCM6358 has its internal registers mapped to 0xfffe, which is changed to
>> 0x1ffe when ioremap is called.
>>
>> Signed-off
Hi Daniel,
El 14/04/2017 a las 21:23, Daniel Schwierzeck escribió:
>
>
> Am 13.04.2017 um 17:52 schrieb Álvaro Fernández Rojas:
>> This target supports some of the xDSL Broadcom MIPS SoCs for now.
>> However, support for other SoCs could be added in the future.
>&g
Hi,
El 15/04/2017 a las 20:48, Daniel Schwierzeck escribió:
>
>
> Am 15.04.2017 um 20:08 schrieb Álvaro Fernández Rojas:
>> Hi again,
>>
>> El 15/04/2017 a las 19:18, Álvaro Fernández Rojas escribió:
>>> Hi Daniel,
>>>
>>>
Hi,
El 15/04/2017 a las 20:54, Daniel Schwierzeck escribió:
>
>
> Am 15.04.2017 um 20:10 schrieb Álvaro Fernández Rojas:
>> Hi,
>>
>> El 15/04/2017 a las 19:19, Álvaro Fernández Rojas escribió:
>>>
>>>
>>> El 14/04/2017 a las 21:05, Daniel
...)
On Sun, Apr 16, 2017 at 9:34 PM +0200, "Simon Glass" <s...@chromium.org> wrote:
On 15 April 2017 at 16:03, Álvaro Fernández Rojas wrote:
> Signed-off-by: Álvaro Fernández Rojas
> ---
> v2: Introduce ch
Hi Simon,
El 16/04/2017 a las 21:34, Simon Glass escribió:
> Hi Alvaro,
>
> On 15 April 2017 at 16:03, Álvaro Fernández Rojas <nolt...@gmail.com> wrote:
>> Add a new sysreset driver based on linux/drivers/power/reset/syscon-reboot.c,
>> which provides a generic dri
g uart is enabled.
Signed-off-by: Daniel Schwierzeck <daniel.schwierz...@gmail.com>
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
arch/mips/cpu/start.S | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/mips/cpu/start.S b/arch/mips/cpu/start.S
index 6740f
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 <nolt...@gmail.com>
---
board/qca/ap143/ap143.c | 3 ---
1 file changed, 3 del
of what's the needed uart
pinmux config, I copied the whole pinmux config to a new function that is
called from board_early_init_f if CONFIG_DEBUG_UART_BOARD_INIT is not enabled.
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
board/tplink/wdr4300/wdr4300.c | 18 ++
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:
>>>>
debug_uart_init right before board_init_f
Álvaro Fernández Rojas (3):
MIPS: QCA AP121: remove debug_uart_init call
MIPS: QCA AP143: remove debug_uart_init call
MIPS: tl-wdr4300: remove debug_uart_init call
arch/mips/cpu/start.S | 6 ++
board/qca/ap121/ap121.c| 3 ---
board/qca
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 <nolt...@gmail.com>
---
board/qca/ap121/ap121.c | 3 ---
1 file changed, 3 del
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 <daniel.schwierz...@gmail.com>
>>
>> All MIPS boards that support debug uart are calling debug_uart_init right at
>> th
-1: cpu@1 BCM6358A1
ID = 1, freq = 300 MHz: L1 cache, MMU, Device ID
Device ID 0x2a010
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Simon Glass <s...@chromium.org>
Reviewed-by: Tom Rini <tr...@konsulko.com>
---
v
.
- Remove device_probe patch for sysreset.
v3: Introduce changes suggested by Simon Glass.
v2: Introduce changes suggested by Daniel Schwierzeck.
Álvaro Fernández Rojas (14):
cmd: cpu: fix NULL cpu feature prints
sysreset: add syscon-reboot driver
MIPS: allow using generic sysreset drivers
Avoid duplicating do_reset definition if SYSRESET is enabled for MIPS
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
v5: No changes.
v4: No changes.
v3: No changes.
v2: No changes.
arch/mips/cpu/cpu.c | 2 ++
1 fil
It is based on linux/drivers/tty/serial/bcm63xx_uart.c
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v5: No changes.
v4: Add more missing register configurations based on CFE.
v3: Several improvements:
- Add missing register configurations based on CFE.
- Replac
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
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"
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
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/Makef
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
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
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
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.dts
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
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.dts
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
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 <nolt...@gmail.com>
---
v4: No
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 <nolt...@gmail.com>
Reviewed-by: Simon Glass <s...@chromium.org
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
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
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
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 +
arc
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
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 +
,Álvaro.
On Mon, Apr 17, 2017 at 7:46 PM +0200, "Simon Glass" <s...@chromium.org> wrote:
Hi Alvaro,
On 17 April 2017 at 11:38, Álvaro Fernández Rojas wrote:
>
> Hi Simon,
>
> El 16/04/2017 a las 21:34, Simon Glass escribió:
LD gives the following warning when trying to process u-boot-elf.o
warning: cannot find entry symbol __start; defaulting to 8001
Fix this by renaming _start to __start
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v3: Introduce changes suggested by Daniel Schwi
This is needed in order to allow building it for other archs.
Move relocation comment to a better place.
Remove no longer needed dts FIXME.
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v3: Introduce changes suggested by Daniel Schwierzeck:
- Split patches.
- Avoid bu
Provide an u-boot.elf binary for Broadcom MIPS platforms by re-using
the already existing Makefile target for aarch64.
This u-boot.elf binary should be used as a stage 2 loader
until U-Boot can be replace the original Broadcom boot loader.
Split patches from main BMIPS support.
Álvaro Fernández
Define PLATFORM_ELFFLAGS for MIPS in order to be able to generate u-boot.elf
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v3: Introduce changes suggested by Daniel Schwierzeck:
- Add new patch.
arch/mips/config.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/arc
It is based on linux/drivers/tty/serial/bcm63xx_uart.c
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v3: Several improvements:
- Add missing register configurations based on CFE.
- Replace tabs with whitespaces.
- Cosmetic fixes.
v2: Introduce changes suggested by
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v3: Several improvements:
- Probe driver correctly.
- Allocate size for priv struct.
- Cosmetic fixes.
v2: Introduce changes suggested by Daniel Schwierzeck:
- Split BMIPS support patches.
- Get register base f
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
v3: Rename of_match to ids.
v2: Introduce changes suggested by Daniel Schwierzeck:
- Split BMIPS support patches.
drivers/ram/Makefile| 2 +
drivers/ram/bmips
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
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,hg55
This causes exceptions for drivers that aren't probed when reboot is
requested.
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v3: add new patch to ensure that the device is probed
drivers/sysreset/sysreset-uclass.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/d
-1: cpu@1 BCM6358A1
ID = 1, freq = 300 MHz: L1 cache, MMU, Device ID
Device ID 0x2a010
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
v3: No changes.
v2: Introduce changes suggest
.
Álvaro Fernández Rojas (15):
cmd: cpu: fix NULL cpu feature prints
sysreset-uclass: ensure udevice is probed before requesting reset
sysreset: add syscon-reboot driver
MIPS: allow using generic sysreset drivers
serial: add serial driver for BCM6345
cmd: cpu: ensure udevice is probed
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 <nolt...@gmail.com>
---
v3: Introduce changes suggested by Simon Glass:
This causes exceptions for drivers that aren't probed when cpu ops are
requested.
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
v3: add new patch to ensure that device is probed.
cmd/cpu.c | 4
1 file changed, 4 insertions(+)
diff --git a/cmd/cpu.c b/cmd/cpu.c
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
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-3032u.dts
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
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/mips/mach
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
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-5387
Hi Simon,
El 19/04/2017 a las 2:13, Simon Glass escribió:
> Hi Alvaro,
>
> On 18 April 2017 at 14:38, Álvaro Fernández Rojas <nolt...@gmail.com> wrote:
>> This causes exceptions for drivers that aren't probed when reboot is
>> requested.
>>
>> Sign
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 <nolt...@gmail.com>
---
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com>
---
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/mips/mach
1 - 100 of 786 matches
Mail list logo