[PATCH 0/2] platform/chrome: Prevent build for big-endian systems

Thomas Weißschuh posted 2 patches 1 week ago
drivers/platform/chrome/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH 0/2] platform/chrome: Prevent build for big-endian systems
Posted by Thomas Weißschuh 1 week ago
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.

Prevent the build for big-endian systems.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
Thomas Weißschuh (2):
      platform/chrome: Remove superfluous dependencies from CROS_EC
      platform/chrome: Prevent build for big-endian systems

 drivers/platform/chrome/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
base-commit: 4178de898c341e6c259851a2be1c7649ac4f40ad
change-id: 20260530-cros-big-endian-86f8df2db678

Best regards,
--  
Thomas Weißschuh <linux@weissschuh.net>

Re: [PATCH 0/2] platform/chrome: Prevent build for big-endian systems
Posted by Tzung-Bi Shih 6 days, 3 hours ago
On Sun, May 31, 2026 at 03:20:14PM +0200, Thomas Weißschuh wrote:
> 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.
> 
> [...]

Applied to

    https://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux.git for-next

[1/2] platform/chrome: Remove superfluous dependencies from CROS_EC
      commit: 6b81cbaf36f4a4735c1bf2bb609c8e53e2d5706a
[2/2] platform/chrome: Prevent build for big-endian systems
      commit: 883f968dcbb08a155101e3a943557530d4ac0463

Thanks!