linux/drivers/platform/chrome
Thomas Weißschuh 883f968dcb platform/chrome: Prevent build for big-endian systems
Both ARM and ARM64 which are a dependency for CHROME_PLATFORMS have
seldomly used big-endian variants.

The ChromeOS EC framework and drivers are written under the assumption
that they will be running on a little-endian systems. Code which would
be broken on big-endian can be found trivially.

Some examples:
cros_ec.c: suspend_params.sleep_timeout_ms = ec_dev->suspend_timeout_ms
cros_ec_debugfs.c: resp->time_since_ec_boot_ms
cros_ec_wdt.c: arg.req.reboot_timeout_sec = wdd->timeout

Prevent the build for big-endian systems.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20260531-cros-big-endian-v1-2-0cc90f39c636@weissschuh.net
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
2026-06-02 03:14:10 +00:00
..
wilco_ec platform/chrome: wilco_ec: event: Check ACPI_COMPANION() 2026-05-13 02:19:46 +00:00
chromeos_acpi.c
chromeos_laptop.c Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
chromeos_of_hw_prober.c
chromeos_privacy_screen.c platform/chrome: chromeos_privacy_screen: Check ACPI_COMPANION() 2026-05-13 02:19:46 +00:00
chromeos_pstore.c
chromeos_tbmc.c platform/chrome: chromeos_tbmc: Check ACPI_COMPANION() 2026-05-13 02:19:46 +00:00
cros_ec_chardev.c platform/chrome: cros_ec_chardev: Introduce rwsem for protecting ec_dev 2026-05-28 04:27:03 +00:00
cros_ec_debugfs.c
cros_ec_i2c.c platform/chrome: Use named initializers for struct i2c_device_id 2026-05-20 04:18:38 +00:00
cros_ec_ishtp.c platform/chrome: cros_ec_ishtp: Fix UAF after unbinding driver 2025-11-10 06:29:54 +00:00
cros_ec_lightbar.c platform/chrome: lightbar: Optimize command size 2026-02-23 15:34:17 +08:00
cros_ec_lpc_mec.c
cros_ec_lpc_mec.h
cros_ec_lpc.c platform/chrome: Centralize common cros_ec_device initialization 2025-09-14 11:34:41 +08:00
cros_ec_proto_test_util.c
cros_ec_proto_test_util.h
cros_ec_proto_test.c
cros_ec_proto.c platform/chrome: cros_ec: Add a flag to track registration state 2025-09-14 11:34:41 +08:00
cros_ec_rpmsg.c platform/chrome: Centralize common cros_ec_device initialization 2025-09-14 11:34:41 +08:00
cros_ec_sensorhub_ring.c platform/chrome: sensorhub: Support devices without FIFO_INT_ENABLE 2025-11-14 02:57:32 +00:00
cros_ec_sensorhub_trace.h
cros_ec_sensorhub.c platform/chrome: Resolve kb_wake_angle visibility race 2026-05-11 03:09:30 +00:00
cros_ec_spi.c platform/chrome: Centralize common cros_ec_device initialization 2025-09-14 11:34:41 +08:00
cros_ec_sysfs.c platform/chrome: Resolve kb_wake_angle visibility race 2026-05-11 03:09:30 +00:00
cros_ec_trace.c
cros_ec_trace.h
cros_ec_typec.c platform/chrome: cros_ec_typec: Set no_mode_control flag 2026-01-23 17:18:01 +01:00
cros_ec_typec.h
cros_ec_uart.c platform/chrome: Centralize common cros_ec_device initialization 2025-09-14 11:34:41 +08:00
cros_ec_vbc.c
cros_ec.c platform/chrome: cros_ec: Add a flag to track registration state 2025-09-14 11:34:41 +08:00
cros_ec.h platform/chrome: Centralize cros_ec_device allocation 2025-09-14 11:34:41 +08:00
cros_hps_i2c.c platform/chrome: Use named initializers for struct i2c_device_id 2026-05-20 04:18:38 +00:00
cros_kbd_led_backlight.c platform/chrome: cros_kbd_led_backlight: Drop CONFIG_MFD_CROS_EC_DEV ifdeffery 2026-05-11 03:09:42 +00:00
cros_typec_altmode.c platform/chrome: cros_ec_typec: Init mutex in Thunderbolt registration 2026-05-06 02:14:33 +00:00
cros_typec_altmode.h
cros_typec_switch.c platform/chrome: cros_typec_switch: Use acpi_get_local_u64_address() 2026-01-21 04:38:44 +00:00
cros_typec_vdm.c
cros_typec_vdm.h
cros_usbpd_logger.c platform/chrome: cros_usbpd_logger: Simplify with devm 2026-03-20 02:57:04 +00:00
cros_usbpd_notify.c platform/chrome: cros_usbpd_notify: defer probe when parent EC driver isn't ready 2025-10-13 02:53:44 +00:00
Kconfig platform/chrome: Prevent build for big-endian systems 2026-06-02 03:14:10 +00:00
Makefile