- Sep 16, 2017
-
-
Bin Meng authored
Per the Intel 64 and IA-32 Architecture Software Developer's Manual, add the reference clock for Intel Atom Processors based on the Airmont Microarchitecture (Braswell). This keeps in sync with Linux kernel commit: 6fcb41c: x86/tsc_msr: Add Airmont reference clock values Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
- Sep 15, 2017
-
-
Adam Ford authored
Nothing CONFIG_SOC_DA830 anymore, so let's remove it and the one remaining source file for it. It appears to have been abandoned a while ago. Signed-off-by:
Adam Ford <aford173@gmail.com>
-
Jean-Jacques Hiblot authored
commit b63b995b (arm: dts: Add u-boot specific compatibles) separated out u-boot specific compatibles from dts files. The u-boot specifics were moved in *-u-boot.dtsi files for all dra7 platforms except dra7-evm. Without it the SD card is broken on DRA7-evm because the regulator cannot be enabled. Fix it by adding the missing dra7-evm-u-boot.dtsi with the needed properties. Signed-off-by:
Jean-Jacques Hiblot <jjhiblot@ti.com> Reviewed-by:
Lokesh Vutla <lokeshvutla@ti.com>
-
Harinarayan Bhatta authored
When the OP-TEE image is built for secure paging the load address may be in SRAM, remove checks that prevent this. Signed-off-by:
Harinarayan Bhatta <harinarayan@ti.com> Signed-off-by:
Andrew F. Davis <afd@ti.com> Reviewed-by:
Lokesh Vutla <lokeshvutla@ti.com>
-
Rob Clark authored
A new fatbuf was allocated by get_fs_info() (called by fat_itr_root()), but not freed, resulting in eventually running out of memory. Spotted by running 'ls -r' in a large FAT filesystem from Shell.efi. fatbuf is mainly used to cache FAT entry lookups (get_fatent()).. possibly once fat_write.c it can move into the iterator to simplify this. Signed-off-by:
Rob Clark <robdclark@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Łukasz Majewski <lukma@denx.de>
-
Rob Clark authored
Use the clust_to_sect() helper that was introduced earlier, and add an inverse sect_to_clust(), plus update the various spots that open-coded this conversion previously. Signed-off-by:
Rob Clark <robdclark@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Rob Clark authored
Noticed when comparing our output to linux. There are some lcase bits which control whether filename and/or extension should be downcase'd. Signed-off-by:
Rob Clark <robdclark@gmail.com> Reviewed-by:
Łukasz Majewski <lukma@denx.de> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Rob Clark authored
Add a generic implementation of 'ls' using opendir/readdir/closedir, and replace fat's custom implementation. Other filesystems should move to the generic implementation after they add opendir/readdir/closedir support. Signed-off-by:
Rob Clark <robdclark@gmail.com> Reviewed-by:
Łukasz Majewski <lukma@denx.de> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Rob Clark authored
Spotted by chance, when trying to remove file_fat_ls(), I noticed there were some dead users of the API. Signed-off-by:
Rob Clark <robdclark@gmail.com> Acked-by:
Stefan Brüns <stefan.bruens@rwth-aachen.de> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Rob Clark authored
Implement the readdir interface using the directory iterators. Signed-off-by:
Rob Clark <robdclark@gmail.com> Reviewed-by:
Łukasz Majewski <lukma@denx.de> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Rob Clark authored
Needed to support efi file protocol. The fallback.efi loader wants to be able to read the contents of the /EFI directory to find an OS to boot. Modelled after POSIX opendir()/readdir()/closedir(). Unlike the other fs APIs, this is stateful (ie. state is held in the FS_DIR "directory stream"), to avoid re-traversing of the directory structure at each step. The directory stream must be released with closedir() when it is no longer needed. Signed-off-by:
Rob Clark <robdclark@gmail.com> Reviewed-by:
Łukasz Majewski <lukma@denx.de> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Rob Clark authored
And drop a whole lot of ugly code! Signed-off-by:
Rob Clark <robdclark@gmail.com> Reviewed-by:
Łukasz Majewski <lukma@denx.de> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Rob Clark authored
Untangle directory traversal into a simple iterator, to replace the existing multi-purpose do_fat_read_at() + get_dentfromdir(). Signed-off-by:
Rob Clark <robdclark@gmail.com> Reviewed-by:
Łukasz Majewski <lukma@denx.de>
-
Rob Clark authored
Want to re-use this in fat dirent iterator in next patch. Signed-off-by:
Rob Clark <robdclark@gmail.com> Reviewed-by:
Łukasz Majewski <lukma@denx.de> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
git://git.denx.de/u-boot-ubiTom Rini authored
-
git://git.denx.de/u-boot-i2cTom Rini authored
-
Heinrich Schuchardt authored
run_command does not have a parameter wait_for_each. Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-
Heinrich Schuchardt authored
While there are valid reasons to use __packed, often the answer is that you should be doing something else here instead. This reintroduces the changes of f503cc49 (Add warning for new __packed additions) Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-
Bin Meng authored
There is already a macro LBAFU to aid formatted print with lbaint_t variables. Let's use it in the common block command codes. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com>
-
Bin Meng authored
All these places seem to inherit the codes from the MMC driver where a FIXME was put in the comment. However the correct operation after read should be cache invalidate, not flush. The underlying drivers should be responsible for the cache operation. Remove these codes completely. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Stefan Roese <sr@denx.de> Reviewed-by:
York Sun <york.sun@nxp.com> Reviewed-by:
Joe Hershberger <joe.hershberger@ni.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Tested-by:
York Sun <york.sun@nxp.com>
-
Heinrich Schuchardt authored
Checkpatch produces the following warning: Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/^(\+.*(?:do|\))){ <-- HERE / at scripts/checkpatch.pl line 3348. The curent checkpatch of the Linux kernel corrects this bug and many others. It provides improved colored output. So replace checkpatch by the current Linux version. Add an empty file scripts/const_structs.checkpatch. We can later fill it according to our needs. Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-
Rob Clark authored
The strto functions should honor the specified base (if non-zero) rather than permitting a hex or octal string when the user wanted (for example) base 10. This has been fixed somewhere along the way in the upstream linux kernel src tree, at some point after these was copied in to u-boot. And also in a way that duplicates less code. So port _parse_integer_fixup_radix() to u-boot. Signed-off-by:
Rob Clark <robdclark@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Alison Chaiken authored
Add unit tests for the 'gpt rename' and 'gpt swap' commands that rely on the block device created by test/py/make_test_disk.py. Add CONFIG_CMD_GPT_RENAME to the sandbox_defconfig. Remove the testdisk.raw test device at the end of the tests. Signed-off-by:
Alison Chaiken <alison@peloton-tech.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Alison Chaiken authored
Run unit tests for the 'gpt guid' command, making use of the block device created by test/py/make_test_disk.py. Remove this device at the end of the tests. Signed-off-by:
Alison Chaiken <alison@peloton-tech.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Alison Chaiken authored
Provide a Python function that creates a small block device for the purpose of testing the cmd/gpt.c or cmd/part.c functions in the u-boot sandbox. Signed-off-by:
Alison Chaiken <alison@peloton-tech.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Suman Anna authored
Commit 6ae4c3ef ("ARM: DRA7: Add pinctrl register definitions") has added new macros for pinmux configuration in line with the kernel definitions. Cleanup the old pinctrl macros from the common header file so that they are not used by any new boards. Signed-off-by:
Suman Anna <s-anna@ti.com>
-
Suman Anna authored
Commit 6ae4c3ef ("ARM: DRA7: Add pinctrl register definitions") has added new macros for pinmux configuration in line with the kernel definitions. Fixup the current pinctrl data for the CompuLab CL-SOM-AM57x board to use these new macros to facilitate the removal of the old macros. NOTE: The PEN and PDIS macro values used previously were actually defined inversely, a value of 1 in bit position 16 actually means that the internal pullup/pulldown is disabled and not enabled as inferred by PEN. So, previous pinmux config data such as (PDIS | PTU) is confusing as it actually was meant for enabling internal pullup. The data is fixed up only to be equivalent to the previous data. Signed-off-by:
Suman Anna <s-anna@ti.com>
-
- Sep 14, 2017
-
-
Wenyou Yang authored
To remove the assignment of CONFIG_SYS_EXTRA_OPTIONS option, which is deprecated, use the CONFIG_XXXX_BOOT options to indicate the boot media, and the SoC is selected by the board. Signed-off-by:
Wenyou Yang <wenyou.yang@microchip.com>
-
Wenyou Yang authored
Use the CONFIG_XXXX_BOOT to indicate the boot media, instead of the CONFIG_SYS_USE_XXXX option, which is declared by CONFIG_SYS_EXTRA_OPTIONS option. Signed-off-by:
Wenyou Yang <wenyou.yang@microchip.com>
-
Wenyou Yang authored
As said in READRE.kconfig, include/configs/*.h will be removed after all options are switched to Kconfig. As the first step, remove the follow line from include/configs/*.h. #include <asm/hardware.h> Signed-off-by:
Wenyou Yang <wenyou.yang@microchip.com>
-
Wenyou Yang authored
To prepare to remove the SoCs options such as SAMA5D2, SAMA5D3 and SAMA5D4 from the CONFIG_SYS_EXTRA_OPTIONS option which is deprecated, add the SoC options to Kconfig. Signed-off-by:
Wenyou Yang <wenyou.yang@microchip.com>
-
Wenyou Yang authored
Move the CONFIG_AT91FAMILY option from include/mach/<soc>.h header file to Kconfig. Signed-off-by:
Wenyou Yang <wenyou.yang@microchip.com>
-
Wenyou Yang authored
The SAMA5D27-SiP (System in Package) integrates the SAMA5D2 with 1Gbit DDR2-SDRAM in a single package. The SAMA5D27 SOM1 embeds a 64Mbit QSPI flash, KSZ8081 Phy and Mac-address EEPROM. Signed-off-by:
Wenyou Yang <wenyou.yang@microchip.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Wenyou Yang authored
The SAMA5D2 SiP(System in Package) has different Chip IDs in the CHIPID and CHIP_EXID registers. Signed-off-by:
Wenyou Yang <wenyou.yang@microchip.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Wenyou Yang authored
Add missing defines of Multiport DDR-SDRAM Controller (MPDDRC). Signed-off-by:
Wenyou Yang <wenyou.yang@microchip.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Wenyou Yang authored
Add the boot device for booting from the QSPI flash. Signed-off-by:
Wenyou Yang <wenyou.yang@microchip.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Wenyou Yang authored
Because before switching to a lower clock source, we must switch the clock source first instead of last. So before configuring the PMC_MCKR register, invoke at91_mck_init_down() first. As said in datasheet, the the size of SPL must not exceed the maximum size allowed(64Kbytes). Signed-off-by:
Wenyou Yang <wenyou.yang@microchip.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Wenyou Yang authored
Refer to the commit 70f8c8316ad(PMC: add new mck function to lower rate while switching) from AT91Bootstrap. While switching to a lower clock source, we must switch the clock source first instead of last. Otherwise, we could end up with too high frequency on internal bus and peripherals. This happens on SAMA5D2 as exitting from the ROM code. Add a function pmc_mck_init_down() to allow this sequence. Signed-off-by:
Wenyou Yang <wenyou.yang@microchip.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Wenyou Yang authored
As said in 29.5.7 section of SAMA5D2 datasheet, before switching to the crystal oscillator, a check must be carried out to ensure that the oscillator is present and that its freqency is valid. Signed-off-by:
Wenyou Yang <wenyou.yang@microchip.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Wenyou Yang authored
Add a function to display the company's logo and board information via the API from DM_VIDEO. This function can be shared by other atmel boards, so locate it in board/atmel/common folder. Signed-off-by:
Wenyou Yang <wenyou.yang@microchip.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-