[U-Boot] [PATCH v4 1/3]: LCD: display 32bpp decompressed bitmap image

2012-05-04 Thread Donghwa Lee
This patch supports drawing 32bpp decompressed bitmap image. Signed-off-by: Donghwa Lee dh09@samsung.com Signed-off-by: Kyungmin.park kyungmin.p...@samsung.com --- Changes for v1/v2/v3: - use lcd_line_length variable - convert RGB to BGR because BMP data format aligned

[U-Boot] [PATCH v3 3/3]: EXYNOS: display 32bpp bitmap TIZEN logo

2012-05-04 Thread Donghwa Lee
This patches support drawing 32bpp bitmap TIZEN logo in exynos fb. trats_logo.h data is compressed from trats_logo.bmp to trats_logo.bmp.gz by gzip and converted to trats_logo.h header file format by some application. And then it is decomressed at the exynos fb driver by gunzip_bmp().

[U-Boot] [PATCH 1/2] exynos5: pinmux: Added default pinumx settings

2012-05-04 Thread Rajeshwari Shinde
This patch performs the pinmux configuration in a common file. As of now only Exynos5 pinmux for SDMMC, UART and Ethernet is supported. Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Che-Liang Chiou clch...@chromium.org Signed-off-by: Rajeshwari Shinde

[U-Boot] [PATCH 2/2] exynos: smdk5250: Enable the pinmux setup

2012-05-04 Thread Rajeshwari Shinde
Use the pinmux configuration function for SMDK5250. Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- arch/arm/cpu/armv7/exynos/Makefile |2 +- board/samsung/smdk5250/smdk5250.c | 160 ++-- 2

Re: [U-Boot] pull request for u-boot-tegra/master

2012-05-04 Thread Albert ARIBAUD
Hi Tom, Le 03/05/2012 17:56, Tom Warren a écrit : Albert, Please pull u-boot-tegra/master into arm master. Thanks! The following changes since commit 026251a5e825d61d3bcdf6dffcc27d15afd574f4: Donghwa Lee (1): EXYNOS: Change bits per pixel value proper for u-boot. are available in

[U-Boot] [PATCH v2 4/6] km/common: add support for second flash

2012-05-04 Thread Holger Brunck
From: Andreas Huber andreas.hu...@keymile.com Add support for a second flash. By default, a single flash chip is set up: - called 'boot' - mtd name for ubi 'ubi0' MTDIDS and MTDPARTS may be overwritten to add a second flash. The 'ubiattach' command is featured in two versions: - if

[U-Boot] [PATCH 0/6] further updates for keymile powerpc 83xx boards

2012-05-04 Thread Holger Brunck
This patchserie provides further updates for km ppc 83xx boards. One serie is already posted but until now not committed. This patch serie therefore is made on top of the first serie: http://lists.denx.de/pipermail/u-boot/2012-March/120694.html Beside some enhancements for kmcoge5ne, there are

[U-Boot] [PATCH 4/6] powerpc/83xx: configure CONFIG_POST for kmcoge5ne

2012-05-04 Thread Holger Brunck
From: Thomas Herzmann thomas.herzm...@keymile.com kmcoge5ne starts the post tests if the testpin on the board was enabled. Currently it does simply a memory test. Signed-off-by: Thomas Herzmann thomas.herzm...@keymile.com Signed-off-by: Holger Brunck holger.bru...@keymile.com ---

[U-Boot] [PATCH 3/6] powerpc/83xx/km: added missing enable of application buffer

2012-05-04 Thread Holger Brunck
From: Stefan Bigler stefan.big...@keymile.com Enabled application buffers in uboot to allow application chipselect access in uboot. Signed-off-by: Stefan Bigler stefan.big...@keymile.com --- board/keymile/common/common.h |2 ++ board/keymile/km83xx/km83xx.c |2 ++ 2 files changed, 4

[U-Boot] [PATCH 1/6] km/common: fixed error in ethaddr (1-byte-shift)

2012-05-04 Thread Holger Brunck
From: Thomas Herzmann thomas.herzm...@keymile.com The MAC address begins at offset 1. Signed-off-by: Thomas Herzmann thomas.herzm...@keymile.com Signed-off-by: Holger Brunck holger.bru...@keymile.com --- board/keymile/common/ivm.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-)

[U-Boot] [PATCH 2/6] km/common: increase bootlimit to 3

2012-05-04 Thread Holger Brunck
Increase bootlimit to 3 to be more tolerant during the boot process before switching to the backup application. Signed-off-by: Holger Brunck holger.bru...@keymile.com --- include/configs/km/keymile-common.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[U-Boot] [PATCH 6/6] km/common: check test_bank and testpin for testboot

2012-05-04 Thread Holger Brunck
From: Thomas Herzmann thomas.herzm...@keymile.com If the testpin is asserted, first check if a test_bank variable is defined before trying to boot this test_bank. Signed-off-by: Thomas Herzmann thomas.herzm...@keymile.com Signed-off-by: Holger Brunck holger.bru...@keymile.com ---

[U-Boot] [PATCH 5/6] powerpc/83xx/km: readout dip_switch on kmcoge5ne

2012-05-04 Thread Holger Brunck
From: Thomas Herzmann thomas.herzm...@keymile.com On kmcoge5ne we have a dip switch present. If this switch was switched on the actual_bank is set to 0 and this SW will be booted. Signed-off-by: Thomas Herzmann thomas.herzm...@keymile.com Signed-off-by: Holger Brunck holger.bru...@keymile.com

[U-Boot] New chapter in i.MX51 datasheet an issue?

2012-05-04 Thread David Jander
Hi all, I discovered a bug in u-boot, that got evident after Freescale updated the i.MX51 datasheets to revision 5 in March this year. I don't know if it is a serious problem or not, but if I believe the wording of the datasheet many of the boards that use a i.MX51 processor and running u-boot

Re: [U-Boot] [PATCH 3/4 V2] i.MX28: Add delay after CPU bypass is cleared

2012-05-04 Thread Detlev Zundel
Hi Marek, This solves issues when larger amount of DRAM is used. Behave the same in case of CPU bypass as we do in case of EMI bypass, wait 15 ms. We need to wait until the clock domain stabilizes. Sorry to be somewhat persistent here, but can you please include the information what larger

[U-Boot] [PATCH v3 13/19] arm/km: add kmnusa board support

2012-05-04 Thread Holger Brunck
This board is similar to portl2, but it has the u-boot environment in a SPI NOR flash and not in an i2c eeprom like portl2 have. Some other details: - IVM EEPROM is at adress: pca9547:70:9 - PCI is enabled - PIGGY4 is connected via MV88E6352 simple switch. There is no phy between the simple

[U-Boot] [PATCH v3 14/19] arm/km: add kmcoge5un board support

2012-05-04 Thread Holger Brunck
For u-boot this board is similar to mgcoge3un. But some differences are present. We have a different SDRAM on it and therefore a new SDRAM config file. Additionaly this board has a direct MAC/MAC connection from the kirkwood to a marvell simple switch without a phy inbetween, this needs a new

Re: [U-Boot] [PATCH RESEND] ARM: OMAP3: USB: Fix the EHCI ULPI PHY reset issue

2012-05-04 Thread Igor Grinberg
On 05/04/12 12:06, Russ Dill wrote: On Thu, May 3, 2012 at 11:03 PM, Igor Grinberg grinb...@compulab.co.il wrote: Hi Russ, On 05/03/12 22:08, Russ Dill wrote: On Wed, May 2, 2012 at 3:38 AM, Raja, Govindraj govindraj.r...@ti.com wrote: On Wed, May 2, 2012 at 2:17 PM, Russ Dill

[U-Boot] [PATCH V3] USB: EXYNOS: Add ehci support

2012-05-04 Thread Rajeshwari Shinde
This patch adds ehci driver support for EXYNOS. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- arch/arm/include/asm/arch-exynos/cpu.h |3 + arch/arm/include/asm/arch-exynos/ehci.h | 66 ++

[U-Boot] ETH RBPTR incorrect mapping for rtx volatile structure

2012-05-04 Thread BUGNIOT Geoffrey
Hi, (my configuration is MPC8270 on a Interface Concept board plines VMEb) I'm facing a problem relating to my ETH FCC interface (FCC2) It appears during a TFTPBOOT command that configuration informations are not the expecting one. Basically, I'm facing timeout in my serial terminal and several

[U-Boot] [resent] New chapter in i.MX51 datasheet an issue?

2012-05-04 Thread David Jander
Hi all, I discovered a bug in u-boot, that got evident after Freescale updated the i.MX51 datasheets to revision 5 in March this year. I don't know if it is a serious problem or not, but if I believe the wording of the datasheet many of the boards that use a i.MX51 processor and running u-boot

Re: [U-Boot] [PATCH V3] USB: EXYNOS: Add ehci support

2012-05-04 Thread Chander Kashyap
cc'ng to Minkyu Kang and Lukasz Majewski On 4 May 2012 15:40, Rajeshwari Shinde rajeshwar...@samsung.com wrote: This patch adds ehci driver support for EXYNOS. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com ---  

[U-Boot] [PATCH v5 03/10] input: Add generic keyboard input handler

2012-05-04 Thread Simon Glass
Add a module which understands converting key codes (or scan codes) to ASCII characters. It includes FIFO support and can call back to drivers to read new characters when its FIFO is empty. Keycode maps are provided for un-modified, shift and ctrl keys. The plan is to use this module where such

[U-Boot] [PATCH 0/6 V2] EXYNOS5: USB: Enable USB 2.0 support

2012-05-04 Thread Rajeshwari Shinde
This patchset series adds support to enable USB 2.0 on smdk5250. It corrects sysreg register, usb host, usb otg base address, adds power management registers,functions to enable and disable power to the USB host controller are added. This patchset is based on: USB: EXYNOS: Add ehci support.patch

[U-Boot] [PATCH 4/6 V2] Exynos5: Add power Enable/Disable for USB-EHCI

2012-05-04 Thread Rajeshwari Shinde
This patch adds functions to enable/disable the power of USB host controller for EXYNOS5. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com Signed-off-by: Che-Liang Chiou clch...@chromium.org Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- This patchset is based on: USB: EXYNOS:

[U-Boot] [PATCH 5/6 V2] EXYNOS5: USB: Fix incorrect USB base addresses

2012-05-04 Thread Rajeshwari Shinde
This patch corrects the base addresses for USB_PHY and USB_OTG. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com Acked-by: Chander Kashyap chander.kash...@linaro.org --- arch/arm/include/asm/arch-exynos/cpu.h |4 ++-- 1 files

Re: [U-Boot] [PATCH 3/4 V2] i.MX28: Add delay after CPU bypass is cleared

2012-05-04 Thread Marek Vasut
Dear Detlev Zundel, Hi Marek, This solves issues when larger amount of DRAM is used. Behave the same in case of CPU bypass as we do in case of EMI bypass, wait 15 ms. We need to wait until the clock domain stabilizes. Sorry to be somewhat persistent here, but can you please include

Re: [U-Boot] [PATCH 0/6 V2] EXYNOS5: USB: Enable USB 2.0 support

2012-05-04 Thread Marek Vasut
Dear Rajeshwari Shinde, This patchset series adds support to enable USB 2.0 on smdk5250. It corrects sysreg register, usb host, usb otg base address, adds power management registers,functions to enable and disable power to the USB host controller are added. This patchset is based on: USB:

Re: [U-Boot] [PATCH] OMAP4: Set fdt_high for OMAP4 devices to enable booting with Device Tree

2012-05-04 Thread R, Sricharan
Jon, [snip] --- a/include/configs/omap4_common.h +++ b/include/configs/omap4_common.h @@ -151,6 +151,7 @@  #define CONFIG_EXTRA_ENV_SETTINGS \        loadaddr=0x8200\0 \        console=ttyO2,115200n8\0 \ +       fdt_high=0x\0 \ Tested this on mainline and worked fine on

[U-Boot] [PATCH] i.MX28: Add delay after CPU bypass is cleared

2012-05-04 Thread Marek Vasut
This solves issues when larger amount of DRAM is used, like 256MB. Behave the same in case of CPU bypass as we do in case of EMI bypass, but wait 15 ms. We need to wait until the clock domain stabilizes. This issue seemed to have been caused by not waiting after frobbing with the CPU bypass, it

Re: [U-Boot] [PATCH] DHCP: fix dhcp command parameters overwrite issue

2012-05-04 Thread Wolfgang Denk
Dear voice shen, please do not top post / full quote. Please read http://www.netmeister.org/news/learn2quote.html In message caarquwmcocqqqmswdte7xwa+f940gjk+54ujudb1w8apbz7...@mail.gmail.com you wrote: But, I have a question. The different DHCP server configuration will cause different

[U-Boot] [PATCH 2/6] arm/km: enable external switch configuration for kmnusa

2012-05-04 Thread Holger Brunck
From: Valentin Longchamp valentin.longch...@keymile.com The configuration EEPROM should be removed for P1B. Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com --- board/keymile/km_arm/km_arm.c | 10 -- 1 files changed, 4 insertions(+), 6 deletions(-) diff --git

[U-Boot] [PATCH 1/6] arm/km: add support for external switch configuration

2012-05-04 Thread Holger Brunck
From: Valentin Longchamp valentin.longch...@keymile.com This can be used if we do not want to use an EEPROM for the configuration. Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com --- board/keymile/common/common.h |7 -- board/keymile/km_arm/km_arm.c |3 +

[U-Boot] [PATCH 5/6] arm/km: add implementation for read_dip_switch

2012-05-04 Thread Holger Brunck
From: Thomas Herzmann thomas.herzm...@keymile.com Add a function to read the dip_switch on kmcoge5un. If the switch is set the actual_bank is set to 0 and this SW is booted. Signed-off-by: Thomas Herzmann thomas.herzm...@keymile.com Signed-off-by: Holger Brunck holger.bru...@keymile.com ---

[U-Boot] [PATCH 6/6] arm/km: fix testpin detection for kmcoge5un

2012-05-04 Thread Holger Brunck
From: Thomas Herzmann thomas.herzm...@keymile.com On kmcoge5un unfortunately the HW wiring is differently to other km arm boards. Signed-off-by: Thomas Herzmann thomas.herzm...@keymile.com Signed-off-by: Holger Brunck holger.bru...@keymile.com --- board/keymile/km_arm/km_arm.c |4 1

[U-Boot] [PATCH 4/6] arm/km: support the 2 PCIe fpga resets

2012-05-04 Thread Holger Brunck
From: Valentin Longchamp valentin.longch...@keymile.com The PCIe FPGAs now have to support 2 resets: one for the non traffic affecting part (PCIe) and one for the traffic affecting part. When the FPGA is not reconfigured, we only reset the PCIe part. Signed-off-by: Valentin Longchamp

[U-Boot] [PATCH 0/6] further updates for Keymile ARM boards

2012-05-04 Thread Holger Brunck
This patch seris is based on a already transmitted but currently not committed patch serie: http://lists.denx.de/pipermail/u-boot/2012-March/121009.html It adds some further support for our managed switch on kmnusa and kmcoge5un. And some other feature are added or fixed (dip switch detection for

[U-Boot] [PATCH 3/6] arm/km: skip FPGA config when already configured

2012-05-04 Thread Holger Brunck
From: Valentin Longchamp valentin.longch...@keymile.com In order to be able to perform board resets without interrupting the traffic, the configuration of an already properly configured FPGA is skipped. This is because some PCIe FPGAs embed some other function that must continue to work over

[U-Boot] [PATCH] OMAP4: Set fdt_high for OMAP4 devices to enable booting with Device Tree

2012-05-04 Thread Jon Hunter
From: Jon Hunter jon-hun...@ti.com For OMAP4 boards, such as the panda-es, that have 1GB of memory the linux kernel fails to locate the device tree blob on boot. The reason being is that u-boot is copying the DT blob to the upper part of RAM when booting the kernel and the kernel is unable to

Re: [U-Boot] [PATCH] OMAP4: Set fdt_high for OMAP4 devices to enable booting with Device Tree

2012-05-04 Thread Jon Hunter
Hi Sricharan, On 05/04/2012 06:20 AM, R, Sricharan wrote: Jon, [snip] --- a/include/configs/omap4_common.h +++ b/include/configs/omap4_common.h @@ -151,6 +151,7 @@ #define CONFIG_EXTRA_ENV_SETTINGS \ loadaddr=0x8200\0 \ console=ttyO2,115200n8\0 \ +

Re: [U-Boot] pull request for u-boot-tegra/master

2012-05-04 Thread Tom Warren
Albert, On Fri, May 4, 2012 at 12:30 AM, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Tom, Le 03/05/2012 17:56, Tom Warren a écrit : Albert, Please pull u-boot-tegra/master into arm master. Thanks! The following changes since commit 026251a5e825d61d3bcdf6dffcc27d15afd574f4:  

[U-Boot] [PATCH V2] checkpatch: add check for whitespace before semicolon at end-of-line

2012-05-04 Thread Eric Nelson
Requires --strict option during invocation: ~/linux$ scripts/checkpatch --strict foo.patch This tests for a bad habits of mine like this: return 0 ; Note that it does allow a special case of a bare semicolon for empty loops: while (foo()) ; --- V2 adds

Re: [U-Boot] [PATCH 1/3] mx5: Add clock config interface

2012-05-04 Thread Fabio Estevam
Hi Stefano, On Mon, Apr 30, 2012 at 3:12 PM, Fabio Estevam feste...@gmail.com wrote: mx5: Add clock config interface Add clock config interface support, so that we can configure CPU or DDR clock in the later init Signed-off-by: Jason Liu jason@linaro.org Signed-off-by: Eric Miao

Re: [U-Boot] [PATCH 3/3] omap4: do not enable auxiliary cores

2012-05-04 Thread R, Sricharan
Hi Tero, [snip]        u32 *const clk_modules_hw_auto_non_essential[] = { -               prcm-cm_mpu_m3_mpu_m3_clkctrl, -               prcm-cm_ivahd_ivahd_clkctrl, -               prcm-cm_ivahd_sl2_clkctrl, -               prcm-cm_dsp_dsp_clkctrl,                prcm-cm_l3_2_gpmc_clkctrl,

[U-Boot] [PATCH v5 04/10] input: Add support for keyboard matrix decoding from an fdt

2012-05-04 Thread Simon Glass
From: Bernie Thompson bhthomp...@chromium.org Matrix keyboards require a key map to be set up, and must also deal with key ghosting. Create a keyboard matrix management implementation which can be leveraged by various keyboard drivers. This includes code to read the keymap from the FDT and

Re: [U-Boot] [PATCH] davinci: added Marvell 88E1111 PHY support

2012-05-04 Thread Tom Rini
On 05/04/2012 03:58 AM, Brilliantov Kirill Vladimirovich wrote: added Marvell 88E PHY support for Davinchi DM36x tested on DM368ZCEF Signed-off-by: Brilliantov Kirill Vladimirovich brillian...@byterg.ru OK, we really need the emac driver converted to phylib (which already has this

[U-Boot] No MAC address assigns on OpenRD, connected with [PATCH 2/2] mvgbe: fix network device indices

2012-05-04 Thread Anton Vasilyev
Dear Prafulla, After update project to U-Boot v2012.04.01 I facehttp://lingvopro.abbyyonline.com/ru/Search/GlossaryItemExtraInfo?text=%d1%81%d1%82%d0%b0%d0%bb%d0%ba%d0%b8%d0%b2%d0%b0%d1%82%d1%8c%d1%81%d1%8ftranslation=facesrcLang=rudestLang=en a problem that no MAC address assigns on OpenRD

Re: [U-Boot] [PATCH V2] checkpatch: add check for whitespace before semicolon at end-of-line

2012-05-04 Thread Joe Perches
On Fri, 2012-05-04 at 08:59 -0700, Eric Nelson wrote: Requires --strict option during invocation: ~/linux$ scripts/checkpatch --strict foo.patch This tests for a bad habits of mine like this: return 0 ; Note that it does allow a special case of a bare semicolon for empty

Re: [U-Boot] [PATCH v6 03/23] Add abs() macro to return absolute value

2012-05-04 Thread Albert ARIBAUD
Hi Simon, Le 04/05/2012 20:25, Simon Glass a écrit : This macro is generally useful to make it available in common. Signed-off-by: Simon Glasss...@chromium.org --- Changes in v3: - Add new patch to put abs() in common.h Changes in v6: - Update x86emu and omap4 to use the abs() macro

Re: [U-Boot] [PATCH v3] powerpc/p1022ds: Add sdcard and spi boot support to P1022DS

2012-05-04 Thread Timur Tabi
Dirk Eibach wrote: Signed-off-by: Dirk Eibach eib...@gdsys.de Cc: Timur Tabi ti...@freescale.com --- Can you give me some instructions on how to test this? I'm working on adding NAND boot support to the P1022, so I need to make sure I don't conflict with your patch. Changes in v2: - add Cc

[U-Boot] [PATCH] tegra: override compiler flags for cmd_nvedit

2012-05-04 Thread Allen Martin
Override -march setting for tegra to -march=armv4t for cmd_nvedit.c The recent change to use -march=armv7-a for armv7 caused a regression on tegra because tegra starts boot on a arm7tdmi processor before transferring control to the cortex-a9. While still executing on the arm7tdmi there is a call

[U-Boot] [PATCH 1/6] powerpc/85xx: minor clean-ups to the P2020DS board header file

2012-05-04 Thread Timur Tabi
Remove some unused macros and remove all #undef macros. The RTL8139 network adapter is not shipped with the board nor commonly used, so don't define it by default. The E1000 is still defined. Add 57,600 baud as an option. For some reason, this baud rate is missing from many boards.

[U-Boot] [PATCH 2/6] powerpc/85xx: fdt_set_phy_handle() should return an error code

2012-05-04 Thread Timur Tabi
fdt_set_phy_handle() makes several FDT calls that could fail, so it should not be hiding these errors. Signed-off-by: Timur Tabi ti...@freescale.com --- board/freescale/common/fman.c | 36 +++- board/freescale/common/fman.h |2 +- 2 files changed, 20

[U-Boot] [PATCH 3/6] powerpc/85xx: clean up P1022DS board configuration header file

2012-05-04 Thread Timur Tabi
Remove some unused default environment variables (memctl_intlv_ctl, perf_mode, diuregs, dium, and diuerr), update 'tftpflash' variable, and add videobootargs as a Linux command line variable (so that we can easily pass video= to the kernel). Signed-off-by: Timur Tabi ti...@freescale.com ---

[U-Boot] [PATCH 5/6] cmd_nvedit.c: allow board-specific code before/after saving the environment

2012-05-04 Thread Timur Tabi
Introduce board_start_saveenv() and board_finish_saveenv(), two weak functions that are called before and after saving the environment. This allows for board-specific functions that prepare the board for saving the environment. This is useful if, for some reason, the non-volatile storage is

[U-Boot] [PATCH 4/6] lib/powerpc: addrmap_phys_to_virt() should return a pointer

2012-05-04 Thread Timur Tabi
addrmap_phys_to_virt() converts a physical address (phys_addr_t) to a virtual address, so it should return a pointer instead of an unsigned long. Its counterpart, addrmap_virt_to_phys(), takes a pointer, so now they're orthogonal. The only caller of addrmap_phys_to_virt() converts the return

[U-Boot] [PATCH 6/6] powerpc/85xx: p1022ds: use the saveenv board preparation functions

2012-05-04 Thread Timur Tabi
On the P1022, the DIU video signals are muxed with the localbus, so when the DIU is active, the localbus is unavailable. The saveenv command now supports board-specific functions that allow the DIU/LBC mux to be switched while saving the environment. This is much more efficient than switching

Re: [U-Boot] [PATCH 3/3] mxc_i2c: remove setting speed at each start

2012-05-04 Thread Troy Kisky
On 4/24/2012 8:33 PM, Troy Kisky wrote: Other then being very weird, this code was also wrong. For example, say I set speed to 100K. I'll read back the speed as 85937. But the speed is really 85937.5, so we I reset the speed to 85937, I'll get 73660.7. After a couple of transactions my speed is