diff options
author | Myles Watson <mylesgw@gmail.com> | 2010-08-26 18:24:04 +0000 |
---|---|---|
committer | Myles Watson <mylesgw@gmail.com> | 2010-08-26 18:24:04 +0000 |
commit | 78265d5609d37b528cf8f605878a792299d11a47 (patch) | |
tree | 94f6c29dc3db7dcf0e9d7b26a2e5431f93e56c5b /src/mainboard/amd | |
parent | 0d11f2db1fad2bac07588ed6238d48d74f46c76b (diff) | |
download | coreboot-78265d5609d37b528cf8f605878a792299d11a47.tar.xz |
Remove unused mainboard_config definitions. Trivial.
Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5744 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/amd')
-rw-r--r-- | src/mainboard/amd/db800/chip.h | 4 | ||||
-rw-r--r-- | src/mainboard/amd/dbm690t/chip.h | 7 | ||||
-rw-r--r-- | src/mainboard/amd/mahogany/chip.h | 7 | ||||
-rw-r--r-- | src/mainboard/amd/mahogany/mainboard.c | 4 | ||||
-rw-r--r-- | src/mainboard/amd/mahogany_fam10/chip.h | 5 | ||||
-rw-r--r-- | src/mainboard/amd/mahogany_fam10/mainboard.c | 4 | ||||
-rw-r--r-- | src/mainboard/amd/norwich/chip.h | 4 | ||||
-rw-r--r-- | src/mainboard/amd/pistachio/chip.h | 5 | ||||
-rw-r--r-- | src/mainboard/amd/serengeti_cheetah/chip.h | 5 | ||||
-rw-r--r-- | src/mainboard/amd/serengeti_cheetah_fam10/chip.h | 5 | ||||
-rw-r--r-- | src/mainboard/amd/tilapia_fam10/chip.h | 5 | ||||
-rw-r--r-- | src/mainboard/amd/tilapia_fam10/mainboard.c | 4 |
12 files changed, 9 insertions, 50 deletions
diff --git a/src/mainboard/amd/db800/chip.h b/src/mainboard/amd/db800/chip.h index fb8c6abe4b..ae69536d31 100644 --- a/src/mainboard/amd/db800/chip.h +++ b/src/mainboard/amd/db800/chip.h @@ -20,6 +20,4 @@ extern struct chip_operations mainboard_ops; -struct mainboard_config { - int nothing; -}; +struct mainboard_config {}; diff --git a/src/mainboard/amd/dbm690t/chip.h b/src/mainboard/amd/dbm690t/chip.h index bda7abcf29..9ee2dc8535 100644 --- a/src/mainboard/amd/dbm690t/chip.h +++ b/src/mainboard/amd/dbm690t/chip.h @@ -18,9 +18,4 @@ */ extern struct chip_operations mainboard_ops; - -struct mainboard_config -{ - u32 uma_size; /* How many UMA should be used in memory for TOP. */ -}; - +struct mainboard_config {}; diff --git a/src/mainboard/amd/mahogany/chip.h b/src/mainboard/amd/mahogany/chip.h index 1bc3bee9d7..42664d0dd8 100644 --- a/src/mainboard/amd/mahogany/chip.h +++ b/src/mainboard/amd/mahogany/chip.h @@ -18,9 +18,4 @@ */ extern struct chip_operations mainboard_ops; - -struct mainboard_config -{ - u32 uma_size; /* How many UMA should be used in memory for TOP. */ -}; - +struct mainboard_config {}; diff --git a/src/mainboard/amd/mahogany/mainboard.c b/src/mainboard/amd/mahogany/mainboard.c index 0a5f691eae..9d471d029a 100644 --- a/src/mainboard/amd/mahogany/mainboard.c +++ b/src/mainboard/amd/mahogany/mainboard.c @@ -104,10 +104,6 @@ u8 is_dev3_present(void) *************************************************/ static void mahogany_enable(device_t dev) { - /* Leave it for future. */ - /* struct mainboard_config *mainboard = - (struct mainboard_config *)dev->chip_info;*/ - printk(BIOS_INFO, "Mainboard MAHOGANY Enable. dev=0x%p\n", dev); #if (CONFIG_GFXUMA == 1) diff --git a/src/mainboard/amd/mahogany_fam10/chip.h b/src/mainboard/amd/mahogany_fam10/chip.h index a264ea4211..a98b97e98c 100644 --- a/src/mainboard/amd/mahogany_fam10/chip.h +++ b/src/mainboard/amd/mahogany_fam10/chip.h @@ -20,7 +20,4 @@ extern struct chip_operations mainboard_ops; -struct mainboard_config { -// int fixup_scsi; -// int fixup_vga; -}; +struct mainboard_config {}; diff --git a/src/mainboard/amd/mahogany_fam10/mainboard.c b/src/mainboard/amd/mahogany_fam10/mainboard.c index 8ecf4f8d04..7ed615dd5b 100644 --- a/src/mainboard/amd/mahogany_fam10/mainboard.c +++ b/src/mainboard/amd/mahogany_fam10/mainboard.c @@ -105,10 +105,6 @@ u8 is_dev3_present(void) *************************************************/ static void mahogany_enable(device_t dev) { - /* Leave it for furture use. */ - /* struct mainboard_config *mainboard = - (struct mainboard_config *)dev->chip_info; */ - printk(BIOS_INFO, "Mainboard MAHOGANY Enable. dev=0x%p\n", dev); #if (CONFIG_GFXUMA == 1) diff --git a/src/mainboard/amd/norwich/chip.h b/src/mainboard/amd/norwich/chip.h index fb8c6abe4b..ae69536d31 100644 --- a/src/mainboard/amd/norwich/chip.h +++ b/src/mainboard/amd/norwich/chip.h @@ -20,6 +20,4 @@ extern struct chip_operations mainboard_ops; -struct mainboard_config { - int nothing; -}; +struct mainboard_config {}; diff --git a/src/mainboard/amd/pistachio/chip.h b/src/mainboard/amd/pistachio/chip.h index 893ff2e88d..05e1582096 100644 --- a/src/mainboard/amd/pistachio/chip.h +++ b/src/mainboard/amd/pistachio/chip.h @@ -19,8 +19,5 @@ extern struct chip_operations mainboard_ops; -struct mainboard_config -{ - unsigned long uma_size; /* How many UMA should be used in memory for TOP. */ -}; +struct mainboard_config {}; diff --git a/src/mainboard/amd/serengeti_cheetah/chip.h b/src/mainboard/amd/serengeti_cheetah/chip.h index 71df35413f..d138e51b94 100644 --- a/src/mainboard/amd/serengeti_cheetah/chip.h +++ b/src/mainboard/amd/serengeti_cheetah/chip.h @@ -1,6 +1,3 @@ extern struct chip_operations mainboard_ops; -struct mainboard_config { -// int fixup_scsi; -// int fixup_vga; -}; +struct mainboard_config {}; diff --git a/src/mainboard/amd/serengeti_cheetah_fam10/chip.h b/src/mainboard/amd/serengeti_cheetah_fam10/chip.h index bac5266485..df1a3eb7d7 100644 --- a/src/mainboard/amd/serengeti_cheetah_fam10/chip.h +++ b/src/mainboard/amd/serengeti_cheetah_fam10/chip.h @@ -20,7 +20,4 @@ extern struct chip_operations mainboard_ops; -struct mainboard_config { -// int fixup_scsi; -// int fixup_vga; -}; +struct mainboard_config {}; diff --git a/src/mainboard/amd/tilapia_fam10/chip.h b/src/mainboard/amd/tilapia_fam10/chip.h index a264ea4211..a98b97e98c 100644 --- a/src/mainboard/amd/tilapia_fam10/chip.h +++ b/src/mainboard/amd/tilapia_fam10/chip.h @@ -20,7 +20,4 @@ extern struct chip_operations mainboard_ops; -struct mainboard_config { -// int fixup_scsi; -// int fixup_vga; -}; +struct mainboard_config {}; diff --git a/src/mainboard/amd/tilapia_fam10/mainboard.c b/src/mainboard/amd/tilapia_fam10/mainboard.c index 7bb2b3a1dd..84ff92884c 100644 --- a/src/mainboard/amd/tilapia_fam10/mainboard.c +++ b/src/mainboard/amd/tilapia_fam10/mainboard.c @@ -284,10 +284,6 @@ static void set_thermal_config(void) *************************************************/ static void tilapia_enable(device_t dev) { - /* Leave it for furture use. */ - /* struct mainboard_config *mainboard = - (struct mainboard_config *)dev->chip_info; */ - printk(BIOS_INFO, "Mainboard TILAPIA Enable. dev=0x%p\n", dev); #if (CONFIG_GFXUMA == 1) |