diff options
author | Angel Pons <th3fanbus@gmail.com> | 2021-01-22 15:24:48 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-01-28 09:18:18 +0000 |
commit | 73c967665b6347490a22371c558f34c022836181 (patch) | |
tree | f53f66951fcdd8235f77e0a16fb1340e434a54b0 /src/drivers/generic/bayhub/bh720.h | |
parent | a4ecf9654e5ee84958dc8dfea3c1391da61bd263 (diff) |
bayhub bh720: Factor out common HS200 init code
Except for one debug print in sarien, both functions are identical.
Move them to driver code to avoid unnecessary redundancy.
Change-Id: I82635a289e3c05119eab4ee1f7a6bf3a8a1725c1
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49833
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com>
Diffstat (limited to 'src/drivers/generic/bayhub/bh720.h')
-rw-r--r-- | src/drivers/generic/bayhub/bh720.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/drivers/generic/bayhub/bh720.h b/src/drivers/generic/bayhub/bh720.h index d8c3196495..cc5fbea07b 100644 --- a/src/drivers/generic/bayhub/bh720.h +++ b/src/drivers/generic/bayhub/bh720.h @@ -39,5 +39,3 @@ enum { BH720_PCR_CSR = 0x3e4, BH720_PCR_CSR_EMMC_MODE_SEL = BIT(22), }; - -void board_bh720(struct device *dev); |