summaryrefslogtreecommitdiff
path: root/util/intelp2m/platforms/cnl/macro.go
diff options
context:
space:
mode:
authorMaxim Polyakov <max.senia.poliak@gmail.com>2021-06-30 16:14:53 +0300
committerPatrick Georgi <pgeorgi@google.com>2021-07-02 07:48:58 +0000
commit8b35851e4c994943fab1d0f0c484e5f38cd0729c (patch)
treef14fd90b4b8e2b5fcc6a6343cf9155e7eb27324a /util/intelp2m/platforms/cnl/macro.go
parent421ce56f833edcfe34788ff07ebf5e09d582ff9f (diff)
util/intelp2m: use import once for all included modules
There is no need to repeat "import" for each module in GoLang. Use this keyword only once in each file for code cleanliness. Change-Id: Ibb24fafd409b31b174946a39ca1f810d59b87e76 Signed-off-by: Maxim Polyakov <max.senia.poliak@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55985 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Matt DeVillier <matt.devillier@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/intelp2m/platforms/cnl/macro.go')
-rw-r--r--util/intelp2m/platforms/cnl/macro.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/util/intelp2m/platforms/cnl/macro.go b/util/intelp2m/platforms/cnl/macro.go
index c3bdfc88b1..714bfa1b66 100644
--- a/util/intelp2m/platforms/cnl/macro.go
+++ b/util/intelp2m/platforms/cnl/macro.go
@@ -1,13 +1,13 @@
package cnl
-import "strings"
-import "fmt"
-
-// Local packages
-import "../common"
-import "../../config"
-import "../../fields"
-import "../snr"
+import (
+ "strings"
+ "fmt"
+ "../common"
+ "../../config"
+ "../../fields"
+ "../snr"
+)
const (
PAD_CFG_DW0_RO_FIELDS = (0x1 << 27) | (0x1 << 24) | (0x3 << 21) | (0xf << 16) | 0xfc