Merge branch '2023-05-15-assorted-bugfixes'

- Merge in a long-standing fix for some exynos platforms, correct a
  Kconfig description, fix some env issues, fix an issue in
  devfdt_get_addr_size_index_ptr and look for "panel-timings" not
  "panel-timing" per upstream binding.
This commit is contained in:
Tom Rini 2023-05-16 11:16:42 -04:00
commit 5645a50a86
9 changed files with 12 additions and 11 deletions

View file

@ -2119,7 +2119,7 @@ tools/version.h: include/version.h
$(Q)mkdir -p $(dir $@)
$(call if_changed,copy)
envtools: scripts_basic $(version_h) $(timestamp_h) tools/version.h
envtools: u-boot-initial-env scripts_basic $(version_h) $(timestamp_h) tools/version.h
$(Q)$(MAKE) $(build)=tools/env
tools-only: export TOOLS_ONLY=y

View file

@ -344,7 +344,7 @@
vsync-len = <13>;
};
};
panel-timings {
panel-timing {
clock-frequency = <6500000>;
hactive = <240>;
vactive = <320>;

View file

@ -223,7 +223,7 @@ int board_late_init(void)
char mmcbootdev_str[16];
ret = uclass_first_device_err(UCLASS_CROS_EC, &dev);
if (ret && ret != -ENODEV) {
if (ret && ret != -ENODEV && ret != -EPFNOSUPPORT) {
/* Force console on */
gd->flags &= ~GD_FLG_SILENT;

View file

@ -131,7 +131,10 @@ void *devfdt_get_addr_size_index_ptr(const struct udevice *dev, int index,
{
fdt_addr_t addr = devfdt_get_addr_size_index(dev, index, size);
return (addr == FDT_ADDR_T_NONE) ? NULL : (void *)(uintptr_t)addr;
if (addr == FDT_ADDR_T_NONE)
return NULL;
return map_sysmem(addr, 0);
}
fdt_addr_t devfdt_get_addr_name(const struct udevice *dev, const char *name)

View file

@ -998,7 +998,7 @@ int ofnode_decode_panel_timing(ofnode parent,
u32 val = 0;
int ret = 0;
timings = ofnode_find_subnode(parent, "panel-timings");
timings = ofnode_find_subnode(parent, "panel-timing");
if (!ofnode_valid(timings))
return -EINVAL;
memset(dt, 0, sizeof(*dt));

View file

@ -90,7 +90,7 @@ static int s5p_sdhci_core_init(struct sdhci_host *host)
host->name = S5P_NAME;
host->quirks = SDHCI_QUIRK_NO_HISPD_BIT | SDHCI_QUIRK_BROKEN_VOLTAGE |
SDHCI_QUIRK_32BIT_DMA_ADDR |
SDHCI_QUIRK_BROKEN_R1B | SDHCI_QUIRK_32BIT_DMA_ADDR |
SDHCI_QUIRK_WAIT_SEND_CMD | SDHCI_QUIRK_USE_WIDE8;
host->max_clk = 52000000;
host->voltages = MMC_VDD_32_33 | MMC_VDD_33_34 | MMC_VDD_165_195;

View file

@ -962,7 +962,7 @@ config BMP_32BPP
endif # VIDEO
config SPL_VIDEO
bool "Enable driver model support for LCD/video"
bool "Enable driver model support for LCD/video in SPL"
depends on SPL_DM
help
The video subsystem adds a small amount of overhead to the image.

View file

@ -10,9 +10,7 @@
#include <env_callback.h>
#include <linux/stringify.h>
#ifndef USE_HOSTCC
#include <generated/environment.h>
#endif
#ifdef DEFAULT_ENV_INSTANCE_EMBEDDED
env_t embedded_environment __UBOOT_ENV_SECTION__(environment) = {

View file

@ -7,14 +7,14 @@ boot_rprocs=
rproc_load_and_boot_one=
if load mmc ${bootpart} $loadaddr ${rproc_fw}; then
if rproc load ${rproc_id} ${loadaddr} ${filesize}; then
rproc start ${rproc_id}
rproc start ${rproc_id};
fi;
fi
boot_rprocs_mmc=
env set rproc_id;
env set rproc_fw;
for i in ${rproc_fw_binaries} ; do
if test -z ${rproc_id} ; then
if test -z "${rproc_id}" ; then
env set rproc_id $i;
else
env set rproc_fw $i;