Eran Matityahu
af104ae5b8
imx: spl: Fix NAND bootmode detection
...
commit 20f1471416 ("imx: spl: Update NAND bootmode detection bit")
broke the NAND bootmode detection by checking if
BOOT_CFG1[7:4] == 0x8 for NAND boot mode.
This commit essentially reverts it, while using the IMX6_BMODE_*
macros that were introduced since.
Tables 8-7 & 8-10 from IMX6DQRM say the NAND boot mode selection
is done when BOOT_CFG1[7] is 1, but BOOT_CFG1[6:4] is not
necessarily 0x0 in this case.
Actually, NAND boot mode is when 0x8 <= BOOT_CFG1[7:4] <= 0xf,
like it was in the code before.
Signed-off-by: Eran Matityahu <eran.m@variscite.com >
Cc: Stefano Babic <sbabic@denx.de >
Cc: Jagan Teki <jagan@openedev.com >
Cc: Tim Harvey <tharvey@gateworks.com >
2018-01-03 14:01:38 +01:00
..
2017-11-17 10:53:45 -05:00
2016-12-12 09:05:28 +01:00
2017-05-15 06:17:09 +02:00
2017-05-08 11:57:35 -04:00
2017-11-21 23:57:21 +01:00
2017-11-21 23:57:22 +01:00
2017-08-07 15:18:30 -05:00
2017-12-13 13:40:29 -08:00
2017-07-10 14:26:03 -04:00
2017-06-05 12:31:22 -04:00
2017-03-28 06:27:14 +02:00
2017-12-12 18:16:05 -05:00
2017-12-04 10:17:29 -05:00
2016-11-18 13:04:52 +05:30
2017-11-20 09:58:31 +01:00
2017-11-27 10:34:31 +01:00
2017-11-09 11:32:49 +01:00
2017-07-12 10:17:44 +02:00
2017-07-12 10:17:44 +02:00
2017-01-11 19:40:15 +09:00
2017-07-12 10:17:44 +02:00
2017-08-23 10:45:45 +02:00
2017-08-23 10:45:45 +02:00
2017-09-01 20:44:30 -04:00
2017-09-01 20:44:30 -04:00
2017-09-14 21:32:56 -04:00
2017-12-12 21:34:10 -05:00
2017-12-18 16:56:05 +01:00
2016-06-13 08:56:35 -04:00
2017-11-06 09:51:01 -05:00
2017-11-06 09:51:01 -05:00
2017-11-29 22:30:50 -05:00
2017-11-29 22:30:50 -05:00
2017-11-06 09:51:01 -05:00
2017-11-06 09:51:01 -05:00
2017-11-29 00:28:57 +09:00
2017-07-28 12:02:47 -06:00
2016-07-16 09:43:12 -04:00
2016-05-31 11:22:59 -07:00
2017-07-12 10:17:44 +02:00
2017-12-14 20:08:44 +01:00
2017-12-04 10:23:52 -05:00
2018-01-03 14:01:38 +01:00
2017-12-04 22:00:00 +09:00
2017-10-01 00:33:33 +02:00
2017-11-06 09:51:01 -05:00
2017-05-12 08:37:06 -04:00
2017-03-18 20:28:01 -04:00
2016-10-06 20:57:42 -04:00
2016-08-05 07:23:57 -04:00
2017-06-05 11:02:37 -04:00
2017-03-18 20:28:01 -04:00
2017-11-17 07:44:13 -05:00
2017-09-12 18:02:23 -04:00
2017-07-28 23:34:24 +02:00
2016-12-09 15:00:03 -05:00
2017-09-11 07:55:36 -07:00
2017-05-12 08:37:34 -04:00
2017-03-14 20:40:19 -04:00
2017-10-02 21:52:20 -04:00
2017-01-28 14:04:20 -05:00
2017-10-08 16:19:56 -04:00
2016-10-06 20:57:40 -04:00
2017-09-12 18:02:29 -04:00
2017-09-11 16:19:35 -04:00
2016-12-02 21:04:48 -07:00
2017-07-22 22:22:43 -04:00
2017-04-18 10:29:17 -04:00
2017-04-18 10:29:17 -04:00
2017-04-18 10:29:17 -04:00
2016-12-15 11:57:44 -08:00
2016-12-15 11:57:51 -08:00
2017-11-21 23:57:22 +01:00
2016-10-06 20:57:40 -04:00
2016-07-14 18:22:16 -04:00
2017-08-13 17:12:19 +02:00
2016-12-27 11:24:15 -05:00
2017-11-21 23:57:22 +01:00
2016-07-14 18:22:24 -04:00
2017-06-05 11:02:37 -04:00
2017-06-05 11:02:33 -04:00
2016-06-02 21:21:43 -04:00