- 08 8月, 2016 5 次提交
-
-
由 Masahiro Yamada 提交于
The meaning of CONFIG_USB in U-Boot is different from that in Linux. As you see in drivers/usb/Kconfig of Linux, CONFIG_USB enables the USB host controller support, while CONFIG_USB_SUPPORT is used to enable the whole of the USB sub-system. When I added CONFIG_USB into Kconfig by commit 6e7e9294 ("usb: add basic USB configs in Kconfig"), I planned to follow the Linux's convention, i.e. CONFIG_USB to enable/disable the USB host support. Then, commit 68f7c5db ("usb: Generic USB Kconfig option, that fits both host and gadget and comments") changed the logic of the CONFIG_USB to point to the whole of the USB sub-system. As a result, currently we do not have an option for USB host. This commit adds CONFIG_USB_HOST, which will be useful to compile in the USB host support code. CONFIG_USB_HOST is not referenced at all, but strangely some boards define it in board headers. I removed them because USB_HOST will be selected in Kconfig going forward. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Masahiro Yamada 提交于
There is no UHCI driver entry in Kconfig for now, but we have some UHCI drivers, for example, LEON. This is a placeholder in case we want to move them to Kconfig in the future. The help message was copied from Linux. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Masahiro Yamada 提交于
Add this option as a common config for all OHCI controllers. Its help message was copied from Linux. Also, I moved it below EHCI to respect the order in Linux's Kconfig. Add CONFIG_USB_OHCI_HCD=y to axs103_defconfig, which is the only user of OHCI_GENERIC. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Stefan Roese 提交于
Add support for driver model, so that CONFIG_DM_ETH can be defined and used with this driver. This patch also adds the read_rom_hwaddr() callback so that the ROM MAC address will be used to the DM part of this driver. Signed-off-by: NStefan Roese <sr@denx.de> Cc: Stephen Warren <swarren@nvidia.com> Cc: Ted Chen <tedchen@realtek.com> Reviewed-by: NSimon Glass <sjg@chromium.org> Cc: Joe Hershberger <joe.hershberger@ni.com>
-
由 Peng Fan 提交于
Support driver model for ehci mx6 driver. Consolidate code to be shared between DM and non-DM, such as introducing ehci_mx6_common_init. For simplicity, some old fasion code are keeped for DM usage, such as board_ehci_power and board_usb_phy_mode. And 'dr-mode', usbphy and vbus handling code for DM is not added now. These will be added in future patches. Signed-off-by: NPeng Fan <peng.fan@nxp.com> Cc: Marek Vasut <marex@denx.de> Cc: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Cc: Stefan Agner <stefan@agner.ch> Cc: Simon Glass <sjg@chromium.org>
-
- 06 8月, 2016 30 次提交
-
-
-
由 Tom Rini 提交于
We no longer need to set 'caps' as it's not passed to sdhci_setup_cfg anymore. Fixes: 14bed52d ("mmc: sdhci: remove the unnecessary arguments for sdhci_setup_cfg") Signed-off-by: NTom Rini <trini@konsulko.com>
-
-
-
由 Karl Beldan 提交于
This follows 9fd38372 ("mmc: don't allow extra cmdline arguments"), and affects omapl138_lcdk and omap3_evm_quick_mmc. Signed-off-by: NKarl Beldan <kbeldan@baylibre.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Karl Beldan 提交于
Inform getopt that '-c' requires a parameter. Fixes: a02221f2 ("mkimage: Convert to use getopt()") Signed-off-by: NKarl Beldan <kbeldan@baylibre.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Simon Glass 提交于
Return one string for each command that was executed. This seems cleaner. Suggested-by: NTeddy Reed <teddy.reed@gmail.com> Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NStephen Warren <swarren@nvidia.com>
-
由 Simon Glass 提交于
Add a proper function for this rather than using internal functions. Use it in the single call site. Also, do a restart at the end of the vboot test to reset to the normal device tree. Signed-off-by: NSimon Glass <sjg@chromium.org> Suggested-by: NStephen Warren <swarren@nvidia.com>
-
由 Simon Glass 提交于
Use 'cons.log.section' feature to split up the test output. This makes it easier to read. Suggested-by: NStephen Warren <swarren@nvidia.com> Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Rename this argument and pass it to each function that needs it, instead of making it global. Suggested-by: NStephen Warren <swarren@nvidia.com> Suggested-by: NTeddy Reed <teddy.reed@gmail.com> Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Instead of this, use the existing run_and_log() function, enhanced to support a command string as well as a list of arguments. Suggested-by: NStephen Warren <swarren@nvidia.com> Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Fix some typos in various files introduced with the vboot test conversion. Reported-by: NTeddy Reed <teddy.reed@gmail.com> Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
This check was missed. Add it and make the message more verbose. Signed-off-by: NSimon Glass <sjg@chromium.org> Reported-by: NTom Rini <trini@konsulko.com> Fixes: 9e17b034 (test/py: Provide a way to check that a command fails)
-
由 Simon Glass 提交于
Fix review comments that were missed at the time. Also explain why we need to regenerate the device tree for each test. Reported-by: NTeddy Reed <teddy.reed@gmail.com> Suggested-by: NStephen Warren <swarren@nvidia.com> Signed-off-by: NSimon Glass <sjg@chromium.org> Fixes: f6349c3c (test: Add a README)
-
由 Simon Glass 提交于
Add this shortcut for running tests. Unfortunately 'make test' cannot be used as it is an existing directory. Signed-off-by: NSimon Glass <sjg@chromium.org> Suggested-by: NTeddy Reed <teddy.reed@gmail.com>
-
由 Alexander Graf 提交于
We create 2 sets of page tables: One for normal operation, one for emergency (used while modifying the former). Because the page tables grow dynamically, we have code that checks for overflow. Unfortunately we didn't adjust the available space variable while creating the emergency tables, so potentially someone might run into an overflow there (not seen in real world yet though!). Fix it by properly adjusting the size as well as the base offset in emergency page table creation. Reported-by: NYork Sun <york.sun@nxp.com> Signed-off-by: NAlexander Graf <agraf@suse.de> Reviewed-by: NYork Sun <york.sun@nxp.com>
-
由 Kever Yang 提交于
The calculation of "dev_desc->lba - 34 - 1 - offset" is not correct for size '-', because both fist_usable_lba and last_usable_lba will remain 34 sectors. We can simply use 0 for size '-' because the part_efi module will decode the size and auto extend the size to maximum available size. Signed-off-by: NKever Yang <kever.yang@rock-chips.com>
-
由 Tom Rini 提交于
These config targets were added well before the Kconfig migration began as a way to demonstrate how to make these platforms work with cut down features. At this point in time they no longer serve a good purpose so remove them. Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Heiko Stübner 提交于
The already available ilog2 function does exactly the same in the common case than the log2 function the current clock-driver reimplement. So, simply move to that one. Signed-off-by: NHeiko Stuebner <heiko@sntech.de> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Kever Yang 提交于
Enable the rockchip dwmmc driver for rk3399 and its evb. Signed-off-by: NKever Yang <kever.yang@rock-chips.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Kever Yang 提交于
rk3399 sdcard is using dwmmc controller, enable it for sdcard. SCLK_SDMMC is the clock for controller operation clock, move it to the first place. Signed-off-by: NKever Yang <kever.yang@rock-chips.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Kever Yang 提交于
MMC core will use 400KHz for card initialize first and then switch to higher frequency like 50MHz, we need to support both 400KHz and about 50MHz for dwmmc controller. Signed-off-by: NKever Yang <kever.yang@rock-chips.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Kever Yang 提交于
To compatible with distro boot, we need to add gpt and fs support, including gpt table and vfat, ext2, ext4 support. Signed-off-by: NKever Yang <kever.yang@rock-chips.com> Reviewed-by: NSimon Glass <sjg@chromium.org> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Xu Ziyuan 提交于
Enable ums feature for rk3288 boards, so that we can mount the mmc device to PC. Signed-off-by: NZiyuan Xu <xzy.xu@rock-chips.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Xu Ziyuan 提交于
For compatibility with distro boot, fastboot, and mount the mmc deivce to PC via usb mass storage feature, GPT partitions are essential. You should write the partitions to mmc device prior to use above feature. => gpt write mmc 1 $partitions GPT successfully written to block device! success! Signed-off-by: NZiyuan Xu <xzy.xu@rock-chips.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Xu Ziyuan 提交于
Miniarm is a rockchip rk3288 based development board, which has lots of interface such as HDMI, USB, micro-SD card, Audio etc. Signed-off-by: NZiyuan Xu <xzy.xu@rock-chips.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Heiko Stübner 提交于
With the number of Rockchip clock drivers increasing, don't clutter up the core drivers/clk directory with them and instead move them out of the way into a separate subdirectory. Suggested-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NHeiko Stuebner <heiko@sntech.de> Acked-by: NSimon Glass <sjg@chromium.org> Updated for rk3399: Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Kever Yang 提交于
This patch add driver for: - clock driver including set_rate for cpu, mmc, vop, I2C. - sysreset driver - grf syscon driver Signed-off-by: NKever Yang <kever.yang@rock-chips.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Sandy Patterson 提交于
Add an extra byte so that this data is not byteswapped. Signed-off-by: NSandy Patterson <apatterson@sightlogix.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Xu Ziyuan 提交于
Enable fastboot feature on rk3036, please refer to doc/README.rockchip for more detailed usage. Signed-off-by: NZiyuan Xu <xzy.xu@rock-chips.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
- 05 8月, 2016 5 次提交
-
-
由 Jaehoon Chung 提交于
When disabled CONFIG_MMC_SDMA, variable caps didn't use. This patch fixes the compiler error for -Wunused-but-set-variable Signed-off-by: NJaehoon Chung <jh80.chung@samsung.com>
-
由 Tom Rini 提交于
In the case of omap3 we have a number of platforms that are close to exceeding SRAM limits, depending on compiler. Move to USE_TINY_PRINTF to give them more room. OMAP4 will soon enough be in a similar place, so enable that now. Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Tom Rini 提交于
In reality all omap3 platforms support SPL so move the select for this up a level. Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Max Filippov 提交于
print_std_bdinfo outputs typical set of board information entries: boot params location, memory and flash addresses and sizes, network interfaces information and configured serial baud rate. Signed-off-by: NMax Filippov <jcmvbkbc@gmail.com> Reviewed-by: NTom Rini <trini@konsulko.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Max Filippov 提交于
print_baudrate outputs serial baud rate. Signed-off-by: NMax Filippov <jcmvbkbc@gmail.com> Reviewed-by: NTom Rini <trini@konsulko.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-