board-descriptor: add support for nrhw20

This commit is contained in:
Stefan Eichenberger 2018-02-22 15:56:11 +01:00
parent d4b3251803
commit 4cb4b1fbf2
2 changed files with 13 additions and 0 deletions

View File

@ -2,6 +2,8 @@ SUMMARY = "Boarddescriptor Tool"
DESCRIPTION = "Read and write from/to the boarddescriptor"
AUTHOR = "Stefan Eichenberger (stefan.eichenberger@netmodule.com)"
FILESEXTRAPAHT_prepend := "${THISDIR}/${PN}/${MACHINE}:"
SECTION = "core"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"

View File

@ -0,0 +1,11 @@
{
"tag_list": "/etc/bd/bd.json",
"eeprom": [
{ "path": "/sys/bus/i2c/devices/2-0050/eeprom", "valid_bds": [
{"name": "board", "start": 0, "size": 1024},
{"name": "platform", "start": 512, "size": 512},
{"name": "settings", "start": 1536, "size": 512}
]
}
]
}