summaryrefslogtreecommitdiff
path: root/src/mainboard/samsung/lumpy
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/samsung/lumpy')
-rw-r--r--src/mainboard/samsung/lumpy/mainboard.c34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/mainboard/samsung/lumpy/mainboard.c b/src/mainboard/samsung/lumpy/mainboard.c
index a3dc2c0c06..d111181f26 100644
--- a/src/mainboard/samsung/lumpy/mainboard.c
+++ b/src/mainboard/samsung/lumpy/mainboard.c
@@ -151,9 +151,9 @@ static int int15_handler(void)
static int int15_handler(void)
{
printk(BIOS_DEBUG, "%s: AX=%04x BX=%04x CX=%04x DX=%04x\n",
- __func__, M.x86.R_AX, M.x86.R_BX, M.x86.R_CX, M.x86.R_DX);
+ __func__, X86_AX, X86_BX, X86_CX, X86_DX);
- switch (M.x86.R_AX) {
+ switch (X86_AX) {
case 0x5f34:
/*
* Set Panel Fitting Hook:
@@ -162,8 +162,8 @@ static int int15_handler(void)
* bit 0 = Centering (do not set with bit1 or bit2)
* 0 = video bios default
*/
- M.x86.R_AX = 0x005f;
- M.x86.R_CL = 0x00;
+ X86_AX = 0x005f;
+ X86_CL = 0x00;
break;
case 0x5f35:
/*
@@ -177,8 +177,8 @@ static int int15_handler(void)
* bit 6 = EFP2 *
* bit 7 = LFP2
*/
- M.x86.R_AX = 0x005f;
- M.x86.R_CX = 0x0000;
+ X86_AX = 0x005f;
+ X86_CX = 0x0000;
break;
case 0x5f51:
/*
@@ -188,40 +188,40 @@ static int int15_handler(void)
* 02h = SVDO-LVDS, LFP driven by SVDO decoder
* 03h = eDP, LFP Driven by Int-DisplayPort encoder
*/
- M.x86.R_AX = 0x005f;
- M.x86.R_CX = 1;
+ X86_AX = 0x005f;
+ X86_CX = 1;
break;
case 0x5f70:
- switch (M.x86.R_CH) {
+ switch (X86_CH) {
case 0:
/* Get Mux */
printk(BIOS_DEBUG, "Get Mux\n");
- M.x86.R_AX = 0x005f;
- M.x86.R_CL = 0;
+ X86_AX = 0x005f;
+ X86_CL = 0;
break;
case 1:
printk(BIOS_DEBUG, "Set Mux\n");
/* Set Mux */
- M.x86.R_AX = 0x005f;
- M.x86.R_CX = 0;
+ X86_AX = 0x005f;
+ X86_CX = 0;
break;
case 2:
printk(BIOS_DEBUG, "Get SG Mode\n");
/* Get SG/Non-SG mode */
- M.x86.R_AX = 0x005f;
- M.x86.R_CX = 0;
+ X86_AX = 0x005f;
+ X86_CX = 0;
break;
default:
/* Interrupt was not handled */
printk(BIOS_DEBUG, "Unknown INT15 5f70 function: 0x%02x\n",
- M.x86.R_CH);
+ X86_CH);
return 0;
}
break;
default:
/* Interrupt was not handled */
printk(BIOS_DEBUG, "Unknown INT15 function: 0x%04x\n",
- M.x86.R_AX);
+ X86_AX);
return 0;
}