def METHOD_NAME(platform):
    hwInfo = []
    machine = platform.get('machine', "")
    if machine == 'x86_64':
        hwlist = HW_alveo
    elif machine == 'aarch64':
        hwlist = HW_zynq
    else:
        logging.warning("Un-supported platform")
        return hwInfo
    for h in hwlist:
        text = []
        for f in h['file']:
            """Read method for a file"""
            try:
                if os.path.exists(f):
                    text.append("[%s]\n" % f)
                    text += open(f, 'r').readlines()
                else:
                    text += os.popen(f)
            except:
                logging.error("Getting Hardware Info from [%s] failed" % h)
        hwInfo.append(parseText(h['type'], text, platform))
    if machine == 'aarch64':
        hwInfo.append(getIPsZynq())
    hwInfo.append(getDpuInfo())
    return hwInfo