Jonathan Zhang uploaded patch set #3 to this change.

View Change

[RFC] mb/ocp/deltalake: append Linuxboot command line option

If Linuxboot is used as payload, and if corresponding VPD variable
is set, use the value to append Linuxboot command line option as
defined at build time.

With this, user can customize linuxboot boot behavior without needing
a different image. For example, user can increase log level.

Note that this code should not be in mainboard, I hope to get
community feedback on where it should be.

TESTED=tested on DeltaLake, with this VPD setting:
vpd -f build/coreboot.rom -i RW_VPD -s linux_command_line="loglevel=7 cpuidle.off=1"

Signed-off-by: Jonathan Zhang <jonzhang@fb.com>
Signed-off-by: Bryant Ou <Bryant.Ou.Q@gmail.com>
Change-Id: I5f5cde3957c2716864f55d70f18f47b493164ed8
---
M src/mainboard/ocp/deltalake/ramstage.c
M src/mainboard/ocp/deltalake/vpd.h
2 files changed, 43 insertions(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/55/47055/3

To view, visit change 47055. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I5f5cde3957c2716864f55d70f18f47b493164ed8
Gerrit-Change-Number: 47055
Gerrit-PatchSet: 3
Gerrit-Owner: Jonathan Zhang <jonzhang@fb.com>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Bryant Ou <bryant.ou.q@gmail.com>
Gerrit-Reviewer: Johnny Lin <Johnny_Lin@wiwynn.com>
Gerrit-Reviewer: Marc Jones <marc@marcjonesconsulting.com>
Gerrit-Reviewer: Stefan Reinauer <stefan.reinauer@coreboot.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-Reviewer: insomniac <insomniac@slackware.it>
Gerrit-Reviewer: ron minnich <rminnich@gmail.com>
Gerrit-MessageType: newpatchset