From 80f1493d73d64957b0181626bcf2205e2bc211f4 Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Wed, 25 Mar 2020 22:45:18 -0300 Subject: [PATCH 1/2] Actually move the P2B-LS code to non-dev builds --- src/machine/m_at_socket8.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/machine/m_at_socket8.c b/src/machine/m_at_socket8.c index 3c94216b2..578d9ae8a 100644 --- a/src/machine/m_at_socket8.c +++ b/src/machine/m_at_socket8.c @@ -139,7 +139,7 @@ machine_at_6abx3_init(const machine_t *model) return ret; } -#if defined(DEV_BRANCH) && defined(USE_I686) + int machine_at_p2bls_init(const machine_t *model) { @@ -199,7 +199,7 @@ machine_at_p2bls_init(const machine_t *model) return ret; } - +#if defined(DEV_BRANCH) && defined(USE_I686) int machine_at_borapro_init(const machine_t *model) { From fb4db7aaf96e080569929a53ded40630f469f7be Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Wed, 25 Mar 2020 22:48:47 -0300 Subject: [PATCH 2/2] Only check for Klamath on dev branch --- src/machine/m_at_socket8.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/machine/m_at_socket8.c b/src/machine/m_at_socket8.c index 578d9ae8a..1442711fd 100644 --- a/src/machine/m_at_socket8.c +++ b/src/machine/m_at_socket8.c @@ -192,8 +192,10 @@ machine_at_p2bls_init(const machine_t *model) 0 } }; +#if defined(DEV_BRANCH) && defined(USE_I686) if (model->cpu[cpu_manufacturer].cpus[cpu_effective].cpu_type == CPU_PENTIUM2) machine_hwm.voltages[0] = 2800; /* set higher VCORE (2.8V) for Klamath */ +#endif hwm_set_values(machine_hwm); device_add(&as99127f_device);