summaryrefslogtreecommitdiff
path: root/baseboard/zork/baseboard.h
diff options
context:
space:
mode:
Diffstat (limited to 'baseboard/zork/baseboard.h')
-rw-r--r--baseboard/zork/baseboard.h21
1 files changed, 19 insertions, 2 deletions
diff --git a/baseboard/zork/baseboard.h b/baseboard/zork/baseboard.h
index c55ca12c76..2289c1891b 100644
--- a/baseboard/zork/baseboard.h
+++ b/baseboard/zork/baseboard.h
@@ -76,8 +76,7 @@
#define CONFIG_CHARGER
#define CONFIG_CHARGE_MANAGER
#define CONFIG_CHARGER_DISCHARGE_ON_AC
-#define CONFIG_CHARGER_DEFAULT_CURRENT_LIMIT 512
-#define CONFIG_CHARGER_MIN_INPUT_CURRENT_LIMIT 512
+#define CONFIG_CHARGER_INPUT_CURRENT 512
#define CONFIG_CHARGER_ISL9241
#define CONFIG_CHARGER_SENSE_RESISTOR 10
#define CONFIG_CHARGER_SENSE_RESISTOR_AC 20
@@ -291,6 +290,7 @@
#ifndef __ASSEMBLER__
#include "gpio_signal.h"
+#include "math_util.h"
#include "registers.h"
enum power_signal {
@@ -318,6 +318,23 @@ enum sensor_id {
SENSOR_COUNT,
};
+/*
+ * Matrix to rotate accelerators into the standard reference frame. The default
+ * is the identity which is correct for the reference design. Variations of
+ * Zork may need to change it for manufacturability.
+ * For the lid:
+ * +x to the right
+ * +y up
+ * +z out of the page
+ *
+ * The principle axes of the body are aligned with the lid when the lid is in
+ * the 180 degree position (open, flat).
+ *
+ * Boards within the Zork family may need to modify this definition at
+ * board_init() time.
+ */
+extern mat33_fp_t zork_base_standard_ref;
+
extern const struct thermistor_info thermistor_info;
/* Sensors without hardware FIFO are in forced mode */