diff options
author | Tom Rini <trini@ti.com> | 2015-02-10 10:40:43 -0500 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2015-02-10 10:40:43 -0500 |
commit | 307367eaffc8638e10ba1784fc66bfe623ae79e2 (patch) | |
tree | 087641ed4c29320f8759cda28e377e36ff82cb78 /board/compulab/cm_t35/cm_t35.c | |
parent | a4fb5df214c7e8d5bc949c1068d92252f105427a (diff) | |
parent | aee0013e53b339a573e2a8d66062fe87765aa3bd (diff) |
Merge branch 'master' of git://www.denx.de/git/u-boot-imx
Diffstat (limited to 'board/compulab/cm_t35/cm_t35.c')
-rw-r--r-- | board/compulab/cm_t35/cm_t35.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/board/compulab/cm_t35/cm_t35.c b/board/compulab/cm_t35/cm_t35.c index 43463d5b47..c4ea8ea875 100644 --- a/board/compulab/cm_t35/cm_t35.c +++ b/board/compulab/cm_t35/cm_t35.c @@ -19,6 +19,7 @@ #include <i2c.h> #include <usb.h> #include <mmc.h> +#include <splash.h> #include <twl4030.h> #include <linux/compiler.h> @@ -59,11 +60,18 @@ void get_board_mem_timings(struct board_sdrc_timings *timings) } #endif -#define CM_T35_SPLASH_NAND_OFFSET 0x100000 +struct splash_location splash_locations[] = { + { + .name = "nand", + .storage = SPLASH_STORAGE_NAND, + .offset = 0x100000, + }, +}; int splash_screen_prepare(void) { - return cl_splash_screen_prepare(CM_T35_SPLASH_NAND_OFFSET); + return splash_source_load(splash_locations, + ARRAY_SIZE(splash_locations)); } /* @@ -429,7 +437,7 @@ static int handle_mac_address(void) if (rc) return 0; - rc = cl_eeprom_read_mac_addr(enetaddr); + rc = cl_eeprom_read_mac_addr(enetaddr, CONFIG_SYS_I2C_EEPROM_BUS); if (rc) return rc; |