drivers/mipi: Make orientation a property of the mainboard, not panel
It doesn't make sense to store the orientation field directly in the panel information structure, which is supposed to be reuseable between different boards. The thing that determines orientation is how that panel is built into the board in question, which only the board itself can know. The same portrait panel could be rotated left to be used as landscape in one board and rotated right to be used as landscape in another. This patch moves the orientation field out of the panel structure back into the mainboards to reflect this. Signed-off-by: Julius Werner <jwerner@chromium.org> Change-Id: If2b716aa4dae036515730c12961fdd8a9ac34753 Reviewed-on: https://review.coreboot.org/c/coreboot/+/57324 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
14bb6f5dab
commit
1f84b2c025
20 changed files with 23 additions and 34 deletions
|
|
@ -27,7 +27,6 @@ struct panel_init_command {
|
|||
*/
|
||||
struct panel_serializable_data {
|
||||
struct edid edid; /* edid info of this panel */
|
||||
enum lb_fb_orientation orientation; /* Panel orientation */
|
||||
u8 init[]; /* A packed array of panel_init_command */
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue