- 10 3月, 2018 9 次提交
-
-
-
由 Tom Rini 提交于
Rsync all defconfig files using moveconfig.py Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Stefan Theil 提交于
The system call used by mkimage to run dtc redirects stdout to a temporary file. This can cause problems on Windows (with a MinGW cross-compiled version). Using the "-o" dtc parameter avoids this problem. Signed-off-by: NStefan Theil <stefan.theil@mixed-mode.de> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Marek Behún 提交于
Other filesystem drivers don't do this. Signed-off-by: NMarek Behun <marek.behun@nic.cz>
-
由 Heinrich Schuchardt 提交于
NETWORK should be after NAND_FLASH. Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
-
由 Heinrich Schuchardt 提交于
kmerr: verify that malloc and calloc are followed by a check to verify that we are not out of memory. badzero: Compare pointer-typed values to NULL rather than 0 Both checks are copied from the Linux kernel archive. Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
-
由 Heinrich Schuchardt 提交于
The iterator of list_for_each() is never NULL. Identified with coccinelle. Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
-
由 Alexander Graf 提交于
After the UART was initialized, we may still have bogus data in the RX queue if it was enabled with incorrect pin muxing before. So let's flush the RX queue whenever we initialize baud rates. This fixes a regression with the dynamic pinmuxing code when enable_uart=1 is not set in config.txt on Raspberry Pis that use pl011 for serial. Fixes: caf2233b ("bcm283x: Add pinctrl driver") Reported-by: NGöran Lundberg <goran@lundberg.email> Reported-by: NPeter Robinson <pbrobinson@gmail.com> Signed-off-by: NAlexander Graf <agraf@suse.de> Tested-by: NPeter Robinson <pbrobinson@gmail.com> Tested-by: NTuomas Tynkkynen <tuomas@tuxera.com>
-
由 Alexander Graf 提交于
After the UART was initialized, we may still have bogus data in the RX queue if it was enabled with incorrect pin muxing before. So let's flush the RX queue whenever we initialize baud rates. This fixes a regression with the dynamic pinmuxing code when enable_uart=1 is not set in config.txt. Fixes: caf2233b ("bcm283x: Add pinctrl driver") Reported-by: NGöran Lundberg <goran@lundberg.email> Reported-by: NPeter Robinson <pbrobinson@gmail.com> Signed-off-by: NAlexander Graf <agraf@suse.de> Tested-by: NPeter Robinson <pbrobinson@gmail.com> Tested-by: NTuomas Tynkkynen <tuomas@tuxera.com>
-
- 09 3月, 2018 7 次提交
-
-
由 Tuomas Tynkkynen 提交于
The following config symbols are only defined once and never referenced anywhere else: CONFIG_AT91SAM9263EK CONFIG_AT91SAM9RLEK CONFIG_BARIX_IPAM390 CONFIG_BOARD_H2200 CONFIG_EP9301 CONFIG_KZM_A9_GT CONFIG_PICOSAM CONFIG_PLATINUM_PICON CONFIG_PLATINUM_TITANIUM CONFIG_PM9261 CONFIG_PM9263 CONFIG_PM9G45 CONFIG_SIEMENS_DRACO CONFIG_SIEMENS_PXM2 CONFIG_SIEMENS_RUT CONFIG_SMDKC100 CONFIG_SMDKV310 CONFIG_STM32F4DISCOVERY Most of them are config symbols named after the respective boards which seems to have been a standard practice at some point. Signed-off-by: NTuomas Tynkkynen <tuomas@tuxera.com>
-
由 Tuomas Tynkkynen 提交于
The following config symbols are only defined once and never referenced anywhere else: CONFIG_ARM926EJS CONFIG_CPUAT91 CONFIG_EXYNOS5800 CONFIG_SYS_CORTEX_R4 Most of them are config symbols named after the respective SoCs which seems to have been a standard practice at some point. Signed-off-by: NTuomas Tynkkynen <tuomas@tuxera.com>
-
由 Tuomas Tynkkynen 提交于
The following config symbols are only defined once and never referenced anywhere else: CONFIG_DBAU1X00 CONFIG_PB1X00 Most of them are config symbols named after the respective boards which seems to have been a standard practice at some point. Signed-off-by: NTuomas Tynkkynen <tuomas@tuxera.com>
-
由 Mario Six 提交于
The @gdsys.cc addresses are supposed to be used for mailing lists. Switch all occurrences of @gdsys.de mail addresses to their @gdsys.cc equivalent. Also, Dirk's address was wrong in one place; fix that as well. Signed-off-by: NMario Six <six@gdsys.cc>
-
由 Tuomas Tynkkynen 提交于
CONFIG_SYS_CBSIZE determines the maximum length of the kernel command line, and the default value of 256 is too small for booting some Linux images in the wild. Signed-off-by: NTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
-
由 Yasushi SHOJI 提交于
Without the volatile attribute, compilers are entitled to optimize out the same asm(). In the case of __udelay() in syscounter.c, it calls `get_ticks()` twice, one for the starting time and the second in the loop to check the current time. When compilers inline `get_ticks()` they see the same `mrrc` instructions and optimize out the second one. This leads to infinite loop since we don't get updated value from the system counter. Here is a portion of the disassembly of __udelay: 88: 428b cmp r3, r1 8a: f8ce 20a4 str.w r2, [lr, #164] ; 0xa4 8e: bf08 it eq 90: 4282 cmpeq r2, r0 92: f8ce 30a0 str.w r3, [lr, #160] ; 0xa0 96: d3f7 bcc.n 88 <__udelay+0x88> 98: e8bd 8cf0 ldmia.w sp!, {r4, r5, r6, r7, sl, fp, pc} Note that final jump / loop at 96 to 88, we don't have any `mrrc`. With a volatile attribute, the above changes to this: 8a: ec53 2f0e mrrc 15, 0, r2, r3, cr14 8e: 42ab cmp r3, r5 90: f8c1 20a4 str.w r2, [r1, #164] ; 0xa4 94: bf08 it eq 96: 42a2 cmpeq r2, r4 98: f8c1 30a0 str.w r3, [r1, #160] ; 0xa0 9c: d3f5 bcc.n 8a <__udelay+0x8a> 9e: e8bd 8cf0 ldmia.w sp!, {r4, r5, r6, r7, sl, fp, pc} a2: bf00 nop I'm advised[1] to put volatile on all asm(), so this commit also adds it to the asm() in timer_init(). [1]: https://lists.denx.de/pipermail/u-boot/2018-March/322062.htmlSigned-off-by: NYasushi SHOJI <yasushi.shoji@gmail.com> Reviewed-by: NFabio Estevam <fabio.estevam@nxp.com>
-
由 Fabio Estevam 提交于
Sometimes imximage throws the following error: CFGS board/freescale/vf610twr/imximage.cfg.cfgtmp CFGS board/freescale/vf610twr/imximage.cfg.cfgtmp MKIMAGE u-boot-dtb.imx Error: No BOOT_FROM tag in board/freescale/vf610twr/imximage.cfg.cfgtmp arch/arm/mach-imx/Makefile:100: recipe for target 'u-boot-dtb.imx' failed Later on, when running mkimage for the u-boot.imx it will succeed in finding the IVT offset. Looks like some race condition happening during parallel build when processing mkimage for u-boot-dtb.imx and u-boot.imx. A proper fix still needs to be implemented, but as a workaround let's remove the error when the IVT offset is not found. It is useful to have such message, especially during bring-up phase, but the build error that it causes is severe, so better avoid the build error for now. The error checking can be re-implemented later when we have a proper fix. Reported-by: NBreno Lima <breno.lima@nxp.com> Reported-by: NThomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: NFabio Estevam <fabio.estevam@nxp.com>
-
- 06 3月, 2018 2 次提交
-
-
由 Tom Rini 提交于
Signed-off-by: NTom Rini <trini@konsulko.com>
-
-
- 05 3月, 2018 22 次提交
-
-
由 Tom Rini 提交于
This was missing the 'S' line causing a warning from genboardscfg.py Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Adam Ford 提交于
This should clean up a warning about a missing phy-cells Signed-off-by: NAdam Ford <aford173@gmail.com>
-
由 Heinrich Schuchardt 提交于
POWER should be after ONENAND Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
-
由 Fabio Estevam 提交于
Keep spelling.txt in sync with the version from kernel 4.16-rc4. Signed-off-by: NFabio Estevam <fabio.estevam@nxp.com> Reviewed-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
-
由 Adam Ford 提交于
Due to evolution of the MMC driver and better support, let's remove unnecessary undefs. Signed-off-by: NAdam Ford <aford173@gmail.com>
-
由 Adam Ford 提交于
With the migration to Kconfig, the I2C block no longer exists in here. Let's clean up the comment. Signed-off-by: NAdam Ford <aford173@gmail.com>
-
由 Ed Bartosh 提交于
Enable DHCP support for this board. Signed-off-by: NEd Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: NMarek Vasut <marex@denx.de> Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Masahiro Yamada 提交于
Thomas reported U-Boot failed to build host tools if libfdt-devel package is installed because tools include libfdt headers from /usr/include/ instead of using internal ones. This commit moves the header code: include/libfdt.h -> include/linux/libfdt.h include/libfdt_env.h -> include/linux/libfdt_env.h and replaces include directives: #include <libfdt.h> -> #include <linux/libfdt.h> #include <libfdt_env.h> -> #include <linux/libfdt_env.h> Reported-by: NThomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Paul Kocialkowski 提交于
There are no headers for libfdt in lib/libfdt, as they are instead located in scripts/dtc/libfdt. Specifying lib/libfdt for headers inclusion in host tools results in using the system libfdt headers, which is not what we want. Change this to the proper path. Signed-off-by: NPaul Kocialkowski <contact@paulk.fr>
-
由 Heinrich Schuchardt 提交于
Add a comment indicating that the German key map assumes code page 437. Add support for character ² (square sign) in the German key map. Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
-
由 Marek Behún 提交于
Signed-off-by: NMarek Behun <marek.behun@nic.cz>
-
由 Mario Six 提交于
The PCA953x driver uses "gpio@%x_" as the GPIO bank name, where "%x" is instantiated with the I2C address of the chip. While this works, it becomes very confusing if a board has multiple PCAs with the same address on different I2C busses, and it also becomes an issue when a GPIO's value is to be set via the 'gpio' command, because this command only ever sets the value of the first device it encounters, leaving the other devices inaccessible to the command. As to not break boards that rely on this naming scheme, we introduce a new device tree string property "label" for the driver. If it exists, it is used to build a bank name of the form "%s@%x_" (where %x is still instantiated with the I2C address). If it does not exist, the legacy labeling scheme is used. Signed-off-by: NMario Six <mario.six@gdsys.cc>
-
由 Faiz Abbas 提交于
Rename CONFIG_SPL_USBETH_SUPPORT to CONFIG_SPL_USB_ETHER. This enables users to block text using CONFIG_IS_ENABLED() instead of resorting to #if ladders with SPL and non-SPL cases. Signed-off-by: NFaiz Abbas <faiz_abbas@ti.com>
-
由 Stefan Agner 提交于
Treat the first equal sign as a key/value separation too. This makes the script files compatible with mkenvimage input file format. It won't support variables with equal signs anymore, but this seems not really like a loss. Signed-off-by: NStefan Agner <stefan.agner@toradex.com>
-
由 Jeremy Boone 提交于
Ensure that the Atmel TPM driver performs sufficient validation of the length returned in the TPM response header. This patch prevents memory corruption if the header contains a length value that is larger than the destination buffer. Signed-off-by: NJeremy Boone <jeremy.boone@nccgroup.trust>
-
由 Jeremy Boone 提交于
Ensure that the Infineon I2C and SPI TPM driver performs adequate validation of the length extracted from the TPM response header. This patch prevents integer underflow when the length was too small, which could lead to memory corruption. Signed-off-by: NJeremy Boone <jeremy.boone@nccgroup.trust>
-
由 Jeremy Boone 提交于
This patch prevents integer underflow when the length was too small, which could lead to memory corruption. Signed-off-by: NJeremy Boone <jeremy.boone@nccgroup.trust>
-
由 Marek Vasut 提交于
This patch got dropped during the update of DTs to 4.14, re-add it back. This adds reset GPIOs to the ethernet PHYs. Signed-off-by: NMarek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Signed-off-by: NNobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
由 Marek Vasut 提交于
These do not need to be available early on Gen3 , so move them to the respective DT files. Signed-off-by: NMarek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
由 Marek Vasut 提交于
Add R8A77965 M3N Salvator-XS development kit support. This kit is similar to the other Salvator-X(S) ones, except is has M3N SoC on it. Signed-off-by: NMarek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
由 Marek Vasut 提交于
Add SDHI nodes to r8a77965.dtsi to get eMMC and SD slots operational. Signed-off-by: NMarek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
由 Marek Vasut 提交于
Add xHCI node to r8a77965.dtsi to get xHCI USB operational. Signed-off-by: NMarek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-