- 03 10月, 2018 12 次提交
-
-
git://git.denx.de/u-boot-spi由 Tom Rini 提交于
This is the PR for SPI-NAND changes along with few spi changes. [trini: Re-sync changes for ls1012afrwy_qspi*_defconfig] Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Marek Vasut 提交于
Add DM support to the SH QSPI driver while retaining non-DM support. The later is required as this driver is used in SPL which has a size limitation of 16 kiB. Signed-off-by: NMarek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> [jagan: use proper commit head] Reviewed-by: NJagan Teki <jagan@openedev.com>
-
由 Ashish Kumar 提交于
Convert fsl_qspi.c to complete DM mode. Signed-off-by: NAshish Kumar <Ashish.Kumar@nxp.com> Tested-by: NRajat Srivastava <rajat.srivastava@nxp.com> Tested-by: NYe Li <ye.li@nxp.com> Reviewed-by: NJagan Teki <jagan@openedev.com>
-
由 Ley Foon Tan 提交于
Add code to reset all reset signals as in SPI DT node. A reset property is an optional feature, so only print out a warning and do not fail if a reset property is not present. If a reset property is discovered, then use it to deassert, thus bringing the IP out of reset. Release reset when _remove(). Signed-off-by: NLey Foon Tan <ley.foon.tan@intel.com> Acked-by: NMarek Vasut <marex@denx.de> Reviewed-by: NJagan Teki <jagan@openedev.com>
-
由 Miquel Raynal 提交于
The 'mtdparts' command is not needed anymore. While the environment variable is still valid (and useful, along with the 'mtdids' one), the command has been replaced by 'mtd' which is much more close to the MTD stack and do not add its own specific glue. Signed-off-by: NMiquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: NStefan Roese <sr@denx.de> Reviewed-by: NBoris Brezillon <boris.brezillon@bootlin.com>
-
由 Miquel Raynal 提交于
UBI should not mess with MTD partitions, now that the partitions are handled in a clean way, clean the ubi command and avoid using this uneeded extra-glue to reference the devices. Signed-off-by: NMiquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: NStefan Roese <sr@denx.de> Reviewed-by: NBoris Brezillon <boris.brezillon@bootlin.com>
-
由 Miquel Raynal 提交于
There should not be a 'nand' command, a 'sf' command and certainly not a new 'spi-nand' command. Write a 'mtd' command instead to manage all MTD devices/partitions at once. This should be the preferred way to access any MTD device. Signed-off-by: NMiquel Raynal <miquel.raynal@bootlin.com> Acked-by: NJagan Teki <jagan@openedev.com> Reviewed-by: NStefan Roese <sr@denx.de> Reviewed-by: NBoris Brezillon <boris.brezillon@bootlin.com>
-
由 Miquel Raynal 提交于
Instead of collecting partitions in a flat list, create a hierarchy within the mtd_info structure: use a partitions list to keep track of the partitions of an MTD device (which might be itself a partition of another MTD device), a pointer to the parent device (NULL when the MTD device is the root one, not a partition). By also saving directly in mtd_info the offset of the partition, we can get rid of the mtd_part structure. Signed-off-by: NMiquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: NStefan Roese <sr@denx.de> Reviewed-by: NBoris Brezillon <boris.brezillon@bootlin.com>
-
由 Miquel Raynal 提交于
Using an MTD device (resp. partition) name in mtdparts is simple and straightforward. However, for a long time already, another name was given in mtdparts to indicate a device (resp. partition) so the "mtdids" environment variable was created to do the match. Let's create a function that, from an MTD device (resp. partition) name, search for the equivalent name in the "mtdparts" environment variable thanks to the "mtdids" string. Signed-off-by: NMiquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: NStefan Roese <sr@denx.de> Reviewed-by: NBoris Brezillon <boris.brezillon@bootlin.com>
-
由 Miquel Raynal 提交于
The current parser is very specific to U-Boot mtdparts implementation. It does not use MTD structures like mtd_info and mtd_partition. Copy and adapt the current parser in drivers/mtd/mtd-uclass.c (to not break the current use of mtdparts.c itself) and write some kind of a wrapper around the current implementation to allow other commands to benefit from this parsing in a user-friendly way. This new function will allocate an mtd_partition array for each successful call. This array must be freed after use by the caller. The given 'mtdparts' buffer pointer will be moved forward to the next MTD device (if any, it will point towards a '\0' character otherwise). Signed-off-by: NMiquel Raynal <miquel.raynal@bootlin.com> Acked-by: NJagan Teki <jagan@openedev.com> Reviewed-by: NStefan Roese <sr@denx.de> Reviewed-by: NBoris Brezillon <boris.brezillon@bootlin.com>
-
由 Miquel Raynal 提交于
The user might want to trigger the probe of any MTD device, export these functions so they can be called from a command source file. Signed-off-by: NMiquel Raynal <miquel.raynal@bootlin.com> Acked-by: NJagan Teki <jagan@openedev.com> Reviewed-by: NStefan Roese <sr@denx.de> Reviewed-by: NBoris Brezillon <boris.brezillon@bootlin.com>
-
由 Miquel Raynal 提交于
include/mtd.h might be included by files even if CONFIG_DM is not enabled. In this case, the call to dev_get_uclass_priv() would trigger a build error. Because this helper has no user, let's drop it off. Signed-off-by: NMiquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: NJagan Teki <jagan@openedev.com>
-
- 02 10月, 2018 1 次提交
-
-
由 Tom Rini 提交于
Signed-off-by: NTom Rini <trini@konsulko.com>
-
- 01 10月, 2018 25 次提交
-
-
由 Eugen Hristev 提交于
Updated the maintainership for the at91 boards. Signed-off-by: NEugen Hristev <eugen.hristev@microchip.com>
-
-
由 Tom Rini 提交于
Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Marek Vasut 提交于
The btrfs implementation passes cache-unaligned buffers into the block layer, which triggers cache alignment problems down in the block device drivers. Align the buffers to prevent this. Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Marek Behun <marek.behun@nic.cz>
-
由 Ramon Fried 提交于
change writel to writebits32 in ci_pullup() in order to keep phy configuration in tact. Signed-off-by: NRamon Fried <ramon.fried@gmail.com>
-
由 Ramon Fried 提交于
If during boot the key-vol-down press is detected we'll fall back to fastboot. Signed-off-by: NRamon Fried <ramon.fried@gmail.com>
-
由 Ramon Fried 提交于
Signed-off-by: NRamon Fried <ramon.fried@gmail.com>
-
由 Ramon Fried 提交于
MSM uses the chipidea controller IP, however it requires to reinit the phy after controller reset. in EHCI mode there's a dedicated callback for it. In device mode however there's no such callback. Add implementaion of ci_init_after_reset() to implement the above requirement in case CI_UDC driver is used. Signed-off-by: NRamon Fried <ramon.fried@gmail.com>
-
由 Ramon Fried 提交于
MSM variant of Chipidea must reinitalize the phy after controller reset. Introduce ci_init_after_reset() weak function that can be used to achieve the above init. Signed-off-by: NRamon Fried <ramon.fried@gmail.com>
-
由 Ramon Fried 提交于
Change ehci_usb_probe() function to initialize the USB according to the init_type provided. Signed-off-by: NRamon Fried <ramon.fried@gmail.com>
-
由 Ramon Fried 提交于
All the underlying USB PHY was handled in the ehci driver. Use the generic phy API instead. Signed-off-by: NRamon Fried <ramon.fried@gmail.com>
-
由 Ramon Fried 提交于
Enable USB PHY driver. Also fixed the alphabetically ordering of the config. Signed-off-by: NRamon Fried <ramon.fried@gmail.com>
-
由 Ramon Fried 提交于
Signed-off-by: NRamon Fried <ramon.fried@gmail.com>
-
由 Ramon Fried 提交于
Add a PHY driver for the Qualcomm dragonboard 410c which allows switching on/off and resetting the phy connected to the EHCI controllers and USBHS controller. Signed-off-by: NRamon Fried <ramon.fried@gmail.com>
-
由 Ramon Fried 提交于
The serial# environment variable needs to be defined so it will be used by fastboot as serial for the endpoint descriptor. Signed-off-by: NRamon Fried <ramon.fried@gmail.com>
-
由 Ramon Fried 提交于
Alias is required so req-seq will be filled. Signed-off-by: NRamon Fried <ramon.fried@gmail.com>
-
由 Ramon Fried 提交于
platdata_auto_alloc_size was not initialized in structure. Caused null pointer dereference when configuring device as gadget. Signed-off-by: NRamon Fried <ramon.fried@gmail.com>
-
由 Ramon Fried 提交于
Use standard board_usb_init() instead of the specific board_prepare_usb. Signed-off-by: NRamon Fried <ramon.fried@gmail.com>
-
由 Patrice Chotard 提交于
Since commit 7b3b74d3 ("serial: serial_stm32: Enable overrun") on STM32F7xx based boards, the first lines of serial output are missing during boot (we no more see the U-Boot release version, board model and DRAM size). By enabling the uart FIFO on STM32F7, the complete U-boot log can be sent correctly. Signed-off-by: NPatrice Chotard <patrice.chotard@st.com>
-
由 Neil Stainton 提交于
Prevent cache warning messages when using the 'bootelf' command on an Arm target. Round down each section start address and round up the respective section end to the nearest cache line. Signed-off-by: NNeil Stainton <nstainton@asl-control.co.uk> [trini: Manually apply, rework whitespace] Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Masahiro Yamada 提交于
The escape sequence '\#' does not work for the latest GNU Make from the git tree. Replace it with $(pound) as Linux did. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Rasmus Villemoes 提交于
[ commit 9564a8cf422d7b58f6e857e3546d346fa970191e in Linux ] I tried building using a freshly built Make (4.2.1-69-g8a731d1), but already the objtool build broke with orc_dump.c: In function ‘orc_dump’: orc_dump.c:106:2: error: ‘elf_getshnum’ is deprecated [-Werror=deprecated-declarations] if (elf_getshdrnum(elf, &nr_sections)) { Turns out that with that new Make, the backslash was not removed, so cpp didn't see a #include directive, grep found nothing, and -DLIBELF_USE_DEPRECATED was wrongly put in CFLAGS. Now, that new Make behaviour is documented in their NEWS file: * WARNING: Backward-incompatibility! Number signs (#) appearing inside a macro reference or function invocation no longer introduce comments and should not be escaped with backslashes: thus a call such as: foo := $(shell echo '#') is legal. Previously the number sign needed to be escaped, for example: foo := $(shell echo '\#') Now this latter will resolve to "\#". If you want to write makefiles portable to both versions, assign the number sign to a variable: C := \# foo := $(shell echo '$C') This was claimed to be fixed in 3.81, but wasn't, for some reason. To detect this change search for 'nocomment' in the .FEATURES variable. This also fixes up the two make-cmd instances to replace # with $(pound) rather than with \#. There might very well be other places that need similar fixup in preparation for whatever future Make release contains the above change, but at least this builds an x86_64 defconfig with the new make. Link: https://bugzilla.kernel.org/show_bug.cgi?id=197847 Cc: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: NRasmus Villemoes <linux@rasmusvillemoes.dk> Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Alex Kiernan 提交于
If we fail to find the MMC boot device, report the number of the one we were looking for in the error to aid diagnosis. Signed-off-by: NAlex Kiernan <alex.kiernan@gmail.com>
-
由 Liviu Dudau 提交于
The Arm Versatile Express and Juno development boards contain an OSC clock generator that can be accessed through the Versatile Express config bus. The generators are quite often being controlled by some MCU and the config bus offers a uniform way of exposing them. Signed-off-by: NLiviu Dudau <liviu.dudau@foss.arm.com> Reviewed-by: NHeiko Schocher <hs@denx.de>
-
由 Neil Stainton 提交于
Fix failure to reimport exported checksummed, size constrained data block. 'env export -c' command ignores optional -s size argument when calculating checksum causing subsequent 'env import -c' to fail. Signed-off-by: NNeil Stainton <nstainton@asl-control.co.uk>
-
- 30 9月, 2018 2 次提交
-
-
-
由 Rajan Vaja 提交于
Add a test which verifies that all subnodes under "/firmware" nodes are scanned. Signed-off-by: NRajan Vaja <rajan.vaja@xilinx.com> Reviewed-by: NSimon Glass <sjg@chromium.org> Added 'imply FIRMWARE' to sandbox Kconfig to fix test failures, fixed ordering of lines in arch/sandbox/dts/test.dts and test/dm/Makefile, updated #if condition in drivers/firmware/firmware-uclass.c: Signed-off-by: NSimon Glass <sjg@chromium.org>
-