Fabio Estevam
e7b5250612
mx6cuboxi: Fix board revision detection
...
Currently, an i.MX6 Cuboxi board is incorrectly detected
as the HummingBoard model:
U-Boot 2024.04-rc5 (Mar 26 2024 - 15:59:22 +0100)
CPU: Freescale i.MX6Q rev1.3 996 MHz (running at 792 MHz)
CPU: Extended Commercial temperature grade (-20C to 105C) at 26C
Reset cause: POR
Model: SolidRun HummingBoard2 Dual/Quad (1.5som+emmc)
gpio@20a4000: set_dir_flags: error: gpio GPIO3_8 not reserved
gpio@20a4000: get_value: error: gpio GPIO3_8 not reserved
gpio@20a8000: set_dir_flags: error: gpio GPIO4_4 not reserved
gpio@20a8000: get_value: error: gpio GPIO4_4 not reserved
gpio@20b0000: set_dir_flags: error: gpio GPIO6_9 not reserved
gpio@20b0000: get_value: error: gpio GPIO6_9 not reserved
Board: MX6 HummingBoard
DRAM: 2 GiB
...
This error happens because request_detect_gpios() uses the GPIO DM
API, but board_type() still uses the legacy non-DM GPIO API.
Fix it by using the GPIO DM API in board_type() to read the
board revision pins in SPL.
Reported-by: Christian Gmeiner <cgmeiner@igalia.com>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Tested-by: Christian Gmeiner <cgmeiner@igalia.com>
2024-03-30 09:49:12 -03:00
..
2023-12-21 08:54:37 -05:00
2023-10-17 23:55:10 +02:00
2023-10-09 15:24:31 -04:00
2024-03-25 09:16:19 +01:00
2024-01-19 10:57:36 +08:00
2024-01-31 16:51:03 +08:00
2023-10-09 15:24:31 -04:00
2023-08-09 09:21:42 -04:00
2024-03-04 08:18:48 -03:00
2023-08-17 12:29:21 -04:00
2023-10-09 15:24:31 -04:00
2023-12-19 21:24:30 +02:00
2023-08-29 17:39:01 +03:00
2023-07-25 12:44:47 -04:00
2024-03-02 14:29:36 -05:00
2024-02-20 17:57:41 -05:00
2023-11-10 11:01:50 -05:00
2023-10-09 15:24:31 -04:00
2023-12-13 09:59:32 -03:00
2023-12-21 08:54:37 -05:00
2023-07-25 12:44:47 -04:00
2023-08-09 09:21:42 -04:00
2023-09-21 13:20:11 +02:00
2023-12-19 21:24:30 +02:00
2023-08-09 09:21:42 -04:00
2023-10-09 15:24:31 -04:00
2023-10-23 17:07:06 +03:00
2023-08-09 09:21:42 -04:00
2023-11-28 12:53:04 -05:00
2023-08-31 13:16:55 -04:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-10-16 11:10:32 +02:00
2024-01-22 08:39:08 -03:00
2023-11-10 11:01:50 -05:00
2023-10-09 15:24:31 -04:00
2023-12-16 07:45:07 -03:00
2023-10-09 15:24:31 -04:00
2023-10-09 15:24:31 -04:00
2023-11-10 11:01:50 -05:00
2023-10-09 15:24:31 -04:00
2024-01-17 09:03:43 +01:00
2023-10-09 15:24:31 -04:00
2023-07-25 12:44:47 -04:00
2024-03-04 08:18:13 -03:00
2023-11-16 18:59:58 -05:00
2023-10-23 18:21:55 +08:00
2023-12-14 15:34:12 -03:00
2023-08-31 13:16:55 -04:00
2024-02-19 08:19:39 -03:00
2023-10-09 15:24:31 -04:00
2023-10-09 15:24:31 -04:00
2023-12-21 08:54:37 -05:00
2023-10-09 15:24:31 -04:00
2023-11-07 18:36:06 -05:00
2024-02-13 15:38:11 -05:00
2024-03-02 14:29:36 -05:00
2024-01-05 18:05:42 +02:00
2023-10-09 15:24:31 -04:00
2023-08-15 18:21:17 +02:00
2023-10-09 15:24:31 -04:00
2023-11-06 10:20:21 -05:00
2023-10-09 15:24:31 -04:00
2024-02-04 18:45:58 +08:00
2023-08-09 09:21:42 -04:00
2023-12-21 11:59:49 -05:00
2024-03-05 08:27:59 +01:00
2023-08-09 09:21:42 -04:00
2023-07-25 12:44:47 -04:00
2023-07-25 12:44:47 -04:00
2023-11-10 11:01:50 -05:00
2023-12-19 21:24:30 +02:00
2024-01-15 10:55:42 -03:00
2023-11-10 11:01:50 -05:00
2024-01-10 09:38:55 +01:00
2023-12-19 10:09:06 -05:00
2023-08-15 18:21:17 +02:00
2024-01-29 22:35:02 -05:00
2023-08-09 09:21:42 -04:00
2023-10-09 15:24:31 -04:00
2024-02-19 08:19:39 -03:00
2023-09-24 09:54:57 -04:00
2023-10-09 15:24:31 -04:00
2023-11-22 19:11:27 -05:00
2023-09-24 09:54:57 -04:00
2024-03-17 17:59:11 -03:00
2024-01-16 17:05:29 -05:00
2023-12-13 09:57:02 -05:00
2023-12-13 09:32:06 -03:00
2023-12-13 10:00:43 -03:00
2024-01-16 12:26:53 +00:00
2023-10-09 15:24:31 -04:00
2024-01-30 17:39:46 +01:00
2024-03-02 14:30:25 -05:00
2023-10-09 15:24:31 -04:00
2024-01-19 10:57:36 +08:00
2023-08-09 09:21:42 -04:00
2023-10-09 15:24:31 -04:00
2024-01-24 11:23:20 +09:00
2023-12-21 08:54:37 -05:00
2023-08-03 15:30:53 -04:00
2023-07-25 12:44:47 -04:00
2023-10-09 15:24:31 -04:00
2024-02-24 16:21:34 -03:00
2024-02-05 13:32:48 -05:00
2024-01-31 16:52:24 +08:00
2024-03-02 14:29:36 -05:00
2024-01-29 22:35:02 -05:00
2023-10-27 21:02:08 -04:00
2023-08-09 09:21:42 -04:00
2024-03-30 09:49:12 -03:00
2024-01-31 16:52:45 +08:00
2024-01-19 14:38:59 +01:00
2024-03-12 14:36:13 +08:00
2023-10-16 08:46:01 +02:00
2024-03-03 23:43:43 +00:00
2023-07-25 12:44:47 -04:00
2024-01-29 22:35:02 -05:00
2023-11-10 11:01:50 -05:00
2023-12-13 15:55:13 -03:00
2023-10-09 15:24:31 -04:00
2024-01-19 10:57:36 +08:00
2024-02-20 17:57:41 -05:00
2024-03-17 17:59:50 -03:00
2023-12-21 08:54:37 -05:00
2023-10-10 10:13:32 +08:00
2024-01-19 10:57:36 +08:00
2023-11-28 12:53:04 -05:00
2023-07-25 12:44:47 -04:00
2024-03-04 08:18:13 -03:00
2023-10-09 15:24:31 -04:00
2023-11-10 11:01:50 -05:00
2023-12-21 08:54:37 -05:00
2023-10-16 10:24:58 -04:00
2023-10-11 10:46:23 -04:00
2024-02-12 09:28:32 +01:00
2023-10-16 11:10:42 +02:00