]> git.sur5r.net Git - u-boot/commit
ARM: keystone: Pass SPI MTD partition table via kernel command line
authorVignesh R <vigneshr@ti.com>
Wed, 8 Mar 2017 08:28:17 +0000 (13:58 +0530)
committerTom Rini <trini@konsulko.com>
Sat, 8 Apr 2017 13:26:47 +0000 (09:26 -0400)
commit3f18ff07c81b80337bbe72c0b3a2d36a76b6a9e0
tree54daf6ad4d60986f2ea9cd52c37b41f3fe90417b
parent4b0d506ed3b4f77649346d45b349169a60a2b233
ARM: keystone: Pass SPI MTD partition table via kernel command line

SPI U-Boot image for K2 boards have now exceeded 512K partition
allocated to it and no longer fit the partitions defined in kernel DTS
file. Therefore, pass an updated MTD partition table from U-Boot as
kernel command line arguments to avoid kernel from accidentally
modifying boot loader image that has overflowed to next user partition.

To do is, introduce a common environment file for declaring SPI
partition so that each individual boards need not repeat the same.
Choose appropriate SPI bus from board config file and pass it as command
line argument to kernel.

Signed-off-by: Vignesh R <vigneshr@ti.com>
include/configs/k2e_evm.h
include/configs/k2g_evm.h
include/configs/k2hk_evm.h
include/configs/k2l_evm.h
include/configs/ti_armv7_keystone2.h
include/environment/ti/spi.h [new file with mode: 0644]