pyfdt.py (12468:b4b8bdb9712a) | pyfdt.py (13714:35636064b7a1) |
---|---|
1# -*- coding: utf-8 -*- 2""" 3Device Tree Blob Parser 4 5 Copyright 2014 Neil 'superna' Armstrong <superna9999@gmail.com> 6 7 Licensed under the Apache License, Version 2.0 (the "License"); 8 you may not use this file except in compliance with the License. --- 5 unchanged lines hidden (view full) --- 14 distributed under the License is distributed on an "AS IS" BASIS, 15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 See the License for the specific language governing permissions and 17 limitations under the License. 18 19@author: Neil 'superna' Armstrong <superna9999@gmail.com> 20""" 21 | 1# -*- coding: utf-8 -*- 2""" 3Device Tree Blob Parser 4 5 Copyright 2014 Neil 'superna' Armstrong <superna9999@gmail.com> 6 7 Licensed under the Apache License, Version 2.0 (the "License"); 8 you may not use this file except in compliance with the License. --- 5 unchanged lines hidden (view full) --- 14 distributed under the License is distributed on an "AS IS" BASIS, 15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 See the License for the specific language governing permissions and 17 limitations under the License. 18 19@author: Neil 'superna' Armstrong <superna9999@gmail.com> 20""" 21 |
22from __future__ import print_function 23from __future__ import absolute_import 24 |
|
22import string 23import os 24import json 25from copy import deepcopy, copy 26from struct import Struct, unpack, pack 27 28FDT_MAGIC = 0xd00dfeed 29FDT_BEGIN_NODE = 0x1 --- 1054 unchanged lines hidden --- | 25import string 26import os 27import json 28from copy import deepcopy, copy 29from struct import Struct, unpack, pack 30 31FDT_MAGIC = 0xd00dfeed 32FDT_BEGIN_NODE = 0x1 --- 1054 unchanged lines hidden --- |