Attention is currently required from: Julius Werner, ron minnich.
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/51080 )
Change subject: rk3399: clock: Fix style for rkclk_ddr_reset()
......................................................................
Patch Set 2: Code-Review+1
(1 comment)
File src/soc/rockchip/rk3399/clock.c:
https://review.coreboot.org/c/coreboot/+/51080/comment/b5d208b6_ca1ef18a
PS2, Line 253: #define RESETN_DDRPHY_REQ_SHIFT(ch) (9 + (ch) * 4)
Would it make more sense to define and use these macros?
#define RESETN_DDR_REQ(ch, ctl) ((ctl) << RESETN_DDR_REQ_SHIFT(ch))
#define RESETN_DDRPHY_REQ(ch, phy) ((phy) << RESETN_DDRPHY_REQ_SHIFT(ch))
--
To view, visit
https://review.coreboot.org/c/coreboot/+/51080
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If1f5c06aabb16045d890df3bbd271f08a2cdf390
Gerrit-Change-Number: 51080
Gerrit-PatchSet: 2
Gerrit-Owner: Julius Werner
jwerner@chromium.org
Gerrit-Reviewer: Angel Pons
th3fanbus@gmail.com
Gerrit-Reviewer: Moritz Fischer
moritzf@google.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-Reviewer: ron minnich
rminnich@gmail.com
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Attention: Julius Werner
jwerner@chromium.org
Gerrit-Attention: ron minnich
rminnich@gmail.com
Gerrit-Comment-Date: Thu, 25 Feb 2021 10:22:36 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment