diff options
author | Eric Nelson <eric.nelson@boundarydevices.com> | 2012-03-12 15:04:12 +0000 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2012-03-27 09:41:15 +0200 |
commit | 1c9ceff8ca896bd04cc2c85f762662dceecd7927 (patch) | |
tree | 11717bd0579eeb9a704f13bec1f9fd5a77bee39d | |
parent | 69d26d09de1cb93e0a09ca71d9f0d41a66f0756a (diff) | |
download | u-boot-imx-1c9ceff8ca896bd04cc2c85f762662dceecd7927.zip u-boot-imx-1c9ceff8ca896bd04cc2c85f762662dceecd7927.tar.gz u-boot-imx-1c9ceff8ca896bd04cc2c85f762662dceecd7927.tar.bz2 |
i.MX6: mx6q_sabrelite: add CONFIG_REVISION_TAG
This is needed to support Freescale-supplied userspaces.
At the moment, both the IPU and VPU libraries provided by Freescale
in the "imx-lib" package contain routines which scrape the system
revision from /proc/cpuinfo. In the VPU library, this information is
used to load the proper firmware, allowing a single binary to be used
across various i.MX processors.
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Acked-by: Marek Vasut <marex@denx.de>
Acked-by: Stefano Babic <sbabic@denx.de>
-rw-r--r-- | board/freescale/mx6qsabrelite/mx6qsabrelite.c | 5 | ||||
-rw-r--r-- | include/configs/mx6qsabrelite.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/board/freescale/mx6qsabrelite/mx6qsabrelite.c b/board/freescale/mx6qsabrelite/mx6qsabrelite.c index 7fe2dc9..1d09a72 100644 --- a/board/freescale/mx6qsabrelite/mx6qsabrelite.c +++ b/board/freescale/mx6qsabrelite/mx6qsabrelite.c @@ -215,6 +215,11 @@ int board_mmc_init(bd_t *bis) } #endif +u32 get_board_rev(void) +{ + return 0x63000 ; +} + #ifdef CONFIG_MXC_SPI iomux_v3_cfg_t ecspi1_pads[] = { /* SS1 */ diff --git a/include/configs/mx6qsabrelite.h b/include/configs/mx6qsabrelite.h index bb3a46b..a1a2267 100644 --- a/include/configs/mx6qsabrelite.h +++ b/include/configs/mx6qsabrelite.h @@ -33,6 +33,7 @@ #define CONFIG_CMDLINE_TAG #define CONFIG_SETUP_MEMORY_TAGS #define CONFIG_INITRD_TAG +#define CONFIG_REVISION_TAG /* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 2 * 1024 * 1024) |