u-boot/board/wandboard
Trent Piepho d1337210d1 wandboard: Don't use I2C speed Kconfig settings with DM_I2C
When using DM_I2C the speed value supplied to setup_i2c() is not used,
so this code required CONFIG_SYS_MXC_I2C[12]_SPEED to be defined to
compile, but did not actually use them.

Change this so we no longer need to define an unused macro to compile in
DM_I2C mode.  Also make it more clear that they do not control the bus
speed.  Otherwise it is quite easy to mistakenly believe they are used
to set the bus speed.

Cc: Heiko Schocher <hs@denx.de>
Cc: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Trent Piepho <tpiepho@impinj.com>
2019-05-17 05:35:24 +02:00
..
Kconfig mx6: remove SYS_SOC from board Kconfig 2015-09-13 10:37:29 +02:00
MAINTAINERS imx6: wandboard: add device tree 2019-04-13 20:30:09 +02:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
README wandboard: README: Include the mx6qp variant in the list 2018-09-14 15:22:52 +02:00
spl.c imx6: wandboard: convert to DM_MMC 2019-04-13 20:30:09 +02:00
wandboard.c wandboard: Don't use I2C speed Kconfig settings with DM_I2C 2019-05-17 05:35:24 +02:00

U-Boot for Wandboard
--------------------

This file contains information for the port of U-Boot to the Wandboard.

Wandboard is a development board that has three variants based on the following
SoCs: mx6 quad, mx6 quad plus, mx6 dual lite and mx6 solo.

For more details about Wandboard, please refer to:
http://www.wandboard.org/

Building U-Boot for Wandboard
-----------------------------

To build U-Boot for the Wandboard:

$ make wandboard_config
$ make

Flashing U-Boot into the SD card
--------------------------------

- After the 'make' command completes, the generated 'SPL' binary must be
flashed into the SD card;

$ sudo dd if=SPL of=/dev/mmcblk0 bs=1k seek=1; sync

(Note - the SD card node may vary, so adjust this as needed).

- Flash the u-boot.img image into the SD card:

sudo dd if=u-boot.img of=/dev/mmcblk0 bs=1k seek=69; sync

- Insert the SD card into the slot located in the bottom of the board (same side
as the mx6 processor)

- Connect the serial cable to the host PC

- Power up the board and U-Boot messages will appear in the serial console.