def default_values(self, hwcode):
    if (self.chipconfig.var1 is None):
        self.chipconfig.var1 = 10
    if (self.chipconfig.watchdog is None):
        self.chipconfig.watchdog = 268464128
    if (self.chipconfig.uart is None):
        self.chipconfig.uart = 285220864
    if (self.chipconfig.brom_payload_addr is None):
        self.chipconfig.brom_payload_addr = 1051136
    if (self.chipconfig.da_payload_addr is None):
        self.chipconfig.da_payload_addr = 2097152
    if (self.chipconfig.cqdma_base is None):
        self.chipconfig.cqdma_base = None
    if (self.chipconfig.gcpu_base is None):
        self.chipconfig.gcpu_base = None
    if (self.chipconfig.sej_base is None):
        self.chipconfig.sej_base = None
    if (self.chipconfig.dacode is None):
        self.chipconfig.dacode = hwcode
    if (self.chipconfig.ap_dma_mem is None):
        self.chipconfig.ap_dma_mem = (285212672 + 416)
    if (self.chipconfig.damode is None):
        self.chipconfig.damode = damodes.DEFAULT
    if (self.chipconfig.dxcc_base is None):
        self.chipconfig.dxcc_base = None
    if (self.chipconfig.meid_addr is None):
        self.chipconfig.meid_addr = None
    if (self.chipconfig.socid_addr is None):
        self.chipconfig.socid_addr = None
def default_values(self, hwcode):
    if (self.chipconfig.var1 is None):
        self.chipconfig.var1 = 10
    if (self.chipconfig.watchdog is None):
        self.chipconfig.watchdog = 268464128
    if (self.chipconfig.uart is None):
        self.chipconfig.uart = 285220864
    if (self.chipconfig.brom_payload_addr is None):
        self.chipconfig.brom_payload_addr = 1051136
    if (self.chipconfig.da_payload_addr is None):
        self.chipconfig.da_payload_addr = 2097152
    if (self.chipconfig.cqdma_base is None):
        self.chipconfig.cqdma_base = None
    if (self.chipconfig.gcpu_base is None):
        self.chipconfig.gcpu_base = None
    if (self.chipconfig.sej_base is None):
        self.chipconfig.sej_base = None
    if (self.chipconfig.dacode is None):
        self.chipconfig.dacode = hwcode
    if (self.chipconfig.ap_dma_mem is None):
        self.chipconfig.ap_dma_mem = (285212672 + 416)
    if (self.chipconfig.damode is None):
        self.chipconfig.damode = damodes.DEFAULT
    if (self.chipconfig.dxcc_base is None):
        self.chipconfig.dxcc_base = None
    if (self.chipconfig.meid_addr is None):
        self.chipconfig.meid_addr = None
    if (self.chipconfig.socid_addr is None):
        self.chipconfig.socid_addr = None