diff options
author | Maxim Polyakov <max.senia.poliak@gmail.com> | 2021-06-30 16:14:53 +0300 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-07-02 07:48:58 +0000 |
commit | 8b35851e4c994943fab1d0f0c484e5f38cd0729c (patch) | |
tree | f14fd90b4b8e2b5fcc6a6343cf9155e7eb27324a /util/intelp2m/parser/parser.go | |
parent | 421ce56f833edcfe34788ff07ebf5e09d582ff9f (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/parser/parser.go')
-rw-r--r-- | util/intelp2m/parser/parser.go | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/util/intelp2m/parser/parser.go b/util/intelp2m/parser/parser.go index c0dc65f769..bfcdff8859 100644 --- a/util/intelp2m/parser/parser.go +++ b/util/intelp2m/parser/parser.go @@ -5,15 +5,14 @@ import ( "fmt" "strings" "strconv" + "../platforms/common" + "../platforms/snr" + "../platforms/lbg" + "../platforms/apl" + "../platforms/cnl" + "../config" ) -import "../platforms/common" -import "../platforms/snr" -import "../platforms/lbg" -import "../platforms/apl" -import "../platforms/cnl" -import "../config" - // PlatformSpecific - platform-specific interface type PlatformSpecific interface { GenMacro(id string, dw0 uint32, dw1 uint32, ownership uint8) string |