Skip to content

Conversation

@ukleinek
Copy link
Contributor

The oldest i.MX CPU that I know is still in active use is i.MX25 launched in 2009. That one already uses USB for recovery booting. I think UART booting is only usable for the older i.MX1.

So I guess removing this code doesn't hurt anyone.

Compiling the source results in several warnings à la:

commands_fsl_imx.c: In function ‘fsl_sniff’:
commands_fsl_imx.c:597:17: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  597 |                 read(ios->fd, &cmd, 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~

which are fixed by removing this code 😎.

The oldest i.MX CPU that I know is still in active use is i.MX25
launched in 2009. That one already uses USB for recovery booting. I
think UART booting is only usable for the older i.MX1.

So I guess removing this code doesn't hurt anyone.

Compiling the source results in several warnings à la:

	commands_fsl_imx.c: In function ‘fsl_sniff’:
	commands_fsl_imx.c:597:17: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
	  597 |                 read(ios->fd, &cmd, 1);
	      |                 ^~~~~~~~~~~~~~~~~~~~~~

which are fixed by removing this code 😎.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
@ukleinek ukleinek mentioned this pull request Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant