From 507532d0811f610147cdae618117cb1666fbb56b Mon Sep 17 00:00:00 2001 From: Randall Spangler Date: Mon, 23 Apr 2012 16:30:23 -0700 Subject: Set BOOTCFG register to test value Needed for testing preprogramming chips Signed-off-by: Randall Spangler BUG=chrome-os-partner:8769 TEST=manual hibernate 1; should reboot rw 0x400fe1d0; should print: read word 0x400fe1d0 = 0xfffffdfe Change-Id: I95b419d7285a0bf5204f95d1f68f64dc212bb39e --- board/bds/board.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'board/bds/board.h') diff --git a/board/bds/board.h b/board/bds/board.h index 152b8ee182..16c5f972b6 100644 --- a/board/bds/board.h +++ b/board/bds/board.h @@ -132,6 +132,10 @@ enum temp_sensor_id { #define TMP006_COUNT 1 +/* Target value for BOOTCFG. This currently toggles the polarity bit without + * enabling the boot loader, simply to prove we can program it. */ +#define BOOTCFG_VALUE 0xfffffdfe + void configure_board(void); #endif /* __BOARD_H */ -- cgit v1.2.1