]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
powerpc: mpc8xx: drop CONFIG_SYS_RESET_ADDRESS
authorOvidiu Panait <ovidiu.panait@windriver.com>
Mon, 31 Jan 2022 07:20:21 +0000 (09:20 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 10 Feb 2022 21:44:23 +0000 (16:44 -0500)
There are no boards that define CONFIG_SYS_RESET_ADDRESS, so drop the
associated mpc8xx code that checks for it.

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Acked-by: Christophe Leroy <christophe.leroy@csgroup.eu>
arch/powerpc/cpu/mpc8xx/cpu.c
scripts/config_whitelist.txt

index 893aecef21c22992034645b5157948026d8de070..6d16ed084e6a245c5a185e626448197b12f59abc 100644 (file)
@@ -215,19 +215,12 @@ int do_reset(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
        /*
         * Trying to execute the next instruction at a non-existing address
         * should cause a machine check, resulting in reset
-        */
-#ifdef CONFIG_SYS_RESET_ADDRESS
-       addr = CONFIG_SYS_RESET_ADDRESS;
-#else
-       /*
+        *
         * note: when CONFIG_SYS_MONITOR_BASE points to a RAM address,
         * CONFIG_SYS_MONITOR_BASE - sizeof (ulong) is usually a valid address.
-        * Better pick an address known to be invalid on your system and assign
-        * it to CONFIG_SYS_RESET_ADDRESS.
-        * "(ulong)-1" used to be a good choice for many systems...
         */
        addr = CONFIG_SYS_MONITOR_BASE - sizeof(ulong);
-#endif
+
        ((void (*)(void)) addr)();
        return 1;
 }
index 6b21e3918d130c3b4f31c945f3bbb6b89a774803..d0adcf7b12563de3f3ab1ae01cacd4d055fe984d 100644 (file)
@@ -1823,7 +1823,6 @@ CONFIG_SYS_RCAR_I2C1_BASE
 CONFIG_SYS_RCAR_I2C2_BASE
 CONFIG_SYS_RCAR_I2C3_BASE
 CONFIG_SYS_RESET_ADDR
-CONFIG_SYS_RESET_ADDRESS
 CONFIG_SYS_RFD
 CONFIG_SYS_RGMII1_PHY_ADDR
 CONFIG_SYS_RGMII2_PHY_ADDR