get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/1030280/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 1030280,
    "url": "http://patchwork.ozlabs.org/api/patches/1030280/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1548307216-5423-1-git-send-email-priyanka.jain@nxp.com/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api",
        "name": "U-Boot",
        "link_name": "uboot",
        "list_id": "u-boot.lists.denx.de",
        "list_email": "u-boot@lists.denx.de",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1548307216-5423-1-git-send-email-priyanka.jain@nxp.com>",
    "list_archive_url": null,
    "date": "2019-01-24T05:22:18",
    "name": "[U-Boot,v3] board/lx2160ardb: Add distro boot support",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "c2cada7c13812c8a273aa9f571f0731afdd35413",
    "submitter": {
        "id": 70194,
        "url": "http://patchwork.ozlabs.org/api/people/70194/?format=api",
        "name": "Priyanka Jain",
        "email": "priyanka.jain@nxp.com"
    },
    "delegate": {
        "id": 2467,
        "url": "http://patchwork.ozlabs.org/api/users/2467/?format=api",
        "username": "prabhu_kush",
        "first_name": "Prabhakar",
        "last_name": "Kushwaha",
        "email": "prabhakar@freescale.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1548307216-5423-1-git-send-email-priyanka.jain@nxp.com/mbox/",
    "series": [
        {
            "id": 87904,
            "url": "http://patchwork.ozlabs.org/api/series/87904/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=87904",
            "date": "2019-01-24T05:22:18",
            "name": "[U-Boot,v3] board/lx2160ardb: Add distro boot support",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/87904/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1030280/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1030280/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<u-boot-bounces@lists.denx.de>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdmarc=fail (p=none dis=none) header.from=nxp.com",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=nxp.com header.i=@nxp.com header.b=\"GPVgMZ+H\";\n\tdkim-atps=neutral",
            "spf=none (sender IP is )\n\tsmtp.mailfrom=priyanka.jain@nxp.com; "
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 43lVsS5jVgz9s4s\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 24 Jan 2019 16:22:32 +1100 (AEDT)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 5D1A4C21DD9; Thu, 24 Jan 2019 05:22:26 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 0DBDFC21C38;\n\tThu, 24 Jan 2019 05:22:24 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 695C6C21C57; Thu, 24 Jan 2019 05:22:22 +0000 (UTC)",
            "from EUR04-HE1-obe.outbound.protection.outlook.com\n\t(mail-eopbgr70057.outbound.protection.outlook.com [40.107.7.57])\n\tby lists.denx.de (Postfix) with ESMTPS id C75BFC21C38\n\tfor <u-boot@lists.denx.de>; Thu, 24 Jan 2019 05:22:21 +0000 (UTC)",
            "from VI1PR04MB4942.eurprd04.prod.outlook.com (20.177.49.207) by\n\tVI1PR04MB1054.eurprd04.prod.outlook.com (10.161.109.148) with\n\tMicrosoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n\t15.20.1558.17; Thu, 24 Jan 2019 05:22:19 +0000",
            "from VI1PR04MB4942.eurprd04.prod.outlook.com\n\t([fe80::2d9f:f6e:6bf7:b119]) by\n\tVI1PR04MB4942.eurprd04.prod.outlook.com\n\t([fe80::2d9f:f6e:6bf7:b119%6]) with mapi id 15.20.1537.031;\n\tThu, 24 Jan 2019 05:22:19 +0000"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=0.0 required=5.0 tests=SPF_HELO_PASS, T_DKIM_INVALID\n\tautolearn=unavailable autolearn_force=no version=3.4.0",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1;\n\th=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n\tbh=ftqWV10ejtER6sxrDacqKw+pFBiUGzLWTm9rUMNX4Wo=;\n\tb=GPVgMZ+Hhi0NqLo7MKLIAkP2bckfq0CKKReU6tz3FHlQD+dCWEkd9qp2cruRygxvZXN8zzRxfcdO8sWCyvt2KzSQOwZPnXDtfAN4oRXwp+r8zJtoIqor796R1eGSg5s1I9PPar9WVVDpVtqWT7+gnGD0YSpVd16oJIlhLojXlPc=",
        "From": "Priyanka Jain <priyanka.jain@nxp.com>",
        "To": "\"u-boot@lists.denx.de\" <u-boot@lists.denx.de>,\n\tYork Sun <york.sun@nxp.com>",
        "Thread-Topic": "[PATCH][v3] board/lx2160ardb: Add distro boot support ",
        "Thread-Index": "AQHUs6TGDjLI1utdc0GX9Utjkfkfhg==",
        "Date": "Thu, 24 Jan 2019 05:22:18 +0000",
        "Message-ID": "<1548307216-5423-1-git-send-email-priyanka.jain@nxp.com>",
        "Accept-Language": "en-US",
        "Content-Language": "en-US",
        "X-MS-Has-Attach": "",
        "X-MS-TNEF-Correlator": "",
        "x-clientproxiedby": "SG2PR06CA0122.apcprd06.prod.outlook.com\n\t(2603:1096:1:1d::24) To VI1PR04MB4942.eurprd04.prod.outlook.com\n\t(2603:10a6:803:57::15)",
        "x-ms-exchange-messagesentrepresentingtype": "1",
        "x-mailer": "git-send-email 1.9.1",
        "x-originating-ip": "[92.120.1.66]",
        "x-ms-publictraffictype": "Email",
        "x-microsoft-exchange-diagnostics": "1; VI1PR04MB1054;\n\t6:K/Plzgs+6lPEKQ0DJY5FF05nzMiBgNR43hUhuIHye8vZRyyjmSktdOnybQHuHYLKHegkzGPjkvxbICO2/dQ0d6XLb8wJ93o1QiEMoGltVHyUK4GfK61MKGfwcdAIJelyaYP/Oj9X5MQGLaSwBWeoVJJP+nbhi1B3Rs1KhsrQ7lw6XM2N983t8Pgi24HJ41FcLAU7m2eSJjyiTehm7WiS7osxTNWhTa5pYrRzdjZ2JqiRH8KRLairE2RnFIiWYoBTJGMNVovotRLMEpkhWr/QIwj5FrTI7d5EGsjbCapI6ctoP7MvlyAMVsfpaeu6NbSPeyzOu5/hYcHQt9WrpbM0/Fh7Tljh+O8/xFV4o18ghEkKa6dfXxvuVbeftgs97SU27OGS9mYd4iXhBOCTQh14/uq5y6+4mTUpplGdvFjVG/dT9aNuZEqZJKRh17s0u4R2RtdND7GMxArEkj4zFaGrmg==;\n\t5:UnOU7EpnRvMvWFSxBDA/bCzRNc1KaFdMZhbpIjZH45hLwr7qHYrbVU4ZXPN8pVwc1oYoCSYRbkVK/6Q+JH/iE+U/g0F1mOeyA4nzcJXoOjtGWweFFokztQ1TYvjB+9vElJI9rZXg35kmPBiUCK3XWOKbdn9z+WLVaf+mi/fIRor1xWk0+8wnVgmKhcnRF4LF5zniPmQPEeEyngkUPwUWjA==;\n\t7:iwxKdauBXnojAGRSdpSVTUYUdAB+Q2hQdbuLDDHqx246GMCyvinOFa04DfUAJZqH+pKPpM11SPgsnOTBKg+JefSlRY+BxyjAQHqGZLSXKoEMNONxP5cgADtswF3EHjQgz2aNxmsTVvPK1D8kH6xTWg==",
        "x-ms-office365-filtering-correlation-id": "310049e3-39a1-4a27-8504-08d681bbe8a7",
        "x-ms-office365-filtering-ht": "Tenant",
        "x-microsoft-antispam": "BCL:0; PCL:0;\n\tRULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605077)(4618075)(2017052603328)(7153060)(7193020);\n\tSRVR:VI1PR04MB1054; ",
        "x-ms-traffictypediagnostic": "VI1PR04MB1054:",
        "authentication-results": [
            "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdmarc=fail (p=none dis=none) header.from=nxp.com",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=nxp.com header.i=@nxp.com header.b=\"GPVgMZ+H\";\n\tdkim-atps=neutral",
            "spf=none (sender IP is )\n\tsmtp.mailfrom=priyanka.jain@nxp.com; "
        ],
        "x-microsoft-antispam-prvs": "<VI1PR04MB1054278E06E1772EA1D2C64DE69A0@VI1PR04MB1054.eurprd04.prod.outlook.com>",
        "x-forefront-prvs": "0927AA37C7",
        "x-forefront-antispam-report": "SFV:NSPM;\n\tSFS:(10009020)(346002)(376002)(366004)(396003)(136003)(39860400002)(189003)(199004)(71190400001)(71200400001)(86362001)(36756003)(52116002)(50226002)(486006)(966005)(2501003)(305945005)(97736004)(7736002)(25786009)(14444005)(4326008)(6306002)(6512007)(44832011)(53936002)(256004)(6486002)(6436002)(68736007)(105586002)(106356001)(99286004)(316002)(4743002)(14454004)(8676002)(2906002)(110136005)(81156014)(8936002)(81166006)(6506007)(386003)(478600001)(66066001)(102836004)(6636002)(6116002)(3846002)(186003)(476003)(26005)(2616005)(139555002);\n\tDIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB1054;\n\tH:VI1PR04MB4942.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en;\n\tPTR:InfoNoRecords; MX:1; A:1; ",
        "received-spf": "None (protection.outlook.com: nxp.com does not designate\n\tpermitted sender hosts)",
        "x-ms-exchange-senderadcheck": "1",
        "x-microsoft-antispam-message-info": "e+vdA9P7U9YeEDtN5eulMw5+PCZhssqEHhaEJtiwIlPGJC4VlFqAnkZYQYGl0ZOh9O8ypgB/icTMrvcIdsg0zrpKTgQPueFwWoKJwODX+hszZg1zqjD84h+zbXSYpK3fjuaz/wS2VPlB9dO2J4tGza/mDUAa9OjBVi/qXUTKrCKQ1KEr7R6rjKsZceoJC4Zk1FRQEFUjsNIVvFQ5IjiQ4CRzH+Xyq4D9bT5y1CUSv3smlPyp8CEgviVclJItY84VDC1G+9SwpQU/oKzpliDvs3X1nSF4o1bxNHf6sfPUGZbRoAzFkT1lObEwtcIzpR5hATL9WJoj1hzHz8rRqPIRfQsBaQOkR8zxindaHfgov/NWxrE89Vtu6kafLx90N0/lP+GP/xBG5clrgGgBLzzmPfa+uHSwtR6KTbjAP8olHmE=",
        "MIME-Version": "1.0",
        "X-OriginatorOrg": "nxp.com",
        "X-MS-Exchange-CrossTenant-Network-Message-Id": "310049e3-39a1-4a27-8504-08d681bbe8a7",
        "X-MS-Exchange-CrossTenant-originalarrivaltime": "24 Jan 2019 05:22:16.7403\n\t(UTC)",
        "X-MS-Exchange-CrossTenant-fromentityheader": "Hosted",
        "X-MS-Exchange-CrossTenant-id": "686ea1d3-bc2b-4c6f-a92c-d99c5c301635",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "VI1PR04MB1054",
        "Cc": "Priyanka Jain <priyanka.jain@nxp.com>",
        "Subject": "[U-Boot] [PATCH][v3] board/lx2160ardb: Add distro boot support",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.18",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>",
        "List-Archive": "<http://lists.denx.de/pipermail/u-boot/>",
        "List-Post": "<mailto:u-boot@lists.denx.de>",
        "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>",
        "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "Errors-To": "u-boot-bounces@lists.denx.de",
        "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>"
    },
    "content": "Add u-boot enviroments to support distro boot which scan\nboot.scr from external storage devices\n(e.g. SD/USB/SCSI disk) and execute autoboot script\n\nSigned-off-by: Priyanka Jain <priyanka.jain@nxp.com>\n---\nDepends on https://patchwork.ozlabs.org/patch/990094/\nChanges for v3:\n Add USB as boot target device\n\nChanges for v2:\n xspi_bootcmd, sd_bootcmd env variables are\n dependent on board. So, move the definition\n from lx2160a_common.h file to lx2160ardb.h file\n\n configs/lx2160ardb_tfa_defconfig |  3 +-\n includefigs/lx2160a_common.h | 85 +++++++++++++++++++++++++++++++++++-----\n include/configs/lx2160ardb.h     | 29 +++++++-------\n 3 files changed, 91 insertions(+), 26 deletions",
    "diff": "diff --git a/configs/lx2160ardb_tfa_defconfig b/configs/lx2160ardb_tfa_defconfig\nindex 67ba96b..8fb4950 100644\n--- a\n+++ b/configs/lx2160ardb_tfa_defconfig\n@@ -6,7 +6,6 @@ CONFIG_ARMV8_SEC_FIRMWARE_SUPPORT=y\n CONFIG_DEFAULT_DEVICE_TREE=\"fsl-lx2160a-rdb\"\n CONFIG_NR_DRAM_BANKS=3\n CONFIG_DM=y\n-CONFIG_FIT=y\n CONFIG_FIT_VERBOSE=y\n CONFIG_OF_BOARD_SETUP=y\n CONFIG_OF_STDOUT_VIA_ALIAS=y\n@@ -14,7 +13,7 @@ CONFIG_TFABOOT=y\n CONFIG_BOOTDELAY=10\n CONFIG_USE_BOOTARGS=y\n CONFIG_BOOTARGS=\"console=ttyAMA0,115200 root=/dev/ram0 earlycon=pl011,mmio32,0x21c0000 ramdisk_size=0x2000000 default_hugepagesz=1024m hugepagesz=1024m hugepages=2 pci=pcie_bus_perf\"\n-# CONFIG_CMD_IMLS is not set\n+# CONFIG_USE_BOOTCOMMAND is not set\n CONFIG_CMD_GREPENV=y\n CONFIG_CMD_EEPROM=y\n CONFIG_CMD_GPT=y\ndiff --git a/include/configs/lx2160a_common.h b/include/configs/lx2160a_common.h\nindex 41931e5..0e0e72d 100644\n--- a/include/configs/lx2160a_common.h\n+++ b/include/configs/lx2160a_common.h\n@@ -193,16 +193,6 @@ unsigned long get_board_ddr_clk(void);\n #define CONFIG_SYS_BOOTM_LEN   (64 << 20)      /* Increase max gunzip size */\n \n /* Initial environment variables */\n-#define XSPI_NOR_BOOTCOMMAND\t\"fsl_mc apply dpl 0x20d00000;\" \\\n-\t\t\t\t\"sf probe 0:0;\" \\\n-\t\t\t\t\"sf read 0xa0000000 0x1000000 0x3000000;\" \\\n-\t\t\t\t\"bootm 0xa0000000\"\n-\n-#define SD_BOOTCOMMAND\t\t\"mmc read 0xa0000000 0x6800 0xA0;\" \\\n-\t\t\t\t\"fsl_mc apply dpl 0xa0000000;\" \\\n-\t\t\t\t\"mmc read 0xb0000000 0x8000 0x1d000;\" \\\n-\t\t\t\t\"bootm 0xb0000000\"\n-\n #define XSPI_MC_INIT_CMD\t\t\t\\\n \t\"fsl_mc start mc 0x20a00000 0x20e00000\\0\"\n \n@@ -211,4 +201,79 @@ unsigned long get_board_ddr_clk(void);\n \t\"mmc read 0x80100000 0x7000 0x800;\"\t\\\n \t\"fsl_mc start mc 0x80000000 0x80100000\\0\"\n \n+#define EXTRA_ENV_SETTINGS\t\t\t\\\n+\t\"hwconfig=fsl_ddr:bank_intlv=auto\\0\"\t\\\n+\t\"ramdisk_addr=0x800000\\0\"\t\t\\\n+\t\"ramdisk_size=0x2000000\\0\"\t\t\\\n+\t\"fdt_high=0xa0000000\\0\"\t\t\t\\\n+\t\"initrd_high=0xffffffffffffffff\\0\"\t\\\n+\t\"fdt_addr=0x64f00000\\0\"\t\t\t\\\n+\t\"kernel_start=0x1000000\\0\"\t\t\\\n+\t\"kernelheader_start=0x800000\\0\"\t\t\\\n+\t\"scriptaddr=0x80000000\\0\"\t\t\\\n+\t\"scripthdraddr=0x80080000\\0\"\t\t\\\n+\t\"fdtheader_addr_r=0x80100000\\0\"\t\t\\\n+\t\"kernelheader_addr_r=0x80200000\\0\"\t\\\n+\t\"kernel_addr_r=0x81000000\\0\"\t\t\\\n+\t\"kernelheader_size=0x40000\\0\"\t\t\\\n+\t\"fdt_addr_r=0x90000000\\0\"\t\t\\\n+\t\"load_addr=0xa0000000\\0\"\t\t\\\n+\t\"kernel_size=0x2800000\\0\"\t\t\\\n+\t\"kernel_addr_sd=0x8000\\0\"\t\t\\\n+\t\"kernel_size_sd=0x1d000\\0\"              \\\n+\t\"console=ttyAMA0,38400n8\\0\"\t\t\\\n+\tBOOTENV\t\t\t\t\t\\\n+\t\"mcmemsize=0x70000000\\0\"\t\t\\\n+\tXSPI_MC_INIT_CMD\t\t\t\t\\\n+\t\"boot_scripts=lx2160ardb_boot.scr\\0\"\t\\\n+\t\"boot_script_hdr=hdr_lx2160ardb_bs.out\\0\"\t\\\n+\t\"scan_dev_for_boot_part=\"\t\t\\\n+\t\t\"part list ${devtype} ${devnum} devplist; \"\t\\\n+\t\t\"env exists devplist || setenv devplist 1; \"\t\\\n+\t\t\"for distro_bootpart in ${devplist}; do \"\t\\\n+\t\t\t\"if fstype ${devtype} \"\t\t\t\\\n+\t\t\t\t\"${devnum}:${distro_bootpart} \"\t\\\n+\t\t\t\t\"bootfstype; then \"\t\t\\\n+\t\t\t\t\"run scan_dev_for_boot; \"\t\\\n+\t\t\t\"fi; \"\t\t\t\t\t\\\n+\t\t\"done\\0\"\t\t\t\t\t\\\n+\t\"scan_dev_for_boot=\"\t\t\t\t\t\\\n+\t\t\"echo Scanning ${devtype} \"\t\t\t\\\n+\t\t\t\"${devnum}:${distro_bootpart}...; \"\t\\\n+\t\t\"for prefix in ${boot_prefixes}; do \"\t\t\\\n+\t\t\t\"run scan_dev_for_scripts; \"\t\t\\\n+\t\t\"done;\\0\"\t\t\t\t\t\\\n+\t\"boot_a_script=\"\t\t\t\t\t\\\n+\t\t\"load ${devtype} ${devnum}:${distro_bootpart} \"\t\\\n+\t\t\t\"${scriptaddr} ${prefix}${script}; \"\t\\\n+\t\t\"env exists secureboot && load ${devtype} \"\t\\\n+\t\t\t\"${devnum}:${distro_bootpart} \"\t\t\\\n+\t\t\t\"${scripthdraddr} ${prefix}${boot_script_hdr} \"\t\\\n+\t\t\t\"&& esbc_validate ${scripthdraddr};\"\t\\\n+\t\t\"source ${scriptaddr}\\0\"\n+\n+#define XSPI_NOR_BOOTCOMMAND\t\t\t\t\t\t\\\n+\t\t\t\"env exists mcinitcmd && env exists secureboot \"\\\n+\t\t\t\"&& esbc_validate 0x20780000; \"\t\t\t\\\n+\t\t\t\"env exists mcinitcmd && \"\t\t\t\\\n+\t\t\t\"fsl_mc lazyapply dpl 0x20d00000; \"\t\t\\\n+\t\t\t\"run distro_bootcmd;run xspi_bootcmd; \"\t\t\\\n+\t\t\t\"env exists secureboot && esbc_halt;\"\n+\n+#define SD_BOOTCOMMAND\t\t\t\t\t\t\\\n+\t\t\"env exists mcinitcmd && mmcinfo; \"\t\t\\\n+\t\t\"mmc read 0x80001000 0x6800 0x800; \"\t\t\\\n+\t\t\"env exists mcinitcmd && env exists secureboot \"\t\\\n+\t\t\" && mmc read 0x80780000 0x3C00 0x10 \"\t\t\\\n+\t\t\"&& esbc_validate 0x80780000;env exists mcinitcmd \"\t\\\n+\t\t\"&& fsl_mc lazyapply dpl 0x80001000;\"\t\t\\\n+\t\t\"run distro_bootcmd;run sd_bootcmd;\"\t\t\\\n+\t\t\"env exists secureboot && esbc_halt;\"\n+\n+#define BOOT_TARGET_DEVICES(func) \\\n+\tfunc(USB, usb, 0) \\\n+\tfunc(MMC, mmc, 0) \\\n+\tfunc(SCSI, scsi, 0)\n+#include <config_distro_bootcmd.h>\n+\n #endif /* __LX2_COMMON_H */\ndiff --git a/include/configs/lx2160ardb.h b/include/configs/lx2160ardb.h\nindex 67d214d..8c91fea 100644\n--- a/include/configs/lx2160ardb.h\n+++ b/include/configs/lx2160ardb.h\n@@ -81,21 +81,22 @@\n \n /* Initial environment variables */\n #define CONFIG_EXTRA_ENV_SETTINGS\t\t\\\n-\t\"hwconfig=fsl_ddr:bank_intlv=auto\\0\"\t\\\n-\t\"scriptaddr=0x80800000\\0\"\t\t\\\n-\t\"kernel_addr_r=0x81000000\\0\"\t\t\\\n-\t\"pxefile_addr_r=0x81000000\\0\"\t\t\\\n-\t\"fdt_addr_r=0x88000000\\0\"\t\t\\\n-\t\"ramdisk_addr_r=0x89000000\\0\"\t\t\\\n-\t\"loadaddr=0x80100000\\0\"\t\t\t\\\n-\t\"kernel_addr=0x100000\\0\"\t\t\\\n-\t\"ramdisk_addr=0x800000\\0\"\t\t\\\n-\t\"ramdisk_size=0x2000000\\0\"\t\t\\\n-\t\"fdt_high=0xa0000000\\0\"\t\t\t\\\n-\t\"initrd_high=0xffffffffffffffff\\0\"\t\\\n-\t\"kernel_start=0x21000000\\0\"\t\t\\\n+\tEXTRA_ENV_SETTINGS\t\t\t\\\n \t\"lx2160ardb_vdd_mv=800\\0\"\t\t\\\n-\t\"mcmemsize=0x40000000\\0\"\n+\t\"BOARD=lx2160ardb\\0\"\t\t\t\\\n+\t\"xspi_bootcmd=echo Trying load from flexspi..;\"\t\t\\\n+\t\t\"sf probe 0:0 && sf read $load_addr \"\t\t\\\n+\t\t\"$kernel_start $kernel_size ; env exists secureboot &&\"\t\\\n+\t\t\"sf read $kernelheader_addr_r $kernelheader_start \"\t\\\n+\t\t\"$kernelheader_size && esbc_validate ${kernelheader_addr_r}; \"\\\n+\t\t\" bootm $load_addr#$BOARD\\0\"\t\t\t\\\n+\t\"sd_bootcmd=echo Trying load from sd card..;\"\t\t\\\n+\t\t\"mmcinfo; mmc read $load_addr \"\t\t\t\\\n+\t\t\"$kernel_addr_sd $kernel_size_sd ;\"\t\t\\\n+\t\t\"env exists secureboot && mmc read $kernelheader_addr_r \"\\\n+\t\t\"$kernelhdr_addr_sd $kernelhdr_size_sd \"\t\\\n+\t\t\" && esbc_validate ${kernelheader_addr_r};\"\t\\\n+\t\t\"bootm $load_addr#$BOARD\\0\"\n \n #include <asm/fsl_secure_boot.h>\n \n",
    "prefixes": [
        "U-Boot",
        "v3"
    ]
}