Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
arch/mips/lib/barebox.lds.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/lib/barebox.lds.S b/arch/mips/lib/barebox.lds.S
index cc214920e3..899f62b968 100644
--- a/arch/mips/lib/barebox.lds.S
+++
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
arch/mips/lib/barebox.lds.S | 3 ---
1 file changed, 3 deletions(-)
diff --git a/arch/mips/lib/barebox.lds.S b/arch/mips/lib/barebox.lds.S
index ffe846728f..cc214920e3 100644
--- a/arch/mips/lib/barebox.lds.S
+++ b/arch/mi
Antony Pavlov (5):
MIPS: start*.S: drop redundant .text
MIPS: barebox.lds.S: drop unneeded '_start = .'
MIPS: barebox.lds.S: remove unused got
MIPS: barebox.lds.S: put .text_entry contents after _stext and _text
MIPS: start.S: put entry code into the ".text_entry" section
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
arch/mips/lib/barebox.lds.S | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/mips/lib/barebox.lds.S b/arch/mips/lib/barebox.lds.S
index 8057634ddb..ffe846728f 100644
--- a/arch/mips/lib/barebox.lds.S
+++ b/arch/mi
The ".text_bare_init" section is not intended to be used
for storing entry code.
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
arch/mips/boot/start.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/boot/start.S b/arch/mips/boot/start.S
console_register(>console);
> +}
> +console_initcall(input_init);
> diff --git a/include/input/input.h b/include/input/input.h
> new file mode 100644
> index 000..dbf3e7f
> --- /dev/null
> +++ b/include/input/input.h
> @@ -0,0 +1,34 @@
> +#ifndef __INPUT_H
> +#de
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
common/state/backend_bucket_circular.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/common/state/backend_bucket_circular.c
b/common/state/backend_bucket_circular.c
index 832f44e599..7c81cdfaff 100644
--- a/common
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
drivers/net/rtl8139.c | 4
1 file changed, 4 deletions(-)
diff --git a/drivers/net/rtl8139.c b/drivers/net/rtl8139.c
index a9eb865358..cfa34a2f2a 100644
--- a/drivers/net/rtl8139.c
+++ b/drivers/net/rtl8139.c
@@ -492,10
On Fri, 28 Apr 2017 10:18:48 +0200
Sascha Hauer <s.ha...@pengutronix.de> wrote:
> On Wed, Apr 26, 2017 at 05:17:34PM +0300, Antony Pavlov wrote:
> > We already have the MTD_SPI_NOR_USE_4K_SECTORS option handling in C code
> > for 4K erase block support. Alas this 4K era
option
declaration from linux v4.11-rc8.
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
drivers/mtd/spi-nor/Kconfig | 14 ++
1 file changed, 14 insertions(+)
diff --git a/drivers/mtd/spi-nor/Kconfig b/drivers/mtd/spi-nor/Kconfig
index a84591fdd1..8ede3c90be
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
commands/spd_decode.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/commands/spd_decode.c b/commands/spd_decode.c
index 2bedcf05c5..08b9589622 100644
--- a/commands/spd_decode.c
+++ b/commands/spd_decode.c
@@ -59,5
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
drivers/eeprom/at24.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/eeprom/at24.c b/drivers/eeprom/at24.c
index 1227286fbe..050a35aed8 100644
--- a/drivers/eeprom/at24.c
+++ b/drivers/eeprom/at24.c
@@ -454,6 +
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
lib/readline_simple.c | 13 -
1 file changed, 13 deletions(-)
diff --git a/lib/readline_simple.c b/lib/readline_simple.c
index c2960665fb..c4d3d240e5 100644
--- a/lib/readline_simple.c
+++ b/lib/readline_simple.c
@@
nv_device isn't used outside of common/globalvar.c
so make it static.
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
common/globalvar.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/globalvar.c b/common/globalvar.c
index 32ca6a24db..ebc5e830d2
sed -i "s/CONFIG_ENV_HANDLING=y/# CONFIG_ENV_HANDLING is not set/"
.config
barebox$ make oldconfig
barebox$ ./barebox
Segmentation fault
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
common/globalvar.c | 12 +++-
1 file changed, 11 insertions(+), 1 deleti
Antony Pavlov (2):
globalvar: make nv_device static
globalvar: don't use nv_device if CONFIG_NVVAR is disabled
common/globalvar.c | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
--
2.11.0
___
barebox mailing list
barebox
On Mon, 17 Apr 2017 13:42:10 +0300
Antony Pavlov <antonynpav...@gmail.com> wrote:
> At the moment of_new_property() uses xfunctions for memory
> allocation so we can use xstrdup() instead of strdup()
> for code simplification.
>
> A side effect of this commmit is that
At the moment of_new_property() uses xfunctions for memory
allocation so we can use xstrdup() instead of strdup()
for code simplification.
A side effect of this commmit is that
the of_new_property() function can't return NULL
anymore if CONFIG_OFTREE is set.
Signed-off-by: Antony Pavlov
The of_new_property() function already has functionality
to copy data into of_property so we can make
of_property_write_u8_array() simpler.
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
drivers/of/base.c | 7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff
Antony Pavlov (2):
of: base: exclude memcpy-like code from of_property_write_u8_array()
of: base: of_new_property(): use xstrdup() instead of strdup()
drivers/of/base.c | 14 ++
1 file changed, 2 insertions(+), 12 deletions(-)
--
2.11.0
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
drivers/video/of_display_timing.c | 19 ---
1 file changed, 19 deletions(-)
diff --git a/drivers/video/of_display_timing.c
b/drivers/video/of_display_timing.c
index 6a5bf62a3..20f9354a1 100644
--- a/drivers
The patch fixes this compiler's warning:
fs/squashfs/squashfs.c:115:6: warning: no previous prototype for
'squashfs_set_rootarg' [-Wmissing-prototypes]
void squashfs_set_rootarg(struct squashfs_priv *priv, struct fs_device_d
*fsdev)
^
Signed-off-by: Antony Pavlov <antonyn
area info in the barebox digets commands
output for every file makes it more similar to traditional
*nix digest commands output.
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
commands/digest.c | 14 +++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/c
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
arch/sandbox/configs/sandbox_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/sandbox/configs/sandbox_defconfig
b/arch/sandbox/configs/sandbox_defconfig
index c20dd15a0..dbaff12bf 100644
--- a/arch/sandbox/c
The patch fixes this compiler's warning:
drivers/video/edid.c:390:5: warning: no previous prototype
for 'fb_get_mode' [-Wmissing-prototypes]
int fb_get_mode(int flags, u32 val, struct fb_videomode *var)
^
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
drivers
The patch fixes this compiler's warning:
drivers/net/phy/mdio-gpio.c:48:24: warning: no previous prototype
for 'mdio_gpio_of_get_info' [-Wmissing-prototypes]
struct mdio_gpio_info *mdio_gpio_of_get_info(struct device_d *dev)
^
Signed-off-by: Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
scripts/tags.sh | 9 ++---
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/scripts/tags.sh b/scripts/tags.sh
index 22a5cc4bf..8ae44642a 100755
--- a/scripts/tags.sh
+++ b/scripts/tags.sh
@@ -154,10 +
ns, so there is no need to
| index them. Plus, the script was only looking for files named
| 'defconfig', which only works on a few architectures nowadays.
|
| Signed-off-by: Michal Marek <mma...@suse.com>
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
scripts/tags.sh |
Antony Pavlov (3):
scripts/tags.sh: drop __TestClearPage*() helpers
tags: Do not try to index defconfigs
tags: Process Kconfig files in a single pass
scripts/tags.sh | 23 ++-
1 file changed, 2 insertions(+), 21 deletions(-)
--
2.11.0
ed-off-by: Kirill A. Shutemov <kirill.shute...@linux.intel.com>
| Signed-off-by: Andrew Morton <a...@linux-foundation.org>
| Signed-off-by: Linus Torvalds <torva...@linux-foundation.org>
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
scripts/tag
orrect descriptor size must be used when calculating offsets, and
| also to read the correct amount of data.
|
| Signed-off-by: Stefan Brüns <stefan.bru...@rwth-aachen.de>
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
fs/ext4/ext4_common.c | 8
1 file changed,
to_cpu.
|
| Signed-off-by: Michael Walle <mich...@walle.cc>
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
fs/ext4/ext4_common.c | 60 +--
fs/ext4/ext4fs.c | 2 +-
fs/ext4/ext_barebox.c | 10 -
fs/ext4/ext_common
tantly, the superblock provides the used group descriptor size,
| which is required for the EXT4_FEATURE_INCOMPAT_64BIT.
|
| Signed-off-by: Stefan Brüns <stefan.bru...@rwth-aachen.de>
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
fs/ext4
:/ ls /mnt/ -l
drwxrwxrwx 0 .
drwxrwxrwx 0 ..
drwx-- 16384 lost+found
drwxr-xr-x 4096 testdir
Antony Pavlov (7):
ext4: change structure fields to __le/__be types
ext4: use kernel names for byte swaps
ext4: drop unused
d
|
| Reported-by: Kever Yang <kever.y...@rock-chips.com>
| Reported-by: frostyby...@protonmail.com
| Signed-off-by: Stefan Brüns <stefan.bru...@rwth-aachen.de>
| Tested-by: Kever Yang <kever.y...@rock-chips.com>
Signed-off-by: Antony Pavlov <antonynpav...@gma
endian types and all the
| JBD fields to big endian types. Now we can use sparse (make C=1) to check
| for statements where we need byteswaps.
|
| Signed-off-by: Michael Walle <mich...@walle.cc>
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
fs/ext4/
Nota bene sblock.inode_size actually has __le16 type.
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
fs/ext4/ext_common.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/fs/ext4/ext_common.h b/fs/ext4/ext_common.h
index a02f0b333..63cd4d26c 100644
--- a/fs/ext4/ext_co
See http://wiki.osdev.org/ATA_PIO_Mode#48_bit_PIO for details.
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
Changes since v1:
* fix typo in the commit message;
* trivial change: put "port->lba48 = ata_id_has_lba48(port->id);"
just after debug stuff
See http://wiki.osdev.org/ATA_PIO_Mode#48_bit_PIO for datails.
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
drivers/ata/disk_ata_drive.c | 1 +
drivers/ata/ide-sff.c| 54 +++-
include/ata_drive.h | 3 +++
3 files c
]
void bmp_close(struct image *img)
^
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
lib/gui/bmp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/gui/bmp.c b/lib/gui/bmp.c
index 143aa2805..8bffc70a4 100644
--- a/lib/gui/bmp.c
+++ b/lib/gui
The patch fixes this compiler's warning:
lib/gui/image_renderer.c:92:6: warning: no previous prototype for
'image_renderer_unregister' [-Wmissing-prototypes]
void image_renderer_unregister(struct image_renderer *ir)
^
Signed-off-by: Antony Pavlov <antonynpav...@gmail.
Antony Pavlov (3):
gui: bmp.c: fix "no previous prototype" warning
clk: clk-gate-shared: fix "no previous prototype" warning
gui: image_renderer: fix "no previous prototype for
'image_renderer_unregister'" warning
drivers/clk/clk-gate-shared.c | 6 +++---
/clk-gate-shared.c:89:6: warning: no previous prototype for
'clk_gate_shared_free' [-Wmissing-prototypes]
void clk_gate_shared_free(struct clk *clk)
^
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
drivers/clk/clk-gate-shared.c | 6 +++---
1 file changed, 3 insertions
On Thu, 16 Feb 2017 08:34:30 +0100
Sascha Hauer <s.ha...@pengutronix.de> wrote:
> Hi Antony,
>
> On Wed, Feb 15, 2017 at 10:12:25AM +0300, Antony Pavlov wrote:
> > This patch series makes it possible to use FT2232H ACBUS[7:0]
> > pins as gpio pins from sandbox bare
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
arch/sandbox/Kconfig | 1 +
arch/sandbox/Makefile | 6 +-
arch/sandbox/board/board.c | 7 ++
arch/sandbox/mach-sandbox/include/mach/linux.h | 11 ++
This fixes libusb's /dev/bus/usb directory scan.
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
arch/sandbox/Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/sandbox/Makefile b/arch/sandbox/Makefile
index 8155a790e..9d545c3b7 100644
---
with ACBUS[0] -> ACBUS[1] loopback.
The main goal of adding gpio functionality to sandbox barebox
is using it for connecting real i2c and spi devices to sandbox barebox
(not tested yet).
Antony Pavlov (2):
sandbox: avoid symbol conflict for {open,read,close}dir
sandbox: add gpio supp
.
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
arch/mips/include/asm/debug_ll_ns16550.h | 32
arch/mips/include/asm/pbl_nmon.h | 31 +++
arch/mips/mach-ath79/include/mach/debug_ll.h | 32 -
S += -fno-strict-aliasing
cflags-y += -fno-pic -pipe
cflags-y += -Wall -Wmissing-prototypes -Wstrict-prototypes \
- -Wno-uninitialized -Wno-format -Wno-main
+ -Wno-uninitialized -Wno-format -Wno-main -mcmodel=medany
LDFLAGS += $(ldflags-y)
L
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
--
TODOs:
* split patch;
* use sifive timer IP-block.
---
Documentation/boards/riscv.rst | 93 ++
arch/riscv/Kconfig | 76 +
arch/riscv/Ma
;
* fix guard macro names.
TODOs:
* add nmon for RISC-V;
* run barebox on a real FPGA board.
Antony Pavlov (2):
serial: add driver for SiFive UART
Add initial RISC-V architecture support
Documentation/boards/riscv.rst | 93 +
arch/riscv/Kconfig
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
--
TODO:
* add speed setup support;
* add Tx FIFO check.
---
drivers/serial/Kconfig | 3 ++
drivers/serial/Makefile| 1 +
drivers/serial/serial_sifive.c | 109 +
3 files c
On Wed, 7 Dec 2016 20:59:04 +0100
Sascha Hauer <s.ha...@pengutronix.de> wrote:
> On Mon, Dec 05, 2016 at 12:40:31PM +0300, Antony Pavlov wrote:
> > Also introduce reboot() for starting already loaded
> > via kexec ELF segments.
> >
> > Signed-off-by: Anton
On Wed, 7 Dec 2016 20:47:55 +0100
Sascha Hauer <s.ha...@pengutronix.de> wrote:
> On Mon, Dec 05, 2016 at 12:40:29PM +0300, Antony Pavlov wrote:
> > Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
> > Signed-off-by: Peter Mamonov <pmamo...@gmail.com>
>
Also introduce reboot() for starting already loaded
via kexec ELF segments.
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
include/linux/reboot.h | 14 ++
lib/kexec/Makefile | 1 +
lib/kexec/kexec-bootm-elf.c | 37 ++
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
Signed-off-by: Peter Mamonov <pmamo...@gmail.com>
---
arch/mips/include/asm/elf.h | 8 +-
arch/mips/lib/Makefile | 3 +
arch/mips/lib/kexec-mips.c | 171
a
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
common/resource.c | 15 +++
include/linux/ioport.h | 2 ++
2 files changed, 17 insertions(+)
diff --git a/common/resource.c b/common/resource.c
index e4bbe15..fa9ffd0 100644
--- a/common/resource.c
+++ b/
From: Peter Mamonov
Signed-off-by: Peter Mamonov
---
arch/mips/include/asm/cacheops.h | 10 ++
arch/mips/lib/c-r4k.c| 19 +--
2 files changed, 23 insertions(+), 6 deletions(-)
diff --git
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
Signed-off-by: Peter Mamonov <pmamo...@gmail.com>
---
commands/Kconfig | 7 +
common/Kconfig | 3 +
lib/Makefile | 1 +
lib/kexec/Makefile | 3 +
lib/kexec/kexec-elf-exec.c | 8
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
common/filetype.c | 5 +
include/filetype.h | 1 +
2 files changed, 6 insertions(+)
diff --git a/common/filetype.c b/common/filetype.c
index 8d72933..f204638 100644
--- a/common/filetype.c
+++ b/common/filetype.c
@@ -25,6
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
arch/mips/Kconfig | 1 +
arch/mips/mach-malta/Makefile | 1 +
arch/mips/mach-malta/reboot.c | 104 ++
3 files changed, 106 insertions(+)
diff --git a/arch/mips/Kconfig b/arc
in the appropriate memory places
and tunes relocator; next reboot() is called and machine-specific
code works on cmdline passing.
The 'import initial kexec stuff' contains some codes stealed from kexec-tools
as-is.
These codes have some checkpatch.pl issues.
Antony Pavlov (7):
MIPS: add virt_to_phys
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
Signed-off-by: Peter Mamonov <pmamo...@gmail.com>
---
arch/mips/include/asm/io.h | 35 +++
1 file changed, 35 insertions(+)
diff --git a/arch/mips/include/asm/io.h b/arch/mips/include/asm/io.h
i
If barebox binary image size exceeds the 4 MiB then
qemu exits with the 'Could not load MIPS bios' message.
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
arch/mips/configs/qemu-malta_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/mips/configs/qemu-malta_def
On Thu, 17 Nov 2016 08:07:06 +0100
Sascha Hauer <s.ha...@pengutronix.de> wrote:
> On Mon, Nov 14, 2016 at 12:50:14AM +0300, Antony Pavlov wrote:
> > Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
> > ---
> >
> > TODO:
> >
> > * add sp
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
TODOs:
* split this patch.
* use sifive timer IP-block.
Documentation/boards/riscv.rst | 63 +++
arch/riscv/Kconfig | 42 +
arch/riscv/Ma
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
TODO:
* add speed setup support.
drivers/serial/Kconfig | 3 ++
drivers/serial/Makefile| 1 +
drivers/serial/serial_sifive.c | 109 +
3 files changed, 113 inse
qemu-sifive board support;
* add Documentation/boards/riscv.rst;
* fix guard macro names.
TODOs:
* split patch;
* use sifive timer IP-block.
Antony Pavlov (2):
serial: add driver for SiFive UART
Add initial RISC-V architecture support
Documentation/boards/riscv.rst
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
include/command.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/command.h b/include/command.h
index 2e72780..43ee454 100644
--- a/include/command.h
+++ b/include/command.h
@@ -89,8 +89,6 @@ int run_command(const cha
The start_barebox() function is defined in the header file.
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
arch/mips/boot/main_entry.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/mips/boot/main_entry.c b/arch/mips/boot/main_entry.c
index 015150bf..43a78c2
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
arch/sandbox/mach-sandbox/include/mach/linux.h | 1 -
arch/sandbox/os/sdl.c | 7 +--
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/sandbox/mach-sandbox/include/mach/linux.h
b/arch/s
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
drivers/of/base.c | 2 +-
drivers/of/fdt.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/of/base.c b/drivers/of/base.c
index 1e6c33d..767d4e1 100644
--- a/drivers/of/base.c
+++ b/drivers/of/
age into
${TOOLCHAIN_INSTALL_PATH}/riscv64-unknown-elf/bin directory.
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
arch/riscv/Kconfig | 17 +
arch/riscv/Makefile | 84 +++
arch/riscv/boards/pk/.gitignore | 1 +
a
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
arch/sandbox/include/asm/processor.h | 25 -
arch/sandbox/include/asm/ptrace.h| 1 -
2 files changed, 26 deletions(-)
delete mode 100644 arch/sandbox/include/asm/processor.h
delete mode 100644 arch/s
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
arch/sandbox/Makefile | 5 -
1 file changed, 5 deletions(-)
diff --git a/arch/sandbox/Makefile b/arch/sandbox/Makefile
index a539a90..8155a79 100644
--- a/arch/sandbox/Makefile
+++ b/arch/sandbox/Makefile
@@ -31,11 +31,6 @
mem *syscon_base_lookup_by_pdevname(const char *s)
> {
> --
> 2.9.3
>
>
> ___
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
--
--
Best regards,
Antony Pavlov
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
The patch fixes this sphinx warnings:
barebox/Documentation/user/imd.rst:27: WARNING: Could not lex literal_block
as "c". Highlighting skipped.
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
Cc: Sascha Hauer <s.ha...@pengutronix.de>
---
Documentation/user/i
device tree or through
> fixup handlers. As a result, the string may be deleted.
> Use local copies of the full path instead.
>
> Signed-off-by: Michael Olbrich <m.olbr...@pengutronix.de>
--
Best regards,
Antony Pavlov
__
The phy_device_create() function makes all necessary phydev initialization
so we can drop phydev->pause and phydev->link initialization in
the of_phy_register_fixed_link() function.
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
drivers/net/phy/phy.c | 2 --
1 fil
On Thu, 18 Aug 2016 08:32:27 +0200
Sascha Hauer <s.ha...@pengutronix.de> wrote:
> On Wed, Aug 17, 2016 at 12:36:09AM +0300, Antony Pavlov wrote:
> > At the moment barebox tplink-mr3020.dts file has almost
> > the same content as linux ar9331_tl_mr3020.dts file
> > so
At the moment barebox tplink-mr3020.dts file has almost
the same content as linux ar9331_tl_mr3020.dts file
so we can reuse linux dts-file and drop duplicated lines
from barebox dts-file.
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
arch/mips/dts/tplink-mr3020.dt
Antony Pavlov (3):
Documentation: tplink-mr3020: fix 'Could not lex literal_block as "c"' warning
Documentation: barebox: fix 'Could not lex literal_block as "c"' warning
Documentation: variables: fix error in "code-block" directive
Documentation/boar
Highlighting skipped.
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
Documentation/boards/mips/tplink-mr3020.rst | 12 +---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/Documentation/boards/mips/tplink-mr3020.rst
b/Documentation/boards/mips/tplink-mr3020.
arebox/Documentation/user/barebox.rst:186: WARNING: Could not lex
literal_block as "c". Highlighting skipped.
barebox/Documentation/user/barebox.rst:205: WARNING: Could not lex
literal_block as "c". Highlighting skipped.
Signed-off-by: Antony Pavlov <antonynpav...@gmail.co
nvironment),-(root)
barebox@Phytec phyCARD-i.MX27:/ devinfo nand0
Parameters:
[...]
partitions: 4M(barebox),1M(barebox-environment),8M(kernel),1011M(root)
[...]
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
Documentation/user/variables.r
the line
phydev->link = 1;
is redundant because phy_device_create() has already set it.
2. (not so trivial think) the line
phydev->registered = 1;
Why we want to set phydev->registered here? Can we use phy_register_device()
instead?
Any sugesstions?
; 2.8.1
>
>
> ___
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
--
--
Best regards,
Antony Pavlov
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
ase fix coding style here.
> + phydev->pause = of_property_read_bool(np, "pause");
> + phydev->asym_pause = of_property_read_bool(np, "asym-pause");
> +
> return phydev;
> }
>
> --
> 2.8.1
>
>
>
At the moment csrc-r4k rate is fixed to 100 MHz.
This is acceptable only for qemu-malta.
This patch introduces a devicetree-based solution
for detecting csrc-r4k counter rate.
The most notable users of this patch are AR9331-based boards.
Antony Pavlov (2):
of: base: import of_get_cpu_node
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
drivers/of/base.c | 86 +++
include/of.h | 10 +++
2 files changed, 96 insertions(+)
diff --git a/drivers/of/base.c b/drivers/of/base.c
index 3099c91..1e6c33d
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
arch/mips/lib/csrc-r4k.c | 24 ++--
1 file changed, 22 insertions(+), 2 deletions(-)
diff --git a/arch/mips/lib/csrc-r4k.c b/arch/mips/lib/csrc-r4k.c
index 5c3f18f..6f6e18c 100644
--- a/arch/mips/lib/csrc-r4k.c
_________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
--
--
Best regards,
Antony Pavlov
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
+ m = 1UL << (BITS_PER_LONG - 2);
> + while (m != 0) {
> + b = y + m;
> + y >>= 1;
> +
> + if (x >= b) {
> + x -= b;
> + y += m;
> + }
> + m >>= 2;
> + }
> +
> + return y;
> +}
> +EXPORT_SYMBOL(int_sqrt);
> --
> 2.5.5
>
>
> ___
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
--
--
Best regards,
Antony Pavlov
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
clude
> +#include
> +#include
> +
> +unsigned long int_sqrt(unsigned long x);
the int_sqrt() function is defined in the drivers/video/edid.c file.
To use it we have to keep CONFIG_DRIVER_VIDEO_EDID enabled.
But I have see no measures on enabling CONFIG_DRIVER_VIDEO_EDID in your patc
prompt "FB test"
> + help
> + Framebuffer test command that allows to produce a number of
> + test patterns on the screen.
^ "on THE screen" here
Can you fix this inconsistency, please?
--
Best regards,
Antony Pav
The patch fixes this compiler's warning:
drivers/net/phy/phy.c:303:20: warning: no previous prototype for
‘of_phy_register_fixed_link’ [-Wmissing-prototypes]
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
drivers/net/phy/phy.c | 3 ++-
1 file changed, 2 insertions
Please see these linux kernel ath79 commits:
commit 1e6a3492e7bb12aa8ee26050ff6829c39ebaa152
Author: Antony Pavlov <antonynpav...@gmail.com>
Date: Thu Mar 17 06:34:17 2016 +0300
MIPS: dts: qca: introduce AR9331 devicetree
commit 5ae5c452e3361612cd8182eb8bdfecf0eb
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
arch/mips/dts/ar9331.dtsi | 2 +-
arch/mips/dts/black-swift.dts | 2 +-
arch/mips/dts/tplink-mr3020.dts | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/mips/dts/ar9331.dtsi b/arch/mips/dts/ar933
Nowadays we have AR9331 devicetree from linux v4.7-rc2
in the file dts/src/mips/qca/ar9331.dtsi.
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com>
---
arch/mips/dts/ar9331.dtsi | 59 -
arch/mips/dts/black-swift.dts | 2 +-
arch/mi
Also sync black-swift.dts with tplink-mr3020.dts.
And also see this linux kernel commit:
commit 2c3694d2e6ead3964aafb31e4e529de219ced92b
Author: Antony Pavlov <antonynpav...@gmail.com>
Date: Thu Mar 17 06:34:19 2016 +0300
MIPS: ath79: add initial support for TP-LINK
501 - 600 of 1599 matches
Mail list logo