OSDN Git Service

hw/arm/aspeed: Add machine properties to define the flash models
authorCédric Le Goater <clg@kaod.org>
Fri, 18 Sep 2020 07:04:36 +0000 (09:04 +0200)
committerCédric Le Goater <clg@kaod.org>
Fri, 18 Sep 2020 07:04:36 +0000 (09:04 +0200)
commit9820e52fbef71564d05f3a83a26ce4c3f7d5d3fd
tree7e14961fe4bcf9dc354e2765900f8ee9cfe99eec
parenta6b2f1fc36307574dcb24708918ee22348a0ad82
hw/arm/aspeed: Add machine properties to define the flash models

Some machines don't have much differences a part from the flash model
being used. Introduce new machine properties to change them from the
command line.

For instance, to start the ast2500-evb machine with a different FMC
chip and a 64M SPI chip, use :

  -M ast2500-evb,fmc-model=mx25l25635e,spi-model=mx66u51235f

Cc: 郁雷 <yulei.sh@bytedance.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Tested-by: Lei YU <yulei.sh@bytedance.com>
Message-Id: <20200915054859.2338477-1-clg@kaod.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
docs/system/arm/aspeed.rst
hw/arm/aspeed.c