]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: ti: am335x_evm: Remove duplicate setting of bd_ram_ofs member
authorTom Rini <trini@konsulko.com>
Thu, 4 Jun 2020 20:01:29 +0000 (16:01 -0400)
committerLokesh Vutla <lokeshvutla@ti.com>
Tue, 16 Jun 2020 11:30:02 +0000 (17:00 +0530)
With clang we get a report that we are setting this member twice.
Fortunately it is to the same value, so drop the hard-coded value line.

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
board/ti/am335x/board.c

index 4199bee2e64a539af7e5e9943f501614d6d8822e..123ccaac44e5991d22a3435daf948cf03726124d 100644 (file)
@@ -912,7 +912,6 @@ struct cpsw_platform_data am335_eth_data = {
        .slaves                 = 2,
        .slave_data             = slave_data,
        .ale_entries            = 1024,
-       .bd_ram_ofs             = 0x2000,
        .mac_control            = 0x20,
        .active_slave           = 0,
        .mdio_base              = 0x4a101000,