Changeset 21446


Ignore:
Timestamp:
2010-05-14T11:20:36+02:00 (7 years ago)
Author:
juhosg
Message:

firmware-utils/mkzynfw: add support for the NBG460N board

Adding NBG460N/550N/550NH boards to mkzynfw.

Signed-off-by: Michael Kurz <michi.kurz@…>

Location:
trunk/tools/firmware-utils/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/firmware-utils/src/mkzynfw.c

    r21445 r21446  
    122122#define ATHEROS_CODE_START      0x80e00000 
    123123 
     124#define AR71XX_FLASH_BASE       0xBFC00000 
     125#define AR71XX_CODE_START       0x81E00000 
     126 
    124127#define BOARD(n, d, v, m, fb, fs, cs, fo) {             \ 
    125128        .name = (n), .desc=(d),                         \ 
     
    141144#define ATHEROSBOARD1(n, d, m, fs) BOARD(n, d, ZYNOS_VENDOR_ID_ZYXEL, m, \ 
    142145        ATHEROS_FLASH_BASE, fs, ATHEROS_CODE_START, 0x30000) 
     146 
     147#define AR71XXBOARD1(n, d, m, fs) {             \ 
     148        .name = (n), .desc=(d),                         \ 
     149        .vendor = (ZYNOS_VENDOR_ID_ZYXEL), .model = (m),                        \ 
     150        .flash_base = (AR71XX_FLASH_BASE), .flash_size = (fs)<<20,      \ 
     151        .code_start = (AR71XX_CODE_START), .romio_offs = (0x40000),             \ 
     152        .bootext_size = 0x30000         \ 
     153        } 
     154 
    143155 
    144156static struct board_info boards[] = { 
     
    216228        ATHEROSBOARD1("NBG-318S", "ZyXEL NBG-318S", ZYNOS_MODEL_NBG_318S, 4), 
    217229 
     230        /* 
     231         * Atheros ar71xx based boards 
     232         */ 
     233        AR71XXBOARD1("NBG-460N", "ZyXEL NBG-460N", ZYNOS_MODEL_NBG_460N, 4), 
     234 
    218235        {.name = NULL} 
    219236}; 
  • trunk/tools/firmware-utils/src/zynos.h

    r15245 r21446  
    220220#define ZYNOS_MODEL_NBG_318S            MID(59392) 
    221221 
     222/* Atheros AR71xx based boards */ 
     223#define ZYNOS_MODEL_NBG_460N            MID(61441) 
     224 
    222225#endif /* _ZYNOS_H */ 
Note: See TracChangeset for help on using the changeset viewer.