diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/acpi/acpi_device.h | 9 | ||||
-rw-r--r-- | include/configs/chromebook_samus.h | 3 | ||||
-rw-r--r-- | include/spl.h | 10 |
3 files changed, 18 insertions, 4 deletions
diff --git a/include/acpi/acpi_device.h b/include/acpi/acpi_device.h index ed4acd912a..2c8846250b 100644 --- a/include/acpi/acpi_device.h +++ b/include/acpi/acpi_device.h @@ -171,10 +171,11 @@ enum acpi_gpio_polarity { * @io_restrict: I/O restriction setting * @polarity: GPIO polarity * - * Note that GpioIo doesn't have any means of Active Low / High setting, so a - * _DSD must be provided to mitigate this. + * Note that GpioIo() doesn't have any means of Active Low / High setting, so a + * _DSD must be provided to mitigate this. This parameter does not make sense + * for GpioInt() since it has its own means to define it. * - * GpioIo doesn't properly communicate the initial state of the output pin, + * GpioIo() doesn't properly communicate the initial state of the output pin, * thus Linux assumes the simple rule: * * Pull Bias Polarity Requested... @@ -184,7 +185,7 @@ enum acpi_gpio_polarity { * assuming non-active (Polarity = !Pull Bias) * * Down Low as low, assuming active - * Down High as high, assuming non-active + * Down High as low, assuming non-active * Up Low as high, assuming non-active * Up High as high, assuming active * diff --git a/include/configs/chromebook_samus.h b/include/configs/chromebook_samus.h index dfeede7e91..2fe3e72199 100644 --- a/include/configs/chromebook_samus.h +++ b/include/configs/chromebook_samus.h @@ -15,6 +15,9 @@ #include <configs/x86-common.h> #include <configs/x86-chromebook.h> +/* We can rely on running natively, and this saves code size */ +#undef CONFIG_BIOSEMU + #undef CONFIG_STD_DEVICES_SETTINGS #define CONFIG_STD_DEVICES_SETTINGS "stdin=usbkbd,i8042-kbd,serial\0" \ "stdout=vidconsole,serial\0" \ diff --git a/include/spl.h b/include/spl.h index faffeb519a..e172500b5f 100644 --- a/include/spl.h +++ b/include/spl.h @@ -255,6 +255,16 @@ ulong spl_get_image_pos(void); ulong spl_get_image_size(void); /** + * spl_get_image_text_base() - get the text base of the next phase + * + * This returns the address that the next stage is linked to run at, i.e. + * CONFIG_SPL_TEXT_BASE or CONFIG_SYS_TEXT_BASE + * + * @return text-base address + */ +ulong spl_get_image_text_base(void); + +/** * spl_load_simple_fit_skip_processing() - Hook to allow skipping the FIT * image processing during spl_load_simple_fit(). * |