Files
u-boot-bpi-r3/include
Stephen Warren 6fe7845a98 ARM: rpi_b: detect board revision
Detect the board revision early during boot, and print the decoded
model name.

Eventually, this information can be used for tasks such as:
- Allowing/preventing USB device mode; some models have a USB device on-
  board so only host mode makes sense. Others connect the SoC directly
  to the USB connector, so device-mode might make sense.
- The on-board USB hub/Ethernet requires different GPIOs to enable it,
  although luckily the default appears to be fine so far.
- The compute module contains an on-board eMMC device, so we could store
  the environment there. Other models use an SD card and so don't support
  saving the environment (unless we store it in a file on the FAT boot
  partition...)

Set $fdtfile based on this information. At present, the mainline Linux
kernel doesn't contain a separate DTB for most models, but I hope that
will change soon.

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
2014-12-08 09:35:42 -05:00
..
2014-12-08 09:35:42 -05:00
2014-07-30 08:48:03 -04:00
2014-07-18 19:42:16 +01:00
2014-07-18 19:42:10 +01:00
2014-11-13 14:49:01 +01:00
2014-02-04 16:32:20 +01:00
2014-11-25 06:34:14 -07:00
2014-10-27 14:35:55 +01:00
2014-02-21 08:42:47 -05:00
2014-11-21 08:13:17 +01:00
2014-05-27 10:21:32 -04:00
2014-06-21 10:06:58 -06:00
2014-10-06 17:34:40 +02:00
2014-10-25 15:27:36 -04:00
2014-12-01 15:24:26 -05:00
2014-11-19 08:48:41 +01:00
2014-11-19 08:48:42 +01:00
2014-06-19 11:18:55 -04:00
2014-02-20 06:48:23 +01:00
2013-09-24 09:10:33 -04:00
2014-10-25 15:27:37 -04:00
2014-05-28 10:58:19 +09:00
2014-06-20 11:54:29 -06:00
2014-10-22 16:56:41 -06:00
2013-09-20 10:30:54 -04:00
2014-10-25 15:27:37 -04:00
2014-05-30 14:03:24 -04:00
2013-11-09 17:21:01 +01:00
2014-08-01 18:44:56 +03:00
2014-10-27 14:35:55 +01:00
2014-11-19 18:17:12 -08:00
2014-11-24 12:00:00 +01:00
2014-10-22 10:36:50 -06:00
2014-10-27 14:35:55 +01:00
2014-06-11 16:27:06 -04:00
2013-12-04 08:11:28 -05:00
2014-11-25 06:34:15 -07:00