diff options
| author | Tom Rini <trini@konsulko.com> | 2021-02-01 08:15:46 -0500 |
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2021-02-01 08:15:46 -0500 |
| commit | 7ee6205a5f286937cbd47f9ffbc27fd510be9223 (patch) | |
| tree | 608f320cbdf0b9fbbf8de40cb0b05b7e4f5bf02a /include | |
| parent | d039975f077f39a3129e1aa1f7236d67e4b06e7b (diff) | |
| parent | 77f898d04095cdccb69c476ba0aa19f257fca64d (diff) | |
| download | u-boot-7ee6205a5f286937cbd47f9ffbc27fd510be9223.tar.gz u-boot-7ee6205a5f286937cbd47f9ffbc27fd510be9223.tar.xz u-boot-7ee6205a5f286937cbd47f9ffbc27fd510be9223.zip | |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-x86
- Fix CMD_ACPI dependency in Kconfig
- Correct overflow in __udelay() in TSC timer driver
- Add a devicetree node for eMMC for Coral
- Minor improvements on image loading
- Reduce size of Samus image
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(). * |
