ARM: i.MX6: boot: Move magic numbers into utility functions
Move magic numbers and algorithm for determining Serial ROM bootsource
and boot instance into utility functions. Add a comment on the logic
behing the latter while at it.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent d07ee78 commit 7dd4facd21b73c6b7935ae792e4b25b8187a6d6e
@Andrey Smirnov Andrey Smirnov authored on 16 Apr 2018
Sascha Hauer committed on 17 Apr 2018
Showing 1 changed file
View
arch/arm/mach-imx/boot.c