summaryrefslogtreecommitdiff
path: root/src/mainboard/amd
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/amd')
-rw-r--r--src/mainboard/amd/db800/mainboard.c4
-rw-r--r--src/mainboard/amd/dbm690t/mainboard.c6
-rw-r--r--src/mainboard/amd/norwich/mainboard.c4
-rw-r--r--src/mainboard/amd/pistachio/mainboard.c6
-rw-r--r--src/mainboard/amd/rumba/mainboard.c6
5 files changed, 13 insertions, 13 deletions
diff --git a/src/mainboard/amd/db800/mainboard.c b/src/mainboard/amd/db800/mainboard.c
index f0d88dca43..fab6d81f8b 100644
--- a/src/mainboard/amd/db800/mainboard.c
+++ b/src/mainboard/amd/db800/mainboard.c
@@ -23,8 +23,8 @@
static void init(struct device *dev)
{
- printk_debug("AMD DB800 ENTER %s\n", __FUNCTION__);
- printk_debug("AMD DB800 EXIT %s\n", __FUNCTION__);
+ printk_debug("AMD DB800 ENTER %s\n", __func__);
+ printk_debug("AMD DB800 EXIT %s\n", __func__);
}
static void enable_dev(struct device *dev)
diff --git a/src/mainboard/amd/dbm690t/mainboard.c b/src/mainboard/amd/dbm690t/mainboard.c
index 5a33efe756..ffaffc5841 100644
--- a/src/mainboard/amd/dbm690t/mainboard.c
+++ b/src/mainboard/amd/dbm690t/mainboard.c
@@ -210,12 +210,12 @@ void dbm690t_enable(device_t dev)
/* TOP_MEM: the top of DRAM below 4G */
msr = rdmsr(TOP_MEM);
printk_info("%s, TOP MEM: msr.lo = 0x%08x, msr.hi = 0x%08x\n",
- __FUNCTION__, msr.lo, msr.hi);
+ __func__, msr.lo, msr.hi);
/* TOP_MEM2: the top of DRAM above 4G */
msr2 = rdmsr(TOP_MEM2);
printk_info("%s, TOP MEM2: msr2.lo = 0x%08x, msr2.hi = 0x%08x\n",
- __FUNCTION__, msr2.lo, msr2.hi);
+ __func__, msr2.lo, msr2.hi);
switch (msr.lo) {
case 0x10000000: /* 256M system memory */
@@ -237,7 +237,7 @@ void dbm690t_enable(device_t dev)
uma_memory_start = msr.lo - uma_memory_size; /* TOP_MEM1 */
printk_info("%s: uma size 0x%08x, memory start 0x%08x\n",
- __FUNCTION__, uma_memory_size, uma_memory_start);
+ __func__, uma_memory_size, uma_memory_start);
/* TODO: TOP_MEM2 */
#else
diff --git a/src/mainboard/amd/norwich/mainboard.c b/src/mainboard/amd/norwich/mainboard.c
index 5ad685eedd..89537fda42 100644
--- a/src/mainboard/amd/norwich/mainboard.c
+++ b/src/mainboard/amd/norwich/mainboard.c
@@ -23,8 +23,8 @@
static void init(struct device *dev)
{
- printk_debug("Norwich ENTER %s\n", __FUNCTION__);
- printk_debug("Norwich EXIT %s\n", __FUNCTION__);
+ printk_debug("Norwich ENTER %s\n", __func__);
+ printk_debug("Norwich EXIT %s\n", __func__);
}
static void enable_dev(struct device *dev)
diff --git a/src/mainboard/amd/pistachio/mainboard.c b/src/mainboard/amd/pistachio/mainboard.c
index c49dca85f9..f8706b4219 100644
--- a/src/mainboard/amd/pistachio/mainboard.c
+++ b/src/mainboard/amd/pistachio/mainboard.c
@@ -282,12 +282,12 @@ void pistachio_enable(device_t dev)
/* TOP_MEM: the top of DRAM below 4G */
msr = rdmsr(TOP_MEM);
printk_info("%s, TOP MEM: msr.lo = 0x%08x, msr.hi = 0x%08x\n",
- __FUNCTION__, msr.lo, msr.hi);
+ __func__, msr.lo, msr.hi);
/* TOP_MEM2: the top of DRAM above 4G */
msr2 = rdmsr(TOP_MEM2);
printk_info("%s, TOP MEM2: msr2.lo = 0x%08x, msr2.hi = 0x%08x\n",
- __FUNCTION__, msr2.lo, msr2.hi);
+ __func__, msr2.lo, msr2.hi);
switch (msr.lo) {
case 0x10000000: /* 256M system memory */
@@ -309,7 +309,7 @@ void pistachio_enable(device_t dev)
uma_memory_start = msr.lo - uma_memory_size; /* TOP_MEM1 */
printk_info("%s: uma size 0x%08x, memory start 0x%08x\n",
- __FUNCTION__, uma_memory_size, uma_memory_start);
+ __func__, uma_memory_size, uma_memory_start);
/* TODO: TOP_MEM2 */
#else
diff --git a/src/mainboard/amd/rumba/mainboard.c b/src/mainboard/amd/rumba/mainboard.c
index 47ba2897d0..84c9708b31 100644
--- a/src/mainboard/amd/rumba/mainboard.c
+++ b/src/mainboard/amd/rumba/mainboard.c
@@ -16,11 +16,11 @@ static void init(struct device *dev) {
if (mainboard->nicirq)
nicirq = mainboard->nicirq;
- printk_debug("AMD RUMBA ENTER %s\n", __FUNCTION__);
+ printk_debug("AMD RUMBA ENTER %s\n", __func__);
if (nicirq) {
printk_debug("%s (%x,%x)SET PCI interrupt line to %d\n",
- __FUNCTION__, bus, devfn, nicirq);
+ __func__, bus, devfn, nicirq);
nic = dev_find_slot(bus, devfn);
if (! nic){
printk_err("Could not find NIC\n");
@@ -28,7 +28,7 @@ static void init(struct device *dev) {
pci_write_config8(nic, PCI_INTERRUPT_LINE, nicirq);
}
}
- printk_debug("AMD RUMBA EXIT %s\n", __FUNCTION__);
+ printk_debug("AMD RUMBA EXIT %s\n", __func__);
}
static void enable_dev(struct device *dev)