From b0dc9fd6770a003f4bd12ca6706c227c009cc8da Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Fri, 22 Dec 2017 15:47:10 -0800 Subject: Move all headers to SPDX format, harmonize license headers --- host/lib/ic_reg_maps/gen_lmk04828_regs.py | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) (limited to 'host/lib/ic_reg_maps/gen_lmk04828_regs.py') diff --git a/host/lib/ic_reg_maps/gen_lmk04828_regs.py b/host/lib/ic_reg_maps/gen_lmk04828_regs.py index 46bf825ad..fd0f03c1c 100755 --- a/host/lib/ic_reg_maps/gen_lmk04828_regs.py +++ b/host/lib/ic_reg_maps/gen_lmk04828_regs.py @@ -1,24 +1,15 @@ -#Copyright 2017 Ettus Research LLC # -# 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 3 of the License, or -# (at your option) any later version. +# Copyright 2017 Ettus Research, a National Instruments Company # -# 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, see . +# SPDX-License-Identifier: GPL-3.0 # +" Generate reg map for LMK04828 synthesizer " ######################################################################## # Template for raw text data describing registers # name addr[bit range inclusive] default optional enums ######################################################################## -REGS_TMPL="""\ +REGS_TMPL = """\ ######################################################################## ## address 0 ######################################################################## @@ -68,7 +59,7 @@ ID_Vendor_MSB 12[7:0] 81 ######################################################################## address13 13[20:8] 0x00D ID_Vendor_LSB 13[7:0] 4 -""" +""" ######################################################################## # Template for methods in the body of the struct ######################################################################## -- cgit v1.2.3