summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fs: FAT: Fix typo in FS_FAT_MAX_CLUSTSIZE descriptionTuomas Tynkkynen2018-01-221-1/+1
| | | | Signed-off-by: Tuomas Tynkkynen <tuomas@tuxera.com>
* env: ENV_IS_IN_FAT improvementsTuomas Tynkkynen2018-01-222-7/+1
| | | | | | | | | | | | | | Make it select FS_FAT as well, because if it's not selected, enabling ENV_IS_IN_FAT causes a Kconfig warning: warning: (ENV_IS_IN_FAT) selects FAT_WRITE which has unmet direct dependencies (FS_FAT) This also allows dropping some code from config_fallbacks. Also drop the unnecessary help text about having to enable CONFIG_FAT_WRITE - Kconfig automatically handles that. Signed-off-by: Tuomas Tynkkynen <tuomas@tuxera.com>
* ARM: poplar: Use Kconfig to enable CONFIG_FAT_WRITETuomas Tynkkynen2018-01-222-1/+1
| | | | | | | The symbol's been converted to Kconfig for a while, poplar is the only one #defining it. Signed-off-by: Tuomas Tynkkynen <tuomas@tuxera.com>
* fs: Migrate ext4 to KconfigTuomas Tynkkynen2018-01-2221-62/+29
| | | | | | | | | | | Migrate the following symbols to Kconfig: CONFIG_FS_EXT4 CONFIG_EXT4_WRITE The definitions in config_fallbacks.h can now be expressed in Kconfig. Signed-off-by: Tuomas Tynkkynen <tuomas@tuxera.com>
* Convert CONFIG_ROCKCHIP_USB2_PHY to KconfigAdam Ford2018-01-2217-3/+16
| | | | | | | This converts the following to Kconfig: CONFIG_ROCKCHIP_USB2_PHY Signed-off-by: Adam Ford <aford173@gmail.com>
* Convert CONFIG_OMAP_USB_PHY to KconfigAdam Ford2018-01-2218-6/+14
| | | | | | | This converts the following to Kconfig: CONFIG_OMAP_USB_PHY Signed-off-by: Adam Ford <aford173@gmail.com>
* Convert CONFIG_TWL4030_USB to KconfigAdam Ford2018-01-2218-25/+22
| | | | | | | This converts the following to Kconfig: CONFIG_TWL4030_USB Signed-off-by: Adam Ford <aford173@gmail.com>
* Convert CONFIG_DAVINCI_SPI to KconfigAdam Ford2018-01-2220-6/+19
| | | | | | | This converts the following to Kconfig: CONFIG_DAVINCI_SPI Signed-off-by: Adam Ford <aford173@gmail.com>
* Convert CONFIG_USB_MUSB_HCD et al to KconfigAdam Ford2018-01-2224-23/+57
| | | | | | | | | | | | This converts the following to Kconfig: CONFIG_USB_MUSB_HCD CONFIG_USB_MUSB_UDC CONFIG_USB_DAVINCI CONFIG_USB_OMAP3 CONFIG_USB_DA8XX CONFIG_USB_AM35X Signed-off-by: Adam Ford <aford173@gmail.com>
* Convert CONFIG_USB_MUSB_OMAP2PLUS et al to KconfigAdam Ford2018-01-2253-43/+50
| | | | | | | | | | This converts the following to Kconfig: CONFIG_USB_MUSB_OMAP2PLUS CONFIG_USB_MUSB_AM35X CONFIG_USB_MUSB_DSPS CONFIG_USB_MUSB_PIO_ONLY Signed-off-by: Adam Ford <aford173@gmail.com>
* ARM: omap3_logic: Enable SPL_OF_CONTROL and SPL_OF_PLATDATAAdam Ford2018-01-222-15/+3
| | | | | | | | | | The SPL doesn't have much room, so in order to support OF_CONTROL in SPL, we need the extra functionality of SPL_OF_PLATDATA. Adding these features allows us to remove a small part of code without losing the serial port during SPL. Signed-off-by: Adam Ford <aford173@gmail.com>
* travis-ci: Add qemu-x86_64 targetTom Rini2018-01-221-0/+7
| | | | | | Add qemu-x86_64 to the list of targets we use for test.py runs. Signed-off-by: Tom Rini <trini@konsulko.com>
* Merge git://git.denx.de/u-boot-dmTom Rini2018-01-2112-131/+207
|\
| * lib: fdtdec: Fix some style violationsMario Six2018-01-211-14/+15
| | | | | | | | | | | | | | | | Fix some style violations in fdtdec.c, and reduce the scope of some variables. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Mario Six <mario.six@gdsys.cc>
| * lib: fdtdec: Fix whitespace style violationsMario Six2018-01-211-26/+30
| | | | | | | | | | | | | | Fix some whitespace-related style violations in fdtdec.c. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Mario Six <mario.six@gdsys.cc>
| * core: Make device_is_compatible live-tree compatibleMario Six2018-01-211-1/+6
| | | | | | | | | | | | | | | | | | | | Judging from its name and parameters, device_is_compatible looks like it is compatible with a live device tree, but it actually isn't. Make it compatible with a live device tree. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Mario Six <mario.six@gdsys.cc>
| * core: Add {ofnode, dev}_translate_address functionsMario Six2018-01-214-0/+43
| | | | | | | | | | Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Mario Six <mario.six@gdsys.cc>
| * core: read: Fix style violationsMario Six2018-01-211-5/+4
| | | | | | | | | | | | | | There are some whitespace-related style violations in read.c; fix those. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Mario Six <mario.six@gdsys.cc>
| * core: ofnode: Fix style violationsMario Six2018-01-211-8/+10
| | | | | | | | | | | | | | There are some style violations in ofnode.c; fix those. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Mario Six <mario.six@gdsys.cc>
| * clk: Makefile: Sort entries alphabeticallyMario Six2018-01-211-10/+10
| | | | | | | | | | | | | | | | The Makefile entries in the clk driver directory were not alphabetically sorted. Correct this. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Mario Six <mario.six@gdsys.cc>
| * clk: Remove superfluous gd declarationsMario Six2018-01-212-4/+0
| | | | | | | | | | | | | | | | The clk uclass was converted to support a live device tree recently, hence the global data pointer declarations are no longer needed. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Mario Six <mario.six@gdsys.cc>
| * clk: clk_fixed_rate: Fix style violationMario Six2018-01-211-2/+2
| | | | | | | | | | | | | | Fix a mis-indented function call in clk_fixed_rate.c Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Mario Six <mario.six@gdsys.cc>
| * clk: clk-uclass: Fix style violationsMario Six2018-01-211-10/+10
| | | | | | | | | | | | | | | | checkpatch.pl complains that the clk_ops structures used in clk-uclass.c ought to be const, so we mark them as const. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Mario Six <mario.six@gdsys.cc>
| * dm: pinctrl: sync with Linux to use pin_config_paramPeng Fan2018-01-211-46/+66
| | | | | | | | | | | | | | | | Sync with Linux commit 30a7acd573899fd8b("Linux 4.15-rc6") to use enum pin_config_param. Signed-off-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Simon Glass <sjg@chromium.org>
| * patman: Unquote output from get_maintainer.plStefan Brüns2018-01-211-1/+2
| | | | | | | | | | | | | | | | | | get_maintainer.pl quotes names which it considers unsafe, i.e. anything containing [^a-zA-Z0-9_ \-]. This confuses patman, it will duplicate addresses which are also in Series-to/cc. Strip the quotes. Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de> Reviewed-by: Simon Glass <sjg@chromium.org>
| * drivers: core: Add translation in live tree caseMario Six2018-01-211-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | The function dev_read_addr calls ofnode_get_addr_index in the live tree case, which does not apply bus translations to the address read from the device tree. This results in illegal addresses on boards that rely on bus translations being applied. Fix this situation by applying bus translations in the live tree case as well. Signed-off-by: Mario Six <mario.six@gdsys.cc> Tested-by: Stephen Warren <swarren@nvidia.com>
| * dm: fix typo falbackHeinrich Schuchardt2018-01-211-2/+2
|/ | | | | | | %s/falback/fallback/g Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
* Merge git://git.denx.de/u-boot-marvellTom Rini2018-01-206-38/+62
|\
| * ddr: marvell: update ddr controller init and freqChris Packham2018-01-193-21/+34
| | | | | | | | | | | | | | | | | | Update the calculation for tWR and tPD. This improves the DDR refresh interval and brings the initialization into line with the binary blobs currently being supplied by Marvell. Signed-off-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Stefan Roese <sr@denx.de>
| * ddr: marvell: update additional ODT settingChris Packham2018-01-191-8/+14
| | | | | | | | | | | | | | | | | | | | | | The RD_SAMPLE_DELAY field is 5 bits so it needs to be masked with 0x1f instead of 0xf. Rather than checking the read sample delay for all DDR chip selects use the values for the chip selects that are actually configured. Finally continue searching for the max_phase value even if the current read_sample is the same as the max_read_sample. Signed-off-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Stefan Roese <sr@denx.de>
| * ddr: marvell: use correct TREFI valueChris Packham2018-01-191-1/+1
| | | | | | | | | | | | | | | | The ternary operation had the HIGH/LOW values the wrong way round. Update it to use the correct value. Signed-off-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Stefan Roese <sr@denx.de>
| * ddr: marvell: only assert M_ODT[0] on write for a single CSChris Packham2018-01-193-8/+13
| | | | | | | | | | | | | | | | | | | | | | When using only a single DDR chip select only assert M_ODT[0] on write. Do not assert it on read and do not assert M_ODT[1] at all. Also set tODT_OFF_WR to 0x9 which contradicts the recommendation from the functional spec but is what Marvell's binary training blob does and seems to give better results when ODT is active during writes. Signed-off-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Stefan Roese <sr@denx.de>
* | Merge git://git.denx.de/u-boot-arcTom Rini2018-01-199-95/+328
|\ \
| * | ARC: devboards: Allow huge uImages (up to 128 MiB)Alexey Brodkin2018-01-192-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Even though in production uImage usually is quite small as it contains just Linux kernel image during development it might be pretty convenient to have root-FS built into the same image. That makes uImage much larger but given on our dev platforms we have quite a lot of DDR (> 512 MiB) we may afford loading huge uImages. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
| * | ARC: Invalidate instruction and data caches early on bootEugeniy Paltsev2018-01-191-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is useful to make sure no stale data exists in caches after bootloaders. The worst thing could be some lines of cache were locked in a bootloader for example during DDR recalibration and never unlocked. This may lead to really unpredictable issues later down the line. Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
| * | ARC: HSDK: DTS: Add cgu-clk nodeEugeniy Paltsev2018-01-191-0/+6
| | | | | | | | | | | | | | | | | | | | | Add cgu-clk (clock generation unit) node to HSDK device tree. Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
| * | ARC: HSDK: CGU: Add 'Hz' when printing clock frequencyEugeniy Paltsev2018-01-191-3/+3
| | | | | | | | | | | | | | | | | | | | | Add 'Hz' when printing clock frequency in error messages. Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
| * | ARC: HSDK: CGU: Use plat data instead of priv dataEugeniy Paltsev2018-01-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Correctly allocate hsdk_cgu_clk private data structure using priv_auto_alloc_size instead of platdata_auto_alloc_size. Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
| * | ARC: HSDK: CGU: Update AXI, TUN, ARC clock optionsEugeniy Paltsev2018-01-192-9/+168
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update default AXI, TUN, ARC clock set options: instead of changing only IDIV divider settings adjust also domain PLL settings. Add support of TUN_ROM and TUN_PWM clocks (subclocks of TUNN_PLL) Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
| * | ARC: HSDK: Hang on panicEugeniy Paltsev2018-01-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | As HSDK is a development board it is better to hang on panic instead of reset the board when panic occurs. That way we preserve a state of HW for possibility to do post-mortem debug via JTAG. Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
| * | ARC: Cache: Fix style violations reported by checkpatchEugeniy Paltsev2018-01-191-10/+8
| | | | | | | | | | | | | | | Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
| * | ARC: Cache: Disable IOC by defaultEugeniy Paltsev2018-01-191-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We'd like to keep IOC HW at the same state as t is right after reset when we start Linux kernel so there will be no re-configuration of IOC on the go. The point is U-Boot doesn't benefit a lot from IOC as it doesn't do a lot of DMA operations especially on multiple cores simultaneously. At the same time re-configuration of IOC in run-time might become quite a tricky experience because we need to make sure there're no DMA trannsactions in flight otherwise unexpected consequencses might affect us much later and debugging those kinds of issues will be a real nightmare. That said let's make our life easier a little bit. Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
| * | ARC: ARCv2: Cache: Fixed operation without IOCEugeniy Paltsev2018-01-192-69/+123
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previous SLC management implementation is broken. Seems like it was never sufficiently tested probably because most of the time IOC was used instead (i.e. no manual cache operations were done). Now if we disable IOC in U-boot we'll get a lot of errors while using DMA-enabled peripherals. This time we fix it by substitution of broken per-line SLC operations region operations as it is done in the Linux kernel (we took it from v4.14 which is the latest stable as of today). Among other things this implementation might be a bit faster because instead of iteration over each and every cache line we're taking care about entire region in one go. Main changes: * Replaced __slc_line_op (per line operations) by __slc_rgn_op (region operations). * Reworked __slc_entire_op to get rid of __after_slc_op and __before_slc_op functions. Note flush fix (flush only instead of flush-n-inv when OP_FLUSH is used, see [1] for more details) is already incorporated here. * Added SLC invalidation to invalidate_icache_all(). * Added (start >= end) check to invalidate_dcache_range() and flush_dcache_range() as some buggy drivers pass region start == end. * Added read-out of MMU BCR so we may know if PAE40 exists in HW and then act on a particular AUX regs accordingly. [1] http://lists.infradead.org/pipermail/linux-snps-arc/2018-January/003357.html Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* | configs: keystone2: env: Fix burn_uboot_spi commandFaiz Abbas2018-01-191-1/+1
| | | | | | | | | | | | | | | | Now the u-boot spi image is greater than 0x90000, increase the same in env during spi erase. Signed-off-by: Faiz Abbas <faiz_abbas@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
* | checkpatch: Ignore 'short' Kconfig help entriesTom Rini2018-01-191-0/+3
| | | | | | | | | | | | | | A 2 line help entry for a new Kconfig entry is, at this time, sufficient in some cases, so lets drop that warning for now. Signed-off-by: Tom Rini <trini@konsulko.com>
* | powerpc: Drop unreferenced CONFIG_* definesTuomas Tynkkynen2018-01-1916-30/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following config symbols are only defined once and never referenced anywhere else: CONFIG_CYRUS CONFIG_IDS8313 CONFIG_MPC8308_P1M CONFIG_MPC8308RDB CONFIG_MPC8349EMDS CONFIG_MPC8349ITXGP CONFIG_SBC8349 CONFIG_SBC8548 CONFIG_SBC8641D CONFIG_TQM834X CONFIG_VE8313 CONFIG_XPEDITE5140 CONFIG_XPEDITE5200 CONFIG_XPEDITE550X 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: Tuomas Tynkkynen <tuomas@tuxera.com> Acked-by: Mario Six <mario.six@gdsys.cc>
* | configs: stm32: move config flag from defconfig to KconfigPatrice Chotard2018-01-194-33/+22
| | | | | | | | | | | | | | Move system flags from defconfig to mach-stm32/Kconfig Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Vikas Manocha <vikas.manocha@st.com>
* | serial: stm32: Rename serial_stm32x7.c to serial_stm32.cPatrice Chotard2018-01-198-10/+10
| | | | | | | | | | | | | | | | Now this driver is used across stm32f4, stm32f7 and stm32h7 SoCs family, give it a generic name. Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Vikas Manocha <vikas.manocha@st.com>
* | m68k: Drop unreferenced CONFIG_* definesTuomas Tynkkynen2018-01-1912-22/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following config symbols are only defined once and never referenced anywhere else: CONFIG_AMCORE CONFIG_ASTRO5373L CONFIG_M52277EVB CONFIG_M5253DEMO CONFIG_M5253EVBE CONFIG_M5275EVB CONFIG_M54418TWR CONFIG_STMARK2 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: Tuomas Tynkkynen <tuomas@tuxera.com>
* | nds32: Drop unreferenced CONFIG_ADP_AG101PTuomas Tynkkynen2018-01-192-3/+0
| | | | | | | | | | | | | | Seems to be again one of those CONFIG_ symbols named after a board, with nothing referencing it. Signed-off-by: Tuomas Tynkkynen <tuomas@tuxera.com>