mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
beagle: only call DSS code when #defined CONFIG_VIDEO_OMAP3
Signed-off-by: Peter Meerwald <p.meerwald@bct-electronic.com>
This commit is contained in:
parent
99b603e714
commit
2c30c18487
1 changed files with 4 additions and 0 deletions
|
@ -228,6 +228,7 @@ static unsigned int get_expansion_id(void)
|
|||
return expansion_config.device_vendor;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_VIDEO_OMAP3
|
||||
/*
|
||||
* Configure DSS to display background color on DVID
|
||||
* Configure VENC to display color bar on S-Video
|
||||
|
@ -282,6 +283,7 @@ static void beagle_dvi_pup(void)
|
|||
break;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Routine: misc_init_r
|
||||
|
@ -458,9 +460,11 @@ int misc_init_r(void)
|
|||
|
||||
dieid_num_r();
|
||||
|
||||
#ifdef CONFIG_VIDEO_OMAP3
|
||||
beagle_dvi_pup();
|
||||
beagle_display_init();
|
||||
omap3_dss_enable();
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue