]> git.baikalelectronics.ru Git - uboot.git/commit
mips: mt76xx: gardena-smart-gateway: Add factory data variable handling
authorStefan Roese <sr@denx.de>
Fri, 30 Nov 2018 06:46:30 +0000 (07:46 +0100)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Fri, 30 Nov 2018 16:21:44 +0000 (17:21 +0100)
commit0198d94c8dfe13f382ef54e92451248d1f750073
treeda78bc132bb8b37ee5a6526fde115c92c057bf79
parentb4396d6e480634eb01efd68d3831eb47cca6910a
mips: mt76xx: gardena-smart-gateway: Add factory data variable handling

Some factory data is stored in the SPI NOR and needs to get extracted
from there into U-Boot environment variables.

This patch also includes a board-specific command "fd_write" to
provide some dummy / default values for this factory-data in the SPI
NOR flash. This should only be necessary for testing purposes though.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
board/gardena/smart-gateway-mt7688/board.c