[U-Boot] [PATCH] Revert "env: net: Move eth_parse_enetaddr() to net.c/h"

2019-09-12 Thread megous
From: Ondrej Jirman The reverted patch causes linking error with disabled CONFIG_NET: cmd/built-in.o: In function `eth_env_get_enetaddr': u-boot-v2019.10/cmd/nvedit.c:363: undefined reference to `eth_parse_enetaddr' Function setup_environment() in board/sunxi/board.c calls

[U-Boot] [PATCH] Fix unreliable detection of DRAM size on Orange Pi 3

2019-07-28 Thread megous
From: Ondrej Jirman Orange Pi 3 has 2 GiB of DRAM, that sometime get misdetected as 4 GiB, due to false negative result from mctl_mem_matches() when detecting number of column address bits. This leads to u-boot detecting more address bits than there are and the boot process hangs shortly after.

[U-Boot] [PATCH v2] power: axp818: Fix typo in axp_set_dldo

2019-02-13 Thread megous
From: Ondrej Jirman Fix typo in axp_set_dldo() so that it correctly uses AXP818_DLDO1_CTRL register to configure the voltage instead of setting AXP818_ELDO1_CTRL register which is obviously incorrect. Signed-off-by: Ondřej Jirman --- This was previously sent as a part of other series of

[U-Boot] [PATCH v2] lib: decode_timing_property should return -NOENT when proprty is not found

2019-02-13 Thread megous
From: Ondrej Jirman Length may be unitialized when fdt_getprop fails. Return ENOENT when the property can't be found. Signed-off-by: Ondřej Jirman --- This was previously sent as a part of other series of patches, but it's unrelated to the rest of the patches, so I'm resending it individually.

[U-Boot] [PATCH v2] sunxi: Fix build when CONFIG_CMD_PXE or CONFIG_CMD_DHCP are disabled

2019-02-13 Thread megous
From: Ondrej Jirman Fixes a compilation failure with disabled PXE or DHCP command when using sunxi platform. Signed-off-by: Ondřej Jirman --- This was previously sent as a part of other series of patches, but it's unrelated to the rest of the patches, so I'm resending it individually. v2: -

[U-Boot] [PATCH 1/4] sunxi: Fix build when CONFIG_CMD_NET is disabled

2019-02-09 Thread megous
From: Ondrej Jirman Signed-off-by: Ondřej Jirman --- board/sunxi/board.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/board/sunxi/board.c b/board/sunxi/board.c index 98bc3cd0c1..e918bdf36b 100644 --- a/board/sunxi/board.c +++ b/board/sunxi/board.c @@ -774,9 +774,12

[U-Boot] [PATCH 4/4] power: axp818: Fix typo in axp_set_dldo

2019-02-09 Thread megous
From: Ondrej Jirman Signed-off-by: Ondřej Jirman --- drivers/power/axp818.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/axp818.c b/drivers/power/axp818.c index c737da1180..834919ddd4 100644 --- a/drivers/power/axp818.c +++ b/drivers/power/axp818.c @@

[U-Boot] [PATCH 2/4] sunxi: Fix build when CONFIG_CMD_PXE or CONFIG_CMD_DHCP are disabled

2019-02-09 Thread megous
From: Ondrej Jirman Signed-off-by: Ondřej Jirman --- include/configs/sunxi-common.h | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index b01d1c3c84..d421b93509 100644 ---

[U-Boot] [PATCH 3/4] lib: decode_timing_property should return -NOENT when proprty is not found

2019-02-09 Thread megous
From: Ondrej Jirman Length may be unitialized when fdt_getprop fails. Signed-off-by: Ondřej Jirman --- lib/fdtdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fdtdec.c b/lib/fdtdec.c index 18663ce6bd..3510de78e1 100644 --- a/lib/fdtdec.c +++ b/lib/fdtdec.c @@

[U-Boot] [PATCH 0/4] Random small sunxi fixes

2019-02-09 Thread megous
From: Ondrej Jirman Patch 1 and 2 are fixes for compilation failures with disabled network support on sunxi platform. Patch 3 is a fix for error path bug in decode_timing_property(), I've found while debugging a missing LCD panel output. Patch 4 is typo fix. regards, Ondřej Jirman Ondrej