mb/lenovo/*/devicetree: Declare device in one line if possible

Change-Id: I708281f7861110e4abc02948c74affad9fa37053
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38732
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Peter Lemenkov 2020-02-06 14:51:27 +01:00 committed by Patrick Georgi
parent c96f802f7f
commit 4ed2598c67
7 changed files with 11 additions and 23 deletions

View File

@ -152,8 +152,7 @@ chip northbridge/intel/gm45
end end
chip ec/lenovo/pmh7 chip ec/lenovo/pmh7
device pnp ff.1 on # dummy device pnp ff.1 on end # dummy
end
register "backlight_enable" = "0x01" register "backlight_enable" = "0x01"
register "dock_event_enable" = "0x01" register "dock_event_enable" = "0x01"
end end

View File

@ -73,8 +73,7 @@ chip northbridge/intel/haswell
chip ec/lenovo/pmh7 chip ec/lenovo/pmh7
register "backlight_enable" = "0x01" register "backlight_enable" = "0x01"
register "dock_event_enable" = "0x01" register "dock_event_enable" = "0x01"
device pnp ff.1 on # dummy device pnp ff.1 on end # dummy
end
end end
chip ec/lenovo/h8 chip ec/lenovo/h8
register "beepmask0" = "0x00" register "beepmask0" = "0x00"

View File

@ -127,9 +127,7 @@ chip northbridge/intel/i945
device pci 1f.0 on # PCI-LPC bridge device pci 1f.0 on # PCI-LPC bridge
subsystemid 0x17aa 0x2009 subsystemid 0x17aa 0x2009
chip ec/lenovo/pmh7 chip ec/lenovo/pmh7
device pnp ff.1 on # dummy device pnp ff.1 on end # dummy
end
register "backlight_enable" = "0x01" register "backlight_enable" = "0x01"
register "dock_event_enable" = "0x01" register "dock_event_enable" = "0x01"
end end
@ -182,8 +180,7 @@ chip northbridge/intel/i945
end end
chip superio/nsc/pc87384 chip superio/nsc/pc87384
device pnp 2e.0 off #FDC device pnp 2e.0 off end #FDC
end
device pnp 2e.1 on # Parallel Port device pnp 2e.1 on # Parallel Port
io 0x60 = 0x3bc io 0x60 = 0x3bc
@ -204,8 +201,7 @@ chip northbridge/intel/i945
io 0x60 = 0x1620 io 0x60 = 0x1620
end end
device pnp 2e.a off # WDT device pnp 2e.a off end # WDT
end
end end
end end
device pci 1f.2 on # SATA device pci 1f.2 on # SATA

View File

@ -51,8 +51,7 @@ chip northbridge/intel/x4x # Northbridge
device pci 1b.0 on end # Audio device pci 1b.0 on end # Audio
device pci 1c.0 on end # PCIe 1 device pci 1c.0 on end # PCIe 1
device pci 1c.1 on # PCIe 2: NIC device pci 1c.1 on # PCIe 2: NIC
device pci 00.0 on device pci 00.0 on end
end
end end
device pci 1c.2 off end # PCIe 3 device pci 1c.2 off end # PCIe 3
device pci 1c.3 off end # PCIe 4 device pci 1c.3 off end # PCIe 4

View File

@ -142,8 +142,7 @@ chip northbridge/intel/gm45
end end
chip ec/lenovo/pmh7 chip ec/lenovo/pmh7
device pnp ff.1 on # dummy device pnp ff.1 on end # dummy
end
register "backlight_enable" = "0x01" register "backlight_enable" = "0x01"
end end

View File

@ -127,8 +127,7 @@ chip northbridge/intel/nehalem
end end
chip ec/lenovo/pmh7 chip ec/lenovo/pmh7
device pnp ff.1 on # dummy device pnp ff.1 on end # dummy
end
register "backlight_enable" = "0x01" register "backlight_enable" = "0x01"
register "dock_event_enable" = "0x01" register "dock_event_enable" = "0x01"
end end

View File

@ -111,8 +111,7 @@ chip northbridge/intel/i945
device pci 1f.0 on # PCI-LPC bridge device pci 1f.0 on # PCI-LPC bridge
subsystemid 0x17aa 0x2009 subsystemid 0x17aa 0x2009
chip ec/lenovo/pmh7 chip ec/lenovo/pmh7
device pnp ff.1 on # dummy device pnp ff.1 on end # dummy
end
register "backlight_enable" = "0x01" register "backlight_enable" = "0x01"
register "dock_event_enable" = "0x01" register "dock_event_enable" = "0x01"
end end
@ -172,8 +171,7 @@ chip northbridge/intel/i945
end end
chip superio/nsc/pc87392 chip superio/nsc/pc87392
device pnp 2e.0 off #FDC device pnp 2e.0 off end #FDC
end
device pnp 2e.1 on # Parallel Port device pnp 2e.1 on # Parallel Port
io 0x60 = 0x3bc io 0x60 = 0x3bc
@ -194,8 +192,7 @@ chip northbridge/intel/i945
io 0x60 = 0x1620 io 0x60 = 0x1620
end end
device pnp 2e.a off # WDT device pnp 2e.a off end # WDT
end
end end
end end
device pci 1f.1 on # IDE device pci 1f.1 on # IDE