| /* |
| * Copyright 2014 Google Inc. |
| * |
| * See file CREDITS for list of people who contributed to this |
| * project. |
| * |
| * This program is free software; you can redistribute it and/or |
| * modify it under the terms of the GNU General Public License as |
| * published by the Free Software Foundation; either version 2 of |
| * the License, or (at your option) any later version. |
| * |
| * This program is distributed in the hope that it will be useful, |
| * but without any warranty; without even the implied warranty of |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| * GNU General Public License for more details. |
| * |
| * You should have received a copy of the GNU General Public License |
| * along with this program; if not, write to the Free Software |
| * Foundation, Inc., 59 Temple Place, Suite 330, Boston, |
| * MA 02111-1307 USA |
| */ |
| #ifndef __BOARD_STORM_BOARD_H__ |
| #define __BOARD_STORM_BOARD_H__ |
| |
| #include "base/device_tree.h" |
| |
| #define QFPROM_BASE ((void *)0x00700000) |
| #define QFPROM_CORR_BASE (QFPROM_BASE + 0x40000) |
| #define QFPROM_CORR_PTE_ROW0_LSB (QFPROM_CORR_BASE + 0xB8) |
| #define QFPROM_CORR_PTE_ROW0_MSB (QFPROM_CORR_BASE + 0xBC) |
| |
| int set_wifi_calibration(DeviceTree *tree); |
| int board_wan_port_number(void); |
| |
| /* Authoritative copy in http://go/jetstream-board-ids */ |
| enum storm_board_id { |
| BOARD_ID_PROTO_0 = 0, |
| BOARD_ID_PROTO_0_2 = 1, |
| BOARD_ID_WHIRLWIND_SP3 = 2, |
| BOARD_ID_WHIRLWIND_SP5 = 3, |
| BOARD_ID_PROTO_0_2_NAND = 26, |
| }; |
| |
| #endif |