u-boot-brain/drivers
Chin Liang See 5405817a6e spi: cadence_qspi_apb: Ensure baudrate doesn't exceed max value
Ensuring the baudrate divisor value doesn't exceed the max value
in the calculation.It will be capped at max value to ensure the
correct value being written into the register.

Example of the existing bug is when calculated div = 16. After and
with the mask, the value written to register is actually 0 (register
field for baudrate divisor). With this fix, the value written is now
15 which is max value for baudrate divisor.

Signed-off-by: Chin Liang See <clsee@altera.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Jagan Teki <jteki@openedev.com>
Cc: Dinh Nguyen <dinguyen@altera.com>
2016-08-07 21:54:21 +02:00
..
adc sandbox: add ADC driver 2015-11-02 10:38:00 +09:00
bios_emulator Various, unrelated tree-wide typo fixes. 2016-07-16 09:43:12 -04:00
block block: dwc_ahsata: support i.MX6DQPlus 2016-05-24 14:59:57 +02:00
bootcount bootcounter_ram: Flush dcache after data is written into SDRAM 2016-04-11 20:48:25 -04:00
clk rockchip: remove log2 reimplementation from clock drivers 2016-08-05 18:07:07 -06:00
core dm: Convert users from dm_scan_fdt_node() to dm_scan_fdt_dev() 2016-07-27 14:15:07 -06:00
cpu x86: Move MP initialization codes into a common place 2015-07-14 18:03:16 -06:00
crypto crypto/fsl: Update blob cmd to accept 64bit addresses 2016-08-02 09:45:39 -07:00
ddr driver/ddr/fsl: Fix timing_cfg_2 2016-08-02 09:47:34 -07:00
demo drivers: hierarchize drivers Kconfig menu 2015-08-12 20:47:44 -04:00
dfu dm: dfu: mmc: Support CONFIG_BLK in DFU for MMC 2016-07-11 14:06:44 -06:00
dma drivers: dma: ti-edma3: convert driver to adopt driver model 2016-02-23 16:14:46 +05:30
fpga Various, unrelated tree-wide typo fixes. 2016-07-16 09:43:12 -04:00
gpio sunxi: gpio: Add .xlate function for gpio phandle resolution 2016-07-31 21:45:12 +02:00
hwmon mailaddr: Update mail address 2016-01-27 15:32:05 +01:00
i2c dm: Use dm_scan_fdt_dev() directly where possible 2016-07-27 14:15:54 -06:00
input input: i8042: Make sure the keyboard is enabled 2016-03-17 10:27:24 +08:00
led dm: led: Tidy up SPL options for the led and led-gpio 2015-09-02 21:28:22 -06:00
mailbox ARM: tegra: adapt to latest HSP DT binding 2016-08-04 13:36:58 -07:00
memory memory: Move TI_AEMIF config to KCONFIG 2016-04-18 17:11:43 -04:00
misc dm: Use dm_scan_fdt_dev() directly where possible 2016-07-27 14:15:54 -06:00
mmc zynq_sdhci.c: Fix warning in arasan_sdhci_probe 2016-08-05 20:55:31 -04:00
mtd sf: sf_params: Add AT25DF321 flash support 2016-07-30 00:15:00 +05:30
net net: sun8i_emac: Fix DMA alignment issues with the rx / tx buffers 2016-07-31 21:45:46 +02:00
pch dm: Use dm_scan_fdt_dev() directly where possible 2016-07-27 14:15:54 -06:00
pci Merge branch 'master' of git://www.denx.de/git/u-boot-imx 2016-07-28 08:45:00 -04:00
pcmcia powerpc: mpc824x: remove MPC824X cpu support 2015-01-05 12:08:55 -05:00
pinctrl rockchip: rk3288: Fix pinctrl for GPIO bank 0 2016-07-31 07:24:20 -06:00
power Add a power domain framework/uclass 2016-07-27 16:29:56 -06:00
pwm exynos: pwm: Add a driver for the exynos5 PWM 2016-05-25 13:25:18 +09:00
qe board: ls1043ardb: Add micro QE support for ls1043ardb 2016-02-24 08:51:14 -08:00
ram ram: rename CONFIG_SPL_RAM_SUPPORT to CONFIG_SPL_RAM 2015-08-18 13:46:02 -04:00
remoteproc remoteproc: Add support for TI power processor 2016-03-14 19:18:37 -04:00
reset reset: implement a reset test 2016-06-19 17:05:55 -06:00
rtc rtc: Tidy up the code style 2016-07-14 18:33:11 -04:00
serial Merge branch 'master' of git://www.denx.de/git/u-boot-imx 2016-07-28 08:45:00 -04:00
soc Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
sound of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00
spi spi: cadence_qspi_apb: Ensure baudrate doesn't exceed max value 2016-08-07 21:54:21 +02:00
spmi dm: Use dm_scan_fdt_dev() directly where possible 2016-07-27 14:15:54 -06:00
thermal Fix various typos, scattered over the code. 2016-05-05 21:39:26 -04:00
timer Merge git://git.denx.de/u-boot-dm 2016-03-14 19:21:44 -04:00
tpm drivers/tpm/tpm_tis_sandbox.c: Fix uninitialized variable use 2016-04-15 08:14:37 -06:00
twserial drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
usb Merge branch 'master' of git://www.denx.de/git/u-boot-imx 2016-07-28 08:45:00 -04:00
video Merge branch 'master' of git://git.denx.de/u-boot-video 2016-07-27 15:22:21 -04:00
watchdog imx_watchdog: add weak attribute to reset_cpu function 2016-07-19 19:52:15 +02:00
Kconfig Add a reset driver framework/uclass 2016-06-19 17:05:55 -06:00
Makefile spl: Lightweight UBI and UBI fastmap support 2016-07-22 09:53:00 -04:00