drivers/pc80/rtc: Separate {get|set}_option() prototypes

Long-term plan is to support loading runtime configuration
from SPI flash as an alternative, so move these prototypes
outside pc80/.

Change-Id: Iad7b03dc985550da903d56b3deb5bd736013f8f1
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38192
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Kyösti Mälkki
2020-01-05 08:05:45 +02:00
parent 2a0e3b25ea
commit cbf9571588
43 changed files with 72 additions and 50 deletions

View File

@@ -18,7 +18,7 @@
#include <device/device.h>
#include <device/pnp.h>
#include <pc80/keyboard.h>
#include <pc80/mc146818rtc.h>
#include <option.h>
#include <superio/ite/common/env_ctrl.h>
#include <superio/conf_mode.h>
#include <types.h>

View File

@@ -20,7 +20,7 @@
#include <device/device.h>
#include <device/pnp.h>
#include <pc80/keyboard.h>
#include <pc80/mc146818rtc.h>
#include <option.h>
#include <arch/acpi.h>
#include <superio/conf_mode.h>

View File

@@ -23,7 +23,7 @@
#include <superio/hwm5_conf.h>
#include <console/console.h>
#include <pc80/keyboard.h>
#include <pc80/mc146818rtc.h>
#include <option.h>
#include "w83627ehg.h"

View File

@@ -23,7 +23,7 @@
#include <superio/hwm5_conf.h>
#include <console/console.h>
#include <pc80/keyboard.h>
#include <pc80/mc146818rtc.h>
#include <option.h>
#include "w83627hf.h"

View File

@@ -20,7 +20,7 @@
#include <device/device.h>
#include <device/pnp.h>
#include <pc80/keyboard.h>
#include <pc80/mc146818rtc.h>
#include <option.h>
#include <arch/acpi.h>
#include <superio/conf_mode.h>