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-07-13 15:53:57 +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
2022-12-05 16:06:07 -05: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
2022-10-30 20:07:17 +01:00
2020-04-27 13:57:17 +02:00
2022-12-05 16:06:07 -05:00
2023-11-10 11:01:50 -05:00
2022-11-21 09:23:00 -05:00
2023-10-09 15:24:31 -04:00
2023-12-13 09:59:32 -03:00
2021-02-02 15:33:42 -05:00
2022-08-23 12:40:34 +02:00
2023-12-21 08:54:37 -05:00
2022-12-05 16:06:08 -05:00
2022-12-23 10:08:35 -05:00
2022-12-05 16:06:07 -05:00
2022-12-05 16:06:08 -05:00
2023-07-25 12:44:47 -04:00
2022-04-18 11:25:13 +08:00
2023-08-09 09:21:42 -04:00
2022-02-10 07:12:16 +01: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
2022-10-31 11:01:31 -04:00
2023-12-16 07:45:07 -03:00
2022-12-05 16:06:07 -05: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
2022-12-23 10:14:51 -05:00
2021-02-02 15:33:42 -05:00
2021-09-04 12:26:01 -04:00
2024-01-17 09:03:43 +01:00
2023-10-09 15:24:31 -04:00
2022-12-23 10:08:35 -05: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
2022-12-05 16:06:07 -05: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
2022-10-31 11:01:31 -04: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
2022-12-05 16:06:07 -05:00
2022-02-10 07:12:16 +01:00
2023-10-09 15:24:31 -04:00
2023-06-12 13:24:31 +02: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
2022-10-21 13:47:56 -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
2022-08-23 12:35:37 +02: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
2021-02-02 15:33:42 -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
2022-11-10 10:08:55 -05:00
2023-10-09 15:24:31 -04:00
2022-02-08 23:07:58 -05:00
2023-11-22 19:11:27 -05:00
2023-09-24 09:54:57 -04:00
2021-04-08 23:59:50 +02:00
2021-09-30 08:08:56 -04:00
2023-07-12 13:21:40 +08:00
2022-02-08 23:07:58 -05: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
2022-10-31 11:01:31 -04:00
2024-01-16 12:26:53 +00:00
2023-10-09 15:24:31 -04:00
2021-02-02 15:33:42 -05: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
2022-02-10 07:12:16 +01: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-05-03 09:05:24 -04:00
2023-10-27 21:02:08 -04:00
2023-05-16 16:12:21 -04:00
2023-08-09 09:21:42 -04:00
2024-03-30 09:49:12 -03:00
2022-02-08 23:07:58 -05:00
2024-01-31 16:52:45 +08:00
2022-11-10 10:08:55 -05:00
2024-01-19 14:38:59 +01:00
2024-03-12 14:36:13 +08:00
2022-02-28 10:33:45 -05: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-03-15 01:38:19 +01:00
2022-12-05 16:06:07 -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
2023-07-12 13:21:41 +08:00
2022-08-23 12:35:37 +02:00
2023-07-13 10:26:27 +02:00
2024-01-19 10:57:36 +08:00
2024-02-20 17:57:41 -05:00
2022-12-22 10:31:47 -05:00
2020-06-24 13:11:08 +02:00
2024-03-17 17:59:50 -03:00
2022-10-31 11:01:31 -04: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
2022-08-20 21:18:15 -04: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