summaryrefslogtreecommitdiff
path: root/board/compulab/cm_t35/cm_t35.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/compulab/cm_t35/cm_t35.c')
-rw-r--r--board/compulab/cm_t35/cm_t35.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/board/compulab/cm_t35/cm_t35.c b/board/compulab/cm_t35/cm_t35.c
index 9a3b2ee72f..8143c05353 100644
--- a/board/compulab/cm_t35/cm_t35.c
+++ b/board/compulab/cm_t35/cm_t35.c
@@ -59,11 +59,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 cl_splash_screen_prepare(splash_locations,
+ ARRAY_SIZE(splash_locations));
}
/*