- 27 8月, 2017 11 次提交
-
-
由 Semen Protsenko 提交于
If SD card is present -- try to boot from it first. If no -- try to boot Android from eMMC. Signed-off-by: NSam Protsenko <semen.protsenko@linaro.org>
-
由 Ruchika Gupta 提交于
kASLR support in kernel requires a random number to be passed via chosen/kaslr-seed propert. sec_firmware generates this random seed which can then be passed in the device tree node. sec_firmware reserves JR3 for it's own usage. Node for JR3 is removed from device-tree. Signed-off-by: NRuchika Gupta <ruchika.gupta@nxp.com>
-
由 Thomas Petazzoni 提交于
do_switch_ecc() calls fsmc_nand_switch_ecc(), which is a direct function call into drivers/mtd/nand/fsmc_nand.c. However, this function is not guarded by CONFIG_NAND_FSMC, which results to a build failure if CONFIG_NAND_FSMC is disabled. Signed-off-by: NThomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
由 Thomas Petazzoni 提交于
The code in board/spear/common/ is not board-specific but SoC-specific. Therefore, boards from other vendors than "spear" may want to re-use this code, which is currently difficult with the code being placed in board/spear/common/. Since this code really is SoC-specific, this commit moves it to arch/arm/cpu/arm926ejs/spear/, with the rest of the SPEAr related code. Signed-off-by: NThomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
Use the Atmel PIT timer driver which supports the driver model and device tree. Signed-off-by: NWenyou Yang <wenyou.yang@microchip.com>
-
Add the new Atmel PIT timer driver, which supports the driver model and device tree. Signed-off-by: NWenyou Yang <wenyou.yang@microchip.com>
-
由 Tom Rini 提交于
The function interrupt_init_cpu() is given an int return type but does not return anything but 0. Rework this to be a void function. Signed-off-by: NTom Rini <trini@konsulko.com> Acked-by: NMario Six <mario.six@gdsys.cc>
-
由 Reno Farnesi 提交于
The overflow calculation was incorrect. Adding the start block of the partition is not needed because the sectors are already relative to the beginning of the partition. If you attempted to write a file smaller than cur_part_info.start blocks on a full partition the old calculation fails to catch the overflow. This would cause an infinite loop in the determine_fatent function. Old, incorrect calculation: ending sector of new file = start sector + file size (in sectors) last sector = partition start + total sectors on the partition Adding the partition start block number is not needed because sectors are already relative to the start of the partition. New calculation: ending sector of new file = start sector + file size (in sectors) last sector = total sectors on the partition Signed-off-by: NReno Farnesi <nfarnesi4@gmail.com>
-
由 Suniel Mahesh 提交于
This re-syncs AM33xx DTS file with current file from Linux v4.13-rc4 to ensure a consistent configuration. Upstream Linux removed the redundant Interrupt-parent property from mmc, mac, lcdc and tscadc sub nodes. Signed-off-by: NSuniel Mahesh <sunil.m@techveda.org> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Jagan Teki 提交于
Signed-off-by: NJagan Teki <jagan@amarulasolutions.com>
-
由 Simon Glass 提交于
This is currently disabled, so USB keyboards are not detected in U-Boot. Enable this option to fix that. Signed-off-by: NSimon Glass <sjg@chromium.org> Tested-by: NJonathan Gray <jsg@jsg.id.au> Reviewed-by: NBin Meng <bmeng.cn@gmail.com> Tested-by: NPaul Barker <pbarker@toganlabs.com>
-
- 22 8月, 2017 1 次提交
-
-
由 Tom Rini 提交于
Otherwise: drivers/usb/gadget/f_fastboot.c:564:32: warning: format "%lx" expects argument of type "long unsigned int", but argument 3 has type "unsigned int" [-Wformat=] Signed-off-by: NTom Rini <trini@konsulko.com>
-
- 21 8月, 2017 13 次提交
-
-
-
-
git://git.denx.de/u-boot-uniphier由 Tom Rini 提交于
- Fix unmet direct dependencies warning - Remove old sLD3 SoC support - Update reset data - Add dr_mode DT property to avoid warning
-
由 Chris Packham 提交于
The db-88f6820-amc has four chips with 2Gb density giving a total of 1GB DRAM. Update the board_topology_map to reflect the correct configuration. Signed-off-by: NChris Packham <judge.packham@gmail.com> Reviewed-by: NStefan Roese <sr@denx.de> Signed-off-by: NStefan Roese <sr@denx.de>
-
由 Lukasz Majewski 提交于
Signed-off-by: NLukasz Majewski <lukma@denx.de>
-
由 Tom Rini 提交于
The function blk_dread will return -ENOSYS on failure or on success the number of blocks read, which must be the number asked to read (otherwise it failed somewhere). Correct this check. Cc: Lukasz Majewski <lukma@denx.de> Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Tom Rini 提交于
When building the flash zImage code on aarch64 we see warnings about pointer size casts. Use uintptr_t instead to correct these. Cc: Sam Protsenko <semen.protsenko@linaro.org> Signed-off-by: NTom Rini <trini@konsulko.com> Reviewed-By: NSam Protsenko <semen.protsenko@linaro.org>
-
由 John Keeping 提交于
There is no guarantee that commands are null-terminated in the USB request buffer, so limit the length of data that is printed. Signed-off-by: NJohn Keeping <john@metanate.com> Tested-by: NSteve Rae <steve.rae@raedomain.com>
-
由 Peter Chubb 提交于
Fastboot loads an image at CONFIG_FASTBOOT_BUF_ADDR, but currently tells do_bootm() to look for an image at $loadaddr. This breaks if CONFIG_FASTBOOT_BUF_ADDR is different from the current user-set loadaddr. Instead, tell do_bootm() to pick up the image where it was laoded. Signed-off-by: NPeter Chubb <peter.chubb@data61.csiro.au> Reviewed-by: NTom Rini <trini@konsulko.com> Acked-by: NSteve Rae <steve.rae@raedomain.com>
-
由 Bin Meng 提交于
This converts CONFIG_USB_EHCI_PCI to a Kconfig option, and updates all boards that use it. Signed-off-by: NBin Meng <bmeng.cn@gmail.com>
-
由 Simon Glass 提交于
Some of these were missed in the conversion. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Now that we have errors available in the environment driver's load() method, check the return valid. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Tom Rini 提交于
With the change to the environment code to remove the common init stage of pointing to the default environment and setting it as valid, combined with the change to switch gd->env_valid from 0/1/2 to an enum we now must set env_valid to one of the enum values rather than an int. And in this case, not only was setting it to an int wrong, it was now the wrong value. Finally, in the case of ENV_IS_NOWHERE we must still say that our envionrment is invalid after init for things to continue to function. Fixes: 7938822a ("env: Drop common init() functions") Tested-by: NMarek Vasut <marek.vasut@gmail.com> Reported-by: NMarek Vasut <marek.vasut@gmail.com> Reported-by: NAndy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: NTom Rini <trini@konsulko.com> --- Changes in v3: - Actually include changes for env/nowhere.c
-
- 20 8月, 2017 15 次提交
-
-
由 Masahiro Yamada 提交于
Since commit 576e3cc7 ("usb: host: xhci-dwc3: Add dual role mode support from DT"), warning is displayed if dr_mode is not specified. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Masahiro Yamada 提交于
- Merge sys_reset data of LD4, Pro4, sLD8 and Pro5 - Merge sys_reset data of LD11 and LD20 - Use primitive UNIPHIER_RESETX() macro because bit assignments for system reset will be changed for every SoC in the future - Add NAND and eMMC resets Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Masahiro Yamada 提交于
This reverts commit 82d075e7. Commit 82d075e7 ("ARM: uniphier: fix ROM boot mode for PH1-sLD3") was a workaround for sLD3. Now the sLD3 SoC support has been removed. Revert it to allow to simplify the init code. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Masahiro Yamada 提交于
This reverts commit bcc51c15. Commit bcc51c15 ("ARM: uniphier: move lowlevel debug init code after page table switch") was intended to support lowlevel debug for sLD3. Now the sLD3 SoC support has been removed. Revert it to allow to enable lowlevel debug earlier. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Masahiro Yamada 提交于
This SoC is too old. It is difficult to maintain any longer. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Masahiro Yamada 提交于
Since commit f0776a55 ("spl: dm: Kconfig: SPL_CLK depends on SPL_DM"), the following warning is displayed: $ make uniphier_v8_defconfig warning: (ARCH_ZYNQ && ARCH_ZYNQMP && STM32F7 && CLK_UNIPHIER) selects SPL_CLK which has unmet direct dependencies (CLK && SPL_DM) While I am here, I am removing the prompt to make it user-unconfigurable option so that "select CLK_UNIPHIER" can be omitted. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Anatolij Gustschin 提交于
s/notes/nodes Signed-off-by: NAnatolij Gustschin <agust@denx.de>
-
由 Andy Shevchenko 提交于
It would be easier to catch out which platform is using which default. Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
-
由 Heiko Schocher 提交于
since commit: b529993e "spl: add hierarchical defaults for SPL_LDSCRIPT" taurus board stopped working. Use the ldscript from arch/arm/cpu/u-boot-spl.lds (as before this patch) fixed it. Signed-off-by: NHeiko Schocher <hs@denx.de> Reviewed-by: NPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
-
由 Thomas Petazzoni 提交于
CONFIG_SYS_GENERIC_GLOBAL_DATA is no longer used by any board or platform, so support for it can be dropped. Signed-off-by: NThomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: NVladimir Zapolskiy <vz@mleia.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Peter Griffin 提交于
ATF can leave the MMC IP in a state where U-Boot mmc driver can't enumerate the eMMC. This patch provides a mmc0_reset_clk() function like we already so do sd card controller which resets the IP when entering U-Boot. With this patch applied eMMC partitions are successfully enumerated again. => mmc dev 0 switch to partitions #0, OK mmc0(part 0) is current device => mmc part Partition Map for MMC device 0 -- Partition Type: EFI Part Start LBA End LBA Name Attributes Type GUID Partition GUID 1 0x00000800 0x00000fff "vrl" attrs: 0x0000000000000000 type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7 guid: 496847ab-56a1-4cd5-a1ad-47f4acf055c9 2 0x00001000 0x000017ff "vrl_backup" attrs: 0x0000000000000000 type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7 guid: 61a36fc1-8efb-4899-84d8-b61642efa723 3 0x00001800 0x00001fff "mcuimage" <snip> Signed-off-by: NPeter Griffin <peter.griffin@linaro.org>
-
由 Tom Rini 提交于
The function blk_dread will return -ENOSYS on failure or on success the number of blocks read, which must be the number asked to read (otherwise it failed somewhere). Correct this check. Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Tom Rini 提交于
The function blk_dread will return -ENOSYS on failure or on success the number of blocks read, which must be the number asked to read (otherwise it failed somewhere). Correct this check. Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Tom Rini 提交于
The function blk_dread will return -ENOSYS on failure or on success the number of blocks read, which must be the number asked to read (otherwise it failed somewhere). Correct this check. Reported-by: Coverity (CID: 166335) Cc: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Cc: Simon Glass <sjg@chromium.org> Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Tom Rini 提交于
Now that sandbox is building cmd/mtdparts.c Coverity has looked at the code and found a number of issues. In index_partitions() it is possible that part will be NULL, so re-work the checks and debug statements to take this into account. We have a number of string buffers that we print to in the exact size of, and use string functions on, so we need to ensure they are large enough to be NULL terminated. In device_parse() it is not possible for num_partitions to be 0 (we would have hit a different error first) so remove logically dead code. Finally, in parse_mtdparts() if we have an error we need to free the memory allocated to dev. Cc: Lothar Waßmann <LW@KARO-electronics.de> Cc: Maxime Ripard <maxime.ripard@free-electrons.com> Reported-by: Coverity (CID: 166334, 166333, 166332, 166329, 166328) Signed-off-by: NTom Rini <trini@konsulko.com>
-