mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-10 12:39:22 -04: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
@ -228,6 +228,7 @@ static unsigned int get_expansion_id(void)
|
|||||||
return expansion_config.device_vendor;
|
return expansion_config.device_vendor;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef CONFIG_VIDEO_OMAP3
|
||||||
/*
|
/*
|
||||||
* Configure DSS to display background color on DVID
|
* Configure DSS to display background color on DVID
|
||||||
* Configure VENC to display color bar on S-Video
|
* Configure VENC to display color bar on S-Video
|
||||||
@ -282,6 +283,7 @@ static void beagle_dvi_pup(void)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Routine: misc_init_r
|
* Routine: misc_init_r
|
||||||
@ -458,9 +460,11 @@ int misc_init_r(void)
|
|||||||
|
|
||||||
dieid_num_r();
|
dieid_num_r();
|
||||||
|
|
||||||
|
#ifdef CONFIG_VIDEO_OMAP3
|
||||||
beagle_dvi_pup();
|
beagle_dvi_pup();
|
||||||
beagle_display_init();
|
beagle_display_init();
|
||||||
omap3_dss_enable();
|
omap3_dss_enable();
|
||||||
|
#endif
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user