OSDN Git Service

aspeed/smc: reset flash after each test
authorCédric Le Goater <clg@kaod.org>
Fri, 20 Jan 2017 11:15:08 +0000 (11:15 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 20 Jan 2017 11:15:08 +0000 (11:15 +0000)
commitbd9f5052007a6507912a02f9e6d8860e1232ca00
treed06c77e2cb0a9be928c1b1cf49639ed49f41eef8
parentfcdf2c59456fb6d0fdc656cf395b2aa15888b46c
aspeed/smc: reset flash after each test

Let's make sure when each test is run that the flash object is in an
initial state and did not keep configuration from the previous tests.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-id: 1483979087-32663-9-git-send-email-clg@kaod.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
tests/m25p80-test.c