1/* 2 * Atheros AR71XX/AR724X/AR913X Calibration data in NAND flash fixup 3 * 4 * Copyright (c) 2012 The Linux Foundation. All rights reserved. 5 * 6 * This program is free software; you can redistribute it and/or modify it 7 * under the terms of the GNU General Public License version 2 as published 8 * by the Free Software Foundation. 9 */ 10 11/* 0 is a valid value for an MTD offset. So we'll use -1 as an undefined value 12 * That means that all the fields in the structure below have to be initialized 13 * in the platform code when the fixup is used */ 14#define FIXUP_UNDEFINED -1LL 15 16struct ath79_caldata_fixup { 17 char *name; /* Name of the MTD dev to read from */ 18 loff_t pcie_caldata_addr[2]; /* Addr (in flash) of radios caldata */ 19 loff_t wmac_caldata_addr; 20 loff_t mac_addr[2]; /* Addr (in flash) of mac addresses */ 21}; 22 23void __init ath79_mtd_caldata_fixup(struct ath79_caldata_fixup *); 24