coreboot/src/include
Julius Werner 0a0340e42e gpio: Change gpio_baseX_value() function return types to unsigned
This patch changes the return type of gpio_base2_value() and related
functions from int to uint32_t. This makes more sense now that
board_id() and related functions (which are the primary use case) also
return that type. It's unlikely that we'll ever read a strapping of 32
GPIOs in a row, but if we did, we'd probably want to treat it as
unsigned.

Change-Id: I8fb7e3a7c76cb886aed40d0ada1f545180e43117
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/27809
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
2018-08-03 18:10:02 +00:00
..
boot write_tables: return a pointer to the table 2018-07-20 03:26:46 +00:00
console arch/x86: Drop leftover ROMCC console support 2018-06-08 03:31:12 +00:00
cpu cpu/intel/smm/gen1: Use correct MSR for model_6fx and model_1067x 2018-07-30 19:03:27 +00:00
device soc/intel/common/block: Add WhiskeyLake (WHL) IDs 2018-08-01 06:49:54 +00:00
pc80 Port cmos.default handling to C environment bootblock 2017-07-26 19:30:01 +00:00
smp arch/x86: Clean up CONFIG_SMP and MAX_CPUS test 2017-08-19 15:30:51 +00:00
superio tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
sys src/include: Add guards on all header files 2017-08-01 23:04:15 +00:00
adainit.h Add option to use Ada code in ramstage 2016-11-06 17:28:13 +01:00
assert.h assert: Add new dead_code() macro to assert dead code paths 2017-07-16 23:56:34 +00:00
b64_decode.h lib: add base64 decoder 2015-04-22 08:50:54 +02:00
base3.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
bcd.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
boardid.h boardid: Add helpers to read sku_id strapping into coreboot tables 2017-12-07 01:19:32 +00:00
boot_device.h lib/boot_device: add RW boot device construct 2016-08-19 03:07:05 +02:00
bootblock_common.h Introduce bootblock self-decompression 2018-05-22 02:44:14 +00:00
bootmem.h bootmem: Clarify usage with bounce-buffer 2018-06-12 07:43:37 +00:00
bootmode.h vboot: Remove get_sw_write_protect_state callback 2017-07-18 23:24:01 +00:00
bootstate.h src: Get rid of unneeded whitespace 2018-06-14 09:32:34 +00:00
cbfs.h cbfs: Add cbfs_boot_load_file() 2018-04-17 10:46:13 +00:00
cbmem.h lib/cbmem: provide optional cbmem top initialization hook 2017-08-04 04:29:57 +00:00
compiler.h compiler.h: add __weak macro 2018-04-24 14:37:59 +00:00
delay.h src/include: Fix unsigned warnings 2017-03-09 17:16:09 +01:00
device_tree.h devicetree: Add method to delete property by name 2018-06-28 09:01:26 +00:00
dimm_info_util.h src/lib/dimm_info_util.c: Add methods to convert from SMBIOS to SPD 2018-04-11 14:41:59 +00:00
edid.h lib/edid: Split out fill_lb_framebuffer() 2017-05-30 18:32:44 +02:00
elog.h elog: Allow calling boot_count_read() without CONFIG_ELOG_BOOT_COUNT 2018-05-25 16:40:08 +00:00
endian.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
fallback.h pc80: Move set_boot_successful() 2016-12-13 19:15:22 +01:00
fit.h lib: Add FIT payload support 2018-06-19 18:10:05 +00:00
fit_payload.h lib: Add FIT payload support 2018-06-19 18:10:05 +00:00
fmap.h lib/fmap: provide RW region device support 2016-08-19 18:17:04 +02:00
gic.h src/include: Capitalize CPU, RAM and ROM 2016-07-31 18:30:16 +02:00
gpio.h gpio: Change gpio_baseX_value() function return types to unsigned 2018-08-03 18:10:02 +00:00
halt.h lib: add poweroff() declaration 2016-07-15 08:35:15 +02:00
imd.h cbmem: add coreboot table records for each cbmem entry 2015-11-03 00:19:46 +01:00
inttypes.h x86: provide more C standard environment 2013-03-20 04:20:25 +01:00
ip_checksum.h src/include: Wrap lines at 80 columns 2017-03-13 17:23:37 +01:00
kconfig.h Add config_enabled() from Linux 2012-05-08 00:36:09 +02:00
lib.h lib: remove ulzma() 2016-07-01 23:55:16 +02:00
list.h lib/devicetree: Integrate flattened devicetree support 2018-04-30 09:33:32 +00:00
main_decl.h arches: lib: add main_decl.h for main() declaration 2016-02-11 23:29:08 +01:00
memlayout.h Introduce bootblock self-decompression 2018-05-22 02:44:14 +00:00
memory_info.h include/memory_info.h: Change part number field from 19 bytes to 21 2018-04-24 17:12:40 +00:00
memrange.h lib/memrange: Introduce method to clone memrange 2018-04-11 15:11:04 +00:00
mrc_cache.h drivers/mrc_cache: Add missing include file to mrc_cache.h 2017-12-18 16:07:09 +00:00
nhlt.h lib/nhlt: add support for passing subsystem_id to endpoint's structure 2018-05-09 10:06:04 +00:00
option.h src/include: add IS_ENABLED() around Kconfig symbol references 2017-07-13 23:55:05 +00:00
program_loading.h lib/prog_loaders: Move argument selection into selfload 2018-06-19 14:28:01 +00:00
random.h arch/x86: add functions to generate random numbers 2017-02-20 04:46:10 +01:00
reg_script.h Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
region_file.h lib: add region file support 2016-12-08 16:10:28 +01:00
reset.h Consolidate reset API, add generic reset_prepare mechanism 2017-06-13 20:53:09 +02:00
rmodule.h src/include: Remove space after function name 2017-03-13 17:19:16 +01:00
romstage_handoff.h lib: put romstage_handoff implementation in own compilation unit 2016-12-01 08:16:47 +01:00
rtc.h src/include: Open brace on same line as enum or struct 2017-03-12 15:46:23 +01:00
rules.h Introduce bootblock self-decompression 2018-05-22 02:44:14 +00:00
sar.h intel/wifi: Add WGDS ACPI method for Geo Aware SAR 2018-07-13 10:42:04 +00:00
sdram_mode.h src/include: Remove spaces before tabs 2017-03-12 15:45:37 +01:00
smbios.h arch/x86/smbios: Add support for table 38 2018-07-19 13:50:28 +00:00
spd.h src/lib/dimm_info_util.c: Add methods to convert from SMBIOS to SPD 2018-04-11 14:41:59 +00:00
spd_bin.h lib/spd_bin: Use proper I2C addresses 2017-06-29 15:41:02 +00:00
spd_ddr2.h src/include: Add guards on all header files 2017-08-01 23:04:15 +00:00
spi-generic.h drivers/spi: reduce confusion in the API 2018-04-23 20:58:58 +00:00
spi_bitbang.h spi: Add helper functions for bit-banging 2018-04-03 00:34:52 +00:00
spi_flash.h drivers/spi: reduce confusion in the API 2018-04-23 20:58:58 +00:00
stage_cache.h lib/stage_cache: Add save/get raw storage 2018-02-07 16:22:40 +00:00
stddef.h src/include: add IS_ENABLED() around Kconfig symbol references 2017-07-13 23:55:05 +00:00
stdlib.h src/include: Add space after comma 2017-03-09 17:19:16 +01:00
string.h console: Expose vsnprintf 2018-04-09 08:18:16 +00:00
swab.h src/include: Remove unnecessary typecast 2017-03-13 17:20:15 +01:00
symbols.h Introduce bootblock self-decompression 2018-05-22 02:44:14 +00:00
thread.h src/include: add IS_ENABLED() around Kconfig symbol references 2017-07-13 23:55:05 +00:00
timer.h include/timer.h: add NSECS_PER_SEC macro 2017-11-19 01:50:13 +00:00
timestamp.h src: Fix all Siemens copyrights 2017-11-07 12:33:51 +00:00
trace.h src/include: add IS_ENABLED() around Kconfig symbol references 2017-07-13 23:55:05 +00:00
types.h Reinvent I2C ops 2017-08-18 15:33:45 +00:00
vbe.h Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
version.h build.h: remove variable for the builduser, -hostname and -domain 2015-03-09 17:53:16 +01:00
watchdog.h src/include: add IS_ENABLED() around Kconfig symbol references 2017-07-13 23:55:05 +00:00
wrdd.h Remove extra newlines from the end of all coreboot files. 2016-07-31 18:19:33 +02:00