Development Guidelines: Difference between revisions

From flashrom
Jump to navigation Jump to search
mNo edit summary
(redirect to maintained documentation)
Tag: Replaced
 
(64 intermediate revisions by 6 users not shown)
Line 1: Line 1:
== Patch submission ==
{{#externalredirect: https://www.flashrom.org/dev_guide/development_guide.html }}
 
The following guidelines are for [http://www.coreboot.org/ coreboot], but most of them apply to flashrom as well: [http://www.coreboot.org/Development_Guidelines coreboot development guidelines]. The really important part is about the [http://www.coreboot.org/Development_Guidelines#Sign-off_Procedure Signed-off-by procedure].
 
We try to '''reuse as much code as possible''' and create new files only if absolutely needed, so if you find a function somewhere in the tree which already does what you want (even if it is for a totally different chip), please use it. Most chips work fine with probe_jedec() even if the command sequence seems to differ at first glance. See also [[Random notes#Command_set_secrets|Command set secrets]].
 
The '''patch reviews''' may sound harsh, but please don't get discouraged. We try to merge simple patches after one or two iterations and complicated ones after a maximum of three iterations.
 
If you introduce new features (not flash chips, but stuff like partial programming, support for new external programmers, voltage handling, etc) please '''discuss your plans''' on the [[Mailinglist|mailing list]] first. That way, we can avoid duplicated work and know about how flashrom internals need to be adjusted and you avoid frustration if there is some disagreement about the design.

Latest revision as of 15:02, 25 February 2024

This page redirects to an external site: https://www.flashrom.org/dev_guide/development_guide.html