Skip to content

Commit

Permalink
aspeed_sdmc: Extend number of valid registers
Browse files Browse the repository at this point in the history
The SDMC on the ast2500 has 170 registers.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Tested-by: Cédric Le Goater <clg@kaod.org>
Message-id: 20180807075757.7242-2-joel@jms.id.au
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
  • Loading branch information
shenki authored and pm215 committed Aug 16, 2018
1 parent 016d4b0 commit a40085d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/hw/misc/aspeed_sdmc.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#define TYPE_ASPEED_SDMC "aspeed.sdmc"
#define ASPEED_SDMC(obj) OBJECT_CHECK(AspeedSDMCState, (obj), TYPE_ASPEED_SDMC)

#define ASPEED_SDMC_NR_REGS (0x8 >> 2)
#define ASPEED_SDMC_NR_REGS (0x174 >> 2)

typedef struct AspeedSDMCState {
/*< private >*/
Expand Down

0 comments on commit a40085d

Please sign in to comment.