diff options
Diffstat (limited to 'meta-openbmc-machines/meta-openpower/common')
2 files changed, 24 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/aspeed-lpc-ctrl.bb b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/aspeed-lpc-ctrl.bb new file mode 100644 index 000000000..f37f2bec6 --- /dev/null +++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/aspeed-lpc-ctrl.bb @@ -0,0 +1,15 @@ +SUMMARY = "ASPEED LPC Host Interface Control tool" +DESCRIPTION = "Configures the BMC to expose memory regions to the host" +PR = "r1" + +inherit obmc-phosphor-license +inherit obmc-phosphor-systemd + +inherit autotools + +S = "${WORKDIR}/git" + +SYSTEMD_SERVICE_${PN} += "pnorboot.service" + +SRC_URI += "git://github.com/shenki/aspeed-lpc-control" +SRCREV = "ab2012e749daf567049bf157c3bf037adc62c0e8" diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/aspeed-lpc-ctrl/pnorboot.service b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/aspeed-lpc-ctrl/pnorboot.service new file mode 100644 index 000000000..fffe13c48 --- /dev/null +++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/host/aspeed-lpc-ctrl/pnorboot.service @@ -0,0 +1,9 @@ +[Unit] +Description=ASPEED LPC boot from PNOR + +[Service] +Type=oneshot +ExecStart=/usr/sbin/pnorboot --size 32 + +[Install] +WantedBy=obmc-standby.target |