aspeed: i2c: Move regs and helpers to header file
commite532cd0485dc4dc0983d4cc95083c592223c02c0
authorJoe Komlodi <komlodi@google.com>
Mon, 13 Jun 2022 12:05:48 +0000 (13 14:05 +0200)
committerCédric Le Goater <clg@kaod.org>
Wed, 22 Jun 2022 07:49:34 +0000 (22 09:49 +0200)
tree4dd7e4635112e0cabf34e2b4dcc48d81338e43b0
parent0efec47b5f25761cdc476099d8b72a1c1233e07b
aspeed: i2c: Move regs and helpers to header file

Moves register definitions and short commonly used inlined functiosn to
the header file to help tidy up the implementation file.

Signed-off-by: Joe Komlodi <komlodi@google.com>
Change-Id: I34dff7485b6bbe3c9482715ccd94dbd65dc5f324
Message-Id: <20220331043248.2237838-8-komlodi@google.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
hw/i2c/aspeed_i2c.c
include/hw/i2c/aspeed_i2c.h