- Oct 20, 2017
-
-
Adam Ford authored
This converts the following to Kconfig: CONFIG_NAND_MXC CONFIG_NAND_OMAP_GPMC CONFIG_NAND_OMAP_GPMC_PREFETCH CONFIG_NAND_OMAP_ELM CONFIG_SPL_NAND_AM33XX_BCH CONFIG_SPL_NAND_SIMPLE CONFIG_SYS_NAND_BUSWIDTH_16BIT Signed-off-by:
Adam Ford <aford173@gmail.com> Reviewed-by:
Heiko Schocher <hs@denx.de> [trini: Finish migration of CONFIG_SPL_NAND_SIMPLE, fix some build issues, add CONFIG_NAND_MXC so we can do CONFIG_SYS_NAND_BUSWIDTH_16BIT] Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Oct 19, 2017
-
-
git://git.denx.de/u-boot-x86Tom Rini authored
-
Stefan Roese authored
I've missed to add the ACPI resume support to this x86 build target. This patch adds the ACPI resume support enabling S3 suspend / resume. Signed-off-by:
Stefan Roese <sr@denx.de> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
Heinrich Schuchardt authored
Up to now we depended on an exported variable to build u-boot.rom. We should be able to specify it in the configuration file, too. With this patch this becomes possible using the new Kconfig option CONFIG_BUILD_ROM. This option depends on CONFIG_X86 and is selected in qemu-x86_defconfig and qemu-x86_64_defconfig. Cc: Simon Glass <sjg@chromium.org> Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
Bin Meng authored
Azalia configuration may be different across boards, hence it's not appropriate to do that in the SoC level. Instead, let's make the SoC update_fsp_azalia_configs() routine as a weak version, and do the actual work in the board codes. So far it seems only som-db5800-som-6867 board enables the Azalia. Move the original codes into som-db5800-som-6867.c. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Stefan Roese <sr@denx.de>
-
Bin Meng authored
At present we directly pass the Azalia config pointer to the FSP UPD. This updates to use a function to do the stuff, like Braswell does. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Stefan Roese <sr@denx.de>
-
Bin Meng authored
So far there are two copies of Azalia struct defines with one in baytrail and the other one in braswell. This consolidates these two into one, put it in the common place, and remove the prefix pch_ to these structs to make their names more generic. This also corrects reset_wait_timer from us to ms. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Stefan Roese <sr@denx.de>
-
Bin Meng authored
This is only needed when graphics console is used. For kernel with native graphics driver, this can be turned off to speed up. Change this option's default to n in the Kconfig. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Stefan Roese <sr@denx.de>
-
Bin Meng authored
It was observed that when booting a Ubuntu 16.04 kernel, doing ACPI S3 suspend/resume sometimes causes the Ubuntu kernel hang forever. The issue is however not reproduced with a kernel built from i386/ x86_64 defconfig configuration. The unstability is actually caused by unexpected interrupts being generated during the S3 resume. For some unknown reason, FSP (gold4) for BayTrail configures the GPIO DFX5 PAD to enable level interrupt (bit 24 and 25). As this pin keeps generating interrupts during an S3 resume, and there is no IRQ requester in the kernel to handle it, the kernel seems to hang and does not continue resuming. Clear the mysterious interrupt bits for this pin. Reported-by:
Stefan Roese <sr@denx.de> Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Tested-by:
Stefan Roese <sr@denx.de> Reviewed-by:
Stefan Roese <sr@denx.de>
-
Bin Meng authored
Adjust VGA rom address to 0xfffb0000 so that u-boot.rom image can be built again. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Stefan Roese <sr@denx.de>
-
- Oct 18, 2017
-
-
git://git.denx.de/u-boot-i2cTom Rini authored
-
git://git.denx.de/u-boot-spiTom Rini authored
-
- Oct 17, 2017
-
-
Patrice Chotard authored
Remove useless local variable "s" and use directly function's parameter "output" Signed-off-by:
Patrice Chotard <patrice.chotard@st.com>
-
Christophe Kerello authored
As "v" is a local variable in stm32_i2c_choose_solution() "v" has to be copied into "s" to avoid data abort in stm32_i2c_compute_timing(). Signed-off-by:
Christophe Kerello <christophe.kerello@st.com> Reviewed-by:
Patrick DELAUNAY <patrick.delaunay@st.com> Signed-off-by:
Patrice Chotard <patrice.chotard@st.com>
-
Masahiro Yamada authored
No global pointer is used in this file. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
Tom Rini authored
Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Rsync all defconfig files using moveconfig.py Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Oct 16, 2017
-
-
Heinrich Schuchardt authored
On qemu errors like assert 2.999650001525879 >= 3 occur. According to the comment in the code the test is meant to be approximate. So we should accept some milliseconds less. Cc: Stephen Warren <swarren@nvidia.com> Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by:
Stephen Warren <swarren@nvidia.com>
-
Heinrich Schuchardt authored
Update the script to version 0.26 (as of Linux v4.14-rc1) Keep our "penguin_chief". Keep our top_of_kernel_tree. The negative forms of the command line parameters are described when using --help. New options are --git-blame-signatures => when used with --git-blame, also include all commit signers --r => include reviewer(s) if any --letters => print all matching 'letter' types from all matching sections File .get_maintainer.ignore can be used to specify email addressees that shall be ignored. Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-
Praneeth Bajjuri authored
'commit fa24eca1 ("omap: Add routine for setting fastboot variables")' adds initial support and usage of "fastboot getvar" command for DRA75x and DRA72x devices. and 'commit 0f9e6aee ("arm: dra76: Add support for ES1.0 detection")' adds initial dra76 device definition This patch is to extend usage of "fastboot getvar" for DRA76 device. Signed-off-by:
Praneeth Bajjuri <praneeth@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Vishal Mahaveer authored
DRA71x processors are reduced pin and software compatible derivative of DRA72 processors. Extend support for this revision in "getvar cpu" command. Signed-off-by:
Vishal Mahaveer <vishalm@ti.com> [praneeth@ti.com: rebase to u-boot master] Signed-off-by:
Praneeth Bajjuri <praneeth@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Vishal Mahaveer authored
Add vendor partition to Android GPT table for eMMC. A Vendor image contains SoC-specific code and configuration. Prior to Android 8.0, the vendor partition was optional ; files belonging to these images were placed in boot.img or system.img with symlinks (such as /vendor >/system/vendor ) when absent. Android 8.0 makes the vendor partition mandatory The goal is to modularize Android partitions with standard interface between the Android Platform (on system.img ) and vendor-provided code(on vendor.img). This standard interface enables the Android Platform to be updated without affecting the SoC partitions. This makes it possible to upgrade a device system.img from Android 8.0 to Android P while other images (such as vendor.img) remain at Android 8.0. This modularity enables timely Android platform upgrades (such as monthly security updates ) without requiring SoC/ODM partners to update SoC- and device-specific code. Signed-off-by:
Vishal Mahaveer <vishalm@ti.com> Signed-off-by:
Praneeth Bajjuri <praneeth@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Praneeth Bajjuri authored
Add vendor partition to Android GPT table for eMMC. A Vendor image contains SoC-specific code and configuration. Prior to Android 8.0, the vendor partition was optional ; files belonging to these images were placed in boot.img or system.img with symlinks (such as /vendor >/system/vendor ) when absent. Android 8.0 makes the vendor partition mandatory The goal is to modularize Android partitions with standard interface between the Android Platform (on system.img ) and vendor-provided code(on vendor.img). This standard interface enables the Android Platform to be updated without affecting the SoC partitions. This makes it possible to upgrade a device system.img from Android 8.0 to Android P while other images (such as vendor.img) remain at Android 8.0. This modularity enables timely Android platform upgrades (such as monthly security updates ) without requiring SoC/ODM partners to update SoC- and device-specific code. Signed-off-by:
Praneeth Bajjuri <praneeth@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Heinrich Schuchardt authored
Fix typos in USB tty driver. Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-
Bin Meng authored
Signed-off-by:
Bin Meng <bmeng.cn@gmail.com>
-
Tom Rini authored
As the code currently stands, we first check that the length of the given command line, along with ip_str/mac_str along with an additional 1 for the NULL termination will fit within the buffer we have, and if not, we return an error. The way this code was originally written however left Coverity "unhappy" due to using strcat rather than strncat. Switching this to strncat however causes clang to be unhappy that we aren't enforcing the "1" portion within strncat. Rather than further re-work the code to include a "- 1" in this case as well, make the strcat code only be done within the else side of the length test. This keeps both clang and Coverity happy. Fixes: 48ee0a87 ("cmd/pxe.c: Rework initrd and bootargs handling slightly") Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Masahiro Yamada authored
I saw a DT build issue report some time before [1]. I was able to reproduce the bug, and figure out the root cause. Since commit 6d427c6b ("binman: Automatically include a U-Boot .dtsi file"), invalid .*.cmd files are generated. Since that commit, DTS files are put into sed and piped to CPP. Because CPP reads the stream from stdin, -Wp,-MD,$(depfile).pre.tmp option generates a depfile with the target name "-". This is not the format expected by fixdep. Use one more temporary file instead of using pipe. With this, deps_ in the .*.cmd will be fixed. Having a temp file name in source_ is odd, but it is unsed in the build system. Not a big deal. [1] https://lists.denx.de/pipermail/u-boot/2017-June/294451.html Fiexes: 6d427c6b ("binman: Automatically include a U-Boot .dtsi file") Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Tuomas Tynkkynen authored
Removal of the legacy DataFlash code turned genimg_get_image() into a no-op. Drop all calls to it and the function itself. Signed-off-by:
Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
-
Tuomas Tynkkynen authored
Last user of this option went away in commit: fdc77189 ("board: usb_a9263: Update to support DT and DM") Signed-off-by:
Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
-
Tuomas Tynkkynen authored
Last user of this option went away in commit: fdc77189 ("board: usb_a9263: Update to support DT and DM") Signed-off-by:
Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> Acked-by:
Wenyou Yang <wenyou.yang@microchip.com>
-
Tuomas Tynkkynen authored
Last user of this option went away in commit: fdc77189 ("board: usb_a9263: Update to support DT and DM") Signed-off-by:
Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
-
Vagrant Cascadian authored
This makes gcc no longer expect an out-of-line version of the functions being present elsewhere. This fixes a failure to build on several marvell targets with gcc-7 on Debian: https://bugs.debian.org/877963 Signed-off-by:
Adrian Bunk <bunk@debian.org> Signed-off-by:
Vagrant Cascadian <vagrant@debian.org>
-
Engling, Uwe authored
Hello, I ran into a problem with the JFFS2 filesystem driver implemented in U-Boot. I've got a NAND device that has correctable ECC errors (corrected somewhere in mtd/nand/nand_base.c). The NAND driver tells the filesystem layer (jffs2_1pass.c) above that there occurred correctable ECC errors and returns with a "value > 0". The JFFS2 driver recognizes the corrected ECC errors as real error and skips this block because the only accepts a "return value == 0" as correct. This problem exists for over 8 years (I checked version 2010.09) so I'm a little bit worried that I interpreted something wrong or didn't get the whole context. Can someone confirm this bug (and the bugfix) in the u-boot jffs2 driver? There was a mail in 2012 that mentioned the same problem, but there was no patch: http://u-boot.10912.n7.nabble.com/JFFS2-seems-to-drop-nand-data-with-ECC-corrections-td142008.html Sometime after this discussion the return value of nand_read() changed from -EUCLEAN as correctable ECC error to a positive value with the count of ECC corrected errors. With kind reguards, Uwe Engling
-
Tuomas Tynkkynen authored
Add brief documentation for the recently merged qemu-arm board. Signed-off-by:
Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
-
Christophe Kerello authored
MMC commands like MMC_CMD_ALL_SEND_CID or MMC_CMD_SEND_CSD can reach 500 us. This patch increases the polling status register delay to avoid a timeout on a command. Signed-off-by:
Christophe Kerello <christophe.kerello@st.com> Signed-off-by:
Patrice Chotard <patrice.chotard@st.com>
-
Patrice Chotard authored
Fix bit 2 name of PWR_CR3 register to match with the last STM32H7 reference manual available here : http://www.st.com/content/st_com/en/support/resources/ resource-selector.html?querycriteria=productId=SS1951$$ resourceCategory=technical_literature$$resourceType=reference_manual Update also comment about voltage scaling 1 values Signed-off-by:
Patrice Chotard <patrice.chotard@st.com> Reviewed-by:
Vikas Manocha <vikas.manocha@st.com>
-
Patrice Chotard authored
CLK() macro is a residue of a previously reworked patch, remove it. Signed-off-by:
Patrice Chotard <patrice.chotard@st.com> Reviewed-by:
Vikas Manocha <vikas.manocha@st.com>
-
Tuomas Tynkkynen authored
This macro isn't used by anything, and in fact hasn't ever been used according to the Git logs. Signed-off-by:
Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
-
Marek Behún authored
Otherwise fs_opendir will fault. Signed-off-by:
Marek Behun <marek.behun@nic.cz>
-
Marek Behún authored
I accidentaly left a foreign language note in the code from development. Signed-off-by:
Marek Behun <marek.behun@nic.cz>
-