Skip to content

Commit

Permalink
riscv: Remove mach type
Browse files Browse the repository at this point in the history
Since the mach_id is not used by RISC-V, remove it.

Signed-off-by: Bin Meng <[email protected]>
Reviewed-by: Lukas Auer <[email protected]>
  • Loading branch information
lbmeng authored and Andes committed Oct 3, 2018
1 parent 4afeedf commit 8cdc6b5
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 33 deletions.
29 changes: 0 additions & 29 deletions arch/riscv/include/asm/mach-types.h

This file was deleted.

1 change: 0 additions & 1 deletion arch/riscv/include/asm/u-boot.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#include <environment.h>

typedef struct bd_info {
unsigned long bi_arch_number; /* unique id for this board */
unsigned long bi_boot_params; /* where this board expects params */
unsigned long bi_memstart; /* start of DRAM memory */
unsigned long bi_memsize; /* size of DRAM memory in bytes */
Expand Down
2 changes: 0 additions & 2 deletions board/AndesTech/ax25-ae350/ax25-ae350.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* Rick Chen, Andes Technology Corporation <[email protected]>
*/

#include <asm/mach-types.h>
#include <common.h>
#if defined(CONFIG_FTMAC100) && !defined(CONFIG_DM_ETH)
#include <netdev.h>
Expand All @@ -21,7 +20,6 @@ DECLARE_GLOBAL_DATA_PTR;

int board_init(void)
{
gd->bd->bi_arch_number = MACH_TYPE_AE350;
gd->bd->bi_boot_params = PHYS_SDRAM_0 + 0x400;

return 0;
Expand Down
1 change: 0 additions & 1 deletion cmd/bdinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,6 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{
bd_t *bd = gd->bd;

print_num("arch_number", bd->bi_arch_number);
print_bi_boot_params(bd);
print_bi_dram(bd);
print_eth_ip_addr();
Expand Down

0 comments on commit 8cdc6b5

Please sign in to comment.