Werner Zeh has posted comments on this change. ( https://review.coreboot.org/18995 )
Change subject: siemens/mc_apl1: Adjust gpio settings
......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/#/c/18995/1/src/mainboard/siemens/mc_apl1/romst…
File src/mainboard/siemens/mc_apl1/romstage.c:
PS1, Line 17: #include <console/console.h>
You can drop this include as there is no printk() usage in this file.
--
To view, visit https://review.coreboot.org/18995
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I2f440e863c2e6f59298c500ac5aefa3b7386bcdf
Gerrit-PatchSet: 1
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Mario Scheithauer <mario.scheithauer(a)siemens.com>
Gerrit-Reviewer: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-Reviewer: build bot (Jenkins)
Gerrit-HasComments: Yes
Barnali Sarkar has posted comments on this change. ( https://review.coreboot.org/18557 )
Change subject: soc/intel/common/block: [WIP]Add Intel common FAST_SPI code
......................................................................
Patch Set 12:
(1 comment)
https://review.coreboot.org/#/c/18557/12/src/soc/intel/common/block/include…
File src/soc/intel/common/block/include/intelblocks/fast_spi.h:
Line 87: #define SPIBAR_HSFSTS_W1C_BITS (0xff)
> Aside from not being used in this code, my point was that if you are creati
Okay, I think I got your point.
Just to clarify, in this fast_spi.h, there will be only the function/API declarations for the library. The users of this library will only include fast_spi.h then.
The MACROs will reside in a different header file (may be named as <IP_name>_def.h, i.e., fast_spi_def.h here), which will be ONLY included from inside fast_spi.c library file, not from the users of the fast_spi library.
In this way, these IP register definitions are not open to the users of the library and Wrapped inside the library code only.
This is what you meant, right?
Its a very nice approach indeed.
--
To view, visit https://review.coreboot.org/18557
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I046e3b30c8efb172851dd17f49565c9ec4cb38cb
Gerrit-PatchSet: 12
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Barnali Sarkar <barnali.sarkar(a)intel.com>
Gerrit-Reviewer: Aamir Bohra <aamir.bohra(a)intel.com>
Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org>
Gerrit-Reviewer: Balaji Manigandan <balaji.manigandan(a)intel.com>
Gerrit-Reviewer: Barnali Sarkar <barnali.sarkar(a)intel.com>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Hannah Williams <hannah.williams(a)intel.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Pratikkumar Prajapati <pratikkumar.v.prajapati(a)intel.corp-partner.google.com>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins)
Gerrit-HasComments: Yes
Hello Paul Menzel, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/18993
to look at the new patch set (#4).
Change subject: mainboard: Add ASRock G41C-GS
......................................................................
mainboard: Add ASRock G41C-GS
Start-point is Gigabyte GA-G41M-ES2L.
This board features a G41 northbridge and an ICH7 southbridge. This
board has slots for both DDR2 and DDR3 (cannot run concurrently
though) but only DDR2 is implemented in coreboot. The SPI flash
resides in a DIP-8 socket.
Tested and working:
* DDR2 dual channel (PC2 5300 and PC2 6400, though raminit is picky
with assymetric dimm setups);
* 3,5" IDE;
* SATA;
* PCIe x16 (with some patches up for review);
* Uart, PS2 Keyboard;
* USB, ethernet, audio;
* Native graphic init;
* Fan control;
* Reboot, poweroff;
* Flashrom (vendor and coreboot).
Tested but fails:
* Raminit on resume from S3 (fails on quick_ram_check);
* DDR3 (not implemented in coreboot).
Tests were run with SeaBIOS and Debian sid, using Linux 4.9.0.
Change-Id: I992ee07b742dfc59733ce0f3a9be202a530ec6cc
Signed-off-by: Arthur Heymans <arthur(a)aheymans.xyz>
---
A src/mainboard/asrock/g41c-gs/Kconfig
A src/mainboard/asrock/g41c-gs/Kconfig.name
A src/mainboard/asrock/g41c-gs/Makefile.inc
A src/mainboard/asrock/g41c-gs/acpi/ec.asl
A src/mainboard/asrock/g41c-gs/acpi/ich7_pci_irqs.asl
A src/mainboard/asrock/g41c-gs/acpi/platform.asl
A src/mainboard/asrock/g41c-gs/acpi/superio.asl
A src/mainboard/asrock/g41c-gs/acpi/x4x_pci_irqs.asl
A src/mainboard/asrock/g41c-gs/acpi_tables.c
A src/mainboard/asrock/g41c-gs/board_info.txt
A src/mainboard/asrock/g41c-gs/cmos.default
A src/mainboard/asrock/g41c-gs/cmos.layout
A src/mainboard/asrock/g41c-gs/cstates.c
A src/mainboard/asrock/g41c-gs/devicetree.cb
A src/mainboard/asrock/g41c-gs/dsdt.asl
A src/mainboard/asrock/g41c-gs/gpio.c
A src/mainboard/asrock/g41c-gs/hda_verb.c
A src/mainboard/asrock/g41c-gs/romstage.c
18 files changed, 902 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/93/18993/4
--
To view, visit https://review.coreboot.org/18993
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I992ee07b742dfc59733ce0f3a9be202a530ec6cc
Gerrit-PatchSet: 4
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins)
Arthur Heymans has posted comments on this change. ( https://review.coreboot.org/18993 )
Change subject: Mainboard: Add Asrock G41C-GS
......................................................................
Patch Set 3:
(1 comment)
I do not own this board. Did this port based on some logs. I hope this is acceptable.
https://review.coreboot.org/#/c/18993/3//COMMIT_MSG
Commit Message:
PS3, Line 9: Start-point was Gigabyte GA-G41M-ES2L.
> Could you make this two commits please, where the first one just copies tha
I think that would make review process more complicated since some things are generated mostly from scratch (gpio, devicetree, irq)...
sidenote: found some patches from Vladimir that push a lot of i945 stuff in northbridge code like sandy bridge which reduces code in mainboard a lot. Doing so should make adding i945 and x4x (which is has very similar functions) to autoport quite easy.
--
To view, visit https://review.coreboot.org/18993
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I992ee07b742dfc59733ce0f3a9be202a530ec6cc
Gerrit-PatchSet: 3
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins)
Gerrit-HasComments: Yes
Hannah Williams has posted comments on this change. ( https://review.coreboot.org/18892 )
Change subject: soc/intel/common/block:[WIP] Create header for GPIO controller config
......................................................................
Patch Set 8:
> Why make 2 commits? Why isn't it a single patch?
Will combine this with the .c file CL
--
To view, visit https://review.coreboot.org/18892
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I09cc3df4749288d3772600915363549d731cebab
Gerrit-PatchSet: 8
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Hannah Williams <hannah.williams(a)intel.com>
Gerrit-Reviewer: Aamir Bohra <aamir.bohra(a)intel.com>
Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org>
Gerrit-Reviewer: Barnali Sarkar <barnali.sarkar(a)intel.com>
Gerrit-Reviewer: Hannah Williams <hannah.williams(a)intel.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins)
Gerrit-Reviewer: dhaval v sharma <dhaval.v.sharma(a)intel.com>
Gerrit-HasComments: No
Hannah Williams has posted comments on this change. ( https://review.coreboot.org/18892 )
Change subject: soc/intel/common/block:[WIP] Create header for GPIO controller config
......................................................................
Patch Set 8:
(6 comments)
https://review.coreboot.org/#/c/18892/8/src/soc/intel/common/block/include/…
File src/soc/intel/common/block/include/intelblocks/gpio.h:
Line 21: #include <types.h>
> In looking through existing released SoCs and forthcoming ones, what is dif
What I found was that newer ones were only trying to use the reserved bits from before. Hence backwards compatibility is not an issue. We can have PAD_CONFIG0_MASK and PAD_CONFIG1_MASK in soc code to leave out the reserved bits which would be different for different SOCs. However I do not know about forthcoming ones. I only compared EDS of SKL, APL and GLK
Line 50: GPIO_D = 1, // GPIO driver
> Not everything in this file is tab indented.
will fix
Line 86: #define M(mode) (mode)
> What is this for? Needing a define from soc/gpio.h?
the number of bits used for mode is different in different SOCs
Line 250: #define GLK_GPIO_PAD1_CONF(ios_state, term_H_L, ios_term) \
> So this is gemini lake only?
I am missing INTSEL - on adding that it should be common and not just GLK
Line 266: const char *pad_name;
> This is a huge structure to maintain per pad config. 24 bytes per pad?
I can put pad_name in only for debug coreboot
Line 281: typedef void(*config_write)(int pad, int reg_offset, uint32_t value);
> Why the need for typedefs?
I was going to remove the direct access to iosf_read\write and let the SOC layer decide the read\write access function. Not that it is anything other than iosf read\write today but what if a different access type is needed in the future
--
To view, visit https://review.coreboot.org/18892
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I09cc3df4749288d3772600915363549d731cebab
Gerrit-PatchSet: 8
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Hannah Williams <hannah.williams(a)intel.com>
Gerrit-Reviewer: Aamir Bohra <aamir.bohra(a)intel.com>
Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org>
Gerrit-Reviewer: Barnali Sarkar <barnali.sarkar(a)intel.com>
Gerrit-Reviewer: Hannah Williams <hannah.williams(a)intel.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins)
Gerrit-Reviewer: dhaval v sharma <dhaval.v.sharma(a)intel.com>
Gerrit-HasComments: Yes
Martin Roth has submitted this change and it was merged. ( https://review.coreboot.org/18970 )
Change subject: util/lint: Show an error if a symbol is created in two choice blocks
......................................................................
util/lint: Show an error if a symbol is created in two choice blocks
Kconfig shows a warning about this, but we want to catch it earlier
and halt the build.
Change-Id: I0acce1d40a6ca2b212c638bdb1ec65de5bd4d726
Signed-off-by: Martin Roth <martinroth(a)google.com>
Reviewed-on: https://review.coreboot.org/18970
Tested-by: build bot (Jenkins)
Reviewed-by: Subrata Banik <subrata.banik(a)intel.com>
Reviewed-by: Patrick Georgi <pgeorgi(a)google.com>
Reviewed-by: Paul Menzel <paulepanter(a)users.sourceforge.net>
---
M util/lint/kconfig_lint
M util/lint/kconfig_lint_README
2 files changed, 6 insertions(+), 1 deletion(-)
Approvals:
Subrata Banik: Looks good to me, approved
Paul Menzel: Looks good to me, but someone else must approve
build bot (Jenkins): Verified
Patrick Georgi: Looks good to me, approved
diff --git a/util/lint/kconfig_lint b/util/lint/kconfig_lint
index bbf3e38..c9ccfb9 100755
--- a/util/lint/kconfig_lint
+++ b/util/lint/kconfig_lint
@@ -788,6 +788,10 @@
show_error( "$symbol entry at $filename:$line_no has already been created outside a choice block "
. "at $symbols{$symbol}{0}{file}:$symbols{$symbol}{0}{line_no}." );
}
+ elsif ( $inside_choice && $symbols{$symbol}{choice} ) {
+ show_error( "$symbol entry at $filename:$line_no has already been created inside another choice block "
+ . "at $symbols{$symbol}{0}{file}:$symbols{$symbol}{0}{line_no}." );
+ }
}
# add the location of this instance
diff --git a/util/lint/kconfig_lint_README b/util/lint/kconfig_lint_README
index c36320e..5bd2bdd 100644
--- a/util/lint/kconfig_lint_README
+++ b/util/lint/kconfig_lint_README
@@ -68,7 +68,8 @@
- Choice block defined with no symbols.
- The 'tristate' type is not used in coreboot.
- A 'select' keyword used outside of a config block.
-- Symbols created both inside and outside of a choice block.
+- Symbols created both inside and outside of a choice block or in two
+ different choice blocks.
- A 'range' keyword has higher minimum than maximum value.
- A config block with a prompt at the top level (the top level is currently
just for menus).
--
To view, visit https://review.coreboot.org/18970
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I0acce1d40a6ca2b212c638bdb1ec65de5bd4d726
Gerrit-PatchSet: 2
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins)