- 01 2月, 2019 10 次提交
-
-
由 Tien Fong Chee 提交于
Most of the time SPL only needs very simple FAT reading, so having CONFIG_IS_ENABLED(FAT_WRITE) to exclude it from SPL build would help to save 64KiB default max clustersize from memory. Signed-off-by: NTien Fong Chee <tien.fong.chee@intel.com> Reviewed-by: NSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Tien Fong Chee 提交于
Replace CONFIG_SPL_FAT_SUPPORT with CONFIG_SPL_FS_FAT so obj-$(CONFIG_$(SPL_)FS_FAT) can be used to control the build in both SPL and U-Boot. Signed-off-by: NTien Fong Chee <tien.fong.chee@intel.com> Reviewed-by: NSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Jean-Jacques Hiblot 提交于
This feature is now supported by the main config for am335x_evm: am335x_evm_defconfig Signed-off-by: NJean-Jacques Hiblot <jjhiblot@ti.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Jean-Jacques Hiblot 提交于
The AM335x ROM boot is able to download the SPL from a RNDIS connection on USB0. To enable a full RNDIS boot flow (romboot -> SPL -> u-boot -> ..), we can use USB_ETHER in SPL and u-boot. However this increase the size of the SPL past its limit. So removing the unused SPL_EXT_SUPPORT. Signed-off-by: NJean-Jacques Hiblot <jjhiblot@ti.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Jean-Jacques Hiblot 提交于
This USB port is mainly used for RNDIS and DFU. To be able to use it with DM_USB and DM_USB_GADGET, we need to provide a dr_mode value in the DTS. Signed-off-by: NJean-Jacques Hiblot <jjhiblot@ti.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Jean-Jacques Hiblot 提交于
If the host does not respond in time, the initialization fails. However the usb ether driver will still be registered. This will make usb_gadget_probe_driver() fail the next time the initialization is attempted because it cannot find an available UDC. Fixing this by calling _usb_eth_halt() when the init fails. Signed-off-by: NJean-Jacques Hiblot <jjhiblot@ti.com> Acked-by: NLukasz Majewski <lukma@denx.de>
-
由 Heiko Schocher 提交于
port the am335x based shc board to DM, to get rid of DW warnings when compiling U-Boot. - remove uneccessary board code - adapt defconfigs - remove unneeded defconfigs configs/am335x_shc_prompt_defconfig configs/am335x_shc_sdboot_prompt_defconfig Signed-off-by: NHeiko Schocher <hs@denx.de> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Heiko Schocher 提交于
add u-boot specific am335x-shc-u-boot.dtsi file, in which we add u-boot specific adaptions. Signed-off-by: NHeiko Schocher <hs@denx.de> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Heiko Schocher 提交于
add DTS from linux tree commit "47bfa6d9dc8c060bf56554a465c9031e286d2f80" change for U-Boot: switch to SPDX-license identifier. Signed-off-by: NHeiko Schocher <hs@denx.de>
-
git://git.denx.de/u-boot-video由 Tom Rini 提交于
- ihs and imx driver fixes - relax EDID validation checks for 0 hsync/vsync pulse width (support some quirky displays)
-
- 31 1月, 2019 16 次提交
-
-
git://git.denx.de/u-boot-amlogic由 Tom Rini 提交于
- Add features and fixups to support video on Amlogic GX SoCs - Add video support for Amlogic GX SoC - Add DT fixups - Enable Video and USB Console for libretech-cc board
-
由 Maxime Jourdan 提交于
libretech-cc being the main device tested with CONFIG_VIDEO_MESON, let's enable it by default. Also enable: - CONFIG_SYS_WHITE_ON_BLACK for prettiness - CONFIG_VIDEO_DT_SIMPLEFB for framebuffer sharing with kernel Signed-off-by: NMaxime Jourdan <mjourdan@baylibre.com> Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com> Reviewed-by: NAnatolij Gustschin <agust@denx.de>
-
由 Maxime Jourdan 提交于
With the recent addition of the meson VPU driver, enable the following config entries by default for meson-64 targets: CONFIG_CONSOLE_MUX, CONFIG_SYS_CONSOLE_IS_IN_ENV. This allows outputting the console via video if CONFIG_VIDEO_MESON is selected. Signed-off-by: NMaxime Jourdan <mjourdan@baylibre.com> Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com> Reviewed-by: NAnatolij Gustschin <agust@denx.de>
-
由 Neil Armstrong 提交于
Allows displaying the console via video and using a USB keyboard. Also enables CONFIG_SPLASH_SCREEN if using video. Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com> Signed-off-by: NMaxime Jourdan <mjourdan@baylibre.com> Reviewed-by: NAnatolij Gustschin <agust@denx.de>
-
由 Maxime Jourdan 提交于
If VIDEO_MESON is enabled, we need to setup the fdt for the framebuffer. Call meson_vpu_rsv_fb() which reserves the framebuffer memory region for EFI, and sets up simple-framebuffer nodes if simplefb support is enabled. Signed-off-by: NMaxime Jourdan <mjourdan@baylibre.com> Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com> Reviewed-by: NAnatolij Gustschin <agust@denx.de>
-
由 Maxime Jourdan 提交于
There's no reliable way to reuse the hhi entry from the vpu as is done in the linux kernel, so we duplicate it here. We will be able to sync against kernel DTS in the future when the VPU gets based on the clock framework rather than the HHI reg. Signed-off-by: NMaxime Jourdan <mjourdan@baylibre.com> Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com>
-
由 Neil Armstrong 提交于
The hdmi_5v regulator must be enabled to provide power to the physical HDMI PHY and enables the HDMI 5V presence loopback for the monitor. Fixes: b409f625a6d5 ("ARM64: dts: meson-gx: Add HDMI_5V regulator on selected boards") Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com> Signed-off-by: NKevin Hilman <khilman@baylibre.com> [backport of linux commit e1f2163deac059ad39f07aba9e314ebe605d5a7a]
-
由 Maxime Jourdan 提交于
Flag the appropriate nodes with u-boot,dm-pre-reloc Signed-off-by: NMaxime Jourdan <mjourdan@baylibre.com> Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com>
-
由 Neil Armstrong 提交于
This adds video output support for Amlogic GXBB/GXL/GXM chips. The supported ports are CVBS and HDMI (based on DW_HDMI). When using HDMI, only DMT modes are supported. There is support for simple-framebuffer (CONFIG_VIDEO_DT_SIMPLEFB) Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com> Signed-off-by: NJorge Ramire-Ortiz <jramirez@baylibre.com> Signed-off-by: NMaxime Jourdan <mjourdan@baylibre.com> [narmstrong: fixed defines alignment in meson_canvas.c] Reviewed-by: NAnatolij Gustschin <agust@denx.de>
-
由 Jorge Ramirez-Ortiz 提交于
Some IPs like the meson VPU can only feed a particular pixel format to dw_hdmi. As of now, the driver is hardcoded to use RGB888 as input. This commit enables different pixel format inputs, with the appropriate CSC configuration. Signed-off-by: NJorge Ramire-Ortiz <jramirez@baylibre.com> Signed-off-by: NMaxime Jourdan <mjourdan@baylibre.com> Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com> Reviewed-by: NAnatolij Gustschin <agust@denx.de>
-
由 Jorge Ramirez-Ortiz 提交于
Some IPs like the meson VPU have a specific way to write to dw_hdmi registers. Make it configurable. Signed-off-by: NJorge Ramirez-Ortiz <jramirez@baylibre.com> [added commit description] Signed-off-by: NMaxime Jourdan <mjourdan@baylibre.com> Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com> Reviewed-by: NAnatolij Gustschin <agust@denx.de>
-
由 Maxime Jourdan 提交于
MESON_GX_VPU_POWER_DOMAIN should depend on POWER_DOMAIN. Signed-off-by: NMaxime Jourdan <mjourdan@baylibre.com> Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com> Reviewed-by: NAnatolij Gustschin <agust@denx.de>
-
由 Neil Armstrong 提交于
Add entry for Amlogic SoC maintained files and the freshly created mailing-list. Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com>
-
由 Heinrich Schuchardt 提交于
If `make mrproper` does not delete the generated drivers/video/fonts/*.S files a following `make tests` fails. Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: NAnatolij Gustschin <agust@denx.de> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Goldschmidt 提交于
This unbreaks dfu mmc_file_op which is currently broken since using the load cmd on a buffer from heap is not allowed - added with commit aa3c609e ("fs: prevent overwriting reserved memory") Fixes: commit aa3c609e ("fs: prevent overwriting reserved memory") Reported-by: NStephen Warren <swarren@wwwdotorg.org> Signed-off-by: NSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com> Tested-by: NStephen Warren <swarren@nvidia.com> Acked-by: NLukasz Majewski <lukma@denx.de>
-
-
- 30 1月, 2019 14 次提交
-
-
由 Jagan Teki 提交于
Enable DM_MMC for all Allwinner SoCs, this will eventually enable BLK. Also removed DM_MMC enablement in few parts of sunxi configurations. Signed-off-by: NJagan Teki <jagan@amarulasolutions.com> Reviewed-by: NAndre Przywara <andre.przywara@arm.com> Signed-off-by: NAndre Przywara <andre.przywara@arm.com>
-
由 Jagan Teki 提交于
Like other Allwinner A64 boards, pinebook also need altering auto-numbering of mmc2 to mmc1 which is available in common sunxi dsti file, sunxi-u-boot.dtsi Pinebook has a separate sun50i-a64-pinebook-u-boot.dtsi which takes more precedence for u-boot.dtsi inclusion and it eventually failed to include the sunxi-u-boot.dtsi. So, this patch add support to include the sunxi-u-boot.dtsi in the sun50i-a64-pinebook-u-boot.dtsi Signed-off-by: NJagan Teki <jagan@amarulasolutions.com> Tested-by: Vasily Khoruzhick <anarsoul@gmail.com> # Pinebook
-
由 Jagan Teki 提交于
Environment and fastboot mmc devices are configured based on the number of mmc slots defined on particular board configs, MMC_SUNXI_SLOT_EXTRA. If MMC_SUNXI_SLOT_EXTRA is more than 1, the default env and fastboot mmc devices is mmc1 by assuming mmc0 is SD and mmc1 is emmc device. But with DM_MMC the mmc devices are numbered as per the dts node enablement. If there is a chance of having enabling all mmc nodes in dts say mmc0, mmc1, mmc2 then the default env and fastboot devices will failed to assign proper emmc device since mmc2 is emmc in most of the Allwinner platforms. So, we need to alter the auto-numbering by aliasing mmc2 to mmc1 since aliases take precedence over auto-numbering. If the dts enables mmc0, mmc1, mmc2, then all the nodes will probe sequentially and auto-numbered as it is. but when aliases mmc1 with mmc2 the resulting number should be that mmc0 is till mmc0, mmc2 become mmc1 and mmc2 become mmc1 Without aliases of mmc1 = &mmc2; ------------------------------- MMC: mmc@1c0f000: 0, mmc@1c10000: 1, mmc@1c11000: 2 With aliases of mmc1 = &mmc2; ---------------------------- MMC: Device 'mmc@1c11000': seq 1 is in use by 'mmc@1c10000' mmc@1c0f000: 0, mmc@1c10000: 2, mmc@1c11000: 1 Loading Environment from FAT... OK Some platforms like A20 has mmc0...mmc3, but there is no usecases now for enabling all mmc controllers in any of A20 board dts files. Signed-off-by: NJagan Teki <jagan@amarulasolutions.com>
-
由 Andre Przywara 提交于
Some Allwinner clock devices have parent clocks and reset gates itself, which need to be activated for them to work. Add some code to just assert all resets and enable all clocks given. This should enable the A80 MMC config clock, which requires both to be activated. The full CCU devices typically don't require resets, and have just fixed clocks as their parents. Since we treat both as optional and enabling fixed clocks is a NOP, this works for all cases, without the need to differentiate between those clock types. Signed-off-by: NAndre Przywara <andre.przywara@arm.com> Acked-by: NJagan Teki <jagan@openedev.com>
-
-
由 Andre Przywara 提交于
If a board DT describes a cd-gpios property, but also marks the storage as non-removable, we must ignore the GPIO (as Linux does). Teach the DM_MMC part of the Allwinner MMC driver about the non-removable DT property, to fix DM_MMC access on the SoPine and Pine64-LTS board. Signed-off-by: NAndre Przywara <andre.przywara@arm.com> Acked-by: NJagan Teki <jagan@openedev.com>
-
由 Andre Przywara 提交于
Enabling DM_MMC skips the call to mmc_pinmux_setup() in board.c, as this is supposed to be handled by the MMC driver, using DT information. However we don't have a pinctrl driver yet, but would still like to keep the working pinmux setup for our MMC devices. So bring this particular call back to the DM_MMC code flow. When booting from either SD card or eMMC, the SPL does the setup for us, but when booting from SPI or USB we must not skip this part. Fixes, boot via FEL or SPI flash, where the SPL won't setup the pinmux Signed-off-by: NAndre Przywara <andre.przywara@arm.com> Acked-by: NJagan Teki <jagan@openedev.com> [jagan: add Fix details on commit message] Signed-off-by: NJagan Teki <jagan@amarulasolutions.com>
-
由 Andre Przywara 提交于
Now that we have the gate clocks and the reset gates in our new Allwinner clock driver, let's make use of them in the MMC driver, when DM_MMC is defined. We treat the reset device as optional now, as the older SoCs don't implement it. Signed-off-by: NAndre Przywara <andre.przywara@arm.com> Reviewed-by: NJagan Teki <jagan@openedev.com>
-
由 Jagan Teki 提交于
A80 gates clock already be part of CLK framework, so just add mod_clk offset with A80 compatible string. Cc: Rask Ingemann Lambertsen <rask@formelder.dk> Cc: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: NJagan Teki <jagan@amarulasolutions.com> Reviewed-by: NAndre Przywara <andre.przywara@arm.com>
-
由 Jagan Teki 提交于
Unlike other Allwinner SoC's, H6 uses a different MMC mod clock offset. Connect that with the respective compatible string. Signed-off-by: NJagan Teki <jagan@amarulasolutions.com> Reviewed-by: NAndre Przywara <andre.przywara@arm.com> Signed-off-by: NAndre Przywara <andre.przywara@arm.com>
-
由 Jagan Teki 提交于
Add MMC compatible strings for A83T, A64, H5. Signed-off-by: NJagan Teki <jagan@amarulasolutions.com> Reviewed-by: NAndre Przywara <andre.przywara@arm.com> Signed-off-by: NAndre Przywara <andre.przywara@arm.com>
-
由 Andre Przywara 提交于
The A80 handles resets and clock gates for the MMC devices differently, outside of the CCU IP block. Consequently we have a separate clock device with a separate binding for that. Implement that with the respective clock gates and resets to allow the A80 taking part in the DM_MMC game. Signed-off-by: NAndre Przywara <andre.przywara@arm.com> [jagan: fix a80 mmc clock config compatible] Signed-off-by: NJagan Teki <jagan@amarulasolutions.com> Reviewed-by: NJagan Teki <jagan@openedev.com>
-
由 Andre Przywara 提交于
Add the MMC clock gates and reset bits for all the Allwinner SoCs. This allows them to be used by the MMC driver. We don't advertise the mod clock yet, as this is still handled by the MMC driver. Signed-off-by: NAndre Przywara <andre.przywara@arm.com> [jagan: add V3S, A80 gates/resets] Signed-off-by: NJagan Teki <jagan@amarulasolutions.com> Reviewed-by: NJagan Teki <jagan@openedev.com>
-
由 Jagan Teki 提交于
Enable USB host controllers for Amarula A64-Relic board, the respective nodes are already present in DTS. Signed-off-by: NJagan Teki <jagan@amarulasolutions.com>
-